1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new t.Error).stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="0bad9de4-a5eb-4bcf-a1ce-dcd19945a8c7",t._sentryDebugIdIdentifier="sentry-dbid-0bad9de4-a5eb-4bcf-a1ce-dcd19945a8c7")}catch(t){}}();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([[6805],{85766:function(t,r,a){"use strict";a.d(r,{NP:function(){return p},nJ:function(){return x},u5:function(){return y}});var i=a(12767),o=a.n(i),l=a(2870),c=a(21695),u=a(88729),d=a(91413),m=a(97588),h=a(81403),p=function ESTIMATED_AMOUNT_LABEL(t){return t("common.estimatedAmount")},v=function ESTIMATED_AMOUNT_TOOLTIP(t){return t("common.estimatedAmountTooltip")},g=function getDisplayAmount(t){var r=t.amount,a=t.estimatedAmount;return t.isEstimatedAmount&&null!=a?{amount:a,isEstimated:!0}:null==r?null:{amount:r,isEstimated:!1}},x=function formatDisplayAmount(t){var r,a=t.amount,i=t.estimatedAmount,l=t.isEstimatedAmount,c=t.currency,u=t.compact,h=void 0!==u&&u,v=t.scale,x=void 0===v?2:v,y=t.separator,b=void 0===y?",":y,j=t.showEstimatedLabel,k=void 0===j?!h:j,Z=t.estimatedAmountLabel,w=g({amount:a,estimatedAmount:i,isEstimatedAmount:l});if(w){var _=(0,m.dN)((0,m.Kt)(w.amount,c),x,b);return w.isEstimated?h?"~".concat(_):k?o()(r="".concat(null!==Z&&void 0!==Z?Z:p(d.ZP.t),": ")).call(r,_):_:_}},y=function EstimatedAmount(t){var r=t.amount,a=t.estimatedAmount,i=t.isEstimatedAmount,o=t.currency,d=t.compact,y=void 0!==d&&d,b=t.fallback,j=void 0===b?" - ":b,k=t.className,Z=t.showTooltip,w=void 0===Z||Z,_=t.showEstimatedLabel,C=void 0===_?!y:_,S=t.hideZeroAmount,T=void 0!==S&&S,N=(0,u.$G)().t,E=g({amount:r,estimatedAmount:a,isEstimatedAmount:i});if(!E||!E.isEstimated&&T&&!(0,m.oE)(E.amount))return(0,h.jsx)("span",{className:k,children:j});var A=x({amount:r,estimatedAmount:a,isEstimatedAmount:i,currency:o,compact:y,showEstimatedLabel:C,estimatedAmountLabel:p(N)});return(0,h.jsxs)("span",{className:(0,c.Z)("inline-flex items-center gap-1",k),children:[A,E.isEstimated&&w&&(0,h.jsx)(l.pn,{children:(0,h.jsxs)(l.u,{children:[(0,h.jsx)(l.aJ,{asChild:!0,children:(0,h.jsx)("span",{className:"pointer-events-auto inline-flex cursor-help text-secondary",children:(0,h.jsx)(l.JO,{icon:"InfoIcon",size:14})})}),(0,h.jsx)(l._v,{side:"top",className:"whitespace-normal text-left",children:v(N)})]})})]})}},92262:function(t,r,a){"use strict";a.d(r,{h:function(){return d}});var i=a(29365),o=a(32319),l=a(2870),c=a(81403),u=["className","onClick","children","data-testid"],d=function BackLink(t){t.className;var r=t.onClick,a=t.children,d=t["data-testid"],m=(0,o.Z)(t,u);return(0,c.jsx)(l.zx,(0,i.Z)((0,i.Z)({},m),{},{variant:"text",onClick:r,icon:"ArrowBackIcon","data-testid":d,children:a}))}},63794:function(t,r,a){"use strict";a.d(r,{B:function(){return g}});a(95008),a(24757);var i=a(20390),o=a.n(i),l=a(85152),c=a(2705),u=a(16555),d=a(63641),m=a(2870),h=a(61372),p=a(61819),v=a(81403),g=(0,c.Pi)(function(t){var r=t.permalink,a=(0,u.m)().sberAuthStore,i=(0,h.Iu)().isKonsolHrm,c=a.isSberRegistrationLoading;return(0,l.useEffect)(function(){var t;a.redirectUrl&&((null===(t=a.redirectUrl)||void 0===t?void 0:o()(t).call(t,"https"))?window.location.replace(a.redirectUrl):d.A.error("\u041d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439 url"))},[a.redirectUrl]),(0,v.jsx)(m.zx,{className:"w-full",size:"lg",variant:"sber",icon:"SberIdIcon","data-testid":"sber-id-button",isLoading:c,onClick:function handleClick(){i&&!r&&(localStorage.removeItem(p.re),localStorage.removeItem(p.IY)),a.sberRegistration({permalink:r})},children:"\u0421\u0431\u0435\u0440 ID"})})},8920:function(t,r,a){"use strict";a.d(r,{q:function(){return g}});a(95008),a(24757);var i=a(20390),o=a.n(i),l=a(85152),c=a(63641),u=a(16555),d=a(2705),m=a(2870),h=a(61372),p=a(61819),v=a(81403),g=(0,d.Pi)(function(t){var r=t.permalink,a=(0,u.m)().tinkoffAuthStore,i=(0,h.Iu)().isKonsolHrm;return(0,l.useEffect)(function(){var t;a.redirectUrl&&((null===(t=a.redirectUrl)||void 0===t?void 0:o()(t).call(t,"https"))?window.location.replace(a.redirectUrl):c.A.error("\u041d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439 url"))},[a.redirectUrl]),(0,v.jsx)(m.zx,{className:"w-full",size:"lg",iconPosition:"end",variant:"tbank",icon:"TinkoffIdIcon",iconProps:{className:"tbank-id-icon"},"data-testid":"t-id-button",isLoading:a.isTinkoffRegistrationLoading,onClick:function handleClick(){i&&!r&&(localStorage.removeItem(p.re),localStorage.removeItem(p.IY)),a.tinkoffRegistration({permalink:r,state:null,code:null})},children:"\u0422-\u0411\u0430\u043d\u043a"})})},21240:function(t,r,a){"use strict";a.d(r,{M:function(){return p}});a(85152);var i=a(88729),o=a(21695),l=a(88962),c=a(42742),u=a(2870),d=a(61372),m=a(62147),h=a(81403),p=function VerificationMethodChoose(t){var r=t.phone,a=t.onBack,p=t.onTelegram,v=t.onMax,g=t.onSms,x=t.isLoginPage,y=t.hasMaxVerification,b=t.isLoadingVerificationButtons,j=t.hideTitle,k=void 0!==j&&j,Z=t.showCaptcha,w=t.smartCaptchaComponent,_=t.smartCaptchaError,C=(0,l.k)().isMobile,S=(0,i.$G)().t,T=(0,d.Iu)().isKonsol&&y,N=(0,c.C)(r);return(0,h.jsxs)("div",{className:"flex flex-col gap-6 items-start w-full",children:[(0,h.jsxs)("div",{className:(0,o.Z)("flex flex-col justify-between w-full",{"min-h-full":C&&!x," gap-5":!k,"pt-4":k}),children:[(0,h.jsxs)("div",{className:"flex flex-col gap-4",children:[!k&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.ZT,{variant:"h1","data-testid":"main-title",children:S("pages.join.
1codeStep.chooseTypeCode")}),(0,h.jsx)(u.ZT,{children:S("pages.join.codeStep.willSendTo",{phoneNumber:N})}),Z&&!m.A&&_&&(0,h.jsx)(u.ZT,{textColor:"destructive",children:S("common.botError")})]}),Z&&!m.A&&w]}),(0,h.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,h.jsx)(u.zx,{size:"lg",className:"w-full",variant:b?"default":"telegram",icon:"TelegrammIcon",onClick:p,isLoading:b,"data-testid":"via-telegram-button",children:S("pages.join.verificationMethodSelect.byTelegram")}),(0,h.jsxs)("div",{className:"flex gap-2 flex-row",children:[T&&(0,h.jsx)(u.zx,{size:"lg",className:"w-full",variant:"default",icon:"MaxIcon",onClick:v,isLoading:b,"data-testid":"via-max-button",children:S("pages.join.verificationMethodSelect.byMax")}),(0,h.jsx)(u.zx,{variant:"default",size:"lg",className:"w-full",icon:"SmsIcon",onClick:g,isLoading:b,"data-testid":"via-sms-button",children:S("pages.join.verificationMethodSelect.bySms")})]})]})]}),x&&(0,h.jsx)(u.zx,{variant:"default",onClick:a,icon:"ArrowBackIcon","data-testid":"use-another-phone-button",children:S("pages.join.codeStep.anotherPhone")})]})}},18856:function(t,r,a){"use strict";a.d(r,{UU:function(){return i},Yo:function(){return o},ui:function(){return l}});a(95008),a(96425);var i=function openUrlInNewTab(t){var r=document.createElement("a");r.href=t,r.setAttribute("target","_blank"),r.setAttribute("rel","noopener noreferrer"),document.body.appendChild(r),r.click(),document.body.removeChild(r)},o=function openUrl(t){var r=document.createElement("a");r.href=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)},l=function isRussianPhoneNumber(t){return/^\+7([0-5]|[8-9])/.test(t)&&!/^\+7940/.test(t)}},70235:function(t,r,a){"use strict";a.d(r,{N:function(){return b},R:function(){return x}});var i=a(61249),o=a(29365),l=a(45144),c=a(43658),u=a.n(c),d=a(56289),m=a.n(d),h=a(91413),p=a(81680),v=a(12273),g=a(55489),x=function(t){return t.Sms="sms",t.Telegram="telegram",t.Max="max",t.Email="email",t.Inn="taxpayer_id",t}({}),y=new(u())([x.Max]),b=function useVerificationTypes(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=(0,p.a)({queryKey:["verificationTypes",t],queryFn:function(){var r=(0,l.Z)((0,i.Z)().mark(function _callee(){var r,a;return(0,i.Z)().wrap(function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,(0,v.z)({url:"bus/alpha/verifications/verification_types",method:"GET",data:{mobile_phone:t},withPrefix:!1,headers:{"Content-Language":(0,g.sE)(h.ZP.language)}});case 3:return a=i.sent,i.abrupt("return",(0,o.Z)((0,o.Z)({},a),{},{verification_types:m()(r=a.verification_types).call(r,function(t){return!y.has(t)})}));case 7:throw i.prev=7,i.t0=i.catch(0),i.t0;case 10:case"end":return i.stop()}},_callee,null,[[0,7]])}));return function queryFn(){return r.apply(this,arguments)}}(),enabled:r&&!!t,retry:1,refetchOnMount:!1,refetchOnReconnect:!1,refetchOnWindowFocus:!1,gcTime:0});return a}},88674:function(t,r,a){"use strict";a.r(r),a.d(r,{Join:function(){return Vn}});var i,o,l,c,u,d,m,h,p,v,g,x,y,b,j=a(80656),k=(a(95008),a(35293),a(24757),a(48108),a(85152)),Z=a(2705),w=a(67393),_=a(88729),C=a(7757),S=a(61249),T=a(45144),N=a(81680),E=a(12273),A=a(29365),I=a(63641),R=a(31701),O=a(61372),M=a(78301),P=a(69966),L=a(2870),z=a(81403),B=function InviteProblemPage(t){var r=t.text,a=t.onBackClick;return(0,z.jsx)(M.t,{className:"min-h-screen",children:(0,z.jsxs)("div",{className:"w-full max-w-[440px] p-4 md:max-w-[528px] md:px-[39px] md:py-10 md:pt-16 xl:pt-[100px] mx-auto",children:[(0,z.jsx)("div",{className:"flex flex-col items-center gap-2 mb-10 md:mb-16",children:(0,z.jsx)(P.T,{})}),(0,z.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,z.jsx)(L.ZT,{variant:"h3",className:"my-4",children:r}),a?(0,z.jsx)(L.rU,{onClick:a,children:"\u041d\u0430\u0437\u0430\u0434"}):null]})]})})},U=a(64487),V=a(20390),$=a.n(V),q=a(70235),D=function GoBack(t){var r=t.onBack,a=t.error;return(0,k.useEffect)(function(){I.A.error(a),r()},[]),null},H=a(18856),G=a(88962),K="processing-wrapperMobile-6d7b4630",Y="processing-wrapperDesktop-bd053bb0",J="processing-codeWrapperDesktop-633c3b86",W=a(21695),Q=a(44558),X=a.n(Q),ee=a(91413),ne=a(55489),te=a(12442),re=a(2605),ae=function useMutationVerifyRegistration(t){var r=t.onSuccess,a=t.onError,i=(0,re.D)({mutationFn:function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){var r,a,i,o;return(0,S.Z)().wrap(function _callee$(l){for(;;)switch(l.prev=l.next){case 0:return i=t.code,o=t.email,l.next=3,(0,E.z)({url:"registration/verify",method:"PUT",withPrefix:!1,data:{code:i,email:o,device_id:null!==(r=window.auth)&&void 0!==r&&r.deviceId?window.auth.deviceId:void 0,device_info:null!==(a=window.auth)&&void 0!==a&&a.deviceInfo?JSON.parse(window.auth.deviceInfo):void 0},headers:{"Content-Language":(0,ne.sE)(ee.ZP.language)}});case 3:return l.abrupt("return",l.sent);case 4:case"end":return l.stop()}},_callee)}));return function mutationFn(r){return t.apply(this,arguments)}}(),onSuccess:r,onError:a});return i},ie=function ConfirmStep(t){var r=t.onError,a=t.email,i=t.maskedEmail,o=(0,_.$G)(),l=o.t,c=o.i18n,u=(0,te.LM)(),d=(0,w.k6)(),m=(0,k.useState)(""),h=(0,j.Z)(m,2),p=h[0],v=h[1],g=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){return(0,S.Z)().wrap(function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!ee.y6){r.next=3;break}return r.next=3,u.setUserLocale((0,ne.sE)(c.language),"/join");case 3:return r.next=5,u.login({user:t});case 5:X()(t).completed_registration?(I.A.success(l("pages.join.main.alreadyRegister")),d.push("/")):d.push("/registration");case 6:case"end":return r.stop()}},_callee)}));return function onComplete(r){return t.apply(this,arguments)}}(),x=ae({onSuccess:function onSuccess(t){localStorage.removeItem("registration_connect_to_platform_state"),g(t)},onError:function handleVerifyMessageError(t){r(t),v(null===t||void 0===t?void 0:t.message)}}),y=x.mutate,b=x.isPending;return(0,z.jsxs)("div",{className:"flex flex-col gap-5 justify-start items-start",children:[(0,z.jsx)(L.ZT,{variant:"h1",children:l("pages.join.
1codeStep.enterCode")}),(0,z.jsx)(L.ZT,{children:l("pages.join.codeStep.sendedByEmail",{email:i})}),(0,z.jsx)(L.vQ,{isDisabled:b,onComplete:function handleSubmit(t){y({code:t,email:a})},loading:b}),p&&(0,z.jsx)(L.bZ,{variant:"error",title:p})]})},oe=(a(118),a(82966)),le=a(51060),ce=function FormStep(t){var r=t.onSubmit,a=(0,_.$G)().t,i=(0,oe.cI)({defaultValues:{email:""},mode:"all"}),o=i.handleSubmit,l=i.control,c=i.formState.isValid,u=o(function(t){r(t.email)});return(0,z.jsx)("form",{onSubmit:u,children:(0,z.jsxs)("div",{className:"flex flex-col gap-5 items-start",children:[(0,z.jsx)(L.ZT,{variant:"h1",style:{marginBottom:0},children:a("pages.join.emailStep.email")}),(0,z.jsxs)("div",{className:"flex flex-col",children:[(0,z.jsx)(oe.Qr,{name:"email",control:l,rules:{required:a("validation.required"),validate:function validate(t){try{return void function emailSchema(t){return le.z.string().email({message:t("validation.email")})}(a).parse(t)}catch(r){if(r instanceof le.z.ZodError)return r.errors[0].message}}},render:function render(t){var r,a,i=t.field,o=t.fieldState;return(0,z.jsxs)("div",{className:"flex gap-2 flex-col",children:[(0,z.jsx)(L.II,(0,A.Z)((0,A.Z)({},i),{},{placeholder:"[email protected]",error:null===(r=o.error)||void 0===r?void 0:r.message,showErrorMessage:!1})),(null===(a=o.error)||void 0===a?void 0:a.message)&&(0,z.jsx)(L.ZT,{textColor:"destructive",children:o.error.message})]})}}),(0,z.jsx)(L.ZT,{textColor:"secondary",children:a("pages.join.emailStep.enterCode")})]}),(0,z.jsx)(L.zx,{variant:"primary",className:"w-full",disabled:!c,type:"submit",children:a("common.continue")})]})})},se=a(92262),ue=a(96417),de=function EmailCodeConfirmation(t){var r=t.initialStep,a=t.initialMaskedEmail,i=t.onError,o=t.onBack,l=(0,_.$G)().t,c=(0,k.useState)(""),u=(0,j.Z)(c,2),d=u[0],m=u[1],h=(0,k.useState)(null!==a&&void 0!==a?a:""),p=(0,j.Z)(h,2),v=p[0],g=p[1],x=(0,k.useState)(r),y=(0,j.Z)(x,2),b=y[0],Z=y[1],C=(0,w.k6)(),N=function useCreateVerification(){var t=(0,re.D)({mutationFn:function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){var r,a;return(0,S.Z)().wrap(function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return r=t.email,a=t.verification_type,i.next=3,(0,E.z)({url:"registration/create_verification",method:"POST",withPrefix:!1,headers:{"Content-Language":(0,ne.sE)(ee.ZP.language)},data:{email:r,verification_type:a}});case 3:return i.abrupt("return",i.sent);case 4:case"end":return i.stop()}},_callee)}));return function mutationFn(r){return t.apply(this,arguments)}}()});return t}(),A=N.mutateAsync,I=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){var r;return(0,S.Z)().wrap(function _callee$(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,Z(null),t&&m(t),a.next=5,A({verification_type:q.R.Email,email:t});case 5:(r=a.sent).masked_email&&g(r.masked_email),a.next=12;break;case 9:a.prev=9,a.t0=a.catch(0),a.t0 instanceof ue.kp&&i(a.t0);case 12:return a.prev=12,Z("confirm"),a.finish(12);case 15:case"end":return a.stop()}},_callee,null,[[0,9,12,15]])}));return function createVerification(r){return t.apply(this,arguments)}}(),R=function componentByStep(){return"form"===b?(0,z.jsx)(ce,{onSubmit:function onSubmit(t){I(t)}}):"confirm"===b?(0,z.jsx)(ie,{email:d,maskedEmail:v,onError:i}):(0,z.jsx)(L.$j,{})}();return(0,z.jsxs)("div",{className:"flex flex-col gap-5 items-start",children:[R,(0,z.jsxs)("div",{className:"flex flex-col",children:[(0,z.jsx)(se.h,{onClick:o,children:l("pages.join.codeStep.anotherPhone")}),(0,z.jsx)(se.h,{onClick:function goToLoginPage(){C.push("/")},children:l("pages.join.codeStep.existingUser")})]})]})},me=function InnRedirect(t){t.onBack;var r=(0,_.$G)().t,a=(0,w.k6)();return(0,z.jsxs)("div",{className:"flex flex-col gap-4 w-full",children:[(0,z.jsx)("div",{className:"flex flex-col gap-4",children:(0,z.jsx)(L.ZT,{variant:"h1",children:r("pages.join.innRedirect.title")})}),(0,z.jsx)(L.zx,{variant:"primary",size:"lg",onClick:function handleLoginClick(){a.push("/login")},className:"w-full",children:r("pages.join.innRedirect.loginButton")})]})},he=function Processing(t){var r=t.phone,a=t.maskedEmail,i=t.onBack,o=t.onError,l=t.initialStep,c=(0,k.useState)(l||null),u=(0,j.Z)(c,2),d=u[0],m=u[1],h=(0,k.useState)(!1),p=(0,j.Z)(h,2),v=p[0],g=p[1],x=(0,G.k)().isMobile,y=(0,H.ui)(r),b=(0,q.N)(r),Z=b.data,w=b.isError,_=b.error;(0,k.useEffect)(function(){var t,r;Z&&(l?"email-code"===l?(g(!0),m("email-code")):"inn-redirect"===l&&m("inn-redirect"):null!==Z&&void 0!==Z&&$()(t=Z.verification_types).call(t,q.R.Inn)?m("inn-redirect"):null!==Z&&void 0!==Z&&$()(r=Z.verification_types).call(r,q.R.Email)&&g(!0))},[Z,l]);
1var C=function getEmailInitialStep(){return a||v?"confirm":y?null:"form"}(),S=(0,z.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,z.jsx)("div",{className:"h-4 w-2/5 animate-pulse rounded bg-default-background"}),(0,z.jsx)("div",{className:"h-4 w-full animate-pulse rounded bg-default-background"}),(0,z.jsx)("div",{className:"h-4 w-full animate-pulse rounded bg-default-background"}),(0,z.jsx)("div",{className:"h-4 w-3/5 animate-pulse rounded bg-default-background"})]});switch(d){case"email-code":return null===C?S:(0,z.jsx)("div",{className:(0,W.Z)("flex",J,(0,U.Z)({},K,x)),children:(0,z.jsx)(de,{initialStep:C,initialMaskedEmail:a,onError:o,onBack:i})});case"inn-redirect":return(0,z.jsx)("div",{className:(0,W.Z)("flex",Y,(0,U.Z)({},K,x)),children:(0,z.jsx)(me,{onBack:i})});default:return w?(0,z.jsx)(D,{onBack:i,error:_}):S}},fe=a(62344),pe=a(61819),ve=(a(27336),a(75970),a(89619),a(50994),a(36259),(0,k.lazy)(function(){return Promise.all([a.e(2378),a.e(3857),a.e(3833),a.e(2235),a.e(5102),a.e(5707)]).then(a.bind(a,41193))})),ge=function CheckUser(t){var r=t.permalink,a=t.uid,i=t.skipCompanyJoin,o=t.query,l=(0,w.k6)(),c=(0,te.LM)(),u=(0,k.useRef)(!1),d=(0,k.useState)(!1),m=(0,j.Z)(d,2),h=m[0],p=m[1],v=(0,k.useCallback)(function(){p(!1),sessionStorage.removeItem(pe.tY),l.push("/")},[l]),g=function useMutationCheckJoin(t){var r=t.onSuccess,a=t.onError,i=t.onSettled,o=(0,re.D)({mutationFn:function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){var r,a;return(0,S.Z)().wrap(function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return r=t.permalink,a=t.query,i.next=3,(0,E.z)({url:"companies/join",method:"PUT",data:{permalink:r||"",query:a}});case 3:return i.abrupt("return",i.sent);case 4:case"end":return i.stop()}},_callee)}));return function mutationFn(r){return t.apply(this,arguments)}}(),onSuccess:r,onError:a,onSettled:i});return o}({onSuccess:function onSuccess(t){var i=X()(t),o=t.message;null!==o&&I.A.success(o),!r&&i&&c.setPlatformFlowSearch(i.platform_flow_search),a&&p(!0)},onError:function onError(t){I.A.error((null===t||void 0===t?void 0:t.message)||"\u041e\u0448\u0438\u0431\u043a\u0430"),a&&l.push("/")},onSettled:function onSettled(t){var i;if(!a){var o=!r&&null!==t&&void 0!==t&&null!==(i=X()(t))&&void 0!==i&&i.platform_flow_search?"/available-tasks":"/";l.push(o)}}}),x=g.mutate;return(0,k.useEffect)(function(){u.current||(u.current=!0,a&&i?p(!0):x({permalink:r,query:o}))},[x,r,o,a,i]),(0,z.jsxs)(z.Fragment,{children:[!h&&(0,z.jsx)("div",{className:"flex items-center justify-center",children:(0,z.jsx)(L.$j,{})}),h&&r&&a&&(0,z.jsx)(k.Suspense,{fallback:(0,z.jsx)(L.$j,{}),children:(0,z.jsx)(ve,{permalink:r,uid:a,onClose:v})})]})},xe=a(6492),ye=a.p+"static/images/base-mobile-png-54d497a4.png",be=a.p+"static/images/base-desktop-image-175b2eba.jpg",je=a.p+"static/images/base-desktop-image-dbbe6875.avif",ke=a.p+"static/images/konsol-hrm-mobile-image-7f91880d.jpg",Ze=a.p+"static/images/konsol-hrm-desktop-image-ca328ceb.jpg",we=a.p+"static/images/konsol-hrm-company-logos-6b3b9a01.png";function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},_extends.apply(this,arguments)}var _e,Ce,Se=function SvgAllIcons(t){return k.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:544,height:61,fill:"none",viewBox:"0 0 544 61"},t),i||(i=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"M26.46 13.55c1.347 0 1.874-.614 1.874-1.587 0-1-.527-1.605-1.873-1.605h-.712v3.192h.712ZM24.1 8.988h2.41c1.395 0 2.058.33 2.634.87.556.528.859 1.265.859 2.096 0 .869-.332 1.643-.966 2.172-.576.491-1.435.775-2.527.775H24.1V8.988Zm9.473 4.687c.986 0 1.59-.643 1.59-1.72 0-1.085-.604-1.728-1.59-1.728-.985 0-1.59.643-1.59 1.729 0 1.076.605 1.719 1.59 1.719Zm0-4.808c1.971 0 3.25 1.36 3.25 3.089 0 1.719-1.289 3.079-3.25 3.079-1.98 0-3.249-1.36-3.249-3.08 0-1.718 1.269-3.088 3.25-3.088Zm9.251.121h5.669v1.398h-1.97v4.534h-1.728v-4.534h-1.97V8.988Zm-9.171 11.438c.42 0 .722-.283.722-.633 0-.368-.302-.642-.722-.642h-1.629v1.275h1.63Zm-.117-2.437c.38 0 .605-.236.605-.529 0-.283-.224-.528-.605-.528h-1.502v1.057h1.502Zm-3.17-2.266h3.404c1.308 0 1.981.642 1.981 1.454 0 .558-.263.87-.507 1.058-.147.104-.313.18-.508.217v.047c.235.048.459.133.654.255.322.208.664.558.664 1.2 0 .963-.8 1.681-2.284 1.681h-3.405v-5.912Zm9.054-.121c1.289 0 2.099.538 2.538 1.123.263.331.439.737.536 1.172h-1.62a1.421 1.421 0 0 0-.282-.463c-.225-.227-.5
176-.463-1.171-.463-.966 0-1.59.642-1.59 1.728 0 1.068.634 1.72 1.59 1.72.595 0 .946-.227 1.17-.454a1.42 1.42 0 0 0 .284-.463h1.639a2.488 2.488 0 0 1-.527 1.162c-.459.576-1.307 1.124-2.595 1.124-1.893 0-3.22-1.313-3.22-3.08 0-1.765 1.356-3.106 3.249-3.106Zm3.377.121h1.668v2.437h.05l2.185-2.437h1.902l-2.663 2.861 2.888 3.06h-2.01l-2.303-2.483h-.049v2.484h-1.668v-5.922Zm6.137 0h1.658v3.475h.05l2.585-3.475h1.658v5.922h-1.658v-3.476h-.05l-2.585 3.476h-1.658v-5.922Zm10.994-.973h-3.015c.175.642.663 1.096 1.512 1.096.859 0 1.366-.454 1.503-1.096Zm-4.508.973h1.659v3.475h.048l2.586-3.475h1.658v5.922h-1.658v-3.476h-.049l-2.585 3.476h-1.66v-5.922Zm-27.114 2.344c-.136-.643-.644-1.096-1.502-1.096-.85 0-1.337.453-1.513 1.096h3.015Zm-1.502-2.465c1.98 0 3.19 1.378 3.19 3.088 0 .132-.01.227-.029.35h-4.742c.078.746.634 1.369 1.571 1.369.624 0 .937-.17 1.151-.35.127-.104.215-.217.293-.349h1.717a3.012 3.012 0 0 1-.624 1.039c-.469.51-1.24 1.02-2.537 1.02-1.912 0-3.25-1.322-3.25-3.079.01-1.728 1.299-3.088 3.26-3.088Zm26.344-6.604v.746H53.1c-.283-.472-1.014-.869-1.814-.869-1.718 0-2.898 1.36-2.898 3.088 0 1.72 1.19 3.08 2.898 3.08.78 0 1.531-.369 1.814-.86h.05v.737h1.658V8.998h-1.659Zm-1.512 4.675c-.986 0-1.59-.642-1.59-1.719 0-1.086.604-1.728 1.59
1-1.728.985 0 1.59.642 1.59 1.728 0 1.077-.605 1.719-1.59 1.719ZM40.21 11.257c-.663-.142-1.18-.293-1.18-.633 0-.208.214-.434.858-.416.4.01.722.17.888.303a1.2 1.2 0 0 1 .351.547h1.669a2.91 2.91 0 0 0-.615-1.256c-.42-.49-1.083-.935-2.293-.935-1.649 0-2.605.87-2.605 1.832 0 1.058.917 1.464 1.873 1.7.927.227 1.844.36 1.844.803 0 .255-.263.51-.936.5-.547-.008-.869-.17-1.054-.349-.107-.103-.293-.387-.332-.613H37.02c.078.453.36 1.02.614 1.322.45.52 1.151.982 2.43.982 1.785 0 2.683-.926 2.683-1.917-.01-1.322-1.464-1.625-2.537-1.87Zm84.681-.37h-.829a.344.344 0 0 0-.316.258l-.896 4.01c-.016.07-.042.13-.058.13-.017 0-.045-.059-.06-.13l-.924-3.998a.345.345 0 0 0-.316-.258h-.871c-.141 0-.225.115-.186.254l1.774 6.104c-.009.018.025.706-.36.974-.116.082-.386.162-.712.111-.209-.032-.312.109-.312.255l.007.598a.26.26 0 0 0 .26.26l.182.005s.68-.006.854-.046c.173-.04.398-.13.552-.268.154-.138.3-.341.438-.609.138-.267.262-.633.373-1.096l1.592-6.297c.036-.142-.051-.257-.192-.257Zm7.036 0h-.717a.402.402 0 0 0-.35.247l-1.334 3.644c-.023.07-.062.07-.087 0l-1.321-3.644a.407.407 0 0 0-.35-.247h-.729a.262.262 0 0 0-.258.265v7.926c0 .146.116.267.258.27l.765.013a.256.256 0 0 0 .257-.26v-4.81c0-.074.012-.133.029-.133s.051.055.077.123l1.145 3.109a.2.2 0 0 0 .174.124h.008a.2.2 0 0 0 .174-.124l1.143-3.085c.025-.068.057-.123.07-.123.014 0 .023.06.023.132V19.1c0 .146.116.265.258.265h.765a.26.26 0 0 0 .257-.265v-7.948a.261.261 0 0 0-.257-.265Zm6.407 0h-.763a.262.262 0 0 0-.258.265V14.3a.132.132 0 0 1-.129.132h-1.211a.13.13 0 0 1-.13-.133v-3.147a.261.261 0 0 0-.256-.265h-.766a.263.263 0 0 0-.257.265V19.1c0 .146.117.265.257.265h.766c.141 0 .256-.12.256-.265v-3.306a.13.13 0 0 1 .13-.132h1.211c.07 0 .129.06.129.132V19.1c0 .146.115.265.258.265h.763a.261.261 0 0 0 .257-.265v-7.948a.262.262 0 0 0-.257-.265Zm4.997 0h-.906a.332.332 0 0 0-.309.26l-1.557 7.958c-.026.143.066.26.208.26h.787a.32.32 0 0 0 .301-.261l.242-1.375a.161.161 0 0 1 .151-.13h1.26c.07 0 .14.058.152.13l.249 1.375a.326.326 0 0 0 .304.261h.789c.141 0 .234-.117.207-.26l-1.569-7.959a.331.331 0 0 0-.309-.26Zm-.025 5.481h-.868c-.07 0-.117-.058-.107-.13l.157-.982h.002s.066-.401.105-.66c.086-.58.23-1.617.23-1.617.008-.071.031-.131.048-.131.016 0 .037.06.049.131l.344 2.277.149.982c.011.072-.038.13-.109.13Zm7.111-.617a1.677 1.677 0 0 0-.224-.45.975.975 0 0 0-.354-.311v-.036a.95.95 0 0 0 .361-.354 2.18 2.18 0 0 0 .213-.505c.05-.183.083-.364.1-.543a5.36 5.36 0 0 0 .024-.474 3.91 3.91 0 0 0-.058-.668c-.178-1.06-.815-1.598-1.92-1.598-.585 0-1.056.177-1.416.53-.197.193-.391.622-.476.925a3.278 3.278 0 0 0-.104.558.246.246 0 0 0 .239.267l.718.008a.353.353 0 0 0 .325-.253s.025-.308.116-.477c.091-.168.298-.291.551-.291.236 0 .422.091.556.273.012.018.021.04.034.058.11.178.167.415.167.716 0 .398-.057.713-.171.944-.115.232-.295.348-.539.348h-.264a.262.262 0 0 0-.258.264v.59c0 .147.116.266.258.266h.24c.481 0 .722.435.722 1.304 0 .462-.061.8-.182 1.01-.122.212-.295.317-.522.317-.227 0-.403-.075-.529-.225-.021-.025-.15-.201-.202-.52-.034-.195-.114-.268-.255-.272l-.74-.017a.254.254 0 0 0-.258.259s.025.293.091.634c.064.34.247.692.442.884.354.35.835.525 1.441.525.669 0 1.174-.206 1.515-.616.343-.409.514-1.057.514-1.942 0-.204-.012-.4-.035-.591a2.911 2.911 0 0 0-.12-.537Zm6.468-4.864h-.729a.38.38 0 0 0-.337.252l-1.597 4.767c-.024.07-.052.126-.065.126-.012 0-.024-.06-.024-.133v-4.747a.26.26 0 0 0-.257-.265h-.729a.26.26 0 0 0-.256.265V19.1a.26.26 0 0 0 .256.265h.717a.383.383 0 0 0 .339-.251l1.607-4.803c.024-.068.048-.125.059-.125.009 0 .017.06.017.133V19.1c0 .146.116.265.258.265h.741a.262.262 0 0 0 .258-.265v-7.948a.262.262 0 0 0-.258-.265Zm6.361 0h-1.637l-.007.002c-.669.003-1.201.216-1.587.643-.392.43-.586 1.063-.586 1.899 0 .463.07.858.213 1.186.141.33.402.575.78.737-.213.13-.378.31-.496.543-.118.232-.206.49-.262.774l-.416 2.433c-.024.144.07.261.212.261h.776a.319.319 0 0 0 .301-.261l.187-1.154.161-.985c.072-.42.194-.715.357-.9 0 0 .025-.035.04-.05.185-.178.483-.241.483-.241.069-.015.185-.027.255-.027h.075c.07 0 .129.06.129.133v3.22c0 .146.116.265.257.265h.765c.14 0 .257-.119.257-.265v-7.948a.263.263 0 0 0-.257-.265Zm-1.022 3.497a.132.132 0 0 1-.13.133h-.416v-.002c-.284-.007-.519-.084-.704-.235-.194-.159-.291-.445-.291-.86 0-.389.076-.703.231-.944.147-.228.404-.344.764-.354v-.003l.006-.001h.41c.07 0 .13.06.13.132v2.134Zm-47.522-5.716h-3.371c-.884 0-1.699.47-2.165 1.236a2.535 2.535 0 0 0-2.165-1.236h-3.371a.392.392 0 0 0-.386.396v7.88c0 1.037.507 1.907 1.387 2.385l4.312 2.602a.38.38 0 0 0 .378.006l4.373-2.428a2.737 2.737 0 0 0 1.394-2.401V9.064a.392.392 0 0 0-.386-.396Zm-5.15 2.536c.047-.978.828-1.743 1.779-1.743h2.986v5.253h-3.091c-.625 0-1.212.229-1.677.648l.004-4.069-.001-.089Zm1.674 4.303h3.092v.896h-4.619a1.788 1.788 0 0 1 1.527-.896Zm3.09 1.688a1.943 1.943 0 0 1-.988 1.617l-2.407 1.336a2.337 2.337 0 0 0-1.756-.801c-.65 0-1.273.277-1.72.762l-2.439-1.472a1.833 1.833 0 0 1-.97-1.442h10.28Zm-10.302-2.48V9.46h2.987c.952 0 1.733.766 1.78 1.736a3.126 3.126 0 0 0-.002.097v4.064a2.485 2.485 0 0 0-1.673-.644h-3.092Zm4.62 1.688h-4.62v-.89
16h3.092a1.79 1.79 0 0 1 1.528.896Zm1.577 4.14-1.065.591-1.007-.607a1.556 1.556 0 0 1 2.072.015Zm97.834-7.143a.966.966 0 0 0-.114-.185h.001l-.65-.797-.015-.019-.002-.002a1 1 0 0 0-.154-.142c.088-.12.168-.238.238-.35.271-.444.544-1.012.248-1.481a.876.876 0 0 0-.102-.13h.001l-.572-.704v.002c-.322-.427-.951-.428-1.164-.428-.09 0-.189.004-.293.01-1.454.097-3.015.41-4.45.784a1.097 1.097 0 0 0-.667.494c-.897 1.516-2.329 4.73-2.907 6.271-.069.185-.254.677.042 1.06l.649.798c.1.118.323.34.685.31-.146.34-.276.688-.39 1.041-.068.224-.018.408.123.657.113.196.387.524.632.75.245.225.55.173.836.034 1.056-.517 3.643-2.05 5.998-4.435 1.272-1.288 2.374-2.792 2.027-3.538Zm-3.293 2.624c-1.496 1.578-4.104 3.33-5.431 3.995-.071.036-.162.036-.215.002-.052-.034-.066-.102-.037-.196.219-.717.76-1.767 1.067-2.538-.632.058-1.26.158-1.735.198-.6.05-.485-.403-.373-.7.598-1.593 1.975-4.662 2.817-6.084a.533.533 0 0 1 .325-.242c1.649-.43 3.2-.69 4.338-.766 1.146-.075.657.974.327 1.556-.352.623-.944 1.344-.944 1.344s.493-.206 1.114-.206c1.398 0 .983 1.276-1.253 3.636Z"})),o||(o=k.createElement("path",{fill:"#090909",fillOpacity:.4,fillRule:"evenodd",d:"M201.378 14.075a33.549 33.549 0 0 0-.616 1.558c1.624-.338 2.292-.781 2.443-1.303.152-.523-.629-.6-1.827-.255Zm1.167-2.735-.009.025s-.205.46-.49 1.116c1.408-.272 1.817-.626 1.923-.89.093-.23-.011-.7-1.424-.25Z",clipRule:"evenodd"})),l||(l=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"M212.794 15.12c.38-.125.703-.381.911-.722.201-.35.309-.746.316-1.149a1.578 1.578 0 0 0-.446-1.284c-.316-.29-.81-.435-1.478-.435h-2.249l-1.737 7.575h2.291c.369 0 .737-.047 1.094-.14a2.9 2.9 0 0 0 .97-.453c.294-.214.536-.492.71-.811.199-.38.304-.802.305-1.23a1.786 1.786 0 0 0-.142-.777.986.986 0 0 0-.557-.529v-.027a.035.035 0 0 0 .012-.018Zm-.985 1.786a1.261 1.261 0 0 1-.209.376 1.02 1.02 0 0 1-.799.379h-.818l.412-1.785h.862a.652.652 0 0 1 .493.17.602.602 0 0 1 .152.462c-.007.136-.035.27-.083.398h-.01Zm.609-3.032a1.051 1.051 0 0 1-.203.322.962.962 0 0 1-.308.224.904.904 0 0 1-.384.08h-.808l.36-1.534h.751a.82.82 0 0 1 .52.13.482.482
10 0 1 .147.414 1.057 1.057 0 0 1-.075.364Zm5.396-2.347h-2.367l-1.737 7.578h1.56l.682-2.993h.653l.507 2.993h1.685l-.643-3.279a2.531 2.531 0 0 0 1.116-.816c.315-.434.487-.956.493-1.493.057-.68-.092-1.184-.448-1.512a2.166 2.166 0 0 0-1.501-.478Zm.338 2.63a.862.862 0 0 1-.247.305.984.984 0 0 1-.36.162c-.134.033-.272.05-.411.05h-.85l.397-1.722h.828a.92.92 0 0 1 .574.164.599.599 0 0 1 .174.566 1.07 1.07 0 0 1-.105.475Zm7.062-1.028a2.041 2.041 0 0 0-.33-.839 1.83 1.83 0 0 0-.699-.593 2.359 2.359 0 0 0-1.067-.223 2.674 2.674 0 0 0-1.14.223 2.628 2.628 0 0 0-.806.571c-.217.23-.396.493-.53.78a4.077 4.077 0 0 0-.29.853l-.601 2.53a3.06 3.06 0 0 0-.074 1.04c.029.314.137.615.313.876.186.266.441.475.739.605.389.164.809.24 1.231.224.342.005.682-.052 1.003-.17a2.11 2.11 0 0 0 .754-.492c.217-.226.395-.488.524-.774a4.95 4.95 0 0 0 .34-1.018l.604-2.624a2.49 2.49 0 0 0 .029-.97Zm-1.591.772-.668 2.929c-.046.229-.16.438-.327.6a.818.818 0 0 1-.574.219.763.763 0 0 1-.663-.268.977.977 0 0 1-.076-.79l.63-2.754c.02-.096.05-.189.091-.278.045-.1.106-.192.18-.273a.877.877 0 0 1 .685-.297.757.757 0 0 1 .394.093.648.648 0 0 1 .246.246.71.71 0 0 1 .099.293.909.909 0 0 1-.017.28Zm6.683-2.373-.985 4.486h-.045a1.733 1.733 0 0 0-.078-.404c-.06-.216-.122-.432-.185-.647l-.19-.641a2.847 2.847 0 0 1-.096-.387l-.667-2.405h-1.375l-1.739 7.577h1.55l.968-4.257h.031l.434 1.623.813 2.634h1.362l1.739-7.576-1.537-.003Zm2.633 0-1.739 7.577h1.559l1.737-7.577h-1.557Zm4.94 0h-2.257l-1.739 7.577h2.291a4.32 4.32 0 0 0 1.094-.14c.348-.09.677-.243.97-.453a2.45 2.45 0 0 0 .709-.811c.2-.38.305-.802.306-1.23a1.787 1.787 0 0 0-.143-.777.982.982 0 0 0-.557-.529v-.027a.042.042 0 0 0 0-.027 1.69 1.69 0 0 0 .912-.723 2.4 2.4 0 0 0 .315-1.148 1.581 1.581 0 0 0-.446-1.284c-.307-.285-.791-.428-1.453-.428h-.003.001Zm-.286 5.378a1.263 1.263 0 0 1-.21.376 1.016 1.016 0 0 1-.808.379h-.818l.412-1.785h.862a.652.652 0 0 1 .493.17.602.602 0 0 1 .152.462c-.007.136-.036.27-.083.398Zm.598-3.032a1.03 1.03 0 0 1-.202.322.964.964 0 0 1-.308.224.898.898 0 0 1-.384.08h-.808l.36-1.534h.751a.82.82 0 0 1 .52.13.496.496 0 0 1 .148.414 1.06 1.06 0 0 1-.077.364Zm6.826-1.584a1.814 1.814 0 0 0-.7-.593 2.348 2.348 0 0 0-1.066-.223 2.68 2.68 0 0 0-1.143.223 2.61 2.61 0 0 0-.805.57 2.91 2.91 0 0 0-.53.78c-.13.272-.227.559-.291.853l-.601 2.531a3.06 3.06 0 0 0-.074 1.04c.03.314.137.615.313.876.186.266.442.475.739.605.389.164.81.24 1.232.223.342.006.682-.051 1.002-.169a2.11 2.11 0 0 0 .754-.492c.219-.226.398-.486.53-.772a4.95 4.95 0 0 0 .34-1.018l.603-2.624c.076-.317.09-.647.039-.97a2.035 2.035 0 0 0-.345-.84h.003Zm-1.261 1.61-.67 2.93c-.045.229-.16.438-.327.6a.819.819 0 0 1-.575.219.759.759 0 0 1-.662-.268.961.961 0 0 1-.077-.79l.631-2.754a1.41 1.41 0 0 1 .091-.278.946.946 0 0 1 .459-.48.923.923 0 0 1 .406-.08.76.76 0 0 1 .394.093.727.727 0 0 1 .344.539.846.846 0 0 1-.017.27h.003Zm5.818-2.373-.872 1.535c-.136.25-.269.503-.397.758-.132.266-.265.521-.396.767h-.066c0-.108-.02-.246-.03-.376-.01-.13-.019-.285-.029-.43-.01-.146-.023-.29-.035-.436a7.792 7.792 0 0 0-.047-.403l-.096-.708a21.102 21.102 0 0 0-.105-.709h-1.649l.9 4.54-.353 1.517c-.116.504-.235 1.01-.355 1.52h1.538l.697-3.037 2.983-4.54-1.688.002Z"})),c||(c=k.createElement("path",{fill:"#090909",fillOpacity:.4,fillRule:"evenodd",d:"M297.657 22.613a.174.174 0 0 1-.087.103.173.173 0 0 1-.135.008 7.742 7.742 0 0 1-5.119-7.317c0-4.36 3.5-7.895 7.816-7.895 4.317 0 7.816 3.534 7.816 7.895 0 4.05-3.02 7.294-6.909 7.735a.17.17 0 0 1-.143-.053.167.167 0 0 1-.045-.145l.049-.308c.274-1.68.34-3.387.197-5.084 0 0-.019-.196-.084-.708-.017-.13-.005-.193.098-.242.304-.103.612-.193.912-.306.938-.319 1.608-1.144 1.282-2.172-.066-.206-.457-.285-.691-.274-.373.016-.42-.384-.098-.425.099-.012.36.097.36.04 0-.766-2.711-.344-3.15-.267a1.765 1.765 0 0 0-1.17.699c-.283.382-.404.86-.338 1.332.008.056.022.13.033.187.193 1 .188 2.065.114 3.076-.086 1.108-.351 2.592-.509 3.41a7.421 7.421 0 0 1-.199.711Zm.384-11.179c.028.517.097 1.032.208 1.538.053.291-.012.648-.426.756-.46.121-.64-.358-.709-.612a3.69 3.69 0 0 1-.151-1.552c.085-.602.29-1.08.614-1.152.336-.074.454.416.464 1.022Zm1.074-.543c.243-.468.46-.777.736-.727v.001c.277.05.358.509.237.92-.095.404-.165.814-.211 1.228a.509.509 0 0 1-.595.458c-.276-.05-.441-.232-.445-.596-.01-.444.085-.884.278-1.284Z",clipRule:"evenodd"})),u||(u=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"M299.897 14.144a.406.406 0 0 0-.227-.
107v.001a.403.403 0 0 0-.389.292.418.418 0 0 0 .234.5.404.404 0 0 0 .444-.09.418.418 0 0 0 .088-.449.414.414 0 0 0-.15-.184Zm13.796 4.456c-.523 0-.982-.098-1.377-.292a2.3 2.3 0 0 1-.912-.82 2.26 2.26 0 0 1-.328-1.213c0-.48.097-.903.292-1.268.195-.365.462-.65.802-.857.341-.207.733-.31 1.177-.31.498 0 .908.106 1.231.319.322.213.559.498.711.857a2.955 2.955 0 0 1 .228 1.413.894.894 0 0 1-.028.183h-3.3c.036.243.124.447.264.61.14.159.316.28.529.365.213.08.45.119.711.119h1.249v.894h-1.249Zm-1.513-2.7h2.297a1.733 1.733 0 0 0-.054-.346 1.096 1.096 0 0 0-.128-.328.843.843 0 0 0-.219-.265.869.869 0 0 0-.31-.182 1.12 1.12 0 0 0-.419-.073c-.183 0-.344.037-.484.11a1.055 1.055 0 0 0-.355.273c-.097.11-.173.237-.228.383a2.05 2.05 0 0 0-.1.429Zm4.324 2.702v-6.657h1.049v6.657h-1.049Zm4.195.108c-.444 0-.827-.11-1.149-.33a2.186 2.186 0 0 1-.748-.874 2.897 2.897 0 0 1-.255-1.222c0-.462.097-.876.292-1.24.2-.371.483-.663.848-.876.371-.219.811-.328 1.322-.328.504 0 .933.11 1.286.328.358.213.632.505.82.876.195.364.292.771.292 1.221V18.6h-1.049v-.867h-.018c-.091.17-.21.332-.355.484a1.704 1.704 0 0 1-.538.355 1.888 1.888 0 0 1-.748.137Zm.282-.895c.274 0 .511-.066.712-.2.206-.14.368-.325.483-.556.116-.237.17-.502.164-.794 0-.291-.055-.55-.164-.775a1.316 1.316 0 0 0-.465-.547 1.228 1.228 0 0 0-.72-.21 1.303 1.303 0 0 0-1.222.757c-.11.231-.164.493-.164.784 0 .286.054.548.164.785.109.23.264.416.465.556.207.134.456.2.747.2Zm3.681.785v-2.782c0-.358.085-.686.255-.984a1.84 1.84 0 0 1 .739-.72c.322-.183.708-.274 1.158-.274.219 0 .429.027.629.082.201.055.386.143.556.264.177.116.326.262.447.438h.009c.122-.176.268-.322.438-.438.176-.121.365-.21.565-.264a2.49 2.49 0 0 1 .639-.082c.456 0 .842.091 1.158.273.322.177.568.417.738.72.17.299.256.627.256.986v2.78h-1.04v-2.78a1.01 1.01 0 0 0-.155-.548 1.089 1.089 0 0 0-.957-.538 1.136 1.136 0 0 0-.976.538 1.055 1.055 0 0 0-.146.547V18.6h-1.039v-2.782c0-.2-.052-.383-.155-.547a1.163 1.163 0 0 0-.411-.392 1.069 1.069 0 0 0-.556-.146c-.207 0-.395.05-.565.146a1.188 1.188 0 0 0-.402.392 1.055 1.055 0 0 0-.145.547V18.6h-1.04Zm10.728.11c-.444 0-.826-.11-1.149-.33a2.183 2.183 0 0 1-.747-.874 2.883 2.883 0 0 1-.256-1.222 2.6 2.6 0 0 1 .292-1.24c.201-.371.483-.663.848-.876.371-.219.811-.328 1.322-.328.505 0 .933.11 1.286.328.359.213.632.505.821.876.194.364.291.771.291 1.221V18.6h-1.048v-.867h-.018a2.19 2.19 0 0 1-.356.484 1.704 1.704 0 0 1-.538.355 1.888 1.888 0 0 1-.748.137Zm.283-.895c.273 0 .511-.066.711-.2.207-.14.368-.325.483-.556.116-.237.171-.502.165-.794 0-.291-.055-.55-.165-.775a1.32 1.32 0 0 0-.464-.547 1.23 1.23 0 0 0-.721-.21 1.303 1.303 0 0 0-1.222.757 1.816 1.816 0 0 0-.164.784c0 .286.055.548.164.785.11.23.264.416.465.556.207.134.456.2.748.2Zm45.53-5.618h3.66c1.731 0 2.749.758 2.749 2.137 0 .834-.501 1.44-1.139 1.744.79.257 1.412.878 1.412 1.91 0 1.455-1.123 2.318-2.915 2.318h-3.767v-8.109Zm1.442 1.168v2.197h2.066c.925 0 1.397-.394 1.397-1.106 0-.697-.471-1.091-1.398-1.091h-2.065Zm0 3.365v2.41h2.203c1.033 0 1.534-.486 1.534-1.213 0-.712-.501-1.197-1.534-1.197h-2.203Zm7.503-.046c.106 1.515 1.094 2.456 2.628 2.456 1.29 0 2.02-.652 2.536-1.591l1.108.576c-.532 1.243-1.731 2.318-3.644 2.318-2.446 0-4.115-1.637-4.115-4.168 0-2.455 1.64-4.213 3.963-4.213 2.369 0 3.949 1.53 3.979 3.97 0 .153 0 .41-.03.653h-6.424l-.001-.001Zm.046-1.167h4.905c-.092-1.274-1.033-2.152-2.476-2.152-1.351 0-2.247.848-2.429 2.152Zm11.48-3.457c2.445 0 4.191 1.744 4.191 4.183 0 2.456-1.747 4.2-4.207 4.2-2.43 0-4.176-1.744-4.176-4.184.001-2.455 1.747-4.199 4.192-4.199Zm-4.085.258v-.53c0-1.88 1.063-2.956 2.779-2.956 1.352 0 2.051.546 3.159.546.698 0 1.063-.364 1.063-1.243v-.44h1.442v.454c0 1.744-.774 2.531-2.187 2.531-1.397 0-2.126-.545-3.204-.545-1.048 0-1.61.56-1.61 1.682v.5h-1.442Zm4.085 6.822c1.579 0 2.733-1.153 2.733-2.896 0-1.727-1.154-2.88-2.733-2.88-1.58 0-2.734 1.152-2.734 2.895.001 1.728 1.154 2.88 2.734 2.88Zm6.728-1.061 3.644-5.882h1.534v8.11h-1.441v-5.881l-3.645 5.881h-1.534v-8.11h1.443v5.882h-.001Zm7.958 4.88 1.002-2.653-3.038-8.11h1.534l2.247 6.139 2.279-6.139h1.472l-4.07 10.761h-1.426v.002ZM423.893 14v6.306h-1.367v-8.109h2.202l2.081 6.412 2.095-6.412h2.142v8.11h-1.428V14l-2.141 6.306h-1.443L423.893 14Zm60.736-2.63c-.758 0-1.28.287-1.612.815-.332.528-.332.768-.332 1.583v.432h-.616v1.151h.616v4.318h1.328V15.35h1.375V14.2h-1.375v-.432c0-.863.047-1.007.522-1.2.094-.047.189-.047.284-.047.142 0 .284.048.379.096l.19.096v-1.104l-.048-.048c-.189-.143-.426-.191-.711-.191Zm1.565-.096h1.328v8.395
1h-1.328v-8.395Zm5.263 2.83c-1.565 0-2.797 1.247-2.797 2.83s1.232 2.83 2.797 2.83c1.565 0 2.797-1.247 2.797-2.83s-1.232-2.83-2.797-2.83Zm0 4.557c-.854 0-1.517-.72-1.517-1.727 0-1.007.663-1.727 1.517-1.727.853 0 1.517.72 1.517 1.727 0 1.008-.664 1.727-1.517 1.727Zm15.646-1.055-.948-2.878-.19-.528h-.948l-.142.528-.948 2.878-1.138-3.358.047-.048h-1.375l.048.096-1.138 3.31-.949-2.878-.189-.528h-.948l-.238.528-.948 2.878-1.138-3.406h-1.327l2.038 5.469h.806l1.186-3.167 1.185 3.167h.806l1.375-3.646 1.375 3.646h.806l1.186-3.167 1.185 3.167h.948l2.086-5.47h-1.327l-1.186 3.407Zm5.548-3.502c-1.565 0-2.798 1.247-2.798 2.83s1.233 2.83 2.798 2.83c1.564 0 2.797-1.247 2.797-2.83s-1.233-2.83-2.797-2.83Zm0 4.557c-.854 0-1.518-.72-1.518-1.727 0-1.007.664-1.727 1.518-1.727.853 0 1.517.72 1.517 1.727 0 1.008-.664 1.727-1.517 1.727Zm10.004-4.461-1.138 3.406-.948-2.878-.19-.528h-.948l-.143.528-.948 2.878-1.137-3.406h-1.328l2.086 5.469h.806l1.186-3.167 1.185 3.167h.806l2.086-5.47h-1.375Zm-47.508 3.502-.048-2.974c1.375-.192 2.371-1.008 2.892-2.447.475-1.247.569-3.118.427-4.126-.806.192-2.039.864-2.418 1.2-.284-.528-.948-1.295-1.422-1.68-.474.433-1.138 1.152-1.423 1.68-.379-.336-1.612-1.008-2.418-1.2-.142 1.008-.047 2.879.427 4.126.521 1.44 1.517 2.255 2.892 2.447v3.022s0-.048-.047-.048c-.712-1.152-2.086-2.399-3.888-2.879-.38 3.167.901 6.908 4.457 8.156 3.556-1.248 4.836-5.037 4.457-8.204-1.802.528-3.13 1.775-3.888 2.927Zm-4.031-1.344c1.375.816 2.94 2.351 2.893 5.23-1.755-1.152-2.703-2.879-2.893-5.23Zm3.462-2.686c-2.229 0-2.75-2.015-2.845-4.03.616.336 1.185.816 1.659 1.344.332-.72.617-1.247 1.186-1.823.569.576.853 1.103 1.185 1.823.474-.48 1.043-1.008 1.66-1.295-.095 1.966-.617 3.981-2.845 3.981Zm.569 7.915c0-2.878 1.564-4.46 2.892-5.229-.142 2.351-1.091 4.078-2.892 5.23ZM39.58 45.546c-.07-.56-.317-.99-.74-1.288-.416-.303-.924-.455-1.524-.455-.696 0-1.27.244-1.721.73-.452.487-.678 1.122-.678 1.906 0 .785.226 1.42.678 1.907.452.486 1.025.73 1.72.73.601 0 1.115-.166 1.543-.498.434-.338.693-.816.776-1.434H41.9c-.053 1.15-.511 2.083-1.373 2.799-.856.71-1.926 1.065-3.21 1.065-1.326 0-2.423-.427-3.29-1.28-.863-.858-1.294-1.955-1.294-3.289 0-1.333.431-2.427 1.293-3.28.868-.859 1.965-1.288 3.29-1.288 1.237 0 2.278.34 3.122 1.022.85.675 1.331 1.56 1.444 2.653h-2.3Zm9.62 5.29v-3.443h-3.835v3.443h-2.193v-8.793h2.194v3.41H49.2v-3.41h2.193v8.793H49.2Zm11.282-1.108c-.88.853-1.992 1.28-3.335 1.28-1.344 0-2.455-.427-3.335-1.28-.88-.858-1.32-1.955-1.32-3.289 0-1.333.44-2.427 1.32-3.28.88-.859 1.991-1.288 3.335-1.288 1.343 0 2.455.43 3.335 1.288.88.853 1.32 1.947 1.32 3.28 0 1.334-.44 2.43-1.32 3.29Zm-5.11-1.382c.47.486 1.062.73 1.775.73.713 0 1.302-.244 1.766-.73.463-.487.695-1.122.695-1.907 0-.784-.232-1.42-.695-1.906-.464-.486-1.053-.73-1.766-.73-.713 0-1.305.246-1.775.739-.463.486-.695 1.119-.695 1.897 0 .779.232 1.414.695 1.907Zm-23.735-6.303v8.793h-2.232v-3H28.25l-2.53 3h-2.605l2.659-3.123a3.032 3.032 0 0 1-1.566-1.03 2.763 2.763 0 0 1-.583-1.744c0-.535.134-1.023.4-1.465.28-.442.656-.791 1.13-1.047a3.24 3.24 0 0 1 1.566-.384h4.916Zm-2.232 3.995v-2.163h-2.393c-.388 0-.698.099-.929.297-.218.186-.327.447-.327.785 0 .325.109.587.327.785.231.198.54.296.93.296h2.392Zm137.84 1.815-2.073-4.521c-.237-.494-.553-.71-1.026-.71h-.079c-.493 0-.809.216-1.047.71l-2.072 4.52c-.197.455-.059.85.355 1.007.375.139.731.06.948-.375l.473-.987a4.74 4.74 0 0 0 1.422.217c.513 0 .987-.078 1.362-.217l.454.987c.197.435.592.514.948.375.374-.158.533-.572.335-1.006Zm-3.139-1.5c-.315 0-.651-.04-.908-.12l.889-1.973.888 1.974a2.988 2.988 0 0 1-.869.118Zm-4.322 1.086h-.395v-4.146c0-.474-.356-.75-.77-.75-.415 0-.75.276-.75.75v4.146h-2.645v-4.146c0-.474-.336-.75-.771-.75-.434 0-.769.276-.769.75v4.876c0 .415.276.75.75.75h4.599v.672c0 .474.336.75.751.75.434 0 .749-.276.749-.75v-1.402c0-.493-.296-.75-.749-.75Zm-7.659 0h-.394v-4.146c0-.474-.356-.75-.77-.75-.415 0-.75.276-.75.75v4.146h-2.646v-4.146c0-.474-.335-.75-.77-.75-.434 0-.77.276-.77.75v4.876c0 .415.277.75.751.75h4.599v.672c0 .474.336.75.75.75.435 0 .751-.276.751-.75v-1.402c0-.493-.296-.75-.751-.75Zm-8.508-4.837h-.06c-.454 0-.75.217-1.066.671l-2.487 3.534v-3.514c0-.474-.316-.75-.73-.75-.435 0-.751.276-.751.75v4.758c0 .513.336.849.849.849h.079c.474 0 .79-.237 1.086-.672l2.487-3.533v3.533c0 .474.316.75.731.75.414 0 .73-.276.73-.75v-4.777c0-.513-.316-.849-.868-.849Zm-7.423 0h-4.264c-.494 0-.75.335-.75.75v4.876c0 .474.355.75.77.75.414 0 .75-.276.75-.75v-4.146h2.724v4.146c0 .474.335.75.77.75.414 0 .77-.276.77-.77v-4.876c0-.395-.277-.73-.77-.73Zm-11.035-.039c-1.836 0-3.237 1.381-3.237 3.217 0 1.856 1.401 3.218 3.237 3.218 1.817 0 3.238-1.401 3.238-3.237-.02-1.856-1.421-3.199-3.238-3.199Zm0 4.974c-1.006 0-1.717-.75-1.717-1.776 0-1.007.73-1.757 1.717-1.757 1.007 0 1.718.7
15 1.718 1.757 0 1.026-.691 1.776-1.718 1.776Zm-4.303-.099h-.395v-4.086c0-.415-.276-.75-.75-.75h-3.494c-.414 0-.691.276-.691.75v.987c0 .71-.02 1.263-.138 1.855-.118.573-.276.948-.494 1.244h-.177c-.494 0-.731.316-.731.75v1.402c0 .474.336.75.751.75.434 0 .75-.276.75-.75v-.671h4.599v.671c0 .474.336.75.75.75.435 0 .751-.276.751-.75v-1.402c.019-.434-.218-.75-.731-.75Zm-1.915 0h-2.487a4.82 4.82 0 0 0 .375-1.066c.099-.474.138-.947.158-1.56l.02-.73h1.934v3.356Zm-8.33-4.875c-1.836 0-3.238 1.381-3.238 3.217 0 1.856 1.402 3.218 3.238 3.218 1.816 0 3.237-1.401 3.237-3.237 0-1.856-1.402-3.199-3.237-3.199Zm0 4.974c-1.007 0-1.718-.75-1.718-1.776 0-1.007.731-1.757 1.718-1.757 1.006 0 1.717.75 1.717 1.757 0 1.026-.671 1.776-1.717 1.776Zm-4.343-.099h-.395v-4.086c0-.415-.276-.75-.75-.75h-3.494c-.414 0-.691.276-.691.75v.987c0 .71 0 1.263-.138 1.855-.119.573-.276.948-.494 1.244h-.158c-.493 0-.73.316-.73.75v1.402c0 .474.335.75.75.75.435 0 .75-.276.75-.75v-.671h4.6v.671c0 .474.335.75.75.75.434 0 .75-.276.75-.75v-1.402c0-.434-.237-.75-.75-.75Zm-1.915 0h-2.487a4.82 4.82 0 0 0 .375-1.066c.099-.474.138-.947.158-1.56l.019-.73h1.935v3.356Zm101.311-4.062a.672.672 0 0 0-.237-.512.785.785 0 0 0-.548-.215.744.744 0 0 0-.401.11.715.715 0 0 0-.287.364l-2.526 5.67-2.532-5.681a.73.73 0 0 0-.704-.463.903.903 0 0 0-.589.215.65.65 0 0 0-.262.533.662.662 0 0 0 .065.293l3.157 6.78-1.127 2.431a.92.92 0 0 0-.082.33.61.61 0 0 0 .238.496.807.807 0 0 0 .532.195.718.718 0 0 0 .401-.125.771.771 0 0 0 .289-.354l4.548-9.753a.789.789 0 0 0 .065-.314Zm15.878 6.81a.733.733 0 0 0 .213.555.771.771 0 0 0 .558.206.85.85 0 0 0 .604-.217.733.733 0 0 0 .235-.56v-6.73a.796.796 0 0 0-.221-.594.94.94 0 0 0-1.204.008.783.783 0 0 0-.229.587v3.886c0 .693-.194 1.25-.581 1.67a2.008 2.008 0 0 1-1.547.628c-.544 0-.948-.155-1.211-.463-.263-.308-.394-.787-.393-1.435v-4.286a.796.796 0 0 0-.221-.595.824.824 0 0 0-.601-.216.842.842 0 0 0-.614.216.782.782 0 0 0-.221.595v4.305c0 2.16.971 3.24 2.914 3.24a3.035 3.035 0 0 0 1.481-.363c.441-.242.803-.61 1.038-1.059v.622Zm7.838-.677-.459-.034c-.436-.033-.761-.17-.974-.413-.212-.242-.316-.623-.316-1.142v-4h1.615a.773.773 0 0 0 .532-.16.6.6 0 0 0 .188-.478.609.609 0 0 0-.188-.479.763.763 0 0 0-.532-.174h-1.621v-1.703a.771.771 0 0 0-.229-.595.852.852 0 0 0-.606-.217.814.814 0 0 0-.597.216.782.782 0 0 0-.221.595v1.704h-.982a.758.758 0 0 0-.532.174.615.615 0 0 0-.189.479c0 .425.24.637.721.637h.982v3.887c0 .936.218 1.645.655 2.124.437.478 1.096.752 1.98.82l.442.031a1.17 1.17 0 0 0 .745-.14.572.572 0 0 0 .254-.504.59.59 0 0 0-.158-.439.815.815 0 0 0-.51-.19Zm12.528-10.551a.878.878 0 0 0-.597.207.76.76 0 0 0-.237.603v10.22a.736.736 0 0 0 .237.595.897.897 0 0 0 .597.198.869.869 0 0 0 .59-.198.743.743 0 0 0 .229-.595v-10.22a.774.774 0 0 0-.229-.603.853.853 0 0 0-.59-.207Zm8.797 10.434-3.208-2.861 2.914-2.695a.79.79 0 0 0 .279-.58.802.802 0 0 0-.231-.543.786.786 0 0 0-.539-.233.83.83 0 0 0-.54.25l-3.731 3.52v-6.482a.775.775 0 0 0-.23-.603.846.846 0 0 0-.588-.207.884.884 0 0 0-.599.207.757.757 0 0 0-.236.603v10.206a.74.74 0 0 0 .051.329.75.75 0 0 0 .185.275c.168.14.381.214.599.206a.845.845 0 0 0 .588-.206.779.779 0 0 0 .23-.604v-3.062l4.076 3.637a.783.783 0 0 0 .556.232.663.663 0 0 0 .508-.232.78.78 0 0 0-.084-1.157Zm-43.826 1.59h4.244a4.09 4.09 0 0 0 2.071-.512 3.472 3.472 0 0 0 1.375-1.462 4.817 4.817 0 0 0 .481-2.209 4.837 4.837 0 0 0-.481-2.223 3.462 3.462 0 0 0-1.375-1.465 4.09 4.09 0 0 0-2.071-.512h-1.341a4.08 4.08 0 0 0-2.069.512 3.44 3.44 0 0 0-1.375 1.465 4.839 4.839 0 0 0-.483 2.223v2.338c0 1.347.341 1.845 1.024 1.845Zm1.235-6.31c.393-.49.95-.734 1.668-.734h1.341c.719 0 1.276.246 1.67.737.393.491.59 1.2.589 2.124 0 .937-.194 1.647-.581 2.132-.388.485-.947.728-1.678.729h-3.579s-.021-1.925-.021-2.861c0-.936.198-1.635.591-2.127Zm29.91-1.755a4.071 4.071 0 0 0-2.069-.514h-1.34a4.091 4.091 0 0 0-2.071.514 3.45 3.45 0 0 0-1.375 1.464 4.849 4.849 0 0 0-.474 2.223 4.84 4.84 0 0 0 .474 2.208 3.456 3.456 0 0 0 1.375 1.463 4.092 4.092 0 0 0 2.071.511h4.243c.685 0 1.024-.497 1.024-1.85v-2.332a4.813 4.813 0 0 0-.483-2.223 3.43 3.43 0 0 0-1.375-1.464Zm.169 6.547h-3.578c-.73 0-1.289-.242-1.678-.727-.39-.484-.583-1.196-.58-2.133 0-.927.197-1.635.589-2.124.393-.49.949-.735 1.669-.737h1.34c.72 0 1.276.245 1.67.737.394.49.591 1.199.594 2.124 0 .936-.026 2.86-.026 2.86Z"})),d||(d=k.createElement("path",{fill:"#090909",fillOpacity:.4,fillRule:"evenodd",d:"M315.506 44.406c-1.432
10-2.455.889-2.455 2.418 0 1.528 1.023 2.408 2.455 2.408 1.432 0 2.455-.88 2.455-2.408 0-1.529-1.023-2.418-2.455-2.418Zm0 1.12c.548 0 1.055.382 1.055 1.298 0 .915-.507 1.288-1.055 1.288-.548 0-1.056-.373-1.056-1.288 0-.916.516-1.298 1.056-1.298Zm-11.644 3.616-1.702-4.63h-1.481l-1.702 4.63h1.448l.237-.773h1.498l.237.773h1.465Zm-2.447-3.164.426 1.396h-.868l.442-1.396Z",clipRule:"evenodd"})),m||(m=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"M304.254 47.996h-.098v1.155h.303c1.162 0 1.653-.95 1.71-2.115l.074-1.369h.941v3.475h1.35v-4.63h-3.551l-.058 1.582c-.049 1.484-.302 1.902-.671 1.902Zm5.254-3.484h3.306v1.146h-1.956v3.484h-1.35v-4.63Z"})),h||(h=k.createElement("path",{fill:"#090909",fillOpacity:.4,fillRule:"evenodd",d:"M322.74 46.076c0 1.262-.917 1.555-2.144 1.555h-.557v1.511h-1.342v-4.63h1.907c1.219 0 2.136.31 2.136 1.564Zm-2.692.48h.679c.384 0 .614-.151.614-.48 0-.338-.23-.489-.614-.489h-.679v.969Z",clipRule:"evenodd"})),p||(p=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"M324.615 44.512h-1.252v4.64h1.252l1.858-2.827v2.817h1.252v-4.63h-1.252l-1.858 2.817v-2.817Zm3.682 1.146v-1.146h4.149v1.146h-1.399v3.493h-1.351v-3.493h-1.399Zm5.95 3.493v-3.19l.933 3.19h1.211l.932-3.208v3.2h1.22v-4.631h-1.956l-.785 2.88-.794-2.88h-1.981v4.64h1.22Zm10.113-1.154h1.792v1.146h-3.772v-1.11c.802-.347 2.43-1.37 2.43-2.08 0-.338-.229-.436-.507-.436-.393 0-.663.24-.671.765h-1.277c.025-1.191.713-1.876 2.022-1.876.981 0 1.817.338 1.817 1.342-.009.942-.95 1.751-1.834 2.249Z"})),v||(v=k.createElement("path",{fill:"#090909",fillOpacity:.4,fillRule:"evenodd",d:"M350.114 49.15v-.817h.745v-1.147h-.745v-2.604h-1.17l-2.382 2.666v1.094h2.202v.808h1.35Zm-1.35-2.986v1.022h-.917l.917-1.022Zm-54.67 1.619a1.469 1.469 0 0 0-1.599 1.046h-1.302l-1.674-4.65h1.057a1.47 1.47 0 0 0 1.6 1.046 1.476 1.476 0 0 0 1.268-1.306 1.476 1.476 0 0 0-1.458-1.642c-.664 0-1.227.445-1.403 1.053h-1.369l-.298-.834c-.088-.24-.251-.355-.488-.355h-1.891c-.238 0-.4.116-.488.355l-1.153 3.16h-2.46a1.468 1.468 0 0 0-1.586-1.047 1.48 1.48 0 0 0-1.281 1.3 1.475 1.475 0 0 0 1.457 1.655c.664 0 1.227-.445 1.41-1.06h2.155l-1.389 3.857a.312.312 0 0 0-.014.11c0 .054.02.123.075.184a.332.332 0 0 0 .183.075h1.579c.203 0 .346-.089.413-.273l.17-.465c.074-.192 1.179-3.837 1.179-3.837l-.515.205c-.034.014-.054.041-.054.075v1.04h-.644V46.1a.24.24 0 0 1 .142-.219l1.559-.642a.624.624 0 0 1 .244-.048c.231 0 .441.116.549.314l.305.52c.292.472.814.8 1.41.8v.657a2.28 2.28 0 0 1-1.769-.848l-.196.978.664.67s.224.253.366.417c.014.02.027.041.034.062l.623 1.703a.416.416 0 0 0 .414.273h1.579a.237.237 0 0 0 .176-.082.25.25 0 0 0 .082-.178.312.312 0 0 0-.014-.11l-.244-.683h.997a1.467 1.467 0 0 0 1.403 1.053c.861 0 1.552-.752 1.457-1.641a1.468 1.468 0 0 0-1.261-1.313Zm-6.093-2.756a.654.654 0 0 1-.651-.657c0-.362.291-.656.651-.656.359 0 .65.294.65.656a.653.653 0 0 1-.65.657Z",clipRule:"evenodd"})),g||(g=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"m287.18 48.194.78.697c.04.035.02.11-.034.117l-1.112.212c-.054.007-.095-.041-.074-.09l.332-.909c.013-.04.068-.054.108-.027Zm54.647-1.074c0 .749-.607 1.356-1.355 1.356a1.356 1.356 0 0 1 0-2.714c.748 0 1.355.607 1.355 1.357Z"})),k.createElement("mask",{id:"all-icons_svg__a",width:74,height:15,x:369,y:39,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},x||(x=k.createElement("path",{fill:"#fff",d:"M369.732 39.797h72.786V53.08h-72.786V39.797Z"}))),y||(y=k.createElement("g",{fill:"#090909",fillOpacity:.4,mask:"url(#all-icons_svg__a)"},k.createElement("path",{fillRule:"evenodd",d:"M380.001 47.197h-1.231l2.469 2.256h-1.687l-2.468-2.256v-1.183h2.772a.668.668 0 0 0 0-1.328h-2.784s-.025-.267-.291-.668a1.395 1.395 0 0 0-.528-.503h3.864c.867 0 1.722.643 1.722 1.838 0 1.055-.97 1.85-1.838 1.85v-.006Zm-5.052 0h-1.589v2.256h-1.335v-2.942l-.006-.503h2.778a.666.666 0 0 0 .43-1.113.666.666 0 0 0-.43-.215h-3.184l-.558-1.171h4.003c.867 0 1.723.643 1.723 1.838 0 1.055-.971 1.85-1.832 1.85Zm5.386-7.4h-7.952a2.65 2.65 0 0 0-2.651 2.65V50.4a2.652 2.652 0 0 0 2.651 2.65h7.952a2.65 2.65 0 0 0 2.65-2.65v-7.952a2.65 2.65 0 0 0-2.65-2.65Z",clipRule:"evenodd"}),k.createElement("path",{d:"M440.552 45.249c-1.025 0-1.716.752-1.716 1.795 0 1.031.655 1.784 1.68 1.784.716 0 1.419-.31 1.62-1.244h-.831c-.122.406-.431.564-.74.564-.486 0-.825-.4-.825-1.116 0-.716.364-1.104.819-1.104.339 0 .642.237.715.564h.837c-.121-.849-.831-1.243-1.552-1.243h-.007Zm-4.585 4.61v-1.541a1.093 1.093 0 0 0 .983.516c.812 0 1.492-.698 1.492-1.79 0-1.08-.661-1.79-1.486-1.79-.431 0-.801.189-.989.517v-.443h-.873v4.537h.873v-.006Zm.77-1.699c-.485 0-.8-.418-.8-1.
1122 0-.691.321-1.116.8-1.116.461 0 .789.455.789 1.122s-.328 1.11-.789 1.11v.006Zm-4.779 1.699c.849 0 1.019-.152 1.431-1.214l1.25-3.323h-.892l-.789 2.468-.782-2.468h-.958l1.31 3.414-.037.092c-.151.363-.279.363-.576.363h-.327v.668h.37Zm-2.305-4.61c-1.025 0-1.717.752-1.717 1.795 0 1.031.655 1.784 1.68 1.784.71 0 1.414-.31 1.62-1.244h-.837a.743.743 0 0 1-.74.564c-.485 0-.825-.4-.825-1.116 0-.716.364-1.104.819-1.104.333 0 .643.237.709.564h.844c-.122-.849-.837-1.243-1.553-1.243Zm-3.84.643c.364 0 .777.2.795.782h-1.62c.067-.582.492-.788.825-.788v.006Zm1.687 1.383c.03-1.207-.625-2.026-1.681-2.026-1.013 0-1.716.758-1.716 1.771 0 .989.643 1.807 1.741 1.807.934 0 1.431-.564 1.613-1.073h-.898c-.182.303-.448.394-.721.394-.425 0-.813-.285-.862-.873h2.524Zm-5.544-2.426c.485 0 1.073.06 1.073.818 0 .607-.455.752-1.013.752h-.752v-1.576h.692v.005Zm-1.602-.716v4.61h.91v-1.62h.698c1.067 0 2.001-.285 2.001-1.462 0-1.395-1.091-1.528-2.032-1.528h-1.577Zm-5.495 4.61c.849 0 1.244-.62 1.316-1.911l.055-.813h.885v2.73h.874v-3.427h-2.584l-.061 1.08c-.072 1.23-.212 1.65-.564 1.65h-.085v.697h.164v-.006Zm-1.407-.425c.024.176.036.322.061.425h.806a4.599 4.599 0 0 1-.103-1.129l.012-.873c0-1.152-.667-1.504-1.474-1.504-.885 0-1.431.497-1.498 1.17h.819c.018-.382.303-.558.637-.558.352 0 .643.188.643.716v.06c-1.353.152-2.256.389-2.256 1.202 0 .618.582 1 1.237 1 .515 0 .873-.151 1.116-.509Zm-.073-.88c0 .504-.23.789-.788.789-.395 0-.589-.2-.589-.449 0-.382.388-.497 1.377-.594v.255Zm-5.277 1.31v-1.407h1.432v1.408h.873v-3.427h-.873v1.328h-1.426v-1.328h-.879v3.427h.879-.006Zm-3.196.08c.867 0 1.722-.589 1.722-1.784 0-1.207-.855-1.795-1.722-1.795-.862 0-1.717.588-1.717 1.795 0 1.195.849 1.784 1.717 1.784Zm0-2.894c.485 0 .831.388.831 1.11 0 .716-.346 1.098-.831 1.098-.486 0-.825-.382-.825-1.098 0-.722.345-1.11.825-1.11Zm-3.524-.685c-1.032 0-1.723.752-1.723 1.795 0 1.031.661 1.784 1.68 1.784.716 0 1.419-.31 1.626-1.244h-.843c-.122.406-.425.564-.734.564-.486 0-.831-.4-.831-1.116 0-.716.364-1.104.825-1.104.333 0 .643.237.709.564h.843c-.121-.849-.837-1.243-1.552-1.243Zm-4.586 4.61v-1.541a1.093 1.093 0 0 0 .977.516c.812 0 1.498-.698 1.498-1.79 0-1.08-.667-1.79-1.492-1.79-.431 0-.801.189-.983.517v-.443h-.879v4.537h.879v-.006Zm.77-1.699c-.485 0-.806-.418-.806-1.122 0-.691.321-1.116.806-1.116.455 0 .783.455.783 1.122s-.328 1.11-.789 1.11l.006.006Zm-3.942-2.268c.364 0 .77.2.788.782h-1.619c.073-.582.497-.788.825-.788l.006.006Zm1.68 1.383c.036-1.207-.619-2.026-1.68-2.026-1.007 0-1.717.758-1.717 1.771 0 .989.643 1.807 1.747 1.807.934 0 1.432-.564 1.614-1.073h-.904c-.182.303-.443.394-.716.394-.424 0-.819-.285-.867-.873h2.523Zm-6.945 1.474v-3.876h1.977v3.876h.91v-4.61h-3.797v4.61h.91Z"}))),b||(b=k.createElement("path",{fill:"#090909",fillOpacity:.4,d:"M490.732 43.623h1.94l1.255 1.948 1.265-1.948h1.94v5.625h-1.919v-2.785l-1.329 1.914-1.286-1.871v2.731h-1.866v-5.614Zm7.233 2.807c0-1.6 1.265-2.938 3.026-2.938 1.74 0 3.006 1.317 3.006 2.938 0 1.599-1.266 2.937-3.027 2.937-1.75.011-3.005-1.316-3.005-2.937Zm4.154 0c0-.686-.484-1.273-1.16-1.273-.695 0-1.138.576-1.138 1.273 0 .685.485 1.273 1.16 1.273.695 0 1.138-.577 1.138-1.273Zm2.678-2.807h1.92v1.99h1.57v-1.99h1.92v5.625h-1.919v-2.046h-1.571v2.035h-1.919l-.001-5.614Zm6.211 2.807c0-1.643 1.139-2.938 2.752-2.938 1.888 0 2.752 1.426 2.752 3.08 0 .119 0 .271-.01.402h-3.648c.147.609.579.925 1.18.925.454 0 .812-.175 1.213-.577l1.054.903c-.527.685-1.275 1.142-2.372 1.142-1.719.011-2.921-1.164-2.921-2.937Zm3.701-.468c-.074-.62-.421-1.023-.949-1.023-.506 0-.843.403-.949 1.023h1.898Zm2.098-.75v-1.589h5.104v1.588h-1.592v4.037h-1.909V45.21h-1.603Zm-44.633-1.578h1.919v1.99h1.571v-1.99h1.919v5.625h-1.919v-2.046h-1.571v2.046h-1.919v-5.625Zm6.21 2.818c0-1.643 1.139-2.938 2.753-2.938 1.887 0 2.752 1.425 2.752 3.08 0 .119 0 .271-.011.401h-3.648c.147.61.579.925 1.181.925.453 0 .811-.174 1.212-.576l1.054.903c-.526.685-1.286 1.142-2.372 1.142-1.708 0-2.921-1.175-2.921-2.937Zm3.701-.468c-.063-.631-.421-1.023-.938-1.023-.506 0-.843.403-.949 1.023h1.887Zm3.691-.762h-1.592v-1.588h5.093v1.588h-1.593v4.037h-1.908v-4.037Z",opacity:.9})))},Te=a(13182),Ne=a(2091),Ee=a.n(Ne),Ae=a(12767),Ie=a.n(Ae),Re=function ModalInfluencerVideo(t){var r=t.isOpen,a=t.onClose,i=(0,k.useState)(0),o=(0,j.Z)(i,2),l=o[0],c=o[1],u=(0,k.useState)(0),d=(0,j.Z)(u,2),m=d[0],h=d[1],p=(0,k.useState)(!1),v=(0,j.Z)(p,2),g=v[0],x=v[1],y=(0,k.useRef)(null),b=function formatTime(t){var r,a=Math.floor(t/60),i=Math.floor(t%60),o=function pad(t){var r;return Ee()(r=String(t)).call(r,2,"0")};return Ie()(r="".concat(o(a),":")).call(r,o(i))};(0,k.useEffect)(function(){r||(c(0),x(!1),y.current&&(y.current.currentTime=0,y.current.pause()))},[r]);(0,k.useEffect)(function(){var t=function handleVisibilityChange(){document.hidden&&y.current&&!y.current.paused&&(y.current.pause(),x(!1))};return document.addEventListener("visibilitychange",t),function(){document.removeEventListener("visibilitychange",t)}},[]);var Z=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(){var t;return(0,S.Z)().wrap(function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,null===(t=y.current)||void 0===t?void 0:t.play();case 3:x(!0),r.next=9;break;case 6:r.prev=6,r.t0=r.catch(0),console.error("Failed to play video:",r.t0);case 9:case"end":return r.stop()}},_callee,null,[[0,6]])}));return function handlePlay(){return t.apply(this,arguments)}}();return(0,z.jsx)(L.Vq,{open:r,onOpenChange:function onOpenChange(t){return!t&&a()},children:(0,z.jsxs)(L.PK,{children:[(0,z.jsx)("div",{className:"fixed top-4.5 left-4 md:top-7 md:left-6 z-60 flex items-center space-x-1 bg-[#EFEFF1] rounded-sm px-2 py-1",children:(0,z.jsxs)(L.ZT,{variant:"p1",className:"font-cofo",children:[b(l)," / ",b(m)]})}),(0,z.jsx)("div",{className:"fixed top-2.5 right-4 md:top-5 md:right-6 z-60 bg-[#EFEFF1] cursor-pointer pointer-events-auto rounded-lg",children:(0,z.jsx)(L.zx,{variant:"text",iconOnly:!0,size:"lg",icon:"CloseIcon",onClick:a})}),(0,z.jsx)(L.cZ,{disabledPadding:!0,fullScreen:!0,showClose:!1,className:"max-w-93.5 md:max-w-150",children:(0,z.jsx)("div",{className:"fixed inset-0 z-40 bg-transparent flex items-center justify-center",onClick:function onClick(t){return t.stopPropagation()},children:(0,z.jsxs)("div",{className:"relative h-full md:w-full",children:[(0,z.jsxs)("video",{ref:y,className:"h-full object-cover max-w-93.5 md:max-w-150 ".concat(g?"cursor-pointer":""),loop:!0,playsInl
1ine:!0,autoPlay:!0,preload:"auto","webkit-playsinline":!0,onPlay:function onPlay(){return x(!0)},width:"100%",height:"100%",onTimeUpdate:function handleTimeUpdate(){y.current&&c(y.current.currentTime)},onLoadedMetadata:function handleLoadedMetadata(){y.current&&h(y.current.duration)},onCanPlay:function handleCanPlay(){r&&y.current&&y.current.play().catch(function(t){console.error("Failed to autoplay video:",t),x(!1)})},onPause:function onPause(){return x(!1)},onClick:function onClick(){var t;g&&(null===(t=y.current)||void 0===t||t.pause(),x(!1))},children:[(0,z.jsx)("source",{src:"https://storage.yandexcloud.net/app.konsol.pro/influencer-promo.mp4",type:"video/mp4"}),"\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0438\u0434\u0435\u043e."]}),(0,z.jsx)("div",{className:"absolute inset-0 transition-opacity z-10 pointer-events-none ".concat(g?"opacity-0":"opacity-100"),style:{backgroundColor:"rgba(37, 29, 53, 0.48)"},"aria-hidden":g,role:"presentation"}),!g&&(0,z.jsx)(L.zx,{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 z-50 rounded-full",onClick:Z,"aria-label":"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e",variant:"text",icon:"PlayIcon",iconProps:{size:96,className:"text-white"},iconOnly:!0,size:"lg"})]})})})]})})},Oe="LayoutRegister-layout-3504e385",Me="LayoutRegister-mobileLayout-48298956",Pe="LayoutRegister-mobileLayoutFirstStep-9494206d",Fe="LayoutRegister-header-0ca7e530",Le="LayoutRegister-mobileHeader-42b8f5b7",ze="LayoutRegister-mobileHeaderFirstStep-a6e32c2c",Be="LayoutRegister-mainContent-cb8531b6",Ue="LayoutRegister-mobileImage-74312940",Ve="LayoutRegister-logo-4d680222",$e="LayoutRegister-formWrapper-e85493e5",qe="LayoutRegister-desktopImage-4ba98c07",De="LayoutRegister-konsolHrmMarketingBlock-bab47494",He="LayoutRegister-konsolHrmTitle-beabf1a4",Ge="LayoutRegister-konsolHrmCompanyLogos-321a360d",Ke="LayoutRegister-aboutUsButton-cdd740d6",Ye=function AsideBlock(t){var r=t.isOneTaskRequirements,a=(0,G.k)().isMobile,i=(0,_.$G)().t,o=(0,O.Iu)().isKonsolHrm,l=(0,k.useState)(!1),c=(0,j.Z)(l,2),u=c[0],d=c[1],m=r?(0,z.jsx)(L.zx,{size:"lg",icon:"PlayIcon",className:"".concat(Ke," position: absolute !important;"),onClick:function handleAboutUsClick(){var t,r;null===(t=(r=window).ym)||void 0===t||t.call(r,Te.T,"reachGoal","ad_hoc_link_promo_opened"),d(!0)},children:"\u041e \u043d\u0430\u0441"}):null;return(0,z.jsxs)(z.Fragment,{children:[a?(0,z.jsxs)("div",{className:"relative w-full flex justify-center overflow-hidden",children:[(0,z.jsx)("img",{src:o?ke:ye,alt:o?"\u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c \u041a\u043e\u043d\u0441\u043e\u043b\u044c.HRM":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",className:Ue,"data-testid":o?"konsol-hrm-mobile-image":void 0}),m]}):(0,z.jsxs)("div",{className:"flex align-center justify-center w-[572px] relative flex flex-col justify-center gap-[10px] p-3 z-0",children:[(0,z.jsxs)("div",{className:"relative w-full h-full",children:[o?(0,z.jsx)("img",{src:Ze,alt:"\u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c \u041a\u043e\u043d\u0441\u043e\u043b\u044c.HRM",width:1024,height:858,className:qe,"data-testid":"konsol-hrm-desktop-image"}):(0,z.jsxs)("picture",{children:[(0,z.jsx)("source",{srcSet:je,type:"image/avif"}),(0,z.jsx)("img",{src:be,alt:"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 1",width:1144,height:1144,className:qe})]}),m]}),o?(0,z.jsxs)("div",{className:De,children:[(0,z.jsx)(L.ZT,{variant:"h0",weight:"bold",className:He,children:"\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441 \u0432\u043d\u0435\u0448\u0442\u0430\u0442\u043d\u044b\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044f\u043c\u0438"}),(0,z.jsx)("img",{src:we,alt:"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0435 \u0441 \u041a\u043e\u043d\u0441\u043e\u043b\u044c.HRM",width:544,height:61,className:Ge,"data-testid":"konsol-hrm-company-logos"})]}):(0,z.jsxs)("div",{className:"flex flex-col gap-8 align-center justify-center bg-[rgba(219,204,248,1)] py-5 px-2 pb-3 w-full rounded-4xl",children:[(0,z.jsx)(L.ZT,{variant:"h0",weight:"bold",className:"px-5",children:i("pages.join.main.platformTitle")}),(0,z.jsx)(Se,{})]})]}),u&&(0,z.jsx)(Re,{isOpen:u,onClose:function handleCloseVideoModal(){d(!1)}})]})};function mobile_icon_extends(){return mobile_icon_extends=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},mobile_icon_extends.apply(this,arguments)}var Je=function SvgMobileIcon(t){return k.createElement("svg",mobile_icon_extends({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none",viewBox:"0 0 28 28"},t),_e||(_e=k.createElement("path",{fill:"#7B36FF",d:"M0 14c0 7.732 6.268 14 14 14s14-6.268 14-14S21.732 0 14 0 0 6.268 0 14Z"})),Ce||(Ce=k.createElement("path",{fill:"#fff",d:"m17.625 20.968-6.81-6.963 6.812-6.97h5.36l-6.816 6.969 7.187 6.964h-5.733ZM10.516 7.035H6.037v13.933h4.479V7.035Z"})))},We=a(74158),Qe=function LayoutRegister(t){var r,a,i,o=t.aside,l=t.logoAside,c=t.children,u=t.enableSelectLanguage,d=t.isDodoLogo,m=t.logoUrl,h=t.closeRegistry,p=t.step,v=t.isOneTaskRequirements,g=(0,_.$G)().i18n,x=(0,G.k)().isMobile,y=(0,O.Iu)().isKonsol,b=x&&y&&o?(0,z.jsx)(Je,{"data-testid":"logo"}):(0,z.jsx)(P.T,{"data-testid":"logo"});return(0,z.jsxs)("div",{className:(0,W.Z)("flex",Oe,(r={},(0,U.Z)(r,Me,x),(0,U.Z)(r,Pe,x&&"start"===p),r)),children:[(0,z.jsxs)("div",{className:"flex ".concat(Be," flex-col"),children:[(0,z.jsxs)("div",{className:(0,W.Z)("flex justify-between items-center gap-2 md:gap-4",Fe,(a={},(0,U.Z)(a,Le,x),(0,U.Z)(a,ze,x&&"start"===p),a)),children:[(0,z.jsxs)("div",{className:"flex",children:[d&&y?(0,z.jsx)("img",{className:Ve,alt:"\u041b\u
1043e\u0433\u043e",src:m,"data-testid":"logo"}):b,l&&l]}),(0,z.jsxs)("div",{className:"flex items-center gap-2 md:gap-4 flex-shrink-0",children:[o&&u&&ee.y6&&(0,z.jsx)(xe.n,{onlyFlags:x,value:g.language,onChange:function onChange(t){return g.changeLanguage(t)}}),!o&&"start"!==p&&(0,z.jsx)(L.zx,{iconOnly:!0,size:"lg",icon:"CloseIcon",onClick:h,variant:x?"text":"default"})]})]}),(0,z.jsx)("div",{className:(0,W.Z)("flex justify-center",(i={},(0,U.Z)(i,$e,!x),(0,U.Z)(i,"items-center","phone"!==p&&!(x&&"start"===p)),(0,U.Z)(i,"fixed bottom-0 left-0 right-0 max-h-[calc(100dvh-64px)] z-50 items-start overflow-y-auto pt-10",x&&"start"===p),(0,U.Z)(i,"items-start","phone"===p),i)),children:c})]}),o&&(0,z.jsx)(Ye,{isOneTaskRequirements:v}),(0,z.jsx)(We.t,{})]})},Xe=a(89e3),en=a.n(Xe),nn=a(55469),tn=a(8920),rn=a(63794),an=(a(86123),a(55979),a(10762),a(9272)),on=a.n(an),ln=a(6054),cn=a.n(ln),sn=a(97588),un=a(85766),dn=function parseContractName(t){var r;return on()(r=t.replace(/\s*\{\{[^}]*\}\}/g,"").replace(/\s*\([^)]*\)/g,"").replace(/\u2116\s*$/,"")).call(r)},mn=function hasQuantity(t){return null!==t&&void 0!==t&&Number(t)>0},hn=function getDutyCalculationText(t){var r,a,i,o="".concat((0,sn.uf)(t.price)," \u20bd");return mn(t.quantity)?Ie()(r=Ie()(a="".concat(t.quantity," ")).call(a,t.measure," \xd7 ")).call(r,o):Ie()(i="".concat(o)).call(i,t.measure?" / ".concat(t.measure):"")},fn=function getDutyTotalText(t){return mn(t.quantity)?"".concat((0,sn.uf)(t.quantity*t.price)," \u20bd"):" - "},pn=function ServicesDocumentsModal(t){var r=t.duties,a=t.cost,i=t.estimatedAmount,o=t.isEstimatedAmount,l=t.currency,c=void 0===l?"RUB":l,u=t.documents,d=t.isOpen,m=t.onClose,h=(0,_.$G)().t,p=function useMutationDownloadContractExample(){var t=(0,re.D)({mutationFn:function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){var r;return(0,S.Z)().wrap(function _callee$(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,E.z)({url:"bus/alpha/workflow/tasks/".concat(t,"/download_contract_example"),method:"POST",withPrefix:!1});case 2:return r=a.sent,a.abrupt("return",r);case 4:case"end":return a.stop()}},_callee)}));return function mutationFn(r){return t.apply(this,arguments)}}(),onSuccess:function onSuccess(t){window.open(t.url,"_blank")},onError:function onError(t){I.A.error(t.message)}});return[function download(r){t.mutate(r)},t]}(),v=(0,j.Z)(p,1)[0],g=localStorage.getItem(pe.IY);return(0,z.jsx)(L.Vq,{open:d,onOpenChange:function onOpenChange(t){return!t&&m()},children:(0,z.jsx)(L.PK,{children:(0,z.jsxs)(L.cZ,{footer:(0,z.jsx)(L.zx,{onClick:m,size:"lg",variant:"default",className:"w-full",children:h("pages.join.form.integrationAuth.understand")}),className:"md:max-w-[400px]",children:[(0,z.jsx)(L.fK,{className:"items-start",children:(0,z.jsx)(L.$N,{asChild:!0,children:(0,z.jsx)(L.ZT,{variant:"h2",weight:"bold",className:"mb-4",children:h("pages.join.form.integrationAuth.servicesDocuments")})})}),(0,z.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,z.jsx)("div",{className:"flex flex-col gap-3",children:0!==r.length&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{className:"flex w-full items-center justify-between border-radius-lg",children:[(0,z.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,z.jsx)(L.JO,{icon:"WorkIcon",size:20,className:"text-secondary"}),(0,z.jsxs)(L.ZT,{weight:"medium",variant:"p3",className:"m-0",children:[r.length," ",1===r.length?h("pages.join.form.integrationAuth.servicesDocumentsModal.duty"):r.length<5?h("pages.join.form.integrationAuth.servicesDocumentsModal.duties"):h("pages.join.form.integrationAuth.servicesDocumentsModal.forDury")]})]}),(0,z.jsx)(L.ZT,{weight:"bold",variant:"p3",className:"m-0",children:(0,z.jsx)(un.u5,{amount:a,estimatedAmount:i,isEstimatedAmount:o,currency:c,compact:!0})})]}),(0,z.jsx)("div",{className:"flex flex-col gap-2.5",children:null===r||void 0===r?void 0:cn()(r).call(r,function(t,r){return(0,z.jsxs)(L.Zb,{radius:"md",padding:"xs",variant:"muted",className:"block w-full gap-2",children:[(0,z.jsx)(L.ZT,{variant:"p2",children:t.description}),(0,z.jsxs)("div",{className:"block flex justify-between w-full",children:[(0,z.jsx)(L.ZT,{variant:"p2",className:"text-[#251D3573]",children:hn(t)}),(0,z.jsx)(L.ZT,{variant:"p2",weight:"medium",children:fn(t)})]})]},r)})})]})}),(0,z.jsx)("div",{className:"flex flex-col gap-3",children:0!==u.length&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{className:"flex w-full items-center justify-start gap-2",children:[(0,z.jsx)(L.JO,{icon:"DocumentIcon",size:20,className:"text-secondary"}),(0,z.jsxs)(L.ZT,{weight:"medium",variant:"p3",className:"m-0",children:[u.length," ",1===u.length?h("pages.join.form.integrationAuth.servicesDocumentsModal.document"):h("pages.join.form.integrationAuth.servicesDocumentsModal.documents")]})]}),(0,z.jsx)("div",{className:"flex flex-col gap-2.5 mb-2",children:cn()(u).call(u,function(t,r){return(0,z.jsxs)(L.Zb,{direction:"row",radius:"lg",padding:"xs",justify:"between",align:"center",className:"w-full cursor-pointer h-18 hover:shadow-lg shadow-[0_2px_4px_0_#00000005,0_1px_6px_-1px_#00000005,0_1px_2px_0_#00000008] border-1 border-[#251D350F] ",onClick:function onClick(){var r,a;if("contract"===t.kind||"document"===t.kind)v(String(g)),null===(r=(a=window).ym)||void 0===r||r.call(a,Te.T,"reachGoal","ad_hoc_contract_template_opened");else if("act"===t.kind){var i,o;window.open(null===t||void 0===t?void 0:t.link,"_blank"),null===(i=(o=window).ym)||void 0===i||i.call(o,Te.T,"reachGoal","ad_hoc_act_template_opened")}},children:[(0,z.jsxs)("div",{className:"flex items-center gap-3",children:[(0,z.jsx)(L.sz,{icon:"Normal",color:"#251D3573"}),(0,z.jsx)("div",{children:(0,z.jsx)(L.ZT,{variant:"p2",children:"contract"===t.kind?h("pages.join.form.integrationAuth.servicesDocumentsModal.serviceContract"):"document"===t.kind?dn(t.name):t.name})})]}),(0,z.jsx)(L.zx,{iconOnly:!0,size:"md",icon:"DownloadIcon",variant:"text",className:"hover:bg-transparent"})]},r)})})]})})]})]})})})},vn=function FastAndSecureModal(t){var r=t.isOpen,a=t.onClose,i=(0,_.$G)().t;return(0,z.jsx)(L.Vq,{open:r,onOpenChange:function onOpenChange(t){return!t&&a()},children:(0,z.jsx)(L.PK,{children:(0,z.jsxs)(L.cZ,{footer:(0,z.jsx)(L.zx,{size:"lg",variant:"default",className:"w-full",onClick:a,children:i("pages.join.form.integrationAuth.understand")}),className:"w-full lg:max-w-[400px]",showClose:!0,children:[(0,z.jsx)(L.fK,{className:"items-start",children:(0,z.jsx)(L.$N,{asChild:!0,children:(0,z.jsx)(L.ZT,{variant:"h2",weight:"bold",className:"mb-4",children:i("pages.join.form.integrationAuth.registerOneTask")})})}),(0,z.jsxs)("div",{className:"flex flex-col gap-5 mb-2",children:[(0,z.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,z.jsx)(L.ZT,{weight:"medium",variant:"p2",children:i("pages.join.form.integrationAuth.howToEnsureSecurity")}),(0,z.jsx)(L.ZT,{variant:"p2",children:i("pages.join.form.integrationAuth.fastAndSecureDescription")})]}),(0,z.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,z.jsx)(L.ZT,{weight:"medium",variant:"p2",children:i("pages.join.form.integrationAuth.whatDataBanksTransfer")}),(0,z.jsx)(L.ZT,{variant:"p2",children:i("pages.join.form.integrationAuth.whatDataBanksTransferDescription")})]}),(0,z.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,z.jsx)(L.ZT,{weight:"medium",variant:"p2",children:i("pages.join.form.integrationAuth.canRevokeConsent")}),(0,z.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,z.jsx)(L.ZT,{variant:"p2",children:i("pages.join.form.integrationAuth.canRevokeConsentDescription")}),(0,z.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,z.jsx)("a",{href:"https://www.sberbank.ru/ru/pers
1on/dist_services/faq-sber-id?tab=safety",target:"_blank",rel:"noopener noreferrer",className:"underline break-all whitespace-normal inline-block",children:"https://www.sberbank.ru/ru/person/dist_services/faq-sber-id?tab=safety"}),(0,z.jsx)("a",{href:"https://www.tbank.ru/finance/blog/tinkoff-id/",target:"_blank",rel:"noopener noreferrer",className:"underline break-all whitespace-normal inline-block",children:"https://www.tbank.ru/finance/blog/tinkoff-id/"})]})]})]})]})]})})})},gn=a(62519),xn=function TermsOfUseModal(t){var r=t.isOpen,a=t.onClose,i=(0,_.$G)().t;return(0,z.jsxs)(L.Ms,{open:r,width:"sm",onOpenChange:function onOpenChange(t){return!t&&a()},children:[(0,z.jsxs)(L.Ms.Content,{children:[(0,z.jsx)(L.Ms.Title,{children:i("pages.join.form.integrationAuth.termsOfUse")}),(0,z.jsxs)("div",{className:"flex flex-col gap-1 mb-2",children:[(0,z.jsx)(L.ZT,{variant:"p2",weight:"medium",children:i("pages.join.form.integrationAuth.termsOfUseDescription")}),(0,z.jsxs)("ul",{className:"ps-6 m-0",children:[(0,z.jsx)("li",{children:(0,z.jsxs)(L.ZT,{variant:"p2",children:[(0,z.jsx)("a",{href:gn.c6.links.agreement,target:"_blank",rel:"noopener noreferrer","data-testid":"agreement-link",children:i("pages.join.form.integrationAuth.userAgreement")})," ",i("pages.join.form.integrationAuth.userAgreementDescription")]})}),(0,z.jsx)("li",{children:(0,z.jsxs)(L.ZT,{variant:"p2",children:[i("pages.join.form.integrationAuth.dataProcessing"),(0,z.jsx)("a",{href:gn.c6.links.policy,target:"_blank",rel:"noopener noreferrer","data-testid":"privacy-policy-link",children:i("pages.join.form.integrationAuth.privacyPolicy")})]})}),(0,z.jsx)("li",{children:(0,z.jsxs)(L.ZT,{variant:"p2",children:[i("pages.join.form.integrationAuth.smsAgreement"),(0,z.jsx)("a",{href:gn.c6.links.agreement,target:"_blank",rel:"noopener noreferrer","data-testid":"messages-agreement-link",children:i("pages.join.form.integrationAuth.similar")})]})})]})]})]}),(0,z.jsx)(L.Ms.Footer,{children:(0,z.jsx)(L.zx,{size:"lg",variant:"default",className:"w-full",onClick:a,"data-testid":"accept-button",children:i("pages.join.form.integrationAuth.understand")})})]})},yn=function useModal(){var t=(0,k.useState)(!1),r=(0,j.Z)(t,2),a=r[0],i=r[1];return{isOpen:a,open:(0,k.useCallback)(function(){return i(!0)},[]),close:(0,k.useCallback)(function(){return i(!1)},[])}},bn=a(22050),jn=a(91396),kn=function StartStep(t){var r,a,i,o,l,c,u,d,m,h,p,v,g=t.setStep,x=t.data,y=t.permalink,b=t.isLoading,j=t.isOneTaskRequirements,Z=t.requirements,C=(0,_.$G)().t,S=(0,w.k6)(),T=(0,O.Iu)(),N=T.config,E=T.isKonsol,A=T.isKonsolHrm,I=yn(),R=yn(),M=yn(),P=(0,bn.f)().openChat,B=(0,nn.vI)(x),U=null===x||void 0===x?void 0:x.personalized_dodo_invitation_page,V=null===x||void 0===x?void 0:x.platform_flow,$={sber:(0,jn.sy)(null===(r=N.features)||void 0===r?void 0:r.showSberAuthButton),tinkoff:(0,jn.sy)(null===(a=N.features)||void 0===a?void 0:a.showTinkoffAuthButton)},q=en()($).some(Boolean),D=C("pages.join.main.register",{app:N.text.pages.join.title}),H=B?Ie()(i="".concat(C("pages.join.main.startWorkWith")," ")).call(i,B):void 0,G=U&&E?C("pages.join.main.dodoTeam"):null,K=V&&B?C("pages.join.main.platformFlow.title",{company:B,platform:C(A?"pages.join.main.platformFlow.platformHrm":"pages.join.main.platformFlow.platform")}):null,Y=V&&B?C("pages.join.main.platformFlow.description",{company:B}):null,J="postpay"===(null===Z||void 0===Z?void 0:Z.payment_type),W=j?C(J?"pages.join.main.oneTaskRequirements.postpay":"pages.join.main.oneTaskRequirements.prepay",{company:(0,nn.vI)(null===Z||void 0===Z?void 0:Z.ad_hoc),amount:null!==(o=(0,un.nJ)({amount:null===Z||void 0===Z||null===(l=Z.ad_hoc)||void 0===l?void 0:l.cost,estimatedAmount:null===Z||void 0===Z||null===(c=Z.ad_hoc)||void 0===c?void 0:c.estimated_amount,isEstimatedAmount:null===Z||void 0===Z||null===(u=Z.ad_hoc)||void 0===u?void 0:u.is_estimated_amount,currency:(null===Z||void 0===Z||null===(d=Z.ad_hoc)||void 0===d?void 0:d.currency_code)||"RUB",compact:!0}))&&void 0!==o?o:""}):null,Q=H||D,X=(0,k.useMemo)(function(){return b?(0,z.jsx)("span",{className:"block h-8 w-full animate-pulse rounded bg-default-background"}):W||(K||(G||Q))},[b,G,Q,W,K]),ee=Boolean(Y)&&!j,ne=ee?Y:C("pages.join.main.prepareDocuments");return(0,k.useEffect)(function(){var t,r;j&&(Te.R.initWithoutUser(),null===(t=(r=window).ym)||void 0===t||t.call(r,Te.T,"reachGoal","ad_hoc_link_data_opened"));return function(){return Te.R.stop()}},[]),(0,z.jsxs)("div",{className:"flex flex-col -mt-10 md:mt-0 gap-4 bg-white rounded-4xl p-4 md:p-6 min-w-[375px] md:w-100 w-full relative z-2 min-h-full md:min-h-0",style:{marginTop:void 0},children:[(0,z.jsxs)("div",{className:"flex flex-col gap-7",children:[(0,z.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,z.jsx)(L.ZT,{variant:"h0","data-testid":"main-title",children:(0,z.jsx)("span",{children:X})}),ee?(0,z.jsx)(L.ZT,{children:(0,z.jsx)("span",{children:ne})}):(0,z.jsx)(L.ZT,{"data-testid":"prepare-documents-hint",children:ne})]}),(0,z.jsxs)("div",{className:"flex flex-col gap-4",children:[j&&(0,z.jsxs)(L.Zb,{radius:"lg",direction:"row",variant:"muted",justify:"between",align:"center",padding:"sm",onClick:function onClick(){var t,r;null===(t=(r=window).ym)||void 0===t||t.call(r,Te.T,"reachGoal","ad_hoc_link_data_opened"),I.open()},className:"w-full cursor-pointer h-[52px]",children:[(0,z.jsx)(L.ZT,{variant:"p2",weight:"medium",children:"\u0423\u0441\u043b\u0443\u0433\u0438 \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b"}),(0,z.jsx)(L.zx,{iconOnly:!0,icon:"ArrowRightIcon",variant:"text",className:"hover:bg-transparent"})]}),q&&(0,z.jsxs)("div",{className:"flex flex-col gap-2.5 bg-card-fill-tertiary p-4 rounded-xl",children:[j?(0,z.jsxs)(L.zx,{variant:"link",onClick:R.open,className:"flex gap-1",children:[(0,z.jsx)(L.JO,{icon:"BoltFillIcon"}),C("pages.join.form.integrationAuth.registerOneTask")]}):(0,z.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,z.jsx)(L.JO,{icon:"BoltFillIcon",className:"text-[var(--brand-fill,var(--primary))]",size:20}),(0,z.jsx)(L.ZT,{"data-testid":"via-bank-hint",children:C("pages.join.form.integrationAuth.register")})]}),(0,z.jsxs)("div",{className:"flex gap-3",children:[$.sber&&(0,z.jsx)(rn.B,{permalink:y}),$.tinkoff&&(0,z.jsx)(tn.q,{permalink:y})]})]}),(0,z.jsx)(L.zx,{variant:"default",size:"lg",onClick:function onClick(){return g("phone")},className:"w-full","data-testid":"via-phone-button",children:C("pages.join.form.fields.forPhone")}),(0,z.jsxs)(L.ZT,{variant:"p2",textColor:"secondary",className:"text-center",children:[C("pages.join.main.termsOfUse")," ",(0,z.jsx)(L.rU,{onClick:M.open,"data-testid":"terms-link",children:C("pages.join.main.termsOfUseLink")})]}),(0,z.jsxs)(L.ZT,{variant:"p2",textColor:"secondary",className:"text-center",children:[C("pages.join.main.alreadyHaveAccount")," ",(0,z.jsx)(L.rU,{onClick:function handleLoginClick(){return S.push("/login")},"data-testid":"join-login-link",children:C("pages.join.main.loginLink")})]}),(0,z.jsx)(L.ZT,{variant:"p2",className:"text-center md:hidden",children:(0,z.jsx)(L.rU,{onClick:P,"data-testid":"join-support-link",children:C("common.support")})})]})]}),(0,z.jsx)(pn,{isOpen:I.isOpen,onClose:I.close,duties:(null===Z||void 0===Z?void 0:Z.duties)||[],cost:null===Z||void 0===Z||null===(m=Z.ad_hoc)||void 0===m?void 0:m.cost,estimatedAmount:null===Z||void 0===Z||null===(h=Z.ad_hoc)||void 0===h?void 0:h.estimated_amount,isEstimatedAmount:null===Z||void 0===Z||null===(p=Z.ad_hoc)||void 0===p?void 0:p.is_estimated_amount,currency:null===Z||void 0===Z||null===(v=Z.ad_hoc)||void 0===v?void 0:v.currency_code,documents:(null===Z||void 0===Z?void 0:Z.documents)||[]}),(0,z.jsx)(vn,{isOpen:R.isOpen,onClose:R.close}),(0,z.jsx)(xn,{isOpen:M.isOpen,onClose:M.close})]})},Zn=a(62147),wn=a(84452),_n=a.n(wn),Cn=a(27932),Sn=a(77117),Tn=a(90410),Nn={stage:{konsol:"https://t.me/StageKonsolBot?start=start"},production:{konsol:"https://t.me/KonsolAppBot?start=start"}},En={stage:{konsol:"tg://resolve?domain=StageKonsolBot?start=start"},production:{konsol:"tg://resolve?domain=KonsolAppBot?start=start"}},An={stage:{konsol:"https://max.ru/id7707418148_2_bot?start=start"},production:{konsol:"https://max.ru/id7707418148_bot?start=start"}},In=function getMaxBotUrl(t){var r=t.theme,a="production",i=An[a].konsol,o=An[a][r];return null!==o&&void 0!==o?o:i},Rn=a(21240),On=a(42742),Mn=function CodeConfirmation(t){var r=t.onError,a=t.phone,i=t.currentVerificationType,o=t.hideTitle,l=void 0!==o&&o,c=(0,_.$G)(),u=c.t,d=c.i18n,m=(0,O.Iu)().isKonsol,h=(0,te.LM)(),p=(0,w.k6)(),v=(0,k.useState)(""),g=(0,j.Z)(v,2),x=g[0],y=g[1],b=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){return(0,S.Z)().wrap(function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!ee.y6){r.next=3;break}return r.next=3,h.setUserLocale((0,ne.sE)(d.language),"/join");case 3:return r.next=5,h.login({user:t});case 5:X()(t).completed_registration?(I.A.success(u("pages.join.main.alreadyRegister")),p.push("/")):p.push("/registration");case 6:case"end":return r.stop()}},_callee)}));return function onComplete(r){return t.apply(this,arguments)}}(),Z=ae({onSuccess:function onSuccess(t){localStorage.removeItem("registration_connect_to_platform_state"),b(t)},onError:function handleVerifyMessageError(t){r(t),y(null===t||void 0===t?void 0:t.message)}}),C=Z.mutate,N=Z.isPending;return(0,z.jsxs)("div",{className:"flex flex-col gap-2.5 justify-start items-start",children:[!l&&(0,z.jsx)(L.ZT,{variant:"h1",children:u("pages.join.
1codeStep.enterCode")}),(0,z.jsx)(L.ZT,{children:u(i===q.R.Telegram?"pages.join.codeStep.sendedByTelegram":i===q.R.Max&&m?"pages.join.codeStep.sendedByMax":"pages.join.codeStep.sendedBySms",{phone:(0,On.C)(a)})}),(0,z.jsx)(L.vQ,{isDisabled:N,onComplete:function handleSubmit(t){C({code:t})},loading:N}),x&&(0,z.jsx)(L.bZ,{variant:"error",title:x})]})},Pn=(0,Z.Pi)(function(t){var r=t.open,a=t.phone,i=t.onClose,o=t.onBack,l=t.onError,c=t.onTelegram,u=t.onSms,d=t.onMax,m=t.isLoadingVerificationButtons,h=t.currentVerificationType,p=t.hasMaxVerification,v=t.initialStep,g=void 0===v?"verification":v,x=(0,_.$G)().t,y=(0,k.useState)(g),b=(0,j.Z)(y,2),Z=b[0],w=b[1];(0,k.useEffect)(function(){w(g)},[g]);var C=function handleTelegramClick(){c()},S=function handleSmsClick(){u()};return(0,z.jsxs)(L.Ms,{open:r,onOpenChange:function onOpenChange(t){return!t&&function handleModalClose(){w("verification"),i()}()},width:"sm",hideFooter:!0,children:[(0,z.jsx)(L.Ms.Title,{children:function getModalTitle(){switch(Z){case"verification":return x("pages.join.codeStep.chooseTypeCode");case"code":return x("pages.join.codeStep.enterCode");default:return""}}()}),(0,z.jsx)(L.Ms.Content,{children:function renderContent(){switch(Z){case"verification":return(0,z.jsx)(Rn.M,{phone:a,onBack:o,hasMaxVerification:p,onTelegram:C,onSms:S,onMax:d,isLoadingVerificationButtons:m,hideTitle:!0});case"code":return(0,z.jsx)(Mn,{onError:l,phone:a,currentVerificationType:h,hideTitle:!0});default:return null}}()})]})}),Fn=a(27770),Ln=a(8958),zn=a(52653),Bn=function PhoneStepContainer(t){var r=t.setPhone,a=t.setInviteProblemText,i=t.smartCaptchaComponent,o=t.smartCaptchaError,l=t.handleSmartErrorToggle,c=t.handleSmartCaptchaRefreshInitial,u=t.onError,d=t.permalink,m=t.uid,h=t.query,p=t.initialCaptchaToken,v=t.goToProcessing,g=t.enableInvitationGate,x=void 0!==g&&g,y=t.onInvitationVisibilityChange,b=t.invitationCaptchaComponent,Z=t.invitationCaptchaToken,w=void 0===Z?"":Z,C=t.handleSmartCaptchaRefreshInvitation,N=t.onChangePhone,R=t.initialPhone,M=(0,_.$G)(),P=M.t,B=M.i18n,U=(0,k.useState)(R||""),V=(0,j.Z)(U,2),D=V[0],G=V[1],K=(0,k.useState)(Boolean(R)),Y=(0,j.Z)(K,2),J=Y[0],W=Y[1],Q=(0,k.useState)(!1),X=(0,j.Z)(Q,2),te=X[0],ae=X[1],ie=(0,k.useState)("verification"),oe=(0,j.Z)(ie,2),le=oe[0],ce=oe[1],se=(0,k.useState)(q.R.Sms),ue=(0,j.Z)(se,2),de=ue[0],me=ue[1],he=(0,k.useState)(!1),fe=(0,j.Z)(he,2),ve=fe[0],ge=fe[1],xe=(0,k.useState)(q.R.Sms),ye=(0,j.Z)(xe,2),be=ye[0],je=ye[1],ke=(0,O.Iu)(),Ze=ke.config,we=ke.isKonsol,_e=ke.isKonsolHrm,Ce=(0,Sn.d)().isIOS,Se=(0,Fn.D)(Ze.links.knowledgeBase),Te=function useMutationRegister(){var t=(0,re.D)({mutationFn:function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t){var r,a,i,o,l,c,u,d,m,h,p,v;return(0,S.Z)().wrap(function _callee$(g){for(;;)switch(g.prev=g.next){case 0:return u=t.phone,d=t.permalink,m=t.uid,h=t.query,p=t.captchaToken,v=t.verification_type,g.abrupt("return",(0,E.z)({url:"registration",method:"POST",withPrefix:!1,headers:{"Content-Language":(0,ne.sE)(ee.ZP.language),"X-Session-Device-Info":"string"===typeof(null===(r=window)||void 0===r||null===(a=r.auth)||void 0===a?void 0:a.deviceInfo)?null===(i=window)||void 0===i||null===(o=i.auth)||void 0===o?void 0:o.deviceInfo:_n()((null===(l=window)||void 0===l||null===(c=l.auth)||void 0===c?void 0:c.deviceInfo)||{})||""},data:(0,Cn.nH)({mobile_phone:u,permalink:d||void 0,uid:m||void 0,query:h,verification_type:v},p)}));case 2:case"end":return g.stop()}},_callee)}));return function mutationFn(r){return t.apply(this,arguments)}}()});return t}(),Ne=Te.mutateAsync,Ee=Te.isPending,Ae=function buildRegistrationParams(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{permalink:d,uid:m};return(0,A.Z)((0,A.Z)({},a),{},{phone:D,query:h,captchaToken:r,verification_type:t})},Ie=(0,q.N)(D,!1).refetch,Re=(0,bn.f)().openChat,Oe=Boolean(!Zn.A&&jn.QD),Me=function showInvitationStep(t,r){return!(!x||d||!(0,zn.N)(t))&&(je(r),ae(!1),ge(!0),null===y||void 0===y||y(!0),!0)},Pe=function openTelegramBot(){var t=function getTelegramBotUrl(t){var r=t.isIOS,a=t.theme;if("konsol_hrm"===a)return(0,Tn.O)(r,"start");var i="production",o=r?En:Nn,l=o[i].konsol,c=o[i][a];return null!==c&&void 0!==c?c:l}({isIOS:Ce,theme:Ze.id});Ce?(0,H.Yo)(t):(0,H.UU)(t)},Fe=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee(t,r){return(0,S.Z)().wrap(function _callee$(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,Ne(Ae(be,w,{permalink:t||"",uid:r}));case 3:a.next=9;break;case 5:throw a.prev=5,a.t0=a.catch(0),null===C||void 0===C||C(),a.t0;case 9:ge(!1),null===y||void 0===y||y(!1),t?localStorage.setItem(pe.re,t):localStorage.removeItem(pe.re),r?localStorage.setItem(pe.IY,r):localStorage.removeItem(pe.IY),me(be),ce("code"),ae(!0),be===q.R.Telegram&&Pe();case 17:case"end":return a.stop()}},_callee,null,[[0,5]])}));return function retryRegistration(r,a){return t.apply(this,arguments)}}(),Le=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee2(){var t,r,a,i,o;return(0,S.Z)().wrap(function _callee2$(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,me(q.R.Telegram),l.next=4,Ne(Ae(q.R.Telegram,p));
1case 4:ce("code"),Pe(),l.next=19;break;case 8:if(l.prev=8,l.t0=l.catch(0),!Me(l.t0,q.R.Telegram)){l.next=12;break}return l.abrupt("return");case 12:if(i=null===l.t0||void 0===l.t0||null===(t=l.t0.response)||void 0===t?void 0:t.status,o=(null===l.t0||void 0===l.t0||null===(r=l.t0.data)||void 0===r||null===(a=r.errors)||void 0===a?void 0:a[0])||(null===l.t0||void 0===l.t0?void 0:l.t0.message)||"",!we&&!_e||429!==i){l.next=17;break}return I.A.error(o),l.abrupt("return");case 17:u(l.t0),I.A.error(l.t0);case 19:case"end":return l.stop()}},_callee2,null,[[0,8]])}));return function handleTelegramVerification(){return t.apply(this,arguments)}}(),ze=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee3(){var t,r,a,i,o;return(0,S.Z)().wrap(function _callee3$(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,me(q.R.Sms),l.next=4,Ne(Ae(q.R.Sms,p));case 4:ce("code"),l.next=18;break;case 7:if(l.prev=7,l.t0=l.catch(0),!Me(l.t0,q.R.Sms)){l.next=11;break}return l.abrupt("return");case 11:if(i=null===l.t0||void 0===l.t0||null===(t=l.t0.response)||void 0===t?void 0:t.status,o=(null===l.t0||void 0===l.t0||null===(r=l.t0.data)||void 0===r||null===(a=r.errors)||void 0===a?void 0:a[0])||(null===l.t0||void 0===l.t0?void 0:l.t0.message)||"",!we&&!_e||429!==i){l.next=16;break}return I.A.error(o),l.abrupt("return");case 16:u(l.t0),I.A.error(l.t0);case 18:case"end":return l.stop()}},_callee3,null,[[0,7]])}));return function handleSmsVerification(){return t.apply(this,arguments)}}(),Be=function handleModalClose(){ae(!1),ce("verification"),c()},Ue=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee4(){var t,i,o,c,u,d;return(0,S.Z)().wrap(function _callee4$(m){for(;;)switch(m.prev=m.next){case 0:if(t=P("errors.verificationTypesLoadError"),on()(D).call(D)){m.next=4;break}return a(P("pages.join.form.error.invalidPhone")),m.abrupt("return");case 4:if(Zn.A||p){m.next=7;break}return l(!0),m.abrupt("return");case 7:return r(D),m.prev=8,m.next=11,Ie();case 11:if(c=m.sent,u=c.data){m.next=16;break}return I.A.error(t),m.abrupt("return");case 16:if(!$()(i=u.verification_types).call(i,q.R.Inn)){m.next=19;break}return v(),m.abrupt("return");case 19:d=we&&$()(o=u.verification_types).call(o,q.R.Max),De(d),ae(!0),m.next=27;break;case 24:m.prev=24,m.t0=m.catch(8),I.A.error((null===m.t0||void 0===m.t0?void 0:m.t0.message)||t);case 27:case"end":return m.stop()}},_callee4,null,[[8,24]])}));return function handleSubmit(){return t.apply(this,arguments)}}(),Ve=(0,k.useState)(!1),$e=(0,j.Z)(Ve,2),qe=$e[0],De=$e[1],He=function(){var t=(0,T.Z)((0,S.Z)().mark(function _callee5(){var t,r,a,i,o;return(0,S.Z)().wrap(function _callee5$(l){for(;;)switch(l.prev=l.next){case 0:if(we){l.next=2;break}return l.abrupt("return");case 2:return l.prev=2,me(q.R.Max),l.next=6,Ne(Ae(q.R.Max,p));case 6:ce("code"),(0,H.UU)(In({theme:Ze.id})),l.next=19;break;case 10:if(l.prev=10,l.t0=l.catch(2),i=null===l.t0||void 0===l.t0||null===(t=l.t0.response)||void 0===t?void 0:t.status,o=(null===l.t0||void 0===l.t0||null===(r=l.t0.data)||void 0===r||null===(a=r.errors)||void 0===a?void 0:a[0])||(null===l.t0||void 0===l.t0?void 0:l.t0.message)||"",!we&&!_e||429!==i){l.next=17;break}return I.A.error(o),l.abrupt("return");case 17:u(l.t0),I.A.error(l.t0);case 19:case"end":return l.stop()}},_callee5,null,[[2,10]])}));return function handleMaxVerification(){return t.apply(this,arguments)}}();return ve?(0,z.jsx)(Ln.V,{onInviteResolved:function onInviteResolved(t,r,a){return Fe(r,a)},onChangePhone:function onChangePhone(){ge(!1),null===y||void 0===y||y(!1),null===N||void 0===N||N()},captchaComponent:Oe?b:void 0,captchaToken:w,requireCaptcha:Oe}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{className:"md:mt-5 relative flex flex-col max-w-[520px] bg-white rounded-4xl px-4 md:p-6 pb-3.5 pt-5 w-full min-h-[calc(100dvh-70px)] md:min-h-0",children:[(0,z.jsxs)("div",{className:"flex flex-col gap-8 pb-36 md:pb-0",children:[(0,z.jsx)(L.ZT,{variant:"h0",dangerouslySetInnerHTML:{__html:P("pages.join.form.fields.phoneNumber")}}),(0,z.jsxs)("div",{className:"flex gap-4 flex-col",children:[(0,z.jsx)(L.sb,{"data-testid":"phone-input",value:R?D:void 0,onValidationChange:W,autoF
1ocus:!0,onChange:G,className:"w-full",locale:B.language}),!Zn.A&&o&&(0,z.jsx)(L.ZT,{textColor:"destructive",children:P("common.botError")}),!Zn.A&&i]})]}),(0,z.jsx)(L.zx,{variant:"primary",size:"lg",disabled:!J,onClick:Ue,className:"hidden md:block w-full mt-4",children:P("pages.join.form.fields.nextStep")})]}),(0,z.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 bg-white px-4 pb-4 pt-3 md:hidden flex flex-col gap-8.5",children:[(0,z.jsxs)("div",{className:"flex flex-row w-full bg-muted p-3 items-center justify-around rounded-xl gap-2.5",children:[Se&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(L.zx,{icon:"SupportIcon",variant:"text",size:"sm",onClick:function handleOpenHelpHref(){Se&&(0,H.UU)(Se)},children:P("pages.registration.connectToPlatform.instructions")}),(0,z.jsx)("div",{className:"w-px bg-default-background self-stretch"})]}),(0,z.jsx)(L.zx,{icon:"BookIcon",variant:"text",size:"sm",onClick:Re,children:P("common.support")})]}),(0,z.jsx)(L.zx,{variant:"primary",size:"lg",disabled:!J,onClick:Ue,className:"w-full",children:P("pages.join.form.fields.nextStep")})]}),te&&(0,z.jsx)(Pn,{open:te,phone:D,onClose:Be,onBack:function handleModalBack(){Be()},onError:u,onTelegram:Le,onSms:ze,isLoadingVerificationButtons:Ee,currentVerificationType:de,initialStep:le,hasMaxVerification:qe,onMax:He})]})},Un=a(29037),Vn=(0,Z.Pi)(function(){var t,r=(0,te.LM)(),a=(0,w.TH)(),i=C.parse(a.search),o=(0,w.k6)(),l=(0,_.$G)().t,c=(0,w.UO)(),u=c.permalink,d=c.uid,m=(0,k.useState)(null),h=(0,j.Z)(m,2),p=h[0],v=h[1],g=(0,k.useState)(),x=(0,j.Z)(g,2),y=x[0],b=x[1],Z=(0,k.useState)("start"),M=(0,j.Z)(Z,2),P=M[0],U=M[1],V=(0,k.useState)(!1),$=(0,j.Z)(V,2),q=$[0],D=$[1],H=(0,k.useState)(),G=(0,j.Z)(H,2),K=G[0],Y=G[1],J=(0,k.useState)(),W=(0,j.Z)(J,2),Q=W[0],X=W[1],ee=(0,O.Iu)(),ne=ee.config,re=ee.isKonsolHrm,ae="/register"===a.pathname.replace(/\/+$/,""),ie=re&&Boolean(d),oe=function useFetchInvites(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=(0,N.a)({queryKey:["fetchInvites",t],queryFn:function(){var r=(0,T.Z)((0,S.Z)().mark(function _callee(){return(0,S.Z)().wrap(function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,E.z)({url:"registration/info",method:"GET",data:{permalink:t},withPrefix:!1});case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}},_callee)}));return function queryFn(){return r.apply(this,arguments)}}(),enabled:!!t&&(!r||a)});return i}(u,d,ie),le=oe.data,ce=oe.isFetched,se=oe.isError,ue=oe.isLoading;(0,k.useEffect)(function(){(0,Un.tT)(null===le||void 0===le?void 0:le.redirect_url)},[null===le||void 0===le?void 0:le.redirect_url]);var de=void 0!==r.user,me=Boolean((null===(t=a.state)||void 0===t?void 0:t.fromRegistration)||re&&d&&sessionStorage.getItem(pe.tY)===a.pathname);(0,k.useEffect)(function(){re&&function syncHrmInvitationRouteStorage(t){var r=t.permalink,a=t.uid,i=t.isRegisterPath,o=t.hasUser,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:localStorage;i?o||(l.removeItem(pe.re),l.removeItem(pe.IY)):r&&(l.setItem(pe.re,r),a?l.setItem(pe.IY,a):l.removeItem(pe.IY))}({permalink:u,uid:d,isRegisterPath:ae,hasUser:de})},[re,u,d,ae,de]);var ve=function useFetchRequirements(t,r,a){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return(0,N.a)({queryKey:["fetchRequirements",t,r],queryFn:function(){var a=(0,T.Z)((0,S.Z)().mark(function _callee(){var a;return(0,S.Z)().wrap(function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,(0,E.z)({url:"bus/alpha/workflow/tasks/registration_info",method:"GET",withPrefix:!1,data:(0,A.Z)({permalink:t},r&&{uid:r})});case 3:return a=i.sent,i.abrupt("return",a);case 7:throw i.prev=7,i.t0=i.catch(0),I.A.error((0,R.e)(i.t0)),i.t0;case 11:case"end":return i.stop()}},_callee,null,[[0,7]])}));return function queryFn(){return a.apply(this,arguments)}}(),enabled:!!t&&!!r&&!a&&i,retry:!1})}(u,d,de,!ie||ce&&!se),xe=ve.data,ye=ve.isLoading,be=ve.isError,je=Boolean(d),ke=null===le||void 0===le?void 0:le.personalized_dodo_invitation_page,Ze=null===le||void 0===le?void 0:le.avatar_url,we=(0,fe.E)(),_e=we.smartCaptchaComponent,Ce=we.smartCaptchaError,Se=we.smartCaptchaToken,Te=we.handleSmartCaptchaRefresh,Ne=we.handleSmartErrorToggle,Ee=(0,fe.E)(),Ae=Ee.smartCaptchaComponent,Ie=Ee.smartCaptchaToken,Re=Ee.handleSmartCaptchaRefresh,Oe=(0,fe.E)(),Me=Oe.smartCaptchaComponent,Pe=Oe.smartCaptchaError,Fe=Oe.smartCaptchaToken,Le=Oe.handleSmartCaptchaRefresh,ze=Oe.handleSmartErrorToggle;(0,k.useEffect)(function(){be&&o.push("/login")},[o,be]);var Be=function handleCodeError(t){var r=t.response,a=t.message;switch(null===r||void 0===r?void 0:r.status){case 422:return b(a);case 429:setTimeout(function(){v(null)},2500);break;default:return b(void 0)}},Ue=function handleGoStartStep(){v(null),D(!1),Y(void 0),X(void 0),U("start"),Te(),Re()};return y?(0,z.jsx)(B,{text:y,onBackClick:function handleBackClick(){v(null),b(void 0),Y(void 0),X(void 0),U("start")}}):ie&&ce&&se?(0,z.jsx)(B,{text:l("pages.join.main.notFoundInvite")}):ie&&!ce?(0,z.jsx)("div",{className:"flex min-h-screen items-center justify-center",children:(0,z.jsx)(L.$j,{})}):void 0!==r.user?(0,z.jsx)(ge,{permalink:u,uid:re?d:void 0,skipCompanyJoin:re&&me,query:i}):null!==le&&void 0!==le&&le.redirect_url&&!(0,Un.Qj)()?null:ce&&se?(0,z.jsx)(B,{text:l("pages.join.main.notFoundInvite")}):(0,z.jsxs)(Qe,{aside:"start"===P,enableSelectLanguage:!0,step:q?"invitation":P,isDodoLogo:ke,logoUrl:Ze,themeId:ne.id,closeRegistry:Ue,isOneTaskRequirements:je,children:["start"===P&&(0,z.jsx)(kn,{isOneTaskRequirements:je,setStep:U,data:le,requirements:xe,permalink:u,isLoading:ue||ye}),"phone"===P&&(0,z.jsx)(Bn,{setPhone:function handleSetPhone(t){v(t)},setInviteProblemText:b,smartCaptchaComponent:_e,smartCaptchaError:Ce,handleSmartErrorToggle:Ne,handleSmartCaptchaRefreshInitial:Te,onError:Be,permalink:u,uid:d,query:i,initialCaptchaToken:Se,initialPhone:p||void 0,enableInvitationGate:re,goToProcessing:function handleGoToProcessing(t,r){Y(t),X(r),U("processing")},onInvitationVisibilityChange:D,invitationCaptchaComponent:Ae,invitationCaptchaToken:Ie,handleSmartCaptchaRefreshInvitation:Re,onCh
1angePhone:function onChangePhone(){Ue(),o.push("/register")}}),"processing"===P&&p&&(0,z.jsx)(he,{phone:p,maskedEmail:Q,onBack:Ue,onError:Be,handleSmartCaptchaRefresh:Le,permalink:u,query:i,smartCaptchaComponent:Me,smartCaptchaError:Pe,handleSmartErrorToggle:ze,captchaToken:Fe,initialCaptchaToken:Se,initialStep:K})]})})},52653:function(t,r,a){"use strict";a.d(r,{N:function(){return o}});var i=a(28711),o=function isRegistrationInvitationRequired(t){var r;if(!t||"object"!==(0,i.Z)(t))return!1;var a=t,o=a.response,l=a.data;return 422===(null===o||void 0===o?void 0:o.status)&&"\u041d\u0435 \u043d\u0430\u0448\u043b\u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435"===(null===l||void 0===l||null===(r=l.error)||void 0===r?void 0:r.message)}},8958:function(t,r,a){"use strict";a.d(r,{V:function(){return M}});var i=a(29365),o=a(61249),l=a(45144),c=a(80656),u=a(77695),d=a.n(u),m=a(9272),h=a.n(m),p=a(85152),v=a(88729),g=a(82966),x=a(84049),y=a(51060),b=a(2870),j=(a(95008),a(24757),a(35293),a(24588)),k=a.n(j),Z=a(56289),w=a.n(Z),_=a(40067),C=a.n(_),S=a(12767),T=a.n(S),N=function parseInvitationLink(t){try{var r,a,i=new(k())(t.replace(/\s+/g,""),"https://invitation.local");if("http:"!==i.protocol&&"https:"!==i.protocol)return null;if(i.search)return null;var o=w()(r=i.pathname.split("/")).call(r,Boolean),l=Math.max(C()(o).call(o,"join"),C()(o).call(o,"j")),c=l>=0&&Boolean(o[l+1]);if(c&&o.length>l+3)return null;var u=c?o[l+1]:o[o.length-1];if(!u||"join"===u||"register"===u)return null;var d=c?o[l+2]:void 0;return{permalink:decodeURIComponent(u),uid:d?decodeURIComponent(d):void 0,route:T()(a="/join/".concat(u)).call(a,d?"/".concat(d):"")}}catch(m){return null}},E={title:{ru:"\u0414\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435",en:"You need an invitation to register"},description:{ru:"\u0414\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u044b \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439. \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u0430\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0441 \u043d\u0438\u043c.",en:"To register, you must be invited by a company. Enter the invitation link sent by the company. If the invitation was sent to another phone number, use that number."},bankDescription:{ru:"\u0414\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u0430\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f.",en:"To complete registration, enter the invitation link sent by the company."},invalidLink:{ru:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435",en:"Enter a valid invitation link"},linkPlaceholder:{ru:"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435",en:"Enter the invitation link"},checkLink:{ru:"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",en:"Check link"},changePhone:{ru:"\u0412\u043e\u0439\u0442\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",en:"Use another phone number"},notFound:{ru:"\u041f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",en:"Invitation not found. Check the link and try again."},unavailable:{ru:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",en:"Could not check the invitation. Try again."},captchaRequired:{ru:"\u041f\u0440\u043e\u0439\u0434\u0438\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",en:"Complete the verification and try again."},cancelRegistration:{ru:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e",en:"Cancel registration"}},A=a(2605),I=a(12273),R=a(52653),O=a(81403),M=function InvitationStep(t){var r,a,u,m,j,k,Z=t.onInv
1iteResolved,w=t.onChangePhone,_=t.isBankFlow,C=void 0!==_&&_,S=t.captchaComponent,T=t.captchaToken,M=t.requireCaptcha,P=void 0!==M&&M,L=(0,v.$G)(),z=L.t,B=L.i18n,U=d()(r=B.language).call(r,"en")?"en":"ru",V=function invitationText(t){return z("pages.join.invitation.".concat(t),{defaultValue:E[t][U]})},$=(0,p.useState)(),q=(0,c.Z)($,2),D=q[0],H=q[1],G=(0,p.useRef)(!0);(0,p.useEffect)(function(){return G.current=!0,function(){G.current=!1}},[]);var K=function useCheckInvitationLink(){return(0,A.D)({mutationFn:function(){var t=(0,l.Z)((0,o.Z)().mark(function _callee(t){return(0,o.Z)().wrap(function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,I.z)({url:"registration/info",method:"GET",data:{permalink:t},withPrefix:!1}));case 1:case"end":return r.stop()}},_callee)}));return function mutationFn(r){return t.apply(this,arguments)}}()})}(),Y=K.mutateAsync,J=y.z.object({link:h()(a=y.z.string()).call(a).min(1,z("validation.required")).refine(function(t){return Boolean(N(t))},V("invalidLink"))}),W=(0,g.cI)({resolver:(0,x.F)(J),defaultValues:{link:""}}),Q=W.register,X=W.handleSubmit,ee=W.formState,ne=ee.errors,te=ee.isSubmitting,re=X(function(){var t=(0,l.Z)((0,o.Z)().mark(function _callee(t){var r,a,i,l;return(0,o.Z)().wrap(function _callee$(o){for(;;)switch(o.prev=o.next){case 0:if(r=t.link,H(void 0),a=N(r)){o.next=5;break}return o.abrupt("return");case 5:return o.prev=5,o.next=8,Y(a.permalink);case 8:if(G.current){o.next=10;break}return o.abrupt("return");case 10:if(!P||T){o.next=13;break}return H(V("captchaRequired")),o.abrupt("return");case 13:return o.next=15,Z(a.route,a.permalink,a.uid);case 15:o.next=23;break;case 17:if(o.prev=17,o.t0=o.catch(5),G.current){o.next=21;break}return o.abrupt("return");case 21:l=null===o.t0||void 0===o.t0||null===(i=o.t0.response)||void 0===i?void 0:i.status,H(404===l||(0,R.N)(o.t0)?V("notFound"):V("unavailable"));case 23:case"end":return o.stop()}},_callee,null,[[5,17]])}));return function(r){return t.apply(this,arguments)}}()),ae=function(){var t=(0,l.Z)((0,o.Z)().mark(function _callee2(){return(0,o.Z)().wrap(function _callee2$(t){for(;;)switch(t.prev=t.next){case 0:return G.current=!1,t.prev=1,t.next=4,w();case 4:t.next=10;break;case 6:t.prev=6,t.t0=t.catch(1),G.current=!0,H(V("unavailable"));case 10:case"end":return t.stop()}},_callee2,null,[[1,6]])}));return function cancel(){return t.apply(this,arguments)}}();return(0,O.jsxs)("div",{className:"flex min-h-[calc(100dvh-4rem)] w-full max-w-[520px] flex-col gap-6 rounded-4xl bg-white p-4 md:min-h-0 md:p-6",children:[(0,O.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,O.jsx)(b.ZT,{variant:"h0",children:V("title")}),(0,O.jsx)(b.ZT,{children:V(C?"bankDescription":"description")})]}),S,(0,O.jsxs)("form",{onSubmit:re,className:"flex flex-1 flex-col",children:[(0,O.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,O.jsx)(b.II,(0,i.Z)((0,i.Z)({},Q("link",{onChange:function onChange(){return H(void 0)}})),{},{"aria-label":V("linkPlaceholder"),"aria-invalid":Boolean((null===(u=ne.link)||void 0===u?void 0:u.message)||D),"aria-describedby":null!==(m=ne.link)&&void 0!==m&&m.message||D?"invitation-link-error":void 0,placeholder:V("linkPlaceholder")})),((null===(j=ne.link)||void 0===j?void 0:j.message)||D)&&(0,O.jsx)("div",{id:"invitation-link-error",role:"alert",children:(0,O.jsx)(b.ZT,{textColor:"destructive",children:(null===(k=ne.link)||void 0===k?void 0:k.message)||D})})]}),(0,O.jsxs)("div",{className:"sticky bottom-0 mt-auto flex flex-col gap-3 bg-white pt-4 pb-[env(safe-area-inset-bottom)] md:static md:mt-6 md:p-0",children:[(0,O.jsx)(b.zx,{type:"submit",variant:"primary",size:"lg",disabled:te,children:V("checkLink")}),(0,O.jsx)(b.zx,{type:"button",variant:C?"link":"text",size:"lg",disabled:te,onClick:function onClick(){ae()},children:V(C?"cancelRegistration":"changePhone")})]})]})]})}},62147:function(t,r,a){"use strict";a.d(r,{A:function(){return o}});var i=a(91396),o=i.Sy||i.Gb},62344:function(t,r,a){"use strict";a.d(r,{E:function(){return h}});var i=a(80656),o=a(85152),l=a(88729),c=a(11290),u=function toggleReducer(t,r){return"boolean"===typeof r?r:!t},d=function useToggle(t){return(0,o.useReducer)(u,t)},m=a(81403),h=function useYandexCaptcha(){var t=(0,o.useState)(""),r=(0,i.Z)(t,2),a=r[0],u=r[1],h=d(!1),p=(0,i.Z)(h,2),v=p[0],g=p[1],x=d(!1),y=(0,i.Z)(x,2),b=y[0],j=y[1],k=(0,o.useState)(0),Z=(0,i.Z)(k,2),w=Z[0],_=Z[1],C=(0,l.$G)().i18n,S=function handleSmartCaptchaRefresh(){a&&(u(""),_(function(t){return t+1}))};return{smartCaptchaComponent:(0,m.jsx)(c.h,{language:C.language,onSuccess:function handleSuccess(t){u(t),g(!1)},onNetworkError:S},w),smartCaptchaToken:a,smartCaptchaVisible:b,smartCaptchaError:v,handleSmartCaptchaToggle:function handleSmartCaptchaToggle(t){return j(t)},handleSmartCaptchaRefresh:S,handleSmartErrorToggle:function handleSmartErrorToggle(t){return g(t)}}}},90410:function(t,r,a){"use strict";a.d(r,{N:function(){return l},O:function(){return c}});var i=a(12767),o=a.n(i),l=(a(95008),a(24757),a(96425),a(83229),function getHrmTelegramBotUsername(){return"konsolhrmapp_bot"}),c=function getHrmTelegramUrl(t,r){var a,i,c=l().replace(/^@/,"");
1if(!c||!/^[a-zA-Z0-9_]+$/.test(c))throw new Error("REACT_APP_HRM_TELEGRAM_BOT_USERNAME must be configured for HRM");var u=t?"tg://resolve?domain=".concat(c):"https://t.me/".concat(c);return r?o()(a=o()(i="".concat(u)).call(i,t?"&":"?","start=")).call(a,encodeURIComponent(r)):u}},42742:function(t,r,a){"use strict";a.d(r,{C:function(){return formatPhone}});var i=a(12767),o=a.n(i);a(95008),a(1735);function formatPhone(t){var r,a,i,l;if(!t)return"";var c=t.match(/^\+(\d)(\d{3})(\d{3})(\d{2})(\d{2})$/);return c?o()(r=o()(a=o()(i=o()(l="+".concat(c[1]," (")).call(l,c[2],") ")).call(i,c[3],"-")).call(a,c[4],"-")).call(r,c[5]):t}},31701:function(t,r,a){"use strict";a.d(r,{e:function(){return c}});a(83229);var i=a(56289),o=a.n(i),l=a(96417),c=function getErrorMessage(t){if(t instanceof l.kp){var r=t.data;return null!==r&&void 0!==r&&r.error?r.error:null!==r&&void 0!==r&&r.errors?function handleBusError(t){if(Array.isArray(t)){var r=o()(t).call(t,function(t){return"string"===typeof t});return r.length>0?r.join(", "):void 0}}(r.errors):null===t||void 0===t?void 0:t.message}if(t instanceof Error)return null===t||void 0===t?void 0:t.message}},42727:function(t){"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var r="%[a-f0-9]{2}",a=new RegExp("("+r+")|([^%]+?)","gi"),i=new RegExp("("+r+")+","gi");function decodeComponents(t,r){try{return[decodeURIComponent(t.join(""))]}catch(o){}if(1===t.length)return t;r=r||1;var a=t.slice(0,r),i=t.slice(r);return Array.prototype.concat.call([],decodeComponents(a),decodeComponents(i))}function decode(t){try{return decodeURIComponent(t)}catch(o){for(var r=t.match(a)||[],i=1;i<r.length;i++)r=(t=decodeComponents(r,i).join("")).match(a)||[];return t}}t.exports=function(t){if("string"!==typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+_typeof(t)+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(r){return function customDecodeURIComponent(t){for(var a={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},o=i.exec(t);o;){try{a[o[0]]=decodeURIComponent(o[0])}catch(r){var l=decode(o[0]);l!==o[0]&&(a[o[0]]=l)}o=i.exec(t)}a["%C2"]="\ufffd";for(var c=Object.keys(a),u=0;u<c.length;u++){var d=c[u];t=t.replace(new RegExp(d,"g"),a[d])}return t}(t)}}},45359:function(t){"use strict";t.exports=function(t,r){for(var a={},i=Object.keys(t),o=Array.isArray(r),l=0;l<i.length;l++){var c=i[l],u=t[c];(o?-1!==r.indexOf(c):r(c,u,t))&&(a[c]=u)}return a}},7757:function(t,r,a){"use strict";function _defineProperty(t,r,a){return(r=function _toPropertyKey(t){var r=function _toPrimitive(t,r){if("object"!==_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,r||"default");if("object"!==_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===_typeof(r)?r:String(r)}(r))in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function _slicedToArray(t,r){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,r){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var i,o,l,c,u=[],d=!0,m=!1;try{if(l=(a=a.call(t)).next,0===r){if(Object(a)!==a)return;d=!1}else for(;!(d=(i=l.call(a)).done)&&(u.push(i.value),u.length!==r);d=!0);}catch(h){m=!0,o=h}finally{try{if(!d&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(m)throw o}}return u}}(t,r)||_unsupportedIterableToArray(t,r)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_unsupportedIterableToArray(t)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(t,r){if(t){if("string"===typeof t)return _arrayLikeToArray(t,r);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,i=new Array(r);a<r;a++)i[a]=t[a];return i}var i=a(26990),o=a(42727),l=a(54468),c=a(45359),u=Symbol("encodeFragmentIdentifier");function validateArrayFormatSeparator(t){if("string"!==typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function encode(t,r){return r.encode?r.strict?i(t):encodeURIComponent(t):t}function decode(t,r){return r.decode?o(t):t}function keysSorter(t){return Array.isArray(t)?t.sort():"object"===_typeof(t)?keysSorter(Object.keys(t)).sort(function(t,r){return Number(t)-Number(r)}).map(function(r){return t[r]}):t}function removeHash(t){var r=t.indexOf("#");return-1!==r&&(t=t.slice(0,r)),t}function extract(t){var r=(t=removeHash(t)).indexOf("?");return-1===r?"":t.slice(r+1)}function parseValue(t,r){return r.parseNumbers&&!Number.isNaN(Number(t))&&"string"===typeof t&&""!==t.trim()?t=Number(t):!r.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function parse(t,r){validateArrayFormatSeparator((r=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},r)).arrayFormatSeparator);var a=function parserForArrayFormat(t){var r;switch(t.arrayFormat){case"index":return function(t,a,i){r=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),r?(void 0===i[t]&&(i[t]={}),i[t][r[1]]=a):i[t]=a};case"bracket":return function(t,a,i){r=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),r?void 0!==i[t]?i[t]=[].concat(i[t],a):i[t]=[a]:i[t]=a};case"colon-list-separator":return function(t,a,i){r=/(:list)$/.exec(t),t=t.replace(/:list$/,""),r?void 0!==i[t]?i[t]=[].concat(i[t],a):i[t]=[a]:i[t]=a};case"comma":case"separator":return function(r,a,i){var o="string"===typeof a&&a.includes(t.arrayFormatSeparator),l="string"===typeof a&&!o&&decode(a,t).includes(t.arrayFormatSeparator);a=l?decode(a,t):a;var c=o||l?a.split(t.arrayFormatSeparator).map(function(r){return decode(r,t)}):null===a?a:decode(a,t);i[r]=c};case"bracket-separator":return function(r,a,i){var o=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),o){var l=null===a?[]:a.split(t.arrayFormatSeparator).map(function(r){return decode(r,t)});void 0!==i[r]?i[r]=[].concat(i[r],l):i[r]=l}else i[r]=a?decode(a,t):a};default:return function(t,r,a){void 0!==a[t]?a[t]=[].concat(a[t],r):a[t]=r}}}(r),i=Object.create(null);if("string"!==typeof t)return i;if(!(t=t.trim().replace(/^[?#&]/,"")))return i;var o,c=function _createForOfIteratorHelper(t,r){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=_unsupportedIterableToArray(t))||r&&t&&"number"===typeof t.length){a&&(t=a);var i=0,o=function F(){};return{s:o,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,u=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return c=t.done,t},e:function e(t){u=!0,l=t},f:function f(){try{c||null==a.return||a.return()}finally{if(u)throw l}}}}(t.split("&"));try{for(c.s();!(o=c.n()).done;){var u=o.value;if(""!==u){var d=_slicedToArray(l(r.decode?u.replace(/\+/g," "):u,"="),2),m=d[0],h=d[1];h=void 0===h?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?h:decode(h,r),a(decode(m,r),h,i)}}}catch(k){c.e(k)}finally{c.f()}for(var p=0,v=Object.keys(i);p<v.length;p++){var g=v[p],x=i[g];if("object"===_typeof(x)&&null!==x)for(var y=0,b=Object.keys(x);y<b.length;y++){var j=b[y];x[j]=parseValue(x[j],r)}else i[g]=parseValue(x,r)}return!1===r.sort?i:(!0===r.sort?Object.keys(i).sort():Object.keys(i).sort(r.sort)).reduce(function(t,r){var a=i[r];return Boolean(a)&&"object"===_typeof(a)&&!Array.isArray(a)?t[r]=keysSorter(a):t[r]=a,t},Object.create(null))}r.extract=extract,r.parse=parse,r.stringify=function(t,r){if(!t)return"";validateArrayFormatSeparator((r=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},r)).arrayFormatSeparator);for(var a=function shouldFilter(a){return r.skipNull&&function isNullOrUndefined(t){return null===t||void 0===t}(t[a])||r.skipEmptyString&&""===t[a]},i=function encoderForArrayFormat(t){switch(t.arrayFormat){case"index":return function(r){return function(a,i){var o=a.length;return void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?a:[].concat(_toConsumableArray(a),null===i?[[encode(r,t),"[",o,"]"].join("")]:[[encode(r,t),"[",encode(o,t),"]=",encode(i,t)].join("")])}};case"bracket":return function(r){return function(a,i){return void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?a:[].concat(_toConsumableArray(a),null===i?[[encode(r,t),"[]"].join("")]:[[encode(r,t),"[]=",encode(i,t)].join("")])}};case"colon-list-separator":return function(r){return function(a,i){return void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?a:[].concat(_toConsumableArray(a),null===i?[[encode(r,t),":list="].join("")]:[[encode(r,t),":list=",encode(i,t)].join("")])}};case"comma":case"separator":case"bracket-separator":var r="bracket-separator"===t.arrayFormat?"[]=":"=";return function(a){return function(i,o){return void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?i:(o=null===o?"":o,0===i.length?[[encode(a,t),r,encode(o,t)].join("")]:[[i,encode(o,t)].join(t.arrayFormatSeparator)])}};default:return function(r){return function(a,i){return void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?a:[].concat(_toConsumableArray(a),null===i?[encode(r,t)]:[[encode(r,t),"=",encode(i,t)].join("")])}}}}(r),o={},l=0,c=Object.keys(t);l<c.length;l++){var u=c[l];a(u)||(o[u]=t[u])}var d=Object.keys(o);return!1!==r.sort&&d.sort(r.sort),d.map(function(a){var o=t[a];return void 0===o?"":null===o?encode(a,r):Array.isArray(o)?0===o.length&&"bracket-separator"===r.arrayFormat?encode(a,r)+"[]":o.reduce(i(a),[]).join("&"):encode(a,r)+"="+encode(o,r)}).filter(function(t){return t.length>0}).join("&")},r.parseUrl=function(t,r){r=Object.assign({decode:!0},r);var a=_slicedToArray(l(t,"#"),2),i=a[0],o=a[1];
1return Object.assign({url:i.split("?")[0]||"",query:parse(extract(t),r)},r&&r.parseFragmentIdentifier&&o?{fragmentIdentifier:decode(o,r)}:{})},r.stringifyUrl=function(t,a){a=Object.assign(_defineProperty({encode:!0,strict:!0},u,!0),a);var i=removeHash(t.url).split("?")[0]||"",o=r.extract(t.url),l=r.parse(o,{sort:!1}),c=Object.assign(l,t.query),d=r.stringify(c,a);d&&(d="?".concat(d));var m=function getHash(t){var r="",a=t.indexOf("#");return-1!==a&&(r=t.slice(a)),r}(t.url);return t.fragmentIdentifier&&(m="#".concat(a[u]?encode(t.fragmentIdentifier,a):t.fragmentIdentifier)),"".concat(i).concat(d).concat(m)},r.pick=function(t,a,i){i=Object.assign(_defineProperty({parseFragmentIdentifier:!0},u,!1),i);var o=r.parseUrl(t,i),l=o.url,d=o.query,m=o.fragmentIdentifier;return r.stringifyUrl({url:l,query:c(d,a),fragmentIdentifier:m},i)},r.exclude=function(t,a,i){var o=Array.isArray(a)?function(t){return!a.includes(t)}:function(t,r){return!a(t,r)};return r.pick(t,o,i)}},54468:function(t){"use strict";t.exports=function(t,r){if("string"!==typeof t||"string"!==typeof r)throw new TypeError("Expected the arguments to be of type `string`");if(""===r)return[t];var a=t.indexOf(r);return-1===a?[t]:[t.slice(0,a),t.slice(a+r.length)]}},26990:function(t){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%".concat(t.charCodeAt(0).toString(16).toUpperCase())})}},40067:function(t,r,a){t.exports=a(69066)}}]);
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.