1"use strict";(self.webpackChunkcapsulecrm_com=self.webpackChunkcapsulecrm_com||[]).push([[31466],{5333:function(e,t,a){a.d(t,{v:function(){return n}});a(24794);const n=e=>{const t=null==e?void 0:e.hostname;return t&&("localhost"===t||"staging.capsule.run"===t||"draft.capsulecrm.com"===t)?"staging.capsule.run":"capsulecrm.com"}},11468:function(e,t,a){a.d(t,{b:function(){return l}});var n=a(96540);const l=e=>{let{...t}=e;return n.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M18.1215 16L24.061 10.0605C24.332 9.7895 24.5 9.414 24.5 9C24.5 8.1715 23.8285 7.5 23 7.5C22.586 7.5 22.211 7.668 21.9395 7.9395L16 13.8785L10.0605 7.9395C9.789 7.668 9.414 7.5 9 7.5C8.1715 7.5 7.5 8.1715 7.5 9C7.5 9.414 7.668 9.789 7.9395 10.0605L13.8785 16L7.9395 21.9395C7.668 22.211 7.5 22.586 7.5 23C7.5 23.8285 8.1715 24.5 9 24.5C9.414 24.5 9.789 24.332 10.0605 24.0605L16 18.1215L21.9395 24.061C22.211 24.332 22.586 24.5 23 24.5C23.8285 24.5 24.5 23.8285 24.5 23C24.5 22.586 24.332 22.211 24.0605 21.9395L18.1215 16Z",fill:"#111111"}))}},19820:function(e,t,a){a.d(t,{Hw:function(){return u},QW:function(){return o},av:function(){return c},jw:function(){return s},u7:function(){return i}});var n=a(18987),l=a(5333);const r=(e,t)=>"es"===e?"es_ES":"fr"===e?"fr_FR":"pt"===e?"pt_BR":"en"===e&&"GB"!==t&&"US"!==t?"en_US":`${e}_${t}`,i=e=>new URLSearchParams(e.search),s=(e,t)=>fetch(`https://api.${(0,l.v)(e)}/api/v2/signups`,{method:"POST",body:JSON.stringify(t),headers:{"Content-type":"application/json; charset=utf-8"}}).then(e=>e.json()),o=(e,t,a,l,i)=>{i&&"free"!==t||(i="MONTHLY");const s=r(l,n.A.get("exp_region"));return{signup:{emailAddress:e,plan:t,locale:s,planFrequency:i,attribution:m(a,s)}}},c=(e,t,a,l,i)=>{i&&"free"!==t||(i="MONTHLY");const s=r(l,n.A.get("exp_region"));return{signup:{oauthType:e,plan:t,locale:s,planFrequency:i,attribution:m(a,s)}}},m=function(e,t,a){var l;return void 0===a&&(a=null),{variation:e,region:null!==(l=a)&&void 0!==l?l:n.A.get("exp_region"),source:n.A.get("exp_source"),referrer:n.A.get("exp_referrer"),friend:n.A.get("exp_friend"),offer:n.A.get("exp_offer"),gclid:n.A.get("exp_gclid"),msclkid:n.A.get("exp_msclkid"),transpond:n.A.get("mpz"),siteLocale:t}},u=(e,t)=>{const a=n.A.get("exp_region"),l=r(t,a),i={locale:l,...m(e,l,a)},s=Object.fromEntries(Object.entries(i).filter(e=>
1{let[t,a]=e;return null!=a&&""!==a}));return new URLSearchParams(s).toString()}},23805:function(e,t,a){a.d(t,{A:function(){return b}});var n=a(96540),l=a(11468),r=a(49785);const i=e=>{let{...t}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"120",height:"30",viewBox:"0 0 120 30"},t),n.createElement("circle",{cx:"15",cy:"15",r:"15"},n.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},n.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("circle",{cx:"105",cy:"15",r:"15"},n.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))};var s=a(76404),o=a(31936);var c=e=>{let{isLoading:t,disabled:a,onSubmit:l,planName:c}=e;const{t:m}=(0,o.useTranslation)(),{register:u,handleSubmit:d,formState:{errors:p}}=(0,r.mN)();return n.createElement("form",{id:"signup-form",onSubmit:d(e=>{(0,s.gtmSignupStart)(c||"","Continue","Get started")(),l(e)})},n.createElement("div",{className:"form__field pb-4"},n.createElement("div",{className:`text-input ${p.emailAddress&&"text-input--error"}`},n.createElement("input",Object.assign({id:"emailAddress",className:"text-input__input",placeholder:m("signup.email-address-placeholder"),"aria-invalid":p.emailAddress?"true":"false",disabled:a},u("emailAddress",{required:m("signup.email-address-error"),pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:m("signup.email-address-error")}}),{autoFocus:!0})),p.emailAddress&&n.createElement("span",{role:"alert"},p.emailAddress.message))),n.createElement("button",{className:"btn btn--lg btn--full-width signup-modal__button",disabled:a,"aria-disabled":a,type:"submit"},t?n.createElement(i,{className:"signup-modal__button-loader"}):m("common.get-started")))},m=a(19820),u=a(5333);var d=e=>{let{children:t,onClick:a,disabled:l,className:r,planName:i,gtm:o}=e;return n.createElement("button",{className:"btn btn--tertiary btn--full-width external-signup__button"+(r?` ${r}`:""),disabled:l,onClick:()=>{(0,s.gtmSignupStart)(i,"Continue",(null==o?void 0:o.label)||"")(),a()}},n.createElement("span",{className:"external-signup__button-content"},t))};const p=e=>{let{...t}=e;return n.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M0 0H11.4047V11.4047H0V0Z",fill:"#F25022"}),n.createElement("path",{d:"M12.5953 0H24V11.4047H12.5953V0Z",fill:"#7FBA00"}),n.createElement("path",{d:"M0 12.5955H11.4046V24.0001H0V12.5955Z",fill:"#00A4EF"}),n.createElement("path",{d:"M12.5953 12.5955H24V24.0001H12.5953V12.5955Z",fill:"#FFB900"}))},C=e=>{let{...t}=e;return n.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("g",{clipPath:"url(#clip0_3307_664)"},n.createElement("path",{d:"M23.0912 9.91355L13.3018 9.91309C12.8696 9.91309 12.5192 10.2634 12.5192 10.6957V13.823C12.5192 14.2552 12.8696 14.6056 13.3018 14.6056H18.8146C18.2109 16.1722 17.0842 17.4842 15.6468 18.3178L17.9974 22.387C21.7681 20.2062 23.9974 16.3799 23.9974 12.0965C23.9974 11.4866 23.9524 11.0506 23.8625 10.5597C23.7942 10.1867 23.4704 9.91355 23.0912 9.91355Z",fill:"#167EE6"}),n.createElement("path",{d:"M11.9989 19.3043C9.30108 19.3043 6.94589 17.8303 5.68097 15.649L1.61194 17.9944C3.68264 21.5832 7.56174 24 11.9989 24C14.1757 24 16.2296 23.4139 17.9989 22.3925V22.387L15.6483 18.3177C14.5731 18.9414 13.3288 19.3043 11.9989 19.3043Z",fill:"#12B347"}),n.createElement("path",{d:"M17.9987 22.3925V22.387L15.648 18.3177C14.5728 18.9413 13.3286 19.3043 11.9987 19.3043V24C14.1754 24 16.2294 23.4139 17.9987 22.3925Z",fill:"#0F993E"}),n.createElement("path",{d:"M4.69505 11.9999C4.69505 10.6701 5.05795 9.42601 5.68144 8.35084L1.6124 6.00549C0.585421 7.76926 -0.000610352 9.8176 -0.000610352 11.9999C-0.000610352 14.1822 0.585421 16.23
106 1.6124 17.9943L5.68144 15.649C5.05795 14.5738 4.69505 13.3297 4.69505 11.9999Z",fill:"#FFD500"}),n.createElement("path",{d:"M11.9989 4.69566C13.7582 4.69566 15.3742 5.32078 16.6364 6.36061C16.9477 6.61711 17.4003 6.5986 17.6856 6.31336L19.9013 4.09758C20.225 3.77395 20.2019 3.24422 19.8562 2.94431C17.7414 1.10967 14.9899 0 11.9989 0C7.56173 0 3.68264 2.41674 1.61194 6.00558L5.68097 8.35092C6.94589 6.16969 9.30108 4.69566 11.9989 4.69566Z",fill:"#FF4B26"}),n.createElement("path",{d:"M16.6361 6.36061C16.9475 6.61711 17.4001 6.59859 17.6853 6.31336L19.9011 4.09758C20.2247 3.77395 20.2016 3.24422 19.8559 2.94431C17.7412 1.10963 14.9896 0 11.9987 0V4.69566C13.7579 4.69566 15.3739 5.32078 16.6361 6.36061Z",fill:"#D93F21"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_3307_664"},n.createElement("rect",{width:"24",height:"24",fill:"white"}))))};var g=a(67270),f=a(24794),h=a(85028),L=a(5588),E=a(86455);var b=e=>{let{location:t,tier:a,variation:r,title:s,closeModal:b,frequency:w}=e;(0,g.H)();const{language:v}=(0,n.useContext)(o.I18nextContext),{t:_}=(0,o.useTranslation)(),N=t||("undefined"!=typeof window?window.location:void 0),{0:x,1:F}=(0,n.useState)(!1),{0:M,1:y}=(0,n.useState)(!1),{0:A,1:S}=(0,n.useState)(!1),{0:Z,1:H}=(0,n.useState)(!1),{0:V,1:k}=(0,n.useState)(null);(0,n.useEffect)(()=>{H(A||x||M)},[A,x,M]),(0,n.useEffect)(()=>{!r&&N&&(r=(0,m.u7)(N).get("variation"))},[N]),(0,n.useLayoutEffect)(()=>{if(a&&window.location.hash){const e=window.scrollY||window.pageYOffset;window.history.replaceState(null,"",window.location.pathname),window.scrollTo(0,e)}},[a]);const O=(0,f.useStaticQuery)("2471518155");return n.createElement("div",{className:"signup-modal"},n.createElement("button",{className:"signup-modal__backdrop",onClick:()=>b(),"aria-label":_("signup.close-signup-modal")}),n.createElement("div",{className:"container-fluid"},n.createElement("div",{className:"signup-modal__box"},n.createElement("button",{type:"button",className:"signup-modal__close js-modal__close","aria-label":_("signup.close-signup-modal"),onClick:()=>b()},n.createElement(l.b,null)),n.createElement("div",{className:"signup-modal__social-proof center-xs"},n.createElement("p",{className:"mb-0 p--sm"},_("sales-resources.reviews.one")),n.createElement(h.A,null),n.createElement(L.G,{image:(0,L.c)((0,E.A)(O.allFile,"g2-three-badges")),alt:"",className:"mt-10"}),n.createElement("hr",{className:"mt-10"}),n.createElement("p",{className:"mb-0 mt-10 signup-modal__quote"},'"',_("signup.modal-quote"),'"')),n.createElement("div",{className:"signup-modal__content"},n.createElement("p",{className:"text-bold tag tag--filled p--xs center-xs mb-2"},_("common.no-card-required")),n.createElement("h2",{className:"mb-0 text-centered signup-modal__title h4"},_("free"===a?"signup.modal-title.free":"signup.modal-title.14-day")),n.createElement("p",{className:"mb-8 text-centered signup-modal__subtitle"},"free"!==a&&s),V&&n.createElement("div",{className:"signup-modal__error-message"},n.createElement("p",{className:"p--md"},V)),n.createElement(c,{isLoading:A,disabled:Z,onSubmit:e=>{k(null),a?Z||(S(!0),(0,m.jw)(N,(0,m.QW)(e.emailAddress,a,r,v,w)).then(e=>{let t=e.signup,a=t?t.id:null;if(!a)throw new Error("Unable to process your request");window.location="https://auth."+(0,u.v)(N)+"/register/"+a}).catch(e=>{k(e.message),S(!1)})):k("Plan is required")},planName:_(`plans.name.${a}`)}),n.createElement("div",{className:"signup-modal__divider mt-4 mb-4"},n.createElement("span",{className:"signup-modal__divider-text"},_("signup.signup-options-divider"))),n.createElement(d,{gtm:{label:"Continue with Microsoft",category:"Signup Button"},disabled:Z,onClick:()=>(k(null),F(!0),void(0,m.jw)(N,(0,m.av)("Outlook",a,r,v,w)).then(e=>{let t=e.signup,a=t?t.id:null;if(!a)throw new Error("Unable to process your request");window.location="https://app."+(0,u.v)(N)+"/oauth2/signup/microsoft?session_id="+a}).catch(e=>{k(e.message),F(!1)})),planName:_(`plans.name.${a}`)},x?n.createElement(i,null):n.createElement(n.Fragment,null,n.createElement(p,null),_("signup.modal-signup-buttons.microsoft"))),n.createElement(d,{gtm:{label:"Continue with Google Worksp
1ace",category:"Signup Button"},disabled:Z,onClick:()=>(k(null),y(!0),void(0,m.jw)(N,(0,m.av)("Google",a,r,v,w)).then(e=>{let t=e.signup,a=t?t.id:null;if(!a)throw new Error("Unable to process your request");window.location="https://app."+(0,u.v)(N)+"/oauth2/signup/google?session_id="+a}).catch(e=>{k(e.message),y(!1)})),className:"mt-4",planName:_(`plans.name.${a}`)},M?n.createElement(i,null):n.createElement(n.Fragment,null,n.createElement(C,null),_("signup.modal-signup-buttons.google")))))))}},85028:function(e,t,a){var n=a(96540);t.A=e=>{let{label:t}=e;return n.createElement("svg",{width:"120",height:"16",viewBox:"0 0 120 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":t},n.createElement("path",{d:"M14.2929 4.72403H11.837C11.9032 4.34881 12.1419 4.1388 12.625 3.90079L13.0765 3.67678C13.8846 3.27356 14.3159 2.81714 14.3159 2.0723C14.3159 1.60468 14.129 1.23506 13.758 0.969046C13.3871 0.703033 12.95 0.571426 12.4381 0.571426C12.0421 0.566892 11.6533 0.674907 11.3194 0.882242C10.9829 1.08385 10.7327 1.34426 10.5775 1.66908L11.2878 2.36351C11.5638 1.82029 11.9636 1.55427 12.4898 1.55427C12.9356 1.55427 13.2088 1.77829 13.2088 2.0891C13.2088 2.34951 13.0765 2.56512 12.5646 2.81714L12.2742 2.95434C11.6444 3.26516 11.2072 3.62078 10.9542 4.024C10.7011 4.42722 10.5775 4.93404 10.5775 5.54727V5.71528H14.2929V4.72403Z",fill:"#FF492C"}),n.createElement("path",{d:"M13.9669 6.85742H9.90056L7.8674 10.2848H11.9337L13.9669 13.715L16 10.2848L13.9669 6.85742Z",fill:"#FF492C"}),n.createElement("path",{d:"M8.21604 12.5726C5.62786 12.5726 3.51993 10.5201 3.51993 7.99999C3.51993 5.47987 5.62786 3.42737 8.21604 3.42737L9.82359 0.154008C9.29422 0.0515075 8.75578 -7.64014e-05 8.21604 8.49324e-08C3.6781 8.49324e-08 0 3.58138 0 7.99999C0 12.4186 3.6781 16 8.21604 16C9.95507 16.0032 11.6497 15.4656 13.0531 14.4655L11.2758 11.4638C10.4256 12.1789 9.33958 12.5725 8.21604 12.5726Z",fill:"#FF492C"}),n.createElement("path",{d:"M31.5277 1.35878C31.6834 0.911005 32.3166 0.911006 32.4723 1.35878L33.7667 5.08259C33.8353 5.28013 34.0197 5.41406 34.2288 5.41832L38.1703 5.49865C38.6443 5.50831 38.84 6.11058 38.4622 6.39698L35.3206 8.77874C35.154 8.90509 35.0836 9.1218 35.1441 9.32197L36.2857 13.0954C36.423 13.5492 35.9107 13.9214 35.5216 13.6506L32.2856 11.3988C32.1139 11.2794 31.8861 11.2794 31.7144 11.3988L28.4784 13.6506C28.0893 13.9214 27.577 13.5492 27.7143 13.0954L28.8559 9.32197C28.9164 9.1218 28.846 8.90509 28.6794 8.77874L25.5378 6.39698C25.16 6.11058 25.3557 5.50831 25.8297 5.49865L29.7712 5.41832C29.9803 5.41406 30.1647 5.28013 30.2333 5.08259L31.5277 1.35878Z",fill:"#FF492C"}),n.createElement("path",{d:"M51.5277 1.35878C51.6834 0.911005 52.3166 0.911006 52.4723 1.35878L53.7667 5.08259C53.8353 5.28013 54.0197 5.41406 54.2288 5.41832L58.1703 5.49865C58.6443 5.50831 58.84 6.11058 58.4622 6.39698L55.3206 8.77874C55.154 8.90509 55.0836 9.1218 55.1441 9.32197L56.2857 13.0954C56.423 13.5492 55.9107 13.9214 55.5216 13.6506L52.2856 11.3988C52.1139 11.2794 51.8861 11.2794 51.7144 11.3988L48.4784 13.6506C48.0893 13.9214 47.577 13.5492 47.7143 13.0954L48.8559 9.32197C48.9164 9.1218 48.846 8.90509 48.6794 8.77874L45.5378 6.39698C45.16 6.11058 45.3557 5.50831 45.8297 5.49865L49.7712 5.41832C49.9803 5.41406 50.1647 5.28013 50.2333 5.08259L51.5277 1.35878Z",fill:"#FF492C"}),n.createElement("path",{d:"M71.5277 1.35878C71.6834 0.911005 72.3166 0.911006 72.4723 1.35878L73.7667 5.08259C73.8353 5.28013 74.0197 5.41406 74.2288 5.41832L78.1703 5.49865C78.6443 5.50831 78.84 6.11058 78.4622 6.39698L75.3206 8.77874C75.154 8.90509 75.0836 9.1218 75.1441 9.32197L76.2857 13.0954C76.423 13.5492 75.9107 13.9214 75.5216 13.6506L72.2856 11.3988C72.1139 11.2794 71.8861 11.2794 71.7144 11.3988L68.4784 13.6506C68.0893 13.9214 67.577 13.5492 67.7143 13.0954L68.8559 9.32197C68.9164 9.1218 68.846 8.90509 68.6794 8.77874L65.5378 6.39698C65.16 6.11058 65.3557 5.50831 65.8297 5.49865L69.7712 5.41832C69.9803 5.41406 70.1647 5.28013 70.2333 5.08259L71.5277 1.35878Z",fill:"#FF492C"}),n.createElement("path",{d:"M91.5277 1.35878C91.6834 0.911005 92.3166 0.911006 92.4723 1.35878L93.7667 5.08259C93.8353 5.28013 94.0197 5.41406 94.2288 5.41832L98.1703 5.49865C98.6443 5.50831 98.84 6.11058 98.4622 6.39698L95.3206 8.77874C95.154 8.90509 95.0836 9.1218 95.1441 9.32197L96.2857 13.0954C96.423 13.5492 95.9107 13.9214 95.5216 13.6506L92.2856 11.3988C92.1139 11.2794 91.8861 11.2794 91.7144 11.3988L88.4784 13.6506C88.0893 13.9214 87.577 13.5492 87.7143 13.0954L88.8559 9.32197C88.9164 9.1218 88.846 8.90509 88.6794 8.77874L85.5378 6.39698C85.16 6.11058 85.3557 5.50831 85.8297 5.49865L89.7712 5.41832C89.9803 5.41406 90.1647 5.28013 90.2333 5.08259L91.5277 1.35878Z",fill:"#FF492C"}),n.createElement("path",{d:"M111.528 1.35878C111.683 0.911005 112.317 0.911006 112.472 1.35878L113.767 5.08259C113.835 5.28013 114.02 5.41406 114.229 5.41832L118.17 5.49865C118.644 5.50831 118.84 6.11058 118.462 6.39698L115.321 8.77874C115.154 8.90509 115.084 9.1218 115.144 9.32197L116.286 13.0954C116.423 13.5492 115.911 13.9214 115.522 13.6506L112.286 11.3988C112.114 11.2794 111.886 11.2794 111.714 11.3988L108.478 13.6506C108.089 13.9214 107.577 13.5492 107.714 13.0954L108.856 9.32197C108.916 9.1218 108.846 8.90509 108.679 8.77874L105.538 6.39698C105.16 6.11058 105.356 5.50831 105.83 5.49865L109.771 5.41832C109.98 5.41406 110.165 5.28013 110.233 5.08259L111.528 1.35878Z",fill:"#FF492C",fillOpacity:"0.2"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M112 1.02295C111.803 1.02295 111.605 1.13489 111.528 1.35878L110.233 5.08259C110.165 5.28013 109.98 5.41406 109.771 5.41832L105.83 5.49865C105.356 5.5083 105.16 6.11058 105.538 6.39698L108.679 8.77874C108.846 8.90509 108.916 9.1218 108.856 9.32197L107.714 13.0954C107.577 13.5492 108.089 13.9214 108.478 13.6506L111.714 11.3988C111.8 11.3391 111.9 11.3092 112 11.3092V1.02295Z",fill:"#FF492C"}))}}}]); 2//# sourceMappingURL=bd4d9c3152ec86b27ea24dd202949c32593fd8ff-aa865ba33b3f076f9c05.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.