1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60056],{985:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',gridGap:"var(--grid-gap)",gridColumnsDefault:"12",selector:"jv-theme",container:"input_container__LBn6j",input:"input_input__qPUyE",input_size:"input_input_size__yHnAQ",input_size_xs:"input_input_size_xs__1LCd9",input_size_s:"input_input_size_s__DWwKt",input_size_m:"input_input_size_m__hf18J",input_size_l:"input_input_size_l__3qbGA",input_variant_rounded:"input_input_variant_rounded__c5KH3",input_variant_blue:"input_input_variant_blue__scIvH",input_variant_green:"input_input_variant_green__hFuvZ",input_error:"input_input_error__FuTSY",input_textarea:"input_input_textarea__xxFvm",fileInputContainer:"input_fileInputContainer__bluCf",disabled:"input_disabled__c5aOV",fileInput:"input_fileInput__6ky_3",fileInputButton:"input_fileInputButton__JBPM1",fileNameDisplay:"input_fileNameDisplay__O4ctz"}},1312:(e,a,n)=>{"use strict";n.d(a,{X:()=>i});var t=n(39033);let i=e=>{let a={},n={};Object.keys(e).forEach(t=>{a[t]=e[t].value,n[t]=null});let[i,l]=(0,t.useState)(a),[r,o]=(0,t.useState)(n),s=(0,t.useMemo)(()=>{let e=Object.values(r).some(e=>null!==e),a=Object.values(i).some(e=>!e.trim());return!e&&!a},[i,r]);return{formData:i,errorData:r,handleChange:a=>{let{name:n,value:t}=a.target;i[n]!==t&&(l(e=>({...e,[n]:t})),o(a=>({...a,[n]:e[n].validator(t)})))},isFormValid:s,validateAll:()=>{let a={};Object.keys(e).forEach(n=>{a[n]=e[n].validator(i[n])}),o(a);let n=Object.values(a).some(e=>null!==e),t=Object.values(i).some(e=>!e.trim());return!n&&!t}}}},8839:(e,a,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/channels",function(){return n(69052)}])},12844:(e,a,n)=>{"use strict";n.d(a,{A:()=>m});var t=n(96677),i=n(39033),l=n(47003),r=n(985),o=n.n(r),s=n(27492),d=n.n(s),c=n(20962);let _=(0,i.forwardRef)(function(e,a){return(0,t.jsx)("input",{ref:a,...e})}),m=({type:e="text",id:a,name:n,className:r="",required:s=!1,value:m="",placeholder:h="",label:p="",size:x="m",width:u="100%",variant:g=null,focused:b=!1,disabled:w=!1,error:j=!1,noValidate:k=!1,mask:A="",onFocus:v,onBlur:y,onChange:f,...C})=>{let[N,I]=(0,i.useState)(m??""),[M,S]=(0,i.useState)(""),[T,D]=(0,i.useState)(!1);(0,i.useEffect)(()=>{I(m),D(!1)},[m]);let z=a=>{let n=a.target,t=n.value;"tel"!==e||A||(t=t.replace(/[^\d+\-() ]/g,""))!==n.value&&(n.value=t),I(t),!k&&T&&n.checkValidity()&&D(!1),f&&f(a)},E=e=>{let a=e.target;k||(a.value?D(!a.checkValidity()):D(!1)),y&&y(e)},L=()=>{k||D(!0)},F=j||T,q=d()(o().container,{[o().container_error]:F}),H=d()(o().input,o()[`input_size_${x}`],{[o()[`input_variant_${g}`]]:null!==g,[o().input_active]:N,[o().input_error]:F},r),G=k?void 0:(()=>{if(C.pattern)return C.pattern;switch(e){case"tel":return c.uN;case"email":return c.GX;default:return}})(),O=A.replace(/9/g,"_");return"file"===e?(0,t.jsxs)("label",{htmlFor:a,className:d()(o().fileInputContainer,r,{[o().disabled]:w}),children:[(0,t.jsx)("span",{className:o().fileInputButton,children:p}),(0,t.jsx)("span",{className:o().fileNameDisplay,children:M||h||"No file chosen"}),(0,t.jsx)("input",{type:"file",id:a,name:n,className:o().fileInput,onChange:e=>{e.target.files&&e.target.files.length>0?S(e.target.files[0].name):S(""),f&&f(e)},disabled:w,...C})]}):(0,t.jsx)("label",{className:q,style:{width:u},children:A?(0,t.jsx)(l.A,{component:_,type:e,id:a,name:n,required:s,className:H,value:N,autoFocus:b,disabled:w,onFocus:v,onChange:z,onBlur:E,onInvalid:L,mask:O,replacement:{_:/\d/},placeholder:h,pattern:G,inputMode:"tel"===e?"tel":void 0,...C}):(0,t.jsx)("input",{type:e,id:a,name:n,required:s,className:H,value:N,autoFocus:b,disabled:w,onFocus:v,onChange:z,onBlur:E,onInvalid:L,placeholder:h,pattern:G,inputMode:"tel"===e?"tel":void 0,...C})})}},20244:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',container:"leadmagnet_container__ND6H_",imageWrapper:"leadmagnet_imageWrapper__hD7RU",ellipse:"leadmagnet_ellipse__aM_OA",loader:"leadmagnet_loader__gMzAR",icon:"leadmagnet_icon__eLF_e",input:"leadmagnet_input__hMQ5_",scrollBlock:"leadmagnet_scrollBlock__QX54a",titleContainer:"leadmagnet_titleContainer__RVJSN",titleContainer_tr:"leadmagnet_titleContainer_tr___IKeE",title:"leadmagnet_title__Rv_4_",active:"leadmagnet_active__EKT3o",gradientText:"leadmagnet_gradientText__K51kj",gradientText_tr:"leadmagnet_gradientText_tr__0TKGc"}},20962:(e,a,n)=>{"use strict";n.d(a,{DT:()=>r,FY:()=>l,GX:()=>i,uN:()=>t});let t="^[\\s\\(\\)\\-+]*([0-9][\\s\\(\\)\\-+]*){6,15}$",i="^[A-Za-z0-9.+_\\-]+@[A-Za-z0-9.\\-]+$",l=e=>new RegExp(t).test(e),r=e=>!!e.length&&new RegExp(i).test(e)},23841:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',gridGap:"var(--grid-gap)",gridColumnsDefault:"12",selector:"jv-theme",checkbox__native:"checkbox_checkbox__native___3oCJ",checkbox__custom:"checkbox_checkbox__custom__3tXNR","checkbox__custom_bg_gray-10":"checkbox_checkbox__custom_bg_gray-10__EyiJA","checkbox__custom_bg_gray-1
15":"checkbox_checkbox__custom_bg_gray-15__dAziK","checkbox__custom_bg_gray-25":"checkbox_checkbox__custom_bg_gray-25__s4mIY","checkbox__custom_bg_gray-35":"checkbox_checkbox__custom_bg_gray-35__dDJHR","checkbox__custom_bg_gray-50":"checkbox_checkbox__custom_bg_gray-50___X44R","checkbox__custom_bg_gray-60":"checkbox_checkbox__custom_bg_gray-60__mQWdT","checkbox__custom_bg_gray-75":"checkbox_checkbox__custom_bg_gray-75__3us3s","checkbox__custom_bg_gray-85":"checkbox_checkbox__custom_bg_gray-85__B0c5G","checkbox__custom_bg_gray-90":"checkbox_checkbox__custom_bg_gray-90__lOAIC",checkbox__custom_bg_white:"checkbox_checkbox__custom_bg_white__AqCMQ",checkbox__custom_bg_black:"checkbox_checkbox__custom_bg_black__1AvTC","checkbox__custom_bg_green-1":"checkbox_checkbox__custom_bg_green-1__47t1y","checkbox__custom_bg_green-2":"checkbox_checkbox__custom_bg_green-2__Gjiyi",checkbox__custom_bg_blue:"checkbox_checkbox__custom_bg_blue__1JOP9",checkbox__custom_bg_orange:"checkbox_checkbox__custom_bg_orange__3h7Cz"}},27845:e=>{e.exports={container:"loader_container__Gh2dL",loader:"loader_loader__hmQuu",hidden:"loader_hidden__ACn1R"}},35053:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',gridGap:"var(--grid-gap)",gridColumnsDefault:"12",selector:"jv-theme",modal:"modal_modal__6hgig",modal_visible:"modal_modal_visible__emGxY",modal__window:"modal_modal__window__9skcS",modal__window_noPadding:"modal_modal__window_noPadding__kLmtU",modal__window_noScroll:"modal_modal__window_noScroll__IpKG2","modal__window_background_gray-10":"modal_modal__window_background_gray-10__q97kg","modal__window_background_gray-15":"modal_modal__window_background_gray-15__S7d3h","modal__window_background_gray-25":"modal_modal__window_background_gray-25__mPnSM","modal__window_background_gray-35":"modal_modal__window_background_gray-35__UyGtC","modal__window_background_gray-50":"modal_modal__window_background_gray-50__Y8wlI","modal__window_background_gray-60":"modal_modal__window_background_gray-60__phwk9","modal__window_background_gray-75":"modal_modal__window_background_gray-75__qohIq","modal__window_background_gray-85":"modal_modal__window_background_gray-85__SXNqH","modal__window_background_gray-90":"modal_modal__window_background_gray-90__J4JG1",modal__window_background_white:"modal_modal__window_background_white__odOPm",modal__window_background_black:"modal_modal__window_background_black__QVxVI","modal__window_background_green-1":"modal_modal__window_background_green-1__hPeFG","modal__window_background_green-2":"modal_modal__window_background_green-2__kCur9",modal__window_background_blue:"modal_modal__window_background_blue__ZEHsJ",modal__window_background_orange:"modal_modal__window_background_orange__TWvS9",modal__window_background_none:"modal_modal__window_background_none__wN5bK",modal__title:"modal_modal__title__1oNsv",modal__close:"modal_modal__close__J9N_S"}},46555:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>_});var t=n(96677),i=n(39033),l=n(35053),r=n.n(l),o=n(27492),s=n.n(o),d=n(74064),c=n(17646);let _=e=>{let{children:a,title:n,open:l=!1,noPadding:o=!1,noScroll:_=!1,width:m=null,height:h=null,background:p="white",onClose:x,...u}=e,[g,b]=(0,i.useState)(l),w=(0,i.useRef)(null),j=(0,i.useCallback)(()=>{b(!1),x?.()},[x]);return(0,i.useEffect)(()=>{b(l)},[l]),(0,i.useEffect)(()=>{if(!g)return;let e=e=>{w.current&&!w.current.contains(e.target)&&j()},a=e=>{"Escape"===e.key&&j()};return document.addEventListener("mousedown",e,{passive:!0}),document.addEventListener("keydown",a,{passive:!0}),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",a)}},[g,j]),(0,t.jsx)("div",{...u,className:s()(r().modal,{[r().modal_visible]:g}),children:(0,t.jsxs)("div",{className:s()(r().modal__window,r()[`modal__window_background_${p}`],{[r().modal__window_noPadding]:o,[r().modal__window_noScroll]:_}),style:m||h?{width:m??void 0,height:h??void 0}:void 0,ref:w,role:"dialog","aria-modal":"true",children:[(0,t.jsx)("button",{type:"button",className:s()(r().modal__close),onClick:j,"aria-label":"Close modal",children:(0,t.jsx)(c.lr4,{size:"1.3em"})}),n&&(0,t.jsx)(d.A,{variant:"h4",className:s()(r().modal__title),children:n}),(0,t.jsx)("div",{className:s()(r().modal__inner),children:a})]})})}},50584:(e,a,n)=>{"use strict";n.d(a,{A:()=>r});var t=n(39033),i=n(235),l=n(66868);let r=()=>{let[e,a]=(0,t.useState)({[i.k.YANDEX_CLIENT_ID]:null});return(0,t.useEffect)(()=>{(async()=>{let e=await (0,l.HR)(l.Zr);a({[i.k.YANDEX_CLIENT_ID]:e||null})})()},[]),e}},69052:(e,a,n)=>{"use strict";n.r(a),n.d(a,{__N_SSG:()=>U,default:()=>ee});var t=n(96677),i=n(63864),l=n(76589),r=n(55527),o=n(17521),s=n(74064),d=n(31610),c=n(27820),_=n(22492),m=n(66374),h=n(47333);let p=()=>{let{t:e}=(0,d.A)(),a=(0,h.A)();return(0,t.jsxs)(o.A,{padding:[3,0,4],children:[(0,t.jsx)(c.A.Container,{justifyContent:{mobile:"center"},alignItems:"center",direction:"column",gap:0,children:(0,t.jsxs)(c.A.Item,{width:{mobile:"330px"},children:[(0,t.jsx)(s.A,{variant:"h1",tag:"h1",align:"mobile"===a?"center":null,children:e("page.channels.intro.title")}),(0,t.jsx)(o.A,{padding:[.67,0,1.33],children:(0,t.jsx)(s.A,{color:"gray-75",align:"mobile"===a?"center":null,children:e("page.channels.intro.text")})})]})}),(0,t.jsx)(c.A.Container,{justifyContent:{mobile:"center"}
1,children:(0,t.jsx)(_.A,{path:"settings/channels",children:(0,t.jsx)(m.A,{size:"l",children:e("page.channels.intro.button")})})})]})};var x=n(96775),u=n(33522),g=n(83494),b=n(27492),w=n.n(b),j=n(87610),k=n.n(j),A=n(39033);let v=[["features","mobilesdk","chatbots","whatsapp","ai-agent","ai-assistant","jivo-marketing"],["instagram","facebook","telegram","viber","business-chat"],["telephony_module","video_calls","telephony","calls"],["crm","teamchats","email","integrations","docs"]],y={ru:[["features","customer-support","mobilesdk","chatbots","whatsapp","ai-assistant","ai-agent",{"industry/medicine":"/industry/medicine"},"jivo-marketing","promotion-telegram"],["vk","telegram","viber","avito","aliexpress","drom","2gis","business-chat","yclients-ai"],["telephony_module","video_calls","telephony","calls",{jazz:"https://jazz.sber.ru/?utm_source=jivo&utm_medium=promo&utm_campaign=jivo_promo"}],v[3]],en:v,es:v,pt:[v[0],["instagram","facebook","telegram","mercadolivre","business-chat"],v[2],v[3]],tr:v},f=({name:e,bg:a})=>{let[n,i]=(0,A.useState)(!1),{t:l}=(0,d.A)(),r="desktop"===(0,h.A)()?e:`${e}-mobile`,{background:c,svgColor:_,textColor:m,titleColor:p}=a?n?{background:"gray-10",svgColor:"#1F1F1F",textColor:"gray-60",titleColor:"gray-90"}:{background:a,svgColor:"white",textColor:"gray-35",titleColor:"white"}:n?{background:"gray-85",svgColor:"white",textColor:"gray-35",titleColor:"white"}:{background:"gray-10",svgColor:"#1F1F1F",textColor:"gray-60",titleColor:"gray-90"},x="jazz"===e?y.ru[2][4]?.jazz:`/${e}`;return(0,t.jsx)(u.A,{href:x,className:w()(k().plate),children:(0,t.jsx)("div",{onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:(0,t.jsx)(g.A,{background:c,padding:0,children:(0,t.jsxs)("div",{className:w()(k().plateContainer),children:[(0,t.jsxs)(o.A,{padding:{desktop:[2,0,0,2],mobile:[2,0,0,2],tablet:[2,0,0,2]},className:k().content,children:[(0,t.jsx)(s.A,{variant:"h5",color:p,children:(0,t.jsxs)("div",{className:k().titleContainer,children:[l(`page.channels.plates.${e}.title`),"features"===e&&(0,t.jsx)("span",{className:w()(k().badge),children:"â1"})]})}),(0,t.jsx)("div",{className:k().textSection,children:(0,t.jsx)(s.A,{variant:"small",color:m,children:l(`page.channels.plates.${e}.text`)})}),(0,t.jsxs)("svg",{className:k().arrow,xmlns:"http://www.w3.org/2000/svg",width:"49",height:"48",viewBox:"0 0 49 48",fill:"none",children:[(0,t.jsx)("path",{d:"M48.0669 24C48.0669 36.9732 37.4243 47.5 24.2835 47.5C11.1427 47.5 0.5 36.9732 0.5 24C0.5 11.0268 11.1427 0.5 24.2835 0.5C37.4243 0.5 48.0669 11.0268 48.0669 24Z",stroke:_}),(0,t.jsx)("path",{d:"M27.9999 22.962L24.7398 19.74H26.6704L30.6407 23.664L26.6704 27.588H24.7398L27.9999 24.366H17.5823V22.962H27.9999Z",fill:_}),(0,t.jsx)("path",{d:"M27.9999 22.962L24.7398 19.74H26.6704L30.6407 23.664L26.6704 27.588H24.7398L27.9999 24.366H17.5823V22.962H27.9999Z",stroke:_})]})]}),(0,t.jsx)("div",{className:w()(k().plateImageContainer,{[k().plateImageContainerGrow]:"integrations"===e}),children:(0,t.jsx)("div",{className:w()(k().plateImage),style:{backgroundImage:`url(/images/pages/channels/${r}.webp)`}})})]})})})})};var C=n(88443);let N=({name:e})=>{let{t:a}=(0,d.A)();return(0,t.jsx)(u.A,{href:`/${e}`,children:(0,t.jsx)(o.A,{padding:[1],className:w()(k().channelItem),children:(0,t.jsxs)(c.A.Container,{direction:"column",gap:0,alignItems:"center",children:[(0,t.jsx)(C.A,{alt:e,src:`/images/pages/channels/${e}.webp`,width:112,height:112}),(0,t.jsx)(o.A,{padding:[.67,0,0],children:(0,t.jsx)(s.A,{weight:"semibold",align:"center",className:w()(k().channelName),children:a(`page.channels.channels.items.${e}`)})}),(0,t.jsx)(s.A,{variant:"extra-small",color:"gray-35",decoration:"underline",children:a("page.channels.channels.more")}),(0,t.jsx)(o.A,{padding:[.67,0,0],children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"15.5",stroke:"white"}),(0,t.jsx)("path",{d:"M18.4487 15.3079L16.3007 13.1599H17.5727L20.1887 15.7759L17.5727 18.3919H16.3007L18.4487 16.2439H11.5847V15.3079H18.4487Z",fill:"white"}),(0,t.jsx)("path",{d:"M18.4487 15.3079L16.3007 13.1599H17.5727L20.1887 15.7759L17.5727 18.3919H16.3007L18.4487 16.2439H11.5847V15.3079H18.4487Z",stroke:"white"})]})})]})})})},I=()=>{let{t:e}=(0,d.A)();return(0,t.jsx)(o.A,{padding:[1,0,0],children:(0,t.jsxs)(g.A,{background:"gray-85",children:[(0,t.jsx)(s.A,{variant:"h2",align:"center",children:e("page.channels.channels.title")}),(0,t.jsx)(o.A,{padding:[.33,0,2.67],children:(0,t.jsx)(s.A,{color:"gray-35",align:"center",children:e("page.channels.channels.text")})}),(0,t.jsx)(c.A.Container,{justifyContent:"space-around",alignItems:"flex-start",direction:"row",wrap:"wrap",gap:{desktop:0,mobile:1,tablet:2},children:["vk","whatsapp","telegram","viber","business-chat","email"].map(e=>(0,t.jsx)(c.A.Item,{basis:{desktop:"auto",mobile:"33%",tablet:"45%"},width:{mobile:"33%"},shrink:0,grow:0,children:(0,t.jsx)(N,{name:e})},e))})]})})},M=()=>{let{t:e}=(0,d.A)();return(0,t.jsx)(o.A,{padding:[1,0,0],children:(0,t.jsxs)(g.A,{background:"gray-85",children:[(0,t.jsx)(s.A,{variant:"h3",align:"center",children:e("page.channels.markets.title")}),(0,t.jsx)(o.A,{padding:[.33,0,2.67],children:(0,t.jsx)(s.A,{color:"gray-35",align:"center",children:e("page.channels.markets.text")})}),(0,t.jsx)(c.A.Container,{justifyContent:{desktop:"center",mobile:"space-around",tablet:"space-around"},alignItems:"flex-start",direction:"row",wrap:"wrap",gap:{desktop:3,mobile:2,tablet:2},children:["avito","drom","aliexpress","2gis"].map(e=>(0,t.jsx)(c.A.Item,{basis:{desktop:"auto",mobile:"33%",tablet:"45%"},width:{mobile:"33%"},shrink:0,grow:0,children:(0,t.jsx)(N,{name:e})},e))})]})})},S=()=>{let{t:e}=(0,d.A)();return(0,t.jsxs)(o.A,{padding:[4,0],children:[(0,t.jsx)(s.A,{variant:"h2",children:e("page.channels.ecosystem.title")}),(0,t.jsx)(o.A,{padding:[.67,0,2],children:(0,t.jsx)(s.A,{color:"gray-35",children:e("page.channels.ecosystem.text")})}),(0,t.jsx)(x.A.Container,{columns:{desktop:2,mobile:1,tablet:1},children:["features","chatbots","ai-assistant","jivo-marketing","mobilesdk"].map(e=>(0,t.jsx)(x.A.Item,{size:1,children:(0,t.jsx)(f,{name:e,bg:"gray-85"})},e))}),(0,t.jsx)(I,{}),(0,t.jsx)(M,{})]})},T=()=>{let{t:e}=(0,d.A)();return(0,t.jsxs)(o.A,{padding:[4,0,0],children:[(0,t.jsx)(s.A,{variant:"h2",children:e("page.channels.telephony.title")}),(0,t.jsx)(o.A,{padding:[.67,0,3],children:(0,t.jsx)(c.A.Container,{children:(0,t.jsx)(c.A.Item,{width:{desktop:"70%",mobile:"100%",tablet:"100%"},children:(0,t.jsx)(s.A,{color:"gray-75",children:e("page.channels.telephony.text")})})})}),(0,t.jsx)(x.A.Container,{columns:{desktop:2,mobile:1,tablet:1},children:["calls","video_calls","jazz","telephony_module"].map(e=>(0,t.jsx)(x.A.Item,{size:1,children:(0,t.jsx)(f,{name:e})},e))})]})},D=()=>{let{t:e}=(0,d.A)();return(0,t.jsxs)(o.A,{padding:[4,0,0],children:[(0,t.jsx)(s.A,{variant:"h2",children:e("page.channels.api.title")}),(0,t.jsx)(o.A,{padding:[.67,0,3],children:(0,t.jsx)(c.A.Container,{children:(0,t.jsx)(c.A.Item,{width:{desktop:"70%",mobile:"100%",tablet:"100%"},children:(0,t.jsx)(s.A,{color:"gray-75",children:e("page.channels.api.text")})})})}),(0,t.jsx)(x.A.Container,{columns:{desktop:2,mobile:1,tablet:1},children:["docs","integrations"].map(e=>(0,t.jsx)(x.A.Item,{size:1,children:(0,t.jsx)(f,{name:e})},e))})]})},z=()=>{let{t:e}=(0,d.A)();return(0,t.jsxs)(o.A,{padding:[4,0,0],children:[(0,t.jsx)(s.A,{variant:"h2",children:e("page.channels.workspace.title")}),(0,t.jsx)(o.A,{padding:[.67,0,3],children:(0,t.jsx)(c.A.Container,{children:(0,t.jsx)(c.A.Item,{width:{desktop:"70%",mobile:"100%",tablet:"100%"},children:(0,t.jsx)(s.A,{color:"gray-75",children:e("page.channels.workspace.text")})})})}),(0,t.jsx)(x.A.Container,{columns:{desktop:2,mobile:1,tablet:1},children:["teamchats","crm"].map(e=>(0,t.jsx)(x.A.Item,{size:1,children:(0,t.jsx)(f,{name:e})},e))})]})};var E=n(12844),L=n(20962),F=n(1312),q=n(94345),H=n(32487),G=n(84086),O=n(67711),R=n(74258),P=n(75971);let X=()=>{let{t:e}=(0,d.A)(),{l10n:a}=(0,R.A)(),[n,i]=(0,A.useState)(!1),[l,_]=(0,A.useState)(!1),[h,p]=(0,A.useState)(""),[x,u]=(0,A.useState)({type:null,text:null}),g=(0,A.useRef)(null),{formData:b,errorData:j,handleChange:v,validateAll:y}=(0,F.X)({name:{value:"",validator:a=>
1a.trim()?null:e("common.vip_request.errors.name")},email:{value:"",validator:a=>(0,L.DT)(a)?null:e("common.vip_request.errors.email")},phone:{value:"",validator:a=>(0,L.FY)(a)?null:e("common.vip_request.errors.phone")}}),f=async n=>{n.preventDefault();let t=O.A.getUtmParams(),r=!1;if(l||(p("ÐеобÑ
одимо ÑоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
"),r=!0),y()&&!r){i(!0);try{let n=await g.current?.executeAsync();(await fetch("/api/send-email/pricing-enterprise/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({params:{...b,utmParams:t},locale:a,captchaToken:n})})).ok?u({type:"success",text:e("common.vip_request.success")}):u({type:"error",text:e("common.vip_request.error")})}catch(a){console.error("Error submitting form:",a),u({type:"error",text:e("common.vip_request.error")})}finally{i(!1),g?.current?.reset()}}};return(0,t.jsx)(o.A,{padding:[1,0,0],children:(0,t.jsx)(r.A,{variant:"dark",className:w()(k().formContainer),children:(0,t.jsxs)(o.A,{padding:[3,2],children:[(0,t.jsx)(s.A,{variant:"h1",align:"center",color:"white",children:e("page.channels.form.title")}),(0,t.jsx)(o.A,{padding:[1,0,3],children:(0,t.jsx)(s.A,{align:"center",color:"gray-35",children:e("page.channels.form.text")})}),x.type?(0,t.jsx)(s.A,{color:"white",variant:"h4",align:"center",children:x.text}):(0,t.jsxs)("form",{onSubmit:f,children:[(0,t.jsx)(H.A,{ref:g,size:"invisible",sitekey:G.ep}),(0,t.jsxs)(c.A.Container,{direction:{desktop:"row",mobile:"column"},wrap:"wrap",gap:1,alignItems:"center",children:[(0,t.jsxs)(c.A.Item,{basis:{desktop:"48%",tablet:"100%",mobile:"100%"},width:{tablet:"100%",mobile:"100%"},children:[(0,t.jsx)(o.A,{padding:[0,0,.17],children:(0,t.jsx)("label",{htmlFor:"channels-name",children:(0,t.jsx)(s.A,{variant:"extra-small",align:"left",children:e("page.channels.form.inputs.name")})})}),(0,t.jsx)(E.A,{id:"channels-name",size:"l",variant:"rounded",type:"text",name:"name",value:b.name,onChange:v,error:!!j.name,required:!0,autoComplete:"name",className:w()(k().input),style:{height:"52px",boxSizing:"border-box"}})]}),(0,t.jsxs)(c.A.Item,{basis:{desktop:"48%",tablet:"100%",mobile:"100%"},width:{tablet:"100%",mobile:"100%"},children:[(0,t.jsx)(o.A,{padding:[0,0,.17],children:(0,t.jsx)("label",{htmlFor:"channels-phone",children:(0,t.jsx)(s.A,{variant:"extra-small",align:"left",children:e("page.channels.form.inputs.phone")})})}),(0,t.jsx)(E.A,{id:"channels-phone",size:"l",variant:"rounded",type:"tel",name:"phone",value:b.phone,onChange:v,error:!!j.phone,required:!0,autoComplete:"tel",className:w()(k().input),style:{height:"52px",boxSizing:"border-box"}})]}),(0,t.jsxs)(c.A.Item,{basis:{desktop:"48%",tablet:"100%",mobile:"100%"},width:{tablet:"100%",mobile:"100%"},children:[(0,t.jsx)(o.A,{padding:[0,0,.17],children:(0,t.jsx)("label",{htmlFor:"channels-email",children:(0,t.jsx)(s.A,{variant:"extra-small",align:"left",children:e("page.channels.form.inputs.email")})})}),(0,t.jsx)(E.A,{id:"channels-email",size:"l",variant:"rounded",type:"email",name:"email",value:b.email,onChange:v,error:!!j.email,required:!0,autoComplete:"email",className:w()(k().input)})]}),(0,t.jsxs)(c.A.Item,{basis:{desktop:"48%",tablet:"100%",mobile:"100%"},alignSelf:"center",className:w()(k().checkbox),children:[(0,t.jsx)(q.A,{isChecked:l,onChange:()=>{_(!l),h&&p("")},text:e("common.vip_request.inputs.eula.label",{link:"/files/personal_data_processing_policy.pdf"})}),h&&(0,t.jsx)(o.A,{padding:[.5,0,0],children:(0,t.jsx)(s.A,{variant:"extra-small",color:"red",children:h})})]})]}),(0,t.jsx)(o.A,{padding:[2,0,0],children:(0,t.jsx)(s.A,{align:"center",children:n?(0,t.jsx)(c.A.Container,{justifyContent:"center",children:(0,t.jsx)(c.A.Item,{width:{desktop:"240px",mobile:"100%",tablet:"100%"},className:w()(k().loader),children:(0,t.jsx)(P.A,{})})}):(0,t.jsx)(m.A,{disabled:n,fullWidth:!0,size:"l",type:"submit",children:e("page.channels.form.button")})})})]})]})})})},B=({onClickLeadmagnetButton:e})=>{let a="mobile"===(0,h.A)();return(0,t.jsx)(o.A,{padding:{desktop:[0,0,1],mobile:[1,0]},children:(0,t.jsx)(c.A.Container,{justifyContent:"center",alignItems:"center",children:(0,t.jsx)(u.A,{native:!0,href:"#",color:"green-2",onClick:a=>{a.preventDefault(),e&&e(a)},children:(0,t.jsx)(C.A,{alt:"Ð ÑководÑÑво: Ðак иÑполÑзоваÑÑ ÑÐ°Ñ Ð½Ð° ÑайÑе ÑÑÑекÑивно\n",src:a?"/images/pages/channels/banner-mobile.webp":"/images/pages/channels/banner.webp",width:a?327:1224,height:a?526:431})})})})};var J=n(46555),K=n(20244),V=n.n(K),$=n(50584),Y=n(66868),Z=n(235);let Q=()=>{let{t:e}=(0,d.A)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(o.A,{padding:[4,0],children:(0,t.jsxs)(c.A.Container,{direction:"column",justifyContent:{desktop:"center",tablet:"center"},alignItems:{desktop:"center",tablet:"center"},children:[(0,t.jsx)(C.A,{alt:"",width:254,height:257,src:"/images/pages/leadmagnet-scenarios/success.webp"}),(0,t.jsx)(s.A,{variant:"h3",align:"center",children:e("page.channels.modal.title")}),(0,t.jsx)(c.A.Item,{width:{desktop:"50%"},children:(0,t.jsx)(s.A,{color:"gray-35",align:"center",children:e("page.channels.modal.text")})}),(0,t.jsx)(o.A,{padding:[1,0,0],children:(0,t.jsx)(s.A,{align:"center",children:(0,t.jsx)("a",{href:"/files/10scripts.pdf",download:"10scripts",children:(0,t.jsx)(m.A,{children:"СкаÑаÑÑ â"})})})})]})})})},W=({onClose:e})=>{let{t:a}=(0,d.A)(),[n,i]=(0,A.useState)(!1),[l,r]=(0,A.useState)(!1),[_,h]=(0,A.useState)({type:null,text:null}),p=(0,A.useRef)(null),x=(0,$.A)(),[u,g]=(0,A.useState)(!1),{formData:b,errorData:j,handleChange:k,isFormValid:v}=(0,F.X)({phone:{value:"",validator:e=>!e||(0,L.FY)(e)?null:"Указан некоÑÑекÑно"}}),y=async e=>{if(e.preventDefault(),v){i(!0);try{let e=await p.current?.executeAsync();(await fetch("/api/send-email/channels/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({params:{...b,yclid:x[Z.k.YANDEX_CLIENT_ID]||"Not available"},captchaToken:e})}
1)).ok?((0,Y.Vp)("reachGoal","send_contact_10_scenarios"),g(!0)):h({type:"error",text:a("common.vip_request.error")})}catch(e){console.log("Error submitting form:",e),h({type:"error",text:a("common.vip_request.error")})}finally{i(!1),p?.current?.reset()}}};return(0,t.jsx)(t.Fragment,{children:u?(0,t.jsx)(Q,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.A.Container,{direction:"column",justifyContent:{desktop:"center",tablet:"center"},alignItems:{desktop:"center",tablet:"center"},children:[(0,t.jsx)(s.A,{variant:"h3",align:"center",children:"Ðдин Ñаг и гайд ваÑ"}),(0,t.jsx)(s.A,{color:"gray-75",children:"ÐолÑÑиÑе беÑплаÑнÑй гайд \xabÐак иÑполÑзоваÑÑ Jivo на 100%\xbb"})]}),(0,t.jsx)(o.A,{padding:[2,0,3],children:(0,t.jsx)(o.A,{padding:{tablet:[1,0],mobile:[1,0]},children:(0,t.jsxs)("form",{onSubmit:y,children:[(0,t.jsx)(H.A,{ref:p,size:"invisible",sitekey:G.ep}),(0,t.jsxs)(c.A.Container,{direction:{tablet:"column",mobile:"column"},alignItems:"center",gap:{desktop:1,tablet:1.2,mobile:1.2},children:[(0,t.jsxs)(c.A.Item,{width:{desktop:"317px",tablet:"100%",mobile:"100%"},children:[(0,t.jsx)(o.A,{padding:[0,0,.2],children:(0,t.jsx)(s.A,{variant:"extra-small",align:"left",children:"ТелеÑон"})}),(0,t.jsx)(E.A,{size:"l",variant:"rounded",type:"tel",name:"phone",value:b.phone,onChange:k,note:j.phone,error:!!j.phone,required:!0,autoComplete:"tel",style:{height:"52px",boxSizing:"border-box"}})]}),(0,t.jsx)(c.A.Item,{width:{desktop:"250px",tablet:"100%",mobile:"100%"},alignSelf:{desktop:"end"},children:n?(0,t.jsx)(c.A.Container,{justifyContent:"center",children:(0,t.jsx)(c.A.Item,{width:{desktop:"240px",mobile:"100%",tablet:"100%"},className:w()(V().loader),children:(0,t.jsx)(P.A,{})})}):(0,t.jsx)(m.A,{disabled:!v||!l,fullWidth:!0,size:"l",className:w()(V().button),children:"ÐолÑÑиÑÑ Ð³Ð°Ð¹Ð´ â"})})]}),(0,t.jsx)(o.A,{padding:[1,0,0],children:(0,t.jsx)(q.A,{isChecked:l,bg:"white",onChange:()=>r(!l),text:a("common.vip_request.inputs.eula.label",{link:"/files/personal_data_processing_policy.pdf"})})}),"error"===_.type&&(0,t.jsxs)(s.A,{color:"red",variant:"small",align:"center",children:[_.text,(0,t.jsx)(o.A,{padding:[1,0,0],children:(0,t.jsx)(m.A,{onClick:()=>{e&&e()},children:"OK"})})]})]})})})]})})};var U=!0;let ee=()=>{let[e,a]=(0,A.useState)(!1);return(0,t.jsxs)(i.A,{id:"channels",children:[(0,t.jsx)(l.A,{children:(0,t.jsx)(p,{})}),(0,t.jsx)(r.A,{variant:"dark",children:(0,t.jsx)(l.A,{children:(0,t.jsx)(S,{})})}),(0,t.jsxs)(l.A,{children:[(0,t.jsx)(T,{}),(0,t.jsx)(D,{}),(0,t.jsx)(z,{}),(0,t.jsx)(X,{}),(0,t.jsx)(B,{onClickLeadmagnetButton:()=>a(!0)}),(0,t.jsx)(J.default,{width:"717px",background:"gray-15",open:e,onClose:()=>a(!1),children:(0,t.jsx)(W,{onClose:()=>a(!1)})})]})]})}},75971:(e,a,n)=>{"use strict";n.d(a,{A:()=>s});var t=n(96677);n(39033);var i=n(27492),l=n.n(i),r=n(27845),o=n.n(r);let s=({size:e="46px",show:a=!0,fill:n="#49da1f",className:i="",...r})=>(0,t.jsx)("div",{className:l()(o().container,{[o().hidden]:!a},i),style:{width:e},...r,children:(0,t.jsx)("svg",{className:l()(o().loader),version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 0 0",xmlSpace:"preserve",children:(0,t.jsx)("path",{fill:n,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50",children:(0,t.jsx)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"0.7s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"})})})})},87610:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',gridGap:"var(--grid-gap)",gridColumnsDefault:"12",channelName:"channels_channelName__AiVTF",input:"channels_input__muNDA",formContainer:"channels_formContainer__kqcOT",checkbox:"channels_checkbox__Ydptk",loader:"channels_loader__tPyxm",channelItem:"channels_channelItem__kTFk0",plateContainer:"channels_plateContainer__UnCk2",content:"channels_content__C1DE2",titleContainer:"channels_titleContainer__SKKR3",textSection:"channels_textSection__1
1Rryo",arrow:"channels_arrow__KsYmy",plateImageContainer:"channels_plateImageContainer__kiMj0",plateImageContainerGrow:"channels_plateImageContainerGrow__PgNvQ",plateImage:"channels_plateImage__p5YW_",badge:"channels_badge__RTVl6",plate:"channels_plate__VzSdk"}},94345:(e,a,n)=>{"use strict";n.d(a,{A:()=>c});var t=n(96677),i=n(27492),l=n.n(i),r=n(27820),o=n(74064),s=n(23841),d=n.n(s);let c=({isChecked:e,onChange:a,name:n="agreement",text:i,textColor:s,bg:c="gray-75",textClassName:_,textVariant:m="small"})=>(0,t.jsx)("label",{children:(0,t.jsxs)(r.A.Container,{gap:.5,alignItems:"center",children:[(0,t.jsx)("input",{type:"checkbox",name:n,checked:e,onChange:a,onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),a())},className:l()(d().checkbox,d().checkbox__native)}),(0,t.jsx)("span",{className:l()(d().checkbox,d().checkbox__custom,{[d()[`checkbox__custom_bg_${c}`]]:null!==c})}),(0,t.jsx)(o.A,{color:s,variant:m,className:_,children:i})]})})}},e=>{e.O(0,[18511,21680,47003,32487,96150,90636,46593,38792],()=>e(e.s=8839)),_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.