1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[608],{85707:function(e,t,i){Promise.resolve().then(i.bind(i,11478)),Promise.resolve().then(i.bind(i,84182)),Promise.resolve().then(i.bind(i,78401)),Promise.resolve().then(i.bind(i,63732)),Promise.resolve().then(i.t.bind(i,35658,23)),Promise.resolve().then(i.t.bind(i,65469,23)),Promise.resolve().then(i.bind(i,51018)),Promise.resolve().then(i.bind(i,51275)),Promise.resolve().then(i.bind(i,4633)),Promise.resolve().then(i.bind(i,47663)),Promise.resolve().then(i.bind(i,64233)),Promise.resolve().then(i.bind(i,26152)),Promise.resolve().then(i.bind(i,18434)),Promise.resolve().then(i.bind(i,76145)),Promise.resolve().then(i.bind(i,4056)),Promise.resolve().then(i.bind(i,84529)),Promise.resolve().then(i.bind(i,94162)),Promise.resolve().then(i.bind(i,73402)),Promise.resolve().then(i.bind(i,74425)),Promise.resolve().then(i.bind(i,20075)),Promise.resolve().then(i.bind(i,97618)),Promise.resolve().then(i.bind(i,39824)),Promise.resolve().then(i.t.bind(i,4787,23))},74425:function(e,t,i){"use strict";i.d(t,{default:function(){return K}});var n=i(19995),o=i(80195),a=i(27573),d=i(7653),r=i(10375),x=i(25274),p=i(57928),s=i(65360),l=i(50209),m=i(34952),c=i(36970),h=i(69977);let u=e=>{let{index:t,activeEdition:i,activeLicense:n,isAdvancedLic:o,activeLicenseIsZero:a,activeEditionIsZero:d,isLastPriceSubsElement:r,renewalIndex:x,activeRenewal:p,isSubRenewal:s,hintSize:l,isRequestPrice:u}=e;return(0,m.k)({section:{position:"relative"},sectionContainer:{width:"100%",position:"relative",background:"transparent",scrollMarginTop:"96px","@media (max-width: 900px)":{scrollMarginTop:"75px"},"@media (max-width: 520px)":{scrollMarginTop:"120px"},"@media (max-width: 490px)":{scrollMarginTop:"110px"}},container:{position:"relative",margin:"0 auto",paddingBottom:"50px",maxWidth:"960px","@media (max-width: 1000px)":{margin:"0 auto",paddingLeft:"25px",paddingRight:"25px",paddingBottom:"50px"},"@media (max-width: 820px)":{margin:"0 auto",paddingBottom:"50px",marginBottom:"0px",overflow:"hidden"},"@media (max-width: 910px)":{paddingTop:"50px",paddingBottom:"50px",marginBottom:"0px"},"@media (max-width: 390px)":{paddingTop:"45px",paddingBottom:"50px",marginBottom:"0px"}},header:{paddingBottom:"50px",textAlign:"center",fontSize:"54px",lineHeight:"65px",fontWeight:"700","@media (max-width: 820px)":{fontSize:"42px",lineHeight:"50px"},"@media (max-width: 480px)":{fontSize:"33px",lineHeight:"40px"},"@media (max-width: 390px)":{fontSize:"33px",lineHeight:"40px",paddingBottom:"40px"}},paper:{position:"relative",maxWidth:"960px",background:c.Z.white,boxShadow:"0px 5px 25px #27427114",padding:"45px 50px",display:"flex",boxSizing:"border-box",borderRadius:"15px","@media (max-width: 820px)":{margin:"0 auto",width:"100%",padding:"45px 30px"},"@media (max-width: 910px)":{maxWidth:"718px",margin:"0 auto",width:"100%",borderRadius:"15px",boxShadow:"0px 5px 25px #27427114",padding:"50px 40px 44px",flexDirection:"column"},"@media (max-width: 425px)":{padding:"50px 25px 44px"},"@media (max-width: 390px)":{maxWidth:"334px",flexDirection:"column",margin:"0 auto",width:"100%",padding:"35px 28px",borderRadius:"15px",boxShadow:"0px 5px 15px #27427114"}},back:{zIndex:"-1",background:"white",position:"absolute",width:"100%",height:"532px"},backBlue:{zIndex:"-2",background:"#4F84E21A",position:"absolute",width:"100%",height:"100%"},editionPoints:{marginBottom:"10px",display:"flex",flexDirection:"column",justifyContent:"center",width:"260px",borderRadius:"10px",padding:"18px 20px",background:i===t?"#FFFFFF":"#F7F8FA",border:i===t?"2px solid #4F84E2":"2px solid #F7F8FA",cursor:i===t?"default":"pointer",boxSizing:"border-box",alignItems:"flex-start","&:hover":{border:i===t?"2px solid #4F84E2":"2px solid #F0F0F0"},"@media (max-width: 960px)":{maxWidth:"100%"},"@media (max-width: 820px)":{paddingTop:"13px",paddingBottom:"14px",height:"100%",marginBottom:"11px"},"@media (max-width: 910px)":{width:"100%",maxWidth:"100%"},"@media (max-width: 390px)":{width:"278px",maxWidth:"100%"}},editionPointsTitle:{fontSize:"18px",lineHeight:"22px",fontWeight:"700",paddingBottom:"8px"},editionPointText:{fontSize:"16px",lineHeight:"20px",color:c.Z.gray["85"],"@media (max-width: 910px)":{maxWidth:"100%"}},licenseTypeBlock:{display:"flex",alignItems:"center",background:n===t?"#FFFFFF":"none",boxShadow:n===t?"0px 0px 5px #00000026":"none",borderRadius:"5px",width:"124px",height:"30px",cursor:0===i?"default":n!==t?"pointer":"default","&:hover":{opacity:0===i?"1":n!==t?"0.8":"1"},"@media (max-width: 820px)":{width:"100%",justifyContent:"center"},"@media (max-width: 910px)":{width:"100%",maxWidth:"100%",justifyContent:"center"},"@media (max-width: 390px)":{width:"50%",maxWidth:"278px",justifyContent:"center"}},licenseTypeText:{padding:"6px 15px",fontSize:"15px",lineHeight:"18px",fontWeight:n===t?"700":"300",color:0===i&&n!==t?"#C2C2C2":"black","@media (max-width: 390px)":{maxWidth:"278px",width:"100%",fontSize:"16px",lineHeight:"19px"}},questionMark:{marginLeft:"6px",verticalAlign:"middle","&:hover + div + div":{display:"block"},"&:hover + .hint-box":{display:"block"}},partTitle:{fontSize:"18px",lineHeight:"22px",fontWeight:"700",marginBottom:"20px","@media (max-width: 910px)":{textAlign:"center",fontSize:"24px",lineHeight:"29px",marginBottom:"31px"},"@media (max-width: 390px)":{textAlign:"center",fontSize:"24px",lineHeight:"29px",marginBottom:"22px"}},licenseTypeContainer:{display:"flex",background:"#F7F8FA",borderRadius:"7px",width:"260px",height:"38px",alignItems:"center",justifyContent:"space-between",padding:"0 4px",boxSizing:"border-box",marginBottom:"19px","@media (max-width: 820px)":{width:"100%",marginBottom:"19px"},"@media (max-width: 910px)":{width:"100%",maxWidth:"100%",marginBottom:"33px"},"@media (max-width: 390px)":{maxWidth:"278px",marginBottom:"32px",marginTop:"32px"}},licenseListStandard:{borderBottom:"1px solid #E0E0E0",paddingBottom:"5px",marginBottom:"15px","@media (max-width: 910px)":{paddingBottom:"10px"},"@media (max-width: 390px)":{paddingBottom:"10px",marginBottom:"35px"}},licenseListAdvanced:{marginBottom:"0px","@media (max-width: 390px)":{marginBottom:"40px"}},priceBlock:{width:"100%","@media (max-width: 960px)":{width:"40%"},"@media (max-width: 820px)":{width:"100%"},"@media (max-width: 910px)":{maxWidth:"100%",width:"100%"}},priceBlockContainer:{background:"#F7F8FA",borderRadius:"10px",padding:"19px 25px 26px","@media (max-width: 910px)":{boxShadow:"0px 1px 2px #00000026"},"@media (max-width: 390px)":{boxShadow:"0px 1px 2px #00000026",padding:"21px 20px 30px"}},priceOnRequestTypography:{lineHeight:"30px",fontSize:"26px",fontWeight:"700",letterSpacing:"-0.65px",marginBottom:u?"-2px":"2px",marginTop:"8px"},priceOnCountUsers:{lineHeight:"18px",fontSize:"13px"},licensePointText:{color:o&&a?"#C2C2C2":"#4F84E2",width:"260px",marginBottom:"7px",alignItems:"flex-start","& span":{maxWidth:"245px"},"::before":{content:'"â"',marginRight:"6px","@media (max-width: 910px)":{fontSize:"18px"}},"@media (max-width: 820px)":{width:"100%",marginBottom:"7px"},"@media (max-width: 910px)":{maxWidth:"100%",width:"100%",marginBottom:"9px","& span":{maxWidth:"100%"}},"@media (max-width: 390px)":{marginBottom:"17px","& span":{maxWidth:"260px"}}},priceButtonContained:{width:"100%",height:"35px",fontSize:"13px",lineHeight:"15px",fontWeight:"300",marginTop:"17px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"19px",height:"40px"}},priceButtonPurchase:{height:"35px",width:"100%",backgroundColor:"transparent",fontSize:"13px",lineHeight:"15px",fontWeight:"300",marginTop:"9px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"19px",marginTop:"10px"},"@media (max-width: 390px)":{marginTop:"10px",marginLeft:"0"}},buttonPurchaseText:{color:c.Z.tint,whiteSpace:"nowrap",fontSize:"13px",lineHeight:"15px",fontWeight:"300","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"19px"}},licencePointItem:{color:o&&a?"#C2C2C2":"#080808",fontSize:"13px",lineHeight:"18px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"22px"}},hintItem:{display:"none",position:"absolute",top:s?"auto":l&&l>50?"60px":l&&l>32?"40px":"23px",left:s?"0":0,backgroundColor:"#ffffff",padding:s?"15px 15px 4px":"10px 15px",boxShadow:"0 1px 10px 0 rgba(0, 0, 0, 0.15)",zIndex:"999",width:s?"210px":"240px",boxSizing:"border-box",borderRadius:"5px",color:"#080808",marginTop:s?"5px":"auto","@media (max-width: 820px)":{width:"210px"},"@media (max-width: 910px)":{top:s?"auto":l&&l>50?"46px":"23px"},"&:hover":{display:"block"},"&:active":{display:"block"},"@media (max-width: 390px)":{marginBottom:"28px",width:"240px"}},editionBlock:{"@media (max-width: 960px)":{width:"25%"},"@media (max-width: 910px)":{marginBottom:"26px",width:"100%",maxWidth:"100%"},"@media (max-width: 390px)":{marginBottom:"28px"}},editionPointsList:{listStyle:"none",padding:"0","@media (max-width: 820px)":{width:"100%"},"@media (max-width: 910px)":{maxWidth:"100%"}},licenseBlock:{padding:"0 40px","@media (max-width: 960px)":{width:"35%",padding:"0 20px"},"@media (max-width: 820px)":{width:"100%",padding:"0"},"@media (max-width: 910px)":{margin:"0 0 30px",maxWidth:"100%",width:"100%"},"@media (max-width: 390px)":{padding:"0",margin:"0"}},priceSubscriptionContainer:{position:"relative"},priceSubscriptionElement:{paddingBottom:r?"0px":"3px",display:"flex",justifyContent:"space-between","@media (max-width: 390px)":{paddingBottom:r?"0px":"10px"}},priceSubscriptionElementText:{fontSize:"13px",lineHeight:"18px",maxWidth:"120px","@media (max-width: 910px)":{maxWidth:"100%",fontSize:"16px",lineHeight:"19px"},"@media (max-width:550px)":{maxWidth:"60%"},"@media (max-width:420px)":{maxWidth:"45%"}},priceSubscriptionElementPrice:{fontSize:"13px",lineHeight:"18px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"18px"}},hintTitle:{display:"block",fontWeight:"700",fontSize:"13px",marginBottom:"7px",lineHeight:"16px"},hintDescription:{fontSize:"13px",lineHeight:"16px",marginBottom:"8px",marginTop:"9px"},discountPrice:{fontSize:"13px",lineHeight:"21px"},priceBlockHeader:{fontSize:"15px",lineHeight:"21px",fontWeight:"700",paddingBottom:"7px","@media (max-width: 910px)":{fontSize:"19px",paddingBottom:"13px"},"@media (max-width: 390px)":{paddingTop:"9px",paddingBottom:"11px"}},basicPriceContainer:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",gap:"10px",fontSize:"13px",lineHeight:"18px",paddingBottom:"18px",marginBottom:"13px",borderBottom:"1px solid #E0E0E0","@media (max-width: 910px)":{paddingBottom:"25px",marginBottom:"25px"},"@media (max-width: 390px)":{marginBottom:"22px"}},usersCountSelect:{width:"100%",maxWidth:"240px","@media (max-width: 910px)":{maxWidth:"100%"}},basicPriceDescription:{maxWidth:"140px",fontSize:"13px",lineHeight:"18px",width:"100%","@media (max-width: 910px)":{maxWidth:"240px",fontSize:"16px",lineHeight:"18px"},"@media (max-width: 390px)":{maxWidth:"144px",lineHeight:"19px"}},basicPriceNumber:{whiteSpace:"nowrap",fontSize:"13px",lineHeight:"18px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"18px"}},subscriptionTitleContainer:{marginBottom:"8px",maxWidth:"190px",fontSize:"15px",fontWeight:"700",lineHeight:"20px",fontFamily:h.Z.style.fontFamily,position:"relative","@media (max-width: 910px)":{maxWidth:"100%"}},riceSubRenewalTitle:{fontSize:"13px",lineHeight:"18px",fontWeight:"700",paddingBottom:"10px",maxWidth:"210px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"22px",maxWidth:"300px",paddingBottom:"20px"},"@media (max-width: 390px)":{paddingBottom:"18px"}},priceSubRenewalTitle:{fontSize:"15px",lineHeight:"20px",fontWeight:"700",paddingBottom:"6px",paddingTop:"16px",maxWidth:"210px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"22px",maxWidth:"300px",paddingBottom:"20px"},"@media (max-width: 390px)":{paddingBottom:"18px"}},priceSubRenewalTimeContainer:{paddingBottom:"22px",borderBottom:"1px solid #E0E0E0",marginBottom:"19px","@media (max-width: 910px)":{width:"100%",paddingBottom:"19px",marginBottom:"25px"},"@media (max-width: 390px)":{paddingBottom:"15px"}},priceSubRenewalTimeElement:{display:"flex",alignItems:"center",marginBottom:"-1px",cursor:x===p?"default":"pointer","@media (max-width: 820px)":{marginBottom:"0px"},"@media (max-width: 910px)":{marginBottom:"10px"},"& input ":{marginLeft:"0px",marginRight:"8px",marginTop:"0",appearance:" none",borderRadius:"50%",border:"1px solid #4F84E2",position:"relative",color:"#4F84E2",accentColor:"#4F84E2",width:"13px",maxWidth:"13px",maxHeight:"13px",minWidth:"13px",minHeight:"13px",cursor:x===p?"default":"pointer","@media (max-width: 390px)":{marginRight:"10px"}
1,"&:checked":{background:"#4F84E2",border:"2px solid #FFF",outline:"1px solid #4F84E2",marginLeft:"1px",marginRight:"9px",maxWidth:"11px",maxHeight:"11px",minWidth:"11px",minHeight:"11px"}},"& label":{width:"100%",cursor:x===p?"default":"pointer"}},subRenewalVariantContainer:{display:"flex",justifyContent:"space-between",width:"100%","@media (max-width: 910px)":{maxWidth:"100%"}},subRenewalVariantDuration:{fontSize:"13px",lineHeight:"21px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"19px"}},subRenewalVariantPrice:{display:"flex"},subRenewalVariantOriginalPrice:{textDecoration:"line-through",fontSize:"13px",lineHeight:"21px",color:"#858585","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"18px"}},subRenewalVariantNowPrice:{fontSize:"13px",lineHeight:"21px","@media (max-width: 910px)":{fontSize:"16px",lineHeight:"18px"}},totalPriceContainer:{display:"flex",flexDirection:"column",marginBottom:"5px","@media (max-width: 910px)":{alignItems:"left",marginBottom:"15px"},"@media (max-width: 390px)":{flexDirection:"column",gap:"5px"}},totalPriceDescription:{fontSize:"13px",lineHeight:"21px","@media (max-width: 820px)":{lineHeight:"18px"},"@media (max-width: 910px)":{fontSize:"16px",lineHeight:"19px"}},totalPriceNumber:{fontSize:"36px",lineHeight:"43px",fontWeight:"700",letterSpacing:"-0.9px",margin:"6px 0 3px"}})};var g=i(29163),f=i(75764);let w=()=>(0,m.k)({container:{position:"fixed",top:0,left:0,width:"100%",height:"100vh",background:"rgba(8, 8, 8, 0.25)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:999999,"@media (max-width: 840px)":{overflow:"auto",overflowX:"hidden"},"@media (max-width: 425px)":{overflow:"auto",overflowX:"hidden"}},mobileContainer:{"@media (max-width: 550px)":{position:"absolute",top:"0"},"@media (max-width: 425px)":{position:"absolute",top:0}},content:{padding:"50px",background:"#F7F8FA",boxSizing:"border-box",borderRadius:"15px",maxWidth:"550px",width:"100%",position:"relative","@media (max-width: 550px)":{padding:"30px 28px 30px 28px",borderRadius:"0",width:"100vw"}},closeBtn:{zIndex:2,position:"absolute",top:"20px",right:"20px",background:"#0000000A",border:"none",fontSize:"16px",cursor:"pointer",height:"36px",width:"36px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center","& img":{height:"12px",width:"12px"},"&:hover":{opacity:.8},"@media (max-width: 425px)":{top:"30px"}},headerItem:{fontSize:"32px",lineHeight:"36px",fontWeight:"700",marginBottom:"30px",maxWidth:"450px",color:"#000000"},summaryStyles:{paddingBottom:"30px",borderBottom:"1px solid ".concat(c.Z.gray.E0),marginBottom:"30px"},summaryPoint:{display:"flex",flexWrap:"wrap",marginBottom:"10px"},summaryTitle:{width:"35%","@media (max-width: 450px)":{width:"50%"}},editionDescription:{"@media (max-width: 450px)":{display:"none"}},infoBlock:{display:"flex"},infoBlockItem:{flexGrow:"1"},formContainer:{},footerItem:{position:"relative",width:"50%",boxSizing:"border-box",maxWidth:"480px",display:"flex",background:"#4F84E2",padding:"127px 83px 104px 78px",borderTopRightRadius:"15px",borderBottomRightRadius:"15px","@media (max-width: 840px)":{width:"100%",maxWidth:"100%",padding:"50px 50px 30px 50px",position:"relative",gap:"10px",borderRadius:"0"},"@media (max-width: 500px)":{paddingLeft:"7%"},"@media (max-width: 425px)":{display:"none",position:"relative",gap:"10px",paddingBottom:"0","::before":{content:'""',position:"absolute",top:"0",left:"-20px",right:"-20px",bottom:"-40px",backgroundColor:"#4F84E2",borderBottomRightRadius:"15px",borderBottomLeftRadius:"15px",zIndex:"1"}}}});var b=i(95576),y=i(34721),j=i(12210),v=i(61714),S=i(3131),Z=i(54416),B=i(3757),k=(e,t,i,a)=>{let{selectEdition:d,editionLabel:r="РедакÑиÑ"}=null!=a?a:{},x=!!(null==d?void 0:d.length),p=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,n._)({hasIcon:e[t].hasIcon,icon:e[t].icon,isValidData:!0},x?{matchSelectInput:!0}:{isBillWidth:!0},i)};return{schema:{type:"object",properties:(0,o._)((0,n._)({company:{type:"string",title:"".concat(e[0].text)},innCompany:{type:"string",title:"".concat(e[1].text)},name:{type:"string",title:"".concat(e[2].text)}},x?{edition:{type:"string",title:r,oneOf:d.map(e=>({const:e.const,title:e.title}))}}:{}),{email:{type:"string",title:"".concat(e[3].text)},phone:{type:"string",title:"".concat(e[4].text)}})},uiSchema:(0,o._)((0,n._)({"ui:ObjectFieldTemplate":S.Z,company:{"ui:widget":"HorizontalInput","ui:options":(0,o._)((0,n._)({}
1,p(0)),{placeholder:"Ðазвание компании"})},innCompany:{"ui:widget":"HorizontalInput","ui:options":(0,o._)((0,n._)({},p(1)),{placeholder:"ÐÐРкомпании"})},name:{"ui:widget":"HorizontalInput","ui:options":(0,o._)((0,n._)({},p(2)),{placeholder:"ÐаÑе Ð¸Ð¼Ñ Ð¸ ÑамилиÑ"})}},x?{edition:{"ui:widget":"SettingsSelect","ui:options":{hasIcon:!0,icon:{id:1,url:"/DownArrow.svg",alternativeText:"more"},autocomplete:!0,matchSelectInput:!0}}}:{}),{email:{"ui:widget":"HorizontalInput","ui:options":(0,o._)((0,n._)({},p(2,{isValidData:t,validationCount:i})),{placeholder:"ÐÐ°Ñ Ð¸Ð¼ÐµÐ¹Ð»"})},phone:{"ui:widget":"HorizontalInput","ui:options":p(2)}}),widgets:(0,n._)({HorizontalInput:Z.Z},x?{SettingsSelect:B.Z}:{})}};let R=()=>(0,m.k)({hiddenButton:{display:"none"},button:{marginTop:"25px",width:"200px","& span":{color:"#fff"},height:"35px","@media (max-width: 840px)":{width:"100%",maxWidth:"390px"},"@media (max-width: 425px)":{width:"100%",marginTop:"15px"}},privacy:{maxWidth:"390px",marginTop:"20px",fontSize:"13px",fontWeight:"300",lineHeight:"18px",color:c.Z.gray["85"]},linkStyles:{textDecoration:"none",color:c.Z.hoverTint},link:{cursor:"pointer",fontSize:"13px",fontWeight:"300",lineHeight:"18px",color:c.Z.hoverTint,":hover":{opacity:"0.8"}}});var T=i(76968),C=i(86731),z=e=>{let{initialData:t,fieldsData:i,handleOnChange:n,handleAccept:o,useFeedbackLayout:p=!1,selectEdition:s,editionLabel:m}=e,{hiddenButton:c,button:h}=R(),{privacy:u,link:g,linkStyles:f}=p?(0,T.W)():R(),[w,b]=(0,d.useState)(t),[y,S]=(0,d.useState)(!1),[Z,B]=(0,d.useState)(!0),[z,W]=(0,d.useState)(0),H=(0,d.useRef)(null),P=p&&!!(null==s?void 0:s.length),F=k(i.formLabelName,Z,z,P?{selectEdition:s,editionLabel:m}:void 0),I=e=>{var t,i,n,o,a;return null!==e.name&&null!==e.company&&null!==e.email&&null!==e.phone&&(null===(t=e.name)||void 0===t?void 0:t.length)!==0&&(null===(i=e.company)||void 0===i?void 0:i.length)!==0&&(null===(n=e.email)||void 0===n?void 0:n.length)!==0&&!((null===(o=e.phone)||void 0===o?void 0:o.length)<=2)&&(!P||!!(null===(a=e.edition)||void 0===a?void 0:a.const))},_=async e=>{};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Z,{style:{marginBottom:"23px"},children:(0,a.jsx)(j.ZP,{ref:H,schema:F.schema,uiSchema:F.uiSchema,widgets:F.widgets,onChange:e=>{b(e.formData),S(I(e.formData)),n(e.formData)},onSubmit:_,formData:w,validator:v.ZP,showErrorList:!1,children:(0,a.jsx)(x.Z,{sx:c})})}),(0,a.jsxs)(l.Z,{sx:u,children:[t.privacy.text,(0,a.jsxs)(l.Z,{component:"span",sx:g,children:["\xa0",(0,a.jsx)("a",{href:t.privacy.externalLink,target:"_blank",rel:"noopener noreferrer",style:f,children:t.privacy.linkText})]})]}),(0,a.jsx)(x.Z,{variant:"contained",sx:h,onClick:()=>{B((0,C.o)(w.email)),W(z+1),S(!1),(0,C.o)(w.email)&&o()},disabled:!y,children:(0,a.jsx)(l.Z,{component:"span",children:i.button.buttonText})})]})},W=function(e){let t=e.match(/\d+/);return t?parseInt(t[0],10):1};let H=()=>(0,m.k)({acceptContainer:{maxWidth:"550px",padding:"200px 50px 200px 50px",display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",background:"#F7F8FA",boxSizing:"border-box",borderRadius:"15px",width:"100%",position:"relative","@media (max-width: 390px)":{padding:"80px 28px 80px 28px",borderRadius:"0px",overflowY:"hidden"}},acceptContent:{background:"#F7F8FA",display:"flex",flexDirection:"column",alignItems:"center",padding:"0 40px 0 40px"},imageContainer:{marginBottom:"25px",height:"120px","& img":{height:"120px"}},emailContainer:{backgroundColor:c.Z.gray.F0,padding:"10px 20px 10px 20px",border:"1px solid #F7F8FA",borderRadius:"5px",marginTop:"30px",marginBottom:"40px","& p":{fontSize:"21px"}},acceptButton:{maxHeight:"45px",height:"45px",marginTop:"40px",width:"100%","@media (max-width:390px)":{maxHeight:"70px",width:"100%",fontSize:"18px"},"& span":{color:"#fff"}},desUp:{fontWeight:"700",fontSize:"33px"},desUnder:{fontSize:"19px","& span":{color:c.Z.tint}},backArrow:{position:"absolute",top:"20px",left:"20px",background:"#0000000A",border:"none",fontSize:"16px",cursor:"pointer",height:"36px",width:"36px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center","&:hover":{opacity:.8}},closeBtn:{position:"absolute",top:"20px",right:"20px",background:"#0000000A",border:"none",fontSize:"16px",cursor:"pointer",height:"36px",width:"36px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center","&:hover":{opacity:.8}}});var P=e=>{let{descriptionUpper:t,descriptionUnder:i,handleBack:n,handleClose:o}=e,d=(0,f.I)(),{acceptContainer:x,backArrow:p,closeBtn:s,acceptContent:m,imageContainer:c,emailContainer:h,acceptButton:u,desUp:g,desUnder:w}=H();return(0,a.jsxs)(r.Z,{sx:x,children:[(0,a.jsx)(r.Z,{sx:p,onClick:n,children:(0,a.jsx)(r.Z,{component:"img",src:"/icons/BackArrow.svg"+d,alt:"back"})}),(0,a.jsx)(r.Z,{sx:s,onClick:o,children:(0,a.jsx)(r.Z,{component:"img",src:"/CrossIcon.svg"+d,alt:"close"})}),(0,a.jsxs)(r.Z,{sx:m,children:[(0,a.jsx)(r.Z,{sx:c,children:(0,a.jsx)(r.Z,{component:"img",src:"/CheckIcon.svg"+d,alt:"Accept your info"})}),(0,a.jsx)(l.Z,{sx:g,children:t}),(0,a.jsx)(l.Z,{sx:w,children:i})]})]})},F=i(69785),I=i(61014),_=i(71582);let E=e=>{switch(null==e?void 0:e.const){case"upto10":return"small";case"upto25":return"start";
1case"upto50":return"standard";case"upto100":return"premium";default:return"enterprise"}};var L=e=>{let{showModal:t,setShowModal:i,data:x,edition:p,license:s,price:m,editionToPost:c,licenseToPost:h,hideSummary:u=!1,title:g,isFstek:j,useFeedbackLayout:v=!1,ScrollbarWidth:S=0,footer:Z,selectEdition:B,editionLabel:k}=e,R=(0,f.I)(),[T,C]=(0,d.useState)(),[H,L]=(0,d.useState)(!1),[D,A]=(0,d.useState)(!1),[O,M]=(0,d.useState)(null),[N,q]=(0,d.useState)(),V=(0,d.useRef)(null),{executeCaptcha:U,captchaWidget:G}=(0,I.GR)(),{summary:X,customerInfo:Y,accept:J,privacy:Q}=x,{summaryStyles:K,summaryPoint:$,summaryTitle:ee}=w(),et=w(),ei=(0,b.W)(S,!1),{container:en,content:eo,headerItem:ea,infoBlock:ed,infoBlockItem:er,closeBtn:ex,mobileContainer:ep,formContainer:es}=v?ei:et,el=v?(0,o._)((0,n._)({},er),{paddingLeft:"40px"}):er,{footerItem:em,forgingContainer:ec,footerDescription:eh,footerQuote:eu,footerAuthor:eg,whiteCross:ef,blackCross:ew}=ei,eb=()=>{i(!1)},ey=async()=>{let e=await U(),t=(0,n._)({userName:null==T?void 0:T.name,email:null==T?void 0:T.email,companyName:null==T?void 0:T.company,phone:null==T?void 0:T.phone,inn:null==T?void 0:T.innCompany,token:e,roistat_visit:N.roistat_visit||""},v&&(null==T?void 0:T.edition)?{edition:E(T.edition)}:j?c?{edition:c}:{}:{edition:c,licenseType:h}),i=await fetch((0,_.k)(j?"/api/v1/bill/request-fstec":"/api/v1/bill/request"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!i.ok)throw Error(I.hs);await i.json()},ej=async()=>{if(T){M(null),A(!0);try{await ey(),L(!0),window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"RequestBill"}),ym(35751330,"reachGoal","bill-request"))}catch(e){M(e instanceof Error?e.message:I.hs)}finally{A(!1)}}};(0,d.useEffect)(()=>{if(t){let e=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight="".concat(e,"px")}else document.body.style.overflow="",document.body.style.paddingRight="";return()=>{document.body.style.overflow="",document.body.style.paddingRight="0"}},[t]),(0,d.useEffect)(()=>{q(localStorage)},[]);let ev=v&&Z?(0,a.jsxs)(r.Z,{sx:em,children:[(0,a.jsx)(r.Z,{component:"img",src:"/Forging.svg"+R,alt:"quote",sx:ec}),(0,a.jsxs)(r.Z,{sx:eh,children:[(0,a.jsxs)(r.Z,{sx:eu,children:[(0,a.jsx)(l.Z,{component:"h2",children:Z.quoteTitle}),(0,a.jsx)(l.Z,{component:"span",children:Z.quoteDescription})]}),(0,a.jsxs)(r.Z,{sx:eg,children:[(0,a.jsx)(l.Z,{children:Z.authorName}),(0,a.jsx)(l.Z,{component:"span",children:Z.authorInfo})]})]})]}):void 0;return t&&(0,a.jsx)(r.Z,{sx:en,children:(0,a.jsx)(r.Z,{sx:ep,ref:V,children:(0,a.jsxs)(y.Z,{show:t,setShow:i,children:[D&&(0,a.jsx)(F.Z,{}),H?(0,a.jsx)(P,{descriptionUpper:J.descriptionUp,descriptionUnder:J.descriptionUnder,handleBack:()=>{L(!1)},handleClose:eb}):(0,a.jsxs)(r.Z,{sx:eo,children:[(0,a.jsx)(r.Z,{sx:ex,onClick:eb,children:v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Z,{component:"img",src:"/CrossIconWhite.svg"+R,alt:"close",sx:ef}),(0,a.jsx)(r.Z,{component:"img",src:"/CrossIcon.svg"+R,alt:"close",sx:ew})]}):(0,a.jsx)(r.Z,{component:"img",src:"/CrossIcon.svg"+R,alt:"close"})}),(0,a.jsxs)(r.Z,{sx:ed,children:[(0,a.jsxs)(r.Z,{sx:el,children:[(0,a.jsx)(l.Z,{component:"h1",sx:ea,children:null!=g?g:Y.title}),!u&&(0,a.jsxs)(r.Z,{sx:K,children:[(0,a.jsxs)(r.Z,{sx:$,children:[(0,a.jsx)(l.Z,{component:"span",sx:ee,children:X[0].title}),(0,a.jsx)(l.Z,{component:"span",children:p.userCountText?"".concat(p.title," (").concat(p.userCountText,")"):p.title})]}),(0,a.jsxs)(r.Z,{sx:$,children:[(0,a.jsx)(l.Z,{component:"span",sx:ee,children:X[1].title}),(0,a.jsx)(l.Z,{component:"span",children:s})]}),0!==W(m)&&(0,a.jsxs)(r.Z,{sx:$,children:[(0,a.jsx)(l.Z,{component:"span",sx:ee,children:X[2].title}),(0,a.jsx)(l.Z,{component:"span",children:m})]})]}),(0,a.jsxs)(r.Z,{sx:es,children:[O&&(0,a.jsx)(l.Z,{component:"p",sx:{color:"error.main",mb:2,fontSize:14},children:O}),G,(0,a.jsx)(z,{initialData:(0,o._)((0,n._)({company:Y.formLabelName[0].defaultValue,innCompany:Y.formLabelName[1].defaultValue,name:Y.formLabelName[2].defaultValue},v&&(null==B?void 0:B.length)?{edition:{title:B[0].title,const:B[0].const}}:{}),{email:Y.formLabelName[3].defaultValue,phone:Y.formLabelName[4].defaultValue,privacy:Q}),fieldsData:Y,handleOnChange:e=>{C(e)},handleAccept:ej,useFeedbackLayout:v,selectEdition:B,editionLabel:k})]})]}),ev]})]})]})})})};let D=()=>(0,m.k)({container:{position:"fixed",top:0,left:0,width:"100%",height:"100vh",background:"rgba(8, 8, 8, 0.25)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:999999,"@media (max-width: 840px)":{overflow:"auto",overflowX:"hidden"},"@media (max-width: 425px)":{overflow:"auto",overflowX:"hidden"}},mobileContainer:{"@media (max-width: 550px)":{position:"absolute",top:"0"},"@media (max-width: 425px)":{position:"absolute",top:0}},content:{padding:"50px",background:"#F7F8FA",boxSizing:"border-box",borderRadius:"15p
1x",maxWidth:"550px",width:"100%",position:"relative","@media (max-width: 550px)":{padding:"30px 28px 30px 28px",borderRadius:"0",width:"100vw"}},closeBtn:{zIndex:2,position:"absolute",top:"20px",right:"20px",background:"#0000000A",border:"none",fontSize:"16px",cursor:"pointer",height:"36px",width:"36px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center","& img":{height:"12px",width:"12px"},"&:hover":{opacity:.8},"@media (max-width: 425px)":{top:"30px"}},headerItem:{fontSize:"32px",lineHeight:"36px",fontWeight:"700",marginBottom:"30px",maxWidth:"350px"},summaryStyles:{paddingBottom:"30px",borderBottom:"1px solid ".concat(c.Z.gray.E0),marginBottom:"30px"},summaryPoint:{display:"flex",flexWrap:"wrap",marginBottom:"10px"},summaryTitle:{width:"35%","@media (max-width: 450px)":{width:"50%"}},editionDescription:{"@media (max-width: 450px)":{display:"none"}},rubleSign:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif"},infoBlock:{display:"flex"},infoBlockItem:{flexGrow:"1"},formContainer:{},footerItem:{position:"relative",width:"50%",boxSizing:"border-box",maxWidth:"480px",display:"flex",background:"#4F84E2",padding:"127px 83px 104px 78px",borderTopRightRadius:"15px",borderBottomRightRadius:"15px","@media (max-width: 840px)":{width:"100%",maxWidth:"100%",padding:"50px 50px 30px 50px",position:"relative",gap:"10px",borderRadius:"0"},"@media (max-width: 500px)":{paddingLeft:"7%"},"@media (max-width: 425px)":{display:"none",position:"relative",gap:"10px",paddingBottom:"0","::before":{content:'""',position:"absolute",top:"0",left:"-20px",right:"-20px",bottom:"-40px",backgroundColor:"#4F84E2",borderBottomRightRadius:"15px",borderBottomLeftRadius:"15px",zIndex:"1"}}}});var A=(e,t,i)=>({schema:{type:"object",properties:{name:{type:"string",title:"".concat(e[0].text)},email:{type:"string",title:"".concat(e[1].text)}}},uiSchema:{"ui:ObjectFieldTemplate":S.Z,name:{"ui:widget":"HorizontalInput","ui:options":{hasIcon:e[0].hasIcon,icon:e[0].icon,isValidData:!0,isBillWidth:!0,placeholder:"ÐаÑе Ð¸Ð¼Ñ Ð¸ ÑамилиÑ"}},email:{"ui:widget":"HorizontalInput","ui:options":{hasIcon:e[1].hasIcon,icon:e[1].icon,isValidData:t,validationCount:i,isBillWidth:!0,placeholder:"ÐÐ°Ñ Ð¸Ð¼ÐµÐ¹Ð»"}}},widgets:{HorizontalInput:Z.Z}});let O=()=>(0,m.k)({hiddenButton:{display:"none"},button:{marginTop:"25px",width:"200px","& span":{color:"#fff"},height:"35px","@media (max-width: 840px)":{width:"100%",maxWidth:"390px"},"@media (max-width: 425px)":{width:"100%",marginTop:"15px"}},privacy:{maxWidth:"390px",marginTop:"22px",fontSize:"11px",fontWeight:"300",lineHeight:"14px",color:c.Z.gray["85"]},linkStyles:{textDecoration:"none",color:c.Z.hoverTint},link:{cursor:"pointer",fontSize:"12px",fontWeight:"300",lineHeight:"17px",color:c.Z.hoverTint,":hover":{opacity:"0.8"}},description:{display:"block",fontSize:"15px",fontWeight:"300",lineHeight:"21px"}});var M=e=>{let{initialData:t,fieldsData:i,handleOnChange:n,handleAccept:o}=e,{hiddenButton:p,button:s,privacy:m,link:c,linkStyles:h,description:u}=O(),[g,f]=(0,d.useState)(t),[w,b]=(0,d.useState)(!1),[y,S]=(0,d.useState)(!0),[Z,B]=(0,d.useState)(0),k=(0,d.useRef)(null),R=A(i.formLabelName,y,Z),T=e=>{var t,i;return null!==e.name&&null!==e.email&&(null===(t=e.name)||void 0===t?void 0:t.length)!==0&&(null===(i=e.email)||void 0===i?void 0:i.length)!==0},z=e=>{S((0,C.o)(g.email)),B(Z+1),b(!1),(0,C.o)(g.email)&&o(e)},W=async e=>{};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Z,{style:{marginBottom:"23px"},children:(0,a.jsx)(j.ZP,{ref:k,schema:R.schema,uiSchema:R.uiSchema,widgets:R.widgets,onChange:e=>{f(e.formData),b(T(e.formData)),n(e.formData)},onSubmit:W,formData:g,validator:v.ZP,showErrorList:!1,children:(0,a.jsx)(x.Z,{sx:p})})}),(0,a.jsx)(l.Z,{component:"span",sx:u,children:t.description}),(0,a.jsx)(x.Z,{variant:"contained",sx:s,onClick:e=>z(e),disabled:!w,children:(0,a.jsx)(l.Z,{component:"span",children:i.button.buttonText})}),(0,a.jsxs)(l.Z,{sx:m,children:[t.privacy.text,(0,a.jsxs)(l.Z,{component:"span",sx:c,children:["\xa0",(0,a.jsx)("a",{href:t.privacy.externalLink,target:"_blank",rel:"noopener noreferrer",style:h,children:t.privacy.linkText})]})]})]})},N=i(80602),q=e=>{let{showModal:t,setShowModal:i,data:n,edition:o,license:x,price:p}=e,s=(0,f.I)(),[m,c]=(0,d.useState)(),[h,u]=(0,d.useState)(!1),[g,w]=(0,d.useState)(17),b=(0,d.useRef)(null),{summary:j,customerInfo:v,accept:S,privacy:Z,title:B}=n,k=(0,d.useRef)(null),{container:R,content:T,headerItem:C,infoBlock:z,infoBlockItem:H,summaryStyles:P,summaryPoint:F,summaryTitle:I,closeBtn:_,mobileContainer:E,formContainer:L,rubleSign:A}=D(),O=()=>{i(!1)},q=e=>{e.preventDefault();let t=document.forms.TinkoffPayForm,i=parseInt(p.replace(/\s+/g,"").replace("â½",""),10);t.elements.name.value=null==m?void 0:m.name,t.elements.amount.value=i,t.elements.email.value=null==m?void 0:m.email;let n=100*i;t.elements.receipt.value=JSON.stringify({Email:null==m?void 0:m.email,EmailCompany:"[email protected]",Taxation:"usn_income",Items:[{Name:"ÐÑаво иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑогÑÐ°Ð¼Ð¼Ñ Ð´Ð»Ñ ÐÐÐ \xabÐÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð¿Ð°Ñолей ÐаÑÑвоÑк\xbb",Price:n,Quantity:1,Amount:n,Tax:"none"}]}),window.pay(t)};return(0,d.useEffect)(()=>
1{if(t){let e=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight="".concat(e,"px")}else document.body.style.overflow="",document.body.style.paddingRight="";return()=>{document.body.style.overflow="",document.body.style.paddingRight="0"}},[t]),(0,d.useEffect)(()=>{let e=document.createElement("script");return e.src="https://securepay.tinkoff.ru/html/payForm/js/tinkoff_v2.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),t&&(0,a.jsxs)(r.Z,{sx:R,children:[(0,a.jsx)(r.Z,{sx:E,ref:b,children:(0,a.jsx)(y.Z,{show:t,setShow:i,children:h?(0,a.jsx)(N.Z,{descriptionUpper:S.descriptionUp,descriptionUnder:S.descriptionUnder,buttonAccept:S.GotBtn,email:null==m?void 0:m.email,handleBack:()=>{u(!1)},handleClose:O}):(0,a.jsxs)(r.Z,{sx:T,children:[(0,a.jsx)(r.Z,{sx:_,onClick:O,children:(0,a.jsx)(r.Z,{component:"img",src:"/CrossIcon.svg"+s,alt:"close"})}),(0,a.jsx)(r.Z,{sx:z,children:(0,a.jsxs)(r.Z,{sx:H,children:[(0,a.jsx)(l.Z,{component:"h1",sx:C,children:v.title}),(0,a.jsxs)(r.Z,{sx:P,children:[(0,a.jsxs)(r.Z,{sx:F,children:[(0,a.jsx)(l.Z,{component:"span",sx:I,children:j[0].title}),(0,a.jsx)(l.Z,{component:"span",children:o.userCountText?"".concat(o.title," (").concat(o.userCountText,")"):o.title})]}),(0,a.jsxs)(r.Z,{sx:F,children:[(0,a.jsx)(l.Z,{component:"span",sx:I,children:j[1].title}),(0,a.jsx)(l.Z,{component:"span",children:x})]}),0!==W(p)&&(0,a.jsxs)(r.Z,{sx:F,children:[(0,a.jsx)(l.Z,{component:"span",sx:I,children:j[2].title}),(0,a.jsx)(l.Z,{component:"span",children:p})]})]}),(0,a.jsx)(r.Z,{sx:L,children:(0,a.jsx)(M,{initialData:{name:v.formLabelName[0].defaultValue,email:v.formLabelName[1].defaultValue,privacy:Z,description:B},fieldsData:v,handleOnChange:e=>{c(e)},handleAccept:e=>{m&&q(e)}})})]})})]})})}),(0,a.jsx)(r.Z,{children:(0,a.jsx)("div",{ref:k,className:"payment-form-container",dangerouslySetInnerHTML:{__html:'\n <form name="TinkoffPayForm" onsubmit="pay(this); return false;" id="tinkoff-form">\n <input class="tinkoffPayRow" type="hidden" name="terminalkey" value="1709038922433">\n <input class="tinkoffPayRow" type="hidden" name="frame" value="false">\n <input class="tinkoffPayRow" type="hidden" name="language" value="ru">\n <input id="tinkoff-name" class="tinkoffPayRow" type="hidden" name="name">\n <input id="tinkoff-price" class="tinkoffPayRow" type="hidden" name="amount">\n <input class="tinkoffPayRow" type="hidden" name="order">\n <input class="tinkoffPayRow" type="hidden" name="description" value="ÐÑаво иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑогÑÐ°Ð¼Ð¼Ñ Ð´Ð»Ñ ÐÐÐ \xabÐÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð¿Ð°Ñолей ÐаÑÑвоÑк\xbb">\n <input id="tinkoff-email" class="tinkoffPayRow" type="hidden" name="email">\n <input id="tinkoff-receipt" class="tinkoffPayRow" type="hidden" name="receipt">\n</form>\n '}})})]})};async function V(e,t){let i=await fetch(e,{cache:"no-store"});t((await i.json()).prices)}var U=i(23681),G=i(20274);let X=JSON.parse('{"rc":{"bo":[{"id":81,"title":"Ðо 10","const":"upto10"},{"id":82,"title":"Ðо 25","const":"upto25"},{"id":83,"title":"Ðо 50","const":"upto50"},{"id":84,"title":"Ðо 100","const":"upto100"},{"id":85,"title":"Ðолее 100","const":"morethen100"}]}}').rc.bo,Y=e=>{switch(e){case"upto10":return"small";case"upto25":return"start";case"upto50":return"standard";case"upto100":return"premium";default:return"enterprise"}},J=e=>{switch(e){case"upto10":return 10;case"upto25":return 25;case"upto50":return 50;default:return 100}},Q=e=>!["upto10","upto25","upto50","upto100"].includes(e);var K=e=>{let{data:t,modalData:i}=e,{title:m,editionPart:c,licensePart:h,pricePart:w}=t,[b,y]=(0,d.useState)(0),[j,v]=(0,d.useState)(0),[S,Z]=(0,d.useState)(0),[B,k]=(0,d.useState)(),[R,T]=(0,d.useState)(w.priceOnRequest),[C,z]=(0,d.useState)(B?eU(R):0),[W,H]=(0,d.useState)(w.priceOnRequest),[P,F]=(0,d.useState)(10),[I,_]=(0,d.useState)(X[0]),E=[h.firstType,h.secondType],[D,A]=(0,d.useState)(0),O=(0,f.I)(),[M,N]=(0,d.useState)(!1),[K,$]=(0,d.useState)(!1),[ee,et]=(0,d.useState)(!1),{sectionContainer:ei,container:en,header:eo,paper:ea,editionPointsTitle:ed,editionPointText:er,questionMark:ex,partTitle:ep,licenseTypeContainer:es,licenseListAdvanced:el,priceBlock:em,priceBlockHeader:ec,basicPriceContainer:eh,basicPriceDescription:eu,basicPriceNumber:eg,usersCountSelect:ef,subscriptionTitleContainer:ew,priceSubRenewalTitle:eb,priceSubRenewalTimeContainer:ey,subRenewalVariantContainer:ej,subRenewalVariantDuration:ev,subRenewalVariantPrice:eS,subRenewalVariantOriginalPrice
1:eZ,subRenewalVariantNowPrice:eB,totalPriceContainer:ek,totalPriceDescription:eR,totalPriceNumber:eT,priceBlockContainer:eC,priceOnRequestTypography:ez,priceOnCountUsers:eW,priceButtonContained:eH,priceButtonPurchase:eP,buttonPurchaseText:eF,editionBlock:eI,editionPointsList:e_,licenseBlock:eE,back:eL,backBlue:eD,section:eA,priceSubscriptionContainer:eO,priceSubscriptionElementText:eM,priceSubscriptionElementPrice:eN,hintTitle:eq,hintDescription:eV}=u({activeEdition:b,activeLicense:j});function eU(e){return"number"==typeof e?e:null===e?0:Number(e.replace(/\D/g,""))}function eG(e){let t=e.trim();if(""===t)return["",""];let i=t.split(/\s+/),n=i.pop()||"";return[i.join(" "),n]}let eX=e=>"".concat(e," ").concat(w.usersCountSuffix),eY=(e,t)=>{switch(t){case 1:return .7*e;case 2:return .7*e+.5*e;case 3:return .7*e+1*e;default:return e}};function eJ(e){let t=eU(e).toLocaleString("ru");return w.currency.symbolInEnd?"".concat(t," ").concat(w.currency.currencySymbol[w.currency.currencySymbol.length-1]):"".concat(w.currency.currencySymbol[w.currency.currencySymbol.length-1]," ").concat(t)}let eQ=(e,t)=>{Z(t)},eK=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.Z,{variant:"contained",sx:eH,onClick:()=>N(!0),children:w.footer.button[0].buttonText}),!(1===b||2===b)&&0===j&&R!==w.priceOnRequest&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.Z,{variant:"outlined",sx:eP,onClick:()=>$(!0),children:(0,a.jsx)(l.Z,{component:"span",sx:eF,dangerouslySetInnerHTML:{__html:w.footer.button[1].buttonText}})}),b<4&&4!==S&&(0,a.jsx)(x.Z,{variant:"outlined",sx:eP,onClick:()=>et(!0),children:(0,a.jsx)(l.Z,{component:"span",sx:eF,dangerouslySetInnerHTML:{__html:w.footer.button[2].buttonText}})})]}),(1===b||2===b||R===w.priceOnRequest)&&(0,a.jsx)(x.Z,{variant:"outlined",sx:eP,onClick:()=>$(!0),children:(0,a.jsx)(l.Z,{component:"span",sx:eF,dangerouslySetInnerHTML:{__html:w.footer.button[1].buttonText}})})]}),e$=e=>h.licensePoint.filter(t=>t.isAdvanced===e&&!(2===b&&t.hideForFstek)&&!(2!==b&&t.forFstekOnly)&&!(0===b&&t.hideForStandart)).map(e=>(0,a.jsx)(s.ZP,{sx:u({isAdvancedLic:e.isAdvanced,activeLicenseIsZero:0===b}).licensePointText,children:(()=>{let t=u({isAdvancedLic:e.isAdvanced,activeLicenseIsZero:0===b,hintSize:e.text.length}),[i,n]=e.hasHint?eG(e.text):[e.text,""];return(0,a.jsxs)(l.Z,{component:"div",sx:t.licencePointItem,children:[(0,a.jsx)(l.Z,{component:"span",sx:t.licencePointItem,dangerouslySetInnerHTML:{__html:e.text.split(" ").length>1?e.hasHint?"".concat(i," "):e.text:e.hasHint?"":e.text}}),e.hasHint&&(0,a.jsxs)(r.Z,{component:"span",sx:{display:"inline-block"},children:[n,"\xa0",(0,a.jsx)(r.Z,{component:"img",sx:ex,src:"/QuestionMark.svg".concat(O),alt:w.moreAlt}),(0,a.jsx)(r.Z,{component:"span",sx:t.hintItem,className:"hint-box",dangerouslySetInnerHTML:{__html:e.hintText}})]})]})})()},e.id));(0,d.useEffect)(()=>{let e="/api/v1/ru/prices",t=()=>"".concat(window.location.origin);V((()=>{let i=t();return U.w.length?"".concat(U.w).concat(e):"".concat(i).concat(e)})(),k)},[]),(0,d.useEffect)(()=>{if(B){let e=1===b||2===b||1===j||Q(I.const)?w.priceOnRequest:B[Y(I.const)][["standard","advanced"][j]]/100;if(e){z(function(e){if("number"==typeof e)return e;let t=e.match(/\d+/);return t?parseInt(t[0],10):1}(e)),T(e===w.priceOnRequest?e:eJ(e));let t="number"==typeof e?4!==S?e+.5*S*e:w.priceOnRequest:e;H(t===w.priceOnRequest?t:eJ(t)),"number"==typeof e&&F(J(I.const))}}},[B,b,j,S,I]);let e0=2===b,e1=0===b||e0?Y(I.const):["small","start","standard","premium","enterprise"][b];return(0,d.useEffect)(()=>{A(window.innerWidth-document.documentElement.clientWidth)},[]),(0,a.jsxs)(r.Z,{component:"section",sx:eA,children:[(0,a.jsx)(r.Z,{sx:eL}),(0,a.jsx)(r.Z,{sx:eD}),(0,a.jsx)(r.Z,{sx:ei,id:"prices",children:(0,a.jsxs)(r.Z,{sx:en,children:[(0,a.jsx)(l.Z,{component:"h2",sx:eo,children:m}),(0,a.jsxs)(r.Z,{sx:ea,children:[(0,a.jsxs)(r.Z,{sx:eI,children:[(0,a.jsx)(l.Z,{sx:ep,children:c.title}),(0,a.jsx)(p.Z,{sx:e_,children:c.editionPoint.map((e,t)=>(0,a.jsxs)(s.ZP,{sx:u({index:t,activeEdition:b}).editionPoints,onClick:()=>y(t),children:[(0,a.jsx)(l.Z,{component:"span",sx:ed,children:e.title}),(0,a.jsx)(l.Z,{component:"span",sx:er,children:e.userCountText})]},t))})]}),(0,a.jsxs)(r.Z,{sx:eE,children:[(0,a.jsx)(l.Z,{sx:ep,children:h.title}),(0,a.jsxs)(r.Z,{children:[(0,a.jsx)(p.Z,{sx:u({activeEditionIsZero:0===b}).licenseListStandard,children:e$(!1)}),(0,a.jsx)(p.Z,{sx:el,children:e$(!0)})]})]}),(0,a.jsxs)(r.Z,{sx:em,children:[(0,a.jsx)(l.Z,{sx:ep,children:w.title}),1===b||2===b||R===w.priceOnRequest?(0,a.jsxs)(r.Z,{sx:eC,children:[(0,a.jsx)(l.Z,{sx:(0,o._)((0,n._)({},ec),{paddingBottom:"10px"}),children:w.usersCountLabel}),(0,a.jsx)(r.Z,{sx:(0,o._)((0,n._)({},eh),{paddingBottom:"20px",marginBottom:"15px"}),children:(0,a.jsx)(r.Z,{sx:ef,children:(0,a.jsx)(G.Z,{label:"",selected:I,onChange:_,values:X,hasIcon:!0,icon:{id:1,url:"/DownArrow.svg",alternativeText:w.moreAlt},showLabel:!1,hasFieldBorder:!0})})}),(0,a.jsx)(l.Z,{sx:ez,children:w.priceOnRequest}),eK()]}):(0,a.jsxs)(r.Z,{sx:eC,children:[(0,a.jsx)(l.Z,{sx:(0,o._)((0,n._)({},ec),{paddingBottom:"10px"}),children:w.usersCountLabel}),(0,a.jsx)(r.Z,{sx:(0,o._)((0,n._)({},eh),{paddingBottom:"20px",marginBottom:"15px"}),children:(0,a.jsx)(r.Z,{sx:ef,children:(0,a.jsx)(G.Z,{label:"",selected:I,onChange:_,values:X,hasIcon:!0,icon:{id:1,url:"/DownArrow.svg",alternativeText:w.moreAlt},showLabel:!1,hasFieldBorder:!0})})}),(0,a.jsx)(l.Z,{sx:ec,children:w.pricePartHeader[0].title}),(0,a.jsxs)(r.Z,{sx:eh,children:[(0,a.jsx)(l.Z,{sx:eu,children:w.pricePartHeader[0].description}),(0,a.jsx)(l.Z,{sx:eg,children:R})]}),(0,a.jsxs)(r.Z,{children:[(0,a.jsxs)(r.Z,{sx:ew,children:[eG(w.pricePartSubscription[0].title)[0],"\xa0",(0,a.jsxs)(r.Z,{sx:{display:"inline-block"},children:[eG(w.pricePartSubscription[0].title)[1],(0,a.jsx)(r.Z,{component:"img",sx:u({isSubRenewal:!0}).questionMark,src:"/QuestionMark.svg"+O,alt:w.moreAlt}),(0,a.jsxs)(r.Z,{sx:u({isSubRenewal:!0}).hintItem,className:"hint-box",children:[(0,a.jsx)(l.Z,{sx:eq,dangerouslySetInnerHTML:{__html:w.pricePartSubscription[0].titleHint}}),(0,a.jsx)(l.Z,{sx:eV,dangerouslySetInnerHTML:{__html:w.pricePartSubscription[0].hintDescriptionFirstParagraph}}),(0,a.jsx)(l.Z,{sx:eV,dangerouslySetInnerHTML:{__html:w.pricePartSubscription[0].hintDescriptionSecondParagraph}}),(0,a.jsx)(l.Z,{sx:eq,children:w.pricePartSubscription[0].hintTitleSecond}),(0,a.jsx)(l.Z,{sx:eV,children:w.pricePartSubscription[0].hintDescriptionThirdParagraph}),(0,a.jsx)(l.Z,{sx:eV,children:w.pricePartSubscription[0].hintDescriptionFourthParagraph})]})]})]}),(0,a.jsx)(r.Z,{sx:eO,children:w.pricePartSubscription[0].subscriptionInfo.map((e,t)=>(0,a.jsxs)(r.Z,{sx:u({isLastPriceSubsElement:t===w.pricePartSubscription[0].subscriptionInfo.length-1}).priceSubscriptionElement,children:[(0,a.jsx)(l.Z,{sx:eM,children:e.itemText}),0===t?(0,a.jsx)(l.Z,{sx:eN,children:w.pricePartSubscription[0].includeOption}):(0,a.jsx)(l.Z,{sx:eN,children:eJ(.7*C)+w.perYear})]},t))})]}),(0,a.jsxs)(r.Z,{children:[(0,a.jsx)(l.Z,{sx:eb,children:w.subRe
1newal.title}),(0,a.jsx)(r.Z,{sx:ey,children:w.subRenewal.subRenewalVariants.map((e,t)=>4===t&&"small"===e1?(0,a.jsx)(a.Fragment,{}):(0,a.jsxs)(r.Z,{sx:u({renewalIndex:t,activeRenewal:S}).priceSubRenewalTimeElement,children:[(0,a.jsx)("input",{type:"radio",id:e.variant,name:"dynamicRadio",value:e.variant,checked:t===S,onChange:()=>eQ(e.variant,t)}),(0,a.jsx)("label",{htmlFor:e.variant,children:(0,a.jsxs)(r.Z,{sx:ej,children:[(0,a.jsx)(r.Z,{children:(0,a.jsx)(l.Z,{sx:ev,children:e.variant})}),0!==t?(0,a.jsx)(a.Fragment,{children:t!==w.subRenewal.subRenewalVariants.length-1?(0,a.jsxs)(r.Z,{sx:eS,children:[(0,a.jsx)(l.Z,{sx:eZ,children:eU(eY(C,t)).toLocaleString("ru")}),(0,a.jsxs)(l.Z,{sx:eB,children:["\xa0\xa0",eJ(.5*t*C)]})]}):(0,a.jsx)(r.Z,{sx:eS,children:(0,a.jsxs)(l.Z,{sx:eB,children:["\xa0\xa0",w.onRequestShort]})})}):(0,a.jsx)(l.Z,{sx:eZ})]})})]},t))}),(0,a.jsxs)(r.Z,{children:[(0,a.jsx)(r.Z,{sx:ek,children:4!==S&&W!==w.priceOnRequest?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Z,{children:(0,a.jsx)(l.Z,{component:"span",sx:eR})}),(0,a.jsx)(l.Z,{sx:eT,children:W}),(0,a.jsxs)(l.Z,{sx:eW,component:"span",children:[w.prepositionFor,"\xa0",P,"\xa0",w.perUser,"\xa0",w.prepositionOn,"\xa0",1+S,"\xa0",eU(w.subRenewal.subRenewalVariants[S].variant)?w.durationYears:w.durationYear]})]}):(0,a.jsx)(l.Z,{sx:ez,children:w.priceOnRequest})}),eK()]})]})]})]})]}),M&&i&&(0,a.jsx)(g.Z,{showModal:M,setShowModal:N,data:i,isHeader:!1,ScrollbarWidth:D}),K&&w.billModal&&(0,a.jsx)(L,{showModal:K,setShowModal:$,data:w.billModal,edition:{title:eX(I.title),userCountText:""},license:c.editionPoint[b].title,price:eJ(W),licenseToPost:["standard","advanced"][j],editionToPost:e1,isFstek:e0,ScrollbarWidth:D}),ee&&w.buyModal&&(0,a.jsx)(q,{showModal:ee,setShowModal:et,data:w.buyModal,edition:{title:eX(I.title),userCountText:""},license:E[j],price:eJ(W)})]})})]})}}},function(e){e.O(0,[589,85,253,227,203,107,725,316,726,420,293,286,744],function(){return e(e.s=85707)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.