1"use strict";(self.webpackChunkkeeperweb=self.webpackChunkkeeperweb||[]).push([[27499],{95146:function(e,t,n){n.d(t,{E:function(){return m}});var s=n(96540),i=n(45543),a=n(79313),o=n(95908),r=n(11991),c=n(27162),l=n(81687),d=n(10844);class m extends d.I{constructor(){super(...arguments),this.prependLeadLabel="(Demo Request Form)",this.useAffiliateTracking=!1,this.formId="requestDemoForm",this.formRef=s.createRef(),this.onSubmit=e=>{e&&e.preventDefault(),this.form.isValid()&&this.prependPageLead(this.prependLeadLabel);const t=this.buildRequest();this.sanitizeEmployeeCount(t),this.dispatchSubmitEvent(),this.form.submit(t)},this.onSuccess=e=>{this.sendAnalytics();const t=this.props.redirect&&(0,r.yB)(this.props.redirect)?this.props.redirect:this.defaultRedirectPath;if(this.useAffiliateTracking)return void this.handleSuccessWithAffiliate(e,t);e.hashedEmail&&o.F.getInstance().b2bLeadConversionEvent(this.name,e.hashedEmail);const n=this.googleAdsEvents(),s=()=>{e.hashedEmail?setTimeout(()=>(0,r.Y1)(t),1e3):(0,r.Y1)(t)};n.length>0?(0,l.D)(n,s):s()},this.onValidate=()=>!0}get defaultEndpoint(){return"/bi_api/v1/forms/white_paper"}googleAdsEvents(){return[]}componentDidMount(){i.W.setup(this,!0),$(document).on(`hubspot_autofill_complete.${this.name}`,()=>{(0,c.B)(this.name,"hubspot_autofilled")})}componentWillUnmount(){this.ComponentWillUnmountActions&&this.ComponentWillUnmountActions(),i.W.teardown(this),$(document).off(`hubspot_autofill_complete.${this.name}`)}handleSuccessWithAffiliate(e,t){e.hashedEmail&&o.F.getInstance().b2bLeadConversionEvent(this.name,e.hashedEmail),e.encrypted_rakuten_email&&!a.a.getInstance().hasAlreadyTriggeredPixel()?a.a.getInstance().getAffiliateEncryptedToken(e.encrypted_rakuten_email,this.state.email,e=>{a.a.getInstance().affiliateConversion(e.affiliate_quote_id,e.affiliate_email,"B2B"),setTimeout(()=>(0,r.Y1)(t),1e3)}):e.hashedEmail?setTimeout(()=>(0,r.Y1)(t),1e3):(0,r.Y1)(t)}}},10844:function(e,t,n){n.d(t,{I:function(){return m}});var s=n(96540),i=n(80278),a=n(50887),o=n(24631),r=n(33265),c=n(95908),l=n(82818),d=n(6930);class m extends s.Component{get forceUS(){return!0}get useRecaptcha(){return!0}get defaultEndpoint(){return""}initialState(){return{}}constructor(e){super(e),this.locale=window.localStorage.getItem("keeper_locale")||"en_US",this.hubspotFormID="",this.onError=e=>{this.form.error=""!==e?e:i.Ay.t("unexpected_error"),this.forceUpdate()},this.form=new a.l(this,this.forceUS),this.useRecaptcha&&(this.recaptcha=new o.a(this)),this.state=Object.assign({endpoint:window.keeperPreload.apiEndpoint+this.defaultEndpoint},this.initialState())}componentDidUpdate(e,t){r.UI.getInstance().refreshMaterialDesign()}prependPageLead(e){c.F.getInstance().prependLead("pageKey",l.P.getInstance().getPageKey()+" | "+e)}dispatchSubmitEvent(){var e;(null===(e=this.formRef)||void 0===e?void 0:e.current)&&this.formRef.current.dispatchEvent(new Event("submit",{cancelable:!0}))}sanitizeEmployeeCount(e){e.companyNumEmployees||(e.companyNumEmployees="5")}buildRequest(){return Object.assign(Object.assign(Object.assign({},this.hubspotFormID?c.F.getInstance().getHubspotParams(d.r,this.hubspotFormID):{}),l.P.getInstance().getDefaultParams()),this.state)}}},27499:function(e,t,n){n.r(t),n.d(t,{MSPDemoRequestForm:function(){return u}});var s=n(96540),i=n(80278),a=n(49092),o=n(79313),r=n(4976),c=n(27162),l=n(33613),d=n(95908),m=n(11991),h=n(95146);class u extends h.E{constructor(){super(...arguments),this.name="MspDemoRequestForm",this.formId="mspDemoRequestForm",this.hubspotFormID="5e54e03e-16ee-484d-b400-266763555f4b",this.defaultRedirectPath="demo/keeper-msp-demo-request/thank-you.html",this.prependLeadLabel="(Free Trial Popup)",this.onSubmit=e=>{e&&e.preventDefault(),this.form.isValid()&&this.prependPageLead(this.prependLeadLabel);const t=Object.assign(Object.assign({},this.buildRequest()),{rakuten:!!o.a.getInstance().hasTrialOrderID()});this.sanitizeEmployeeCount(t),this.form.submit(t)},this.onSuccess=e=>{this.forceUpdate(),this.sendAnalytics(),a._.getInstance().setSession("keeper_trial_email",(this.state.email||"").toLowerCase());const t=this.props.redirect&&(0,m.yB)(this.props.redirect)?this.props.redirect:this.defaultRedirectPath;e.hashedEmail?(d.F.getInstance().b2bLeadConversionEvent(this.name,e.hashedEmail),setTimeout(()=>(0,m.Y1)(t),1e3)):(0,m.Y1)(t)},this.render=()=>s.createElement("form",{noValidate:!0,className:"materialDesign",name:this.name,id:this.formId,"data-testid":"msp-demo-form"},s.createElement("div",{className:"gridRow"},s.createElement("div",{className:"colFull"},s.createElement(r.pc,{component:this})),s.createElement("div",{className:"colFull"},s.createElement(r.tB,{component:this}))),s.createElement("div",{className:"gridRow terms"},s.createElement("div",{className:"colFull"},s.createElement(r.ML,{component:this,is_field_required:!0}))),s.createElement("div",{className:"gridRow"},s.createElement("div",{className:"colFull"},s.createElement(r.PT,{component:this}))),s.createElement("div",{className:"gridRow submitButton"},s.createElement("div",{className:"colFull"},s.createElement(r.q2,{component:this}),s.createElement(r.wX,{component:this}),s.createElement(r.SO,{component:this}),s.createElement(r.XT,{component:this,label:this.props.customSubmitLabel||i.Ay.t("website_request_a_demo"),disabled:!this.form.isFilled()}))),s.createElement("div",{className:"gridRow"},s.createElement("div",{className:"colFull"},s.createElement(r.bx,{component:this}))))}get defaultEndpoint(){return"/bi_api/v1/forms/partner_msp"}get forceUS(){return!1}initialState(){return{action:"freeTrial",enterpriseTier:!0,freeTrial:!0}}componentDidMount(){}sendAnalytics(){(0,l.R)({event:"mql-button-clicked",email:this.state.email}),(0,c.B)(this.name,"msp demo request")}}t.default=u},81687:function(e,t,n){n.d(t,{I:function(){return a},D:function(){return o}});class s{constructor(e,t,n,s){this.hitType="event",this.event={send_to:e,value:t,currency:n,transaction_id:s}}}const i=(e,t,n)=>{"undefined"!=typeof gtag?n?gtag("event","conversion",Object.assign(Object.assign({},e.event),{event_callback:n})):gtag("event","conversion",e.event):t>0?setTimeout(()=>i(e,t-1,n),200):n&&n()},a=(e,t,n,a,o)=>{const r=new s(`${e||"AW-000000000"}/${t}`,n,a,o);i(r,10)},o=(e,t)=>{if(0===e.length)return void t();
1e.slice(0,-1).forEach(({tag:e,label:t,value:n,currency:s,transactionId:i})=>{a(e,t,n,s,i)});const n=e[e.length-1],o=`${n.tag||"AW-000000000"}/${n.label}`,r=new s(o,n.value,n.currency,n.transactionId);i(r,10,t)}},27162:function(e,t,n){n.d(t,{B:function(){return i}});class s{constructor(e,t,n){this.hitType="event",this.eventCategory=e,this.eventAction=t,this.eventLabel=n}}const i=(e,t,n)=>{const i=new s(e,t,n),a=()=>{"undefined"!=typeof gtag&>ag("event",i.eventAction,{event_category:i.eventCategory,event_label:i.eventLabel})};"undefined"==typeof gtag?"complete"===document.readyState?setTimeout(a,1e3):window.addEventListener("load",a,{once:!0}):a()}},33613:function(e,t,n){n.d(t,{R:function(){return s}});const s=e=>{!0===window.hasGTMLoaded&&window.dataLayer.push(e)}}}]);
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.