1"use strict";(self.webpackChunkmarketing_site=self.webpackChunkmarketing_site||[]).push([[4425],{20121:function(e,t,n){n.d(t,{A:function(){return r}});var i=n(91169),s=n(35066),a=n(93816);function r(e,t){(0,a.A)(2,arguments);var n=(0,s.A)(e),r=(0,i.A)(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}},68133:function(e,t,n){n.d(t,{A:function(){return r}});var i=n(91169),s=n(35066),a=n(93816);function r(e,t){(0,a.A)(2,arguments);var n=(0,s.A)(e),r=(0,i.A)(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+r+1,0),o>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),o),n)}},32680:function(e,t,n){n.d(t,{A:function(){return d}});var i=n(96540),s=n(34829),a=n(31926),r=n(22960),o=n(74848);var l=e=>{let{review:t}=e;return(0,o.jsxs)("div",{className:"reviews-card",children:[(0,o.jsxs)("header",{className:"review-header",children:[(0,o.jsx)("strong",{className:"review-name",children:t.name}),(0,o.jsx)("img",{className:"review-stars",src:"https://marketing-assets.wheniwork-production.com/2019/12/30195533/messaging-5-stars.svg",loading:"lazy",role:"presentation"})]}),(0,o.jsx)("p",{className:"review-title",children:t.title}),(0,o.jsx)("blockquote",{className:"quote",children:t.quote}),(0,o.jsx)("p",{className:"review",children:t.review}),(0,o.jsx)("img",{className:"capterra-logo",src:t.capterra_logo.source_url,loading:"lazy",role:"presentation"})]})};var c=(e,t)=>(0,o.jsxs)("div",{className:"reviews-card",children:[t&&!e.image.source_url.includes("NO_IMAGE")&&(0,o.jsx)("div",{className:"reviews-card-image",children:(0,o.jsx)("img",{loading:"lazy",src:e.image.source_url,alt:"customer headshot"})}),(0,o.jsxs)("div",{className:"reviews-card-content",children:[(0,o.jsx)("p",{className:"reviews-card-text",children:e.quote}),(0,o.jsx)("p",{className:"reviews-card-author",children:e.name}),(0,o.jsx)("p",{className:"reviews-card-company",children:e.company})]})]});var d=e=>{let{awardCategory:t,title:n,sub_title:d,customer:u,reviews:m,hasImage:h,hasAwards:g,wysiwyg:p,branding:v="wiw"}=e;const{0:x,1:f}=(0,i.useState)(0);return(0,o.jsx)("section",{className:`customer-reviews-section ${m?"capterra-reviews-section":""} ${"rippling"===v?"customer-reviews-section--rippling":""}`,"data-section":"reviews-section",children:(0,o.jsx)("div",{className:"container container-xlarge",children:(0,o.jsxs)("div",{className:"reviews",children:[(0,o.jsxs)("header",{children:[(0,o.jsx)("h2",{className:"title",children:n}),m&&(0,o.jsx)("img",{src:"https://marketing-assets.wheniwork-production.com/2022/10/11120130/stars.svg",loading:"lazy",role:"presentation"}),(0,o.jsx)("h3",{className:"subtitle",children:d}),p&&(0,o.jsx)(r.A,{content:p,wysiwygClasses:"wysiwyg-content"})]}),(0,o.jsxs)("div",{className:"reviews-wrapper "+(m?"capterra-reviews-wrapper":""),children:[void 0!==u&&(null==u?void 0:u.map(((e,t)=>(0,o.jsx)(c,{...e,hasImage:h},t)))),void 0!==m&&(null==m?void 0:m.map(((e,t)=>(0,o.jsx)(l,{...e},t))))]}),(0,o.jsxs)("div",{className:"reviews-wrapper is-swipeable",children:[(0,o.jsxs)("div",{className:"reviews-swipeable-wrapper",children:[void 0!==u&&(0,o.jsx)(s.Ay,{className:"reviews-swipeable-root",onChangeIndex:e=>f(e),slideClassName:"reviews-card-slide card-slide",springConfig:{easeFunction:"cubic-bezier(0, 0, 0.24, 0.96)",duration:".6s",delay:"0s"},enableMouseEvents:!0,children:null==u?void 0:u.map(((e,t)=>(0,o.jsx)(c,{...e,hasImage:h},t)))}),void 0!==m&&(0,o.jsx)(s.Ay,{className:"reviews-swipeable-root",onChangeIndex:e=>f(e),slideClassName:"reviews-card-slide card-slide",springConfig:{easeFunction:"cubic-bezier(0, 0, 0.24, 0.96)",duration:".6s",delay:"0s"},enableMouseEvents:!0,children:null==m?void 0:m.map(((e,t)=>(0,o.jsx)(l,{...e},t)))})]}),(0,o.jsxs)("div",{className:"slider-dots",children:[u&&(null==u?void 0:u.map(((e,t)=>(0,o.jsx)("div",{className:`slider-dot ${t===x&&"filled"} secondary`},t)))),m&&(null==m?void 0:m.map(((e,t)=>(0,o.jsx)("div",{className:`slider-dot ${t===x&&"filled"} secondary`},t))))]})]}),g&&(0,o.jsx)(a.A,{filterCategory:t})]})})})}},98804:function(e,t,n){var i=n(96540),s=n(90048),a=n(67302),r=n(83275),o=n(58761),l=n(43696),c=n(22960),d=n(74848);t.A=e=>{let{sub_title:t,title:n,body:u,desktop_image:m,mobile_image:h,button_url:g,button_text:p,schedule_demo:v,schedule_demo_text:x,signup_button_text:f,custom_schedule_demo_url:b,is_schedule_button_primary:j,className:T,offset:y,wysiwyg:_,custom_calendar_button:w}=e;const[N,C]=(0,s.hS)((()=>(0,d.jsx)(o.A,{isOpen:!0,onHide:C,customHubspotMeetingUrl:b})));return(0,d.jsx)("section",{className:`media-object-section section ${T||""}${y?"offset":""}`,"data-section":"mediaObject",children:(0,d.jsx)("div",{className:"container",children:y?(0,d.jsxs)("div",{className:"columns",children:[(0,d.jsxs)("div",{className:"column is-full-mobile is-half-tablet text",children:[t&&(0,d.jsx)("h2",{className:"subheadline",children:t}),n&&!t&&(0,d.jsx)("h2",{className:"headline",children:n}),n&&t&&(0,d.jsx)("h3",{className:"headline",children:n}),u&&(0,d.jsx)("p",{className:"body "+(g?"has-button":""),children:u}),_&&(0,d.jsx)(c.A,{content:_,wysiwygClasses:"wysiwyg-content"}),g&&""!==g&&(0,d.jsx)(a.A,{className:"button is-rounded",to:g,children:p})]}),(0,d.jsx)("div",{className:"column is-full-mobile is-half-tablet is-offset-1-desktop image",children:(0,d.jsxs)("picture",{className:"image-container",children:[(0,d.jsx)("source",{srcSet:m.source_url,media:"(min-width: 992px)"}),(0,d.jsx)("img",{src:h.source_url,alt:"fill me out"})]})})]}):(0,d.jsxs)(i.Fragment,{children:[(0,d.jsxs)("div",{className:"media-object-text",children:[t&&(0,d.jsx)("h2",{className:"subheadline",children:t}),n&&!t&&(0,d.jsx)("h2",{className:"headline",children:n}),n&&t&&(0,d.jsx)("h3",{className:"headline",children:n}),u&&(0,d.jsx)("p",{className:"body "+(g||v||f?"has-button":""),children:u}),_&&(0,d.jsx)(c.A,{content:_,wysiwygClasses:"wysiwyg-content"}),(0,d.jsxs)("div",{children:[f&&(0,d.jsx)(l.A,{longPlaceholder:!0,showInitFields:!1,buttonClasse
1s:"button is-signup-button is-rounded",showModalButton:!0,ctaVariation:"modal",signupModalLaunch:f}),v&&(0,d.jsx)("button",{type:"button",className:`button ${j?"is-primary":""} is-rounded`,onClick:N,children:x}),g&&""!==g&&(0,d.jsx)(a.A,{className:"button is-rounded",to:g,children:p})]}),w&&(0,d.jsx)(r.A,{buttonModalLaunchText:w.button_text,customCalendarUrl:w.button_url})]}),(0,d.jsxs)("picture",{className:"image-container",children:[(0,d.jsx)("source",{srcSet:m.source_url,media:"(min-width: 992px)"}),(0,d.jsx)("img",{src:h.source_url,role:"presentation"})]})]})})})}},55942:function(e,t,n){var i=n(19618),s=n(74848);t.A=e=>{let{copy:t,image_desktop:n,launch_video_text:a,sub_title:r,title:o,video_id:l}=e;return(0,s.jsx)("section",{className:"video-media-object-section section",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"columns",children:[(0,s.jsxs)("div",{className:"column video-text",children:[(0,s.jsx)("h2",{className:"subheadline",children:r}),(0,s.jsx)("h3",{className:"headline",children:o}),(0,s.jsx)("p",{children:t}),(0,s.jsx)(i.A,{hashedId:l,text:a,title:a,className:"link",autoPlay:!0})]}),(0,s.jsx)("div",{className:"column video-image",children:(0,s.jsx)(i.A,{hashedId:l,autoPlay:!0,noRender:!0,children:(0,s.jsx)("img",{src:n.source_url})})})]})})})}},81617:function(e,t,n){var i=n(74848);t.A=()=>(0,i.jsx)("img",{className:"webinar-illustration",src:"https://marketing-assets.wheniwork-production.com/2021/03/03111752/group-webinar-illustration.svg",alt:"Group of people in an online webinar"})},44127:function(e,t,n){n.d(t,{I:function(){return a},r:function(){return r}});var i=n(6242);const s="wiw-zoom-webinar-registrations";function a(e){if(!i.Tq)return;const t=o();if(t){JSON.parse(t).push({zoomWebinarId:e})}else n=[{zoomWebinarId:e}],window.localStorage.setItem(s,JSON.stringify(n));var n}function r(){if(!i.Tq)return[];const e=o();if(!e)return[];return JSON.parse(e).map((e=>e.zoomWebinarId))}function o(){return window.localStorage.getItem(s)}},67863:function(e,t,n){var i=n(96540),s=n(19661),a=n(6242),r=n(37802),o=n(34667),l=n(74848);t.A=e=>{var t;const n=(0,i.useContext)(r.A),c=null!=n&&n.webinarId?{webinar_title:n.webinarTitle,webinar_id:n.webinarId,webinar_type:n.webinarType,registration_type:"crm"}:void 0;return(0,l.jsx)("div",{className:"event-registration-form-container",children:(0,l.jsx)(o.A,{onSubmit:async t=>{var i,r;(null===(i=window.posthog)||void 0===i||i.capture("Webinar registration submitted",c),n&&n.mockRegistration)?e.onRegistration():(await s.A.hubspot({fullName:t.fullName,email:t.emailAddress,company:t.companyName,webinarPageUrl:a.Tq?`${window.location.href}?show_replay=true`:"",webinarTitle:e.webinarTitle},"webinarRecording"),null===(r=window.posthog)||void 0===r||r.capture("Webinar registration completed",c),e.onRegistration())},submitText:null!==(t=e.submitButtonText)&&void 0!==t?t:"Register to Watch"})})}},31926:function(e,t,n){var i=n(28007),s=n(74848);const a="universal",r=4;t.A=e=>{let{filterCategory:t=a,awardCount:n=r}=e;const o=(0,i.GR)("741872423").allWordpressAcfOptions.edges[0].node.options.award_badges.badges;return(0,s.jsx)("div",{className:"awards",children:function(){const e=[],i=[];return o.forEach((n=>{t!==a&&n.category===t?e.push(n):n.category===a&&i.push(n)})),[].concat(e,i).slice(0,n).map(((e,t)=>(0,s.jsx)("img",{className:"award",loading:"lazy",src:e.badge.source_url,role:"presentation"},t)))}()})}},7913:function(e,t,n){var i=n(74745),s=n.n(i),a=n(90048),r=n(15702),o=n(83471),l=n(40896),c=n(7628),d=n(55565),u=n(58661),m=n(74848);let h;o.A&&(h=(0,r.createHistory)(window)),s().setAppElement("#___gatsby");t.A=e=>{let{children:t,hidden:n,footerCtaTitle:i,faq:s,faqStructuredData:g,useStaticFaq:p,modalTitle:v,legalText:x,signupModalSubmit:f,hideSignup:b,hideSignupBox:j,tippyTopBanner:T,showScheduleDemoButton:y,showModalButton:_,footerButtonLink:w,showInitFields:N,footerSignupHeader:C,footerSignupButtonText:A,signUpRefPlanId:S,setIsFooterVisible:D,customHubspotMeetingUrl:I,customHubspotMeetingButtonText:R,trialLength:k,signupModalLaunch:M,footerSignupCopy:P,faqTitle:E,faqCopy:W}=e;return(0,m.jsxs)("div",{className:"layout-wrapper",style:{visibility:n?"hidden":"visible"},children:[(0,m.jsx)(c.A,{}),(0,m.jsx)(r.LocationProvider,{history:h,children:(0,m.jsxs)(a.Zn,{children:[T&&(0,m.jsx)(d.y,{...T}),(0,m.jsx)(u.A,{customHubspotMeetingUrl:I,trialLength:k}),(0,m.jsx)("div",{role:"main",className:o.A&&"/integrations"===window.location.pathname?"remove-overflow":"",children:t}),(0,m.jsx)(l.A,{footerCtaTitle:i,faq:s,faqStructuredData:g,useStaticFaq:p,signupModalSubmit:f,modalTitle:v,showInitFields:!0===N||void 0===N,hideSignup:b,hideSignupBox:j,legalText:x,showModalButton:_,customHubspotMeetingUrl:I,customHubspotMeetingButtonText:R,showScheduleDemoButton:y,footerSignupHeader:C,footerButtonLink:w,footerSignupButtonText:A,signUpRefPlanId:S,setIsFooterVisible:D,trialLength:k,signupModalLaunc
1h:M,footerSignupCopy:P,faqTitle:E,faqCopy:W})]})})]})}},93085:function(e,t,n){n.r(t),n.d(t,{default:function(){return me}});var i=n(20249),s=n.n(i),a=n(96540),r=n(7913),o=n(11528),l=n(32680),c=n(12460),d=n(98804),u=n(55942),m=n(74316),h=n(686),g=n(82284),p=n(20121),v=n(68133),x=n(35066),f=n(93816),b=n(91169);function j(e,t){if((0,f.A)(2,arguments),!t||"object"!==(0,g.A)(t))return new Date(NaN);var n=t.years?(0,b.A)(t.years):0,i=t.months?(0,b.A)(t.months):0,s=t.weeks?(0,b.A)(t.weeks):0,a=t.days?(0,b.A)(t.days):0,r=t.hours?(0,b.A)(t.hours):0,o=t.minutes?(0,b.A)(t.minutes):0,l=t.seconds?(0,b.A)(t.seconds):0,c=(0,x.A)(e),d=i||n?(0,v.A)(c,i+12*n):c,u=a||s?(0,p.A)(d,a+7*s):d,m=1e3*(l+60*(o+60*r));return new Date(u.getTime()+m)}var T=n(59238),y=n(6242),_=n(39757);function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function C(e,t,n){return t&&N(e.prototype,t),n&&N(e,n),e}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function D(e,t){return D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},D(e,t)}function I(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=S(e);if(t){var s=S(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return I(this,n)}}function k(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=String(e);if(0===t)return n;var i=n.match(/(.*?)([0-9]+)(.*)/),s=i?i[1]:"",a=i?i[3]:"",r=i?i[2]:n,o=r.length>=t?r:(k(Array(t)).map((function(){return"0"})).join("")+r).slice(-1*t);return"".concat(s).concat(o).concat(a)}var E={daysInHours:!1,zeroPadTime:2};function W(e,t){var n=e.days,i=e.hours,s=e.minutes,a=e.seconds,r=Object.assign(Object.assign({},E),t),o=r.daysInHours,l=r.zeroPadTime,c=r.zeroPadDays,d=void 0===c?l:c,u=Math.min(2,l),m=o?P(i+24*n,l):P(i,u);return{days:o?"":P(n,d),hours:m,minutes:P(s,u),seconds:P(a,u)}}var B=function(e){A(n,e);var t=R(n);function n(){var e;return w(this,n),(e=t.apply(this,arguments)).state={count:e.props.count||3},e.startCountdown=function(){e.interval=window.setInterval((function(){0===e.state.count-1?(e.stopCountdown(),e.props.onComplete&&e.props.onComplete()):e.setState((function(e){return{count:e.count-1}}))}),1e3)},e.stopCountdown=function(){clearInterval(e.interval)},e.addTime=function(t){e.stopCountdown(),e.setState((function(e){return{count:e.count+t}}),e.startCountdown)},e}return C(n,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?(0,a.cloneElement)(this.props.children,{count:this.state.count}):null}}]),n}(a.Component),z=function(e){A(n,e);var t=R(n);function n(e){var i;
1if(w(this,n),(i=t.call(this,e)).mounted=!1,i.initialTimestamp=i.calcOffsetStartTimestamp(),i.offsetStartTimestamp=i.props.autoStart?0:i.initialTimestamp,i.offsetTime=0,i.legacyMode=!1,i.legacyCountdownRef=(0,a.createRef)(),i.tick=function(){var e=i.calcTimeDelta(),t=e.completed&&!i.props.overtime?void 0:i.props.onTick;i.setTimeDeltaState(e,void 0,t)},i.start=function(){if(!i.isStarted()){var e=i.offsetStartTimestamp;i.offsetStartTimestamp=0,i.offsetTime+=e?i.calcOffsetStartTimestamp()-e:0;var t=i.calcTimeDelta();i.setTimeDeltaState(t,"STARTED",i.props.onStart),i.props.controlled||t.completed&&!i.props.overtime||(i.clearTimer(),i.interval=window.setInterval(i.tick,i.props.intervalDelay))}},i.pause=function(){i.isPaused()||(i.clearTimer(),i.offsetStartTimestamp=i.calcOffsetStartTimestamp(),i.setTimeDeltaState(i.state.timeDelta,"PAUSED",i.props.onPause))},i.stop=function(){i.isStopped()||(i.clearTimer(),i.offsetStartTimestamp=i.calcOffsetStartTimestamp(),i.offsetTime=i.offsetStartTimestamp-i.initialTimestamp,i.setTimeDeltaState(i.calcTimeDelta(),"STOPPED",i.props.onStop))},i.isStarted=function(){return i.isStatus("STARTED")},i.isPaused=function(){return i.isStatus("PAUSED")},i.isStopped=function(){return i.isStatus("STOPPED")},i.isCompleted=function(){return i.isStatus("COMPLETED")},e.date){var s=i.calcTimeDelta();i.state={timeDelta:s,status:s.completed?"COMPLETED":"STOPPED"}}else i.legacyMode=!0;return i}return C(n,[{key:"componentDidMount",value:function(){this.legacyMode||(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(e){this.legacyMode||this.props.date!==e.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var e=this.props,t=e.date,n=e.now,i=e.precision,s=e.controlled,a=e.overtime;return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.now,s=void 0===i?Date.now:i,a=n.precision,r=void 0===a?0:a,o=n.controlled,l=n.offsetTime,c=void 0===l?0:l,d=n.overtime;t="string"==typeof e?new Date(e).getTime():e instanceof Date?e.getTime():e,o||(t+=c);var u=o?t:t-s(),m=Math.min(20,Math.max(0,r)),h=Math.round(1e3*parseFloat(((d?u:Math.max(0,u))/1e3).toFixed(m))),g=Math.abs(h)/1e3;return{total:h,days:Math.floor(g/86400),hours:Math.floor(g/3600%24),minutes:Math.floor(g/60%60),seconds:Math.floor(g%60),milliseconds:Number((g%1*1e3).toFixed()),completed:h<=0}}(t,{now:n,precision:i,controlled:s,offsetTime:this.offsetTime,overtime:a})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(e){this.legacyCountdownRef.current.addTime(e)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(e){return this.state.status===e}},{key:"setTimeDeltaState",value:function(e,t,n){var i=this;if(this.mounted){var s=e.completed&&!this.state.timeDelta.completed,a=e.completed&&"STARTED"===t;s&&!this.props.overtime&&this.clearTimer();return this.setState((function(n){var s=t||n.status;return e.completed&&!i.props.overtime?s="COMPLETED":t||"COMPLETED"!==s||(s="STOPPED"),{timeDelta:e,status:s}}),(function(){n&&n(i.state.timeDelta),i.props.onComplete&&(s||a)&&i.props.onComplete(e,a)}))}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var e=this.props,t=e.daysInHours,n=e.zeroPadTime,i=e.zeroPadDays,s=this.state.timeDelta;return Object.assign(Object.assign({},s),{api:this.getApi(),props:this.props,formatted:W(s,{daysInHours:t,zeroPadTime:n,zeroPadDays:i})})}},{key:"render",value:function(){if(this.legacyMode){var e=this.props,t=e.count,n=e.children,i=e.onComplete;return(0,a.createElement)(B,{ref:this.legacyCountdownRef,count:t,onComplete:i},n)}var s=this.props,r=s.className,o=s.overtime,l=s.children,c=s.renderer,d=this.getRenderProps();if(c)return c(d);
1if(l&&this.state.timeDelta.completed&&!o)return(0,a.cloneElement)(l,{countdown:d});var u=d.formatted,m=u.days,h=u.hours,g=u.minutes,p=u.seconds;return(0,a.createElement)("span",{className:r},d.total<0?"-":"",m,m?":":"",h,":",g,":",p)}}]),n}(a.Component);z.defaultProps=Object.assign(Object.assign({},E),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0});var H=z,F=n(66410),O=n(74848);const $=e=>{let{days:t,hours:n,minutes:i,seconds:s}=e;return(0,O.jsxs)("div",{className:"countdown-container",children:[(0,O.jsxs)("span",{className:"count",children:[P(t),(0,O.jsx)("div",{className:"label",children:"days"})]}),(0,O.jsxs)("span",{className:"count",children:[P(n),(0,O.jsx)("div",{className:"label",children:"hours"})]}),(0,O.jsxs)("span",{className:"count",children:[P(i),(0,O.jsx)("div",{className:"label",children:"minutes"})]}),(0,O.jsxs)("span",{className:"count",children:[P(s),(0,O.jsx)("div",{className:"label",children:"seconds"})]})]})};var q=e=>{let{endDate:t,onCountdownComplete:n,startDate:i}=e;return i?(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)("time",{className:"event-date",children:(0,F.Yq)(i)}),(0,O.jsxs)("time",{className:"event-time",children:[(0,F.fU)(i),t&&(0,O.jsxs)(a.Fragment,{children:[" ","â ",(0,F.fU)(t)]})," ",(0,F.fy)("short")]}),(0,O.jsx)(H,{date:i,onComplete:n,renderer:$})]}):null},L=n(67302),U=n(81617);var V=e=>{let{inProgressText:t,joinButtonText:n,joinUrl:i}=e;return(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)("div",{className:"registration-row",children:(0,O.jsx)(L.A,{href:i,target:"_blank",children:(0,O.jsx)(U.A,{})})}),(0,O.jsx)("div",{className:"registration-row",children:(0,O.jsx)(L.A,{className:"cta-button-global full-width",href:i,target:"_blank",children:n})}),(0,O.jsx)("div",{className:"registration-row",children:(0,O.jsx)("p",{children:t})})]})};var J=e=>{let{children:t}=e;return(0,O.jsx)("p",{className:"event-registration--headline",children:t})};var G=e=>{let{headerText:t,inProgress:n,inProgressText:i,standardText:s}=e;return(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(J,{children:t}),(0,O.jsx)("p",{children:n?i:s})]})},Y=n(37802);var Z=e=>{var t;let{contentConfig:n,endDate:i,hasRegistered:s,onRegistrationSuccess:r,startDate:o,zoomWebinar:l}=e;const{defaultCopyText:c}=(0,a.useContext)(Y.A),{0:d,1:u}=(0,a.useState)("");var m,h,g,p;return s?(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(G,{headerText:null!==(m=null==n?void 0:n.confirmationHeaderText)&&void 0!==m?m:c.registrationConfirmationHeader,inProgress:!0,inProgressText:null!==(h=null==n?void 0:n.confirmationMessageText)&&void 0!==h?h:c.registrationConfirmationCopyInProgress,standardText:""}),(0,O.jsx)(V,{inProgressText:null!==(g=null==n?void 0:n.inProgressText)&&void 0!==g?g:c.registrationConfirmationCopyBottomInProgress,joinButtonText:null!==(p=null==n?void 0:n.joinButtonText)&&void 0!==p?p:c.inProgressJoinNowButtonText,joinUrl:d})]}):(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(q,{startDate:o,endDate:i}),(0,O.jsx)(_.A,{hideInputLabels:!0,onRegistrationSuccess:e=>{r(e),u(e.response.join_url)},submitButtonText:null!==(t=null==n?void 0:n.registerButtonText)&&void 0!==t?t:c.registerButtonText,webinarId:l.id})]})},X=n(67863),K=n(19618);var Q=e=>{var t,n,i,s,r,o;let{contentConfig:l,formattedEventDate:c,hasRegistered:d,onRegistrationSuccess:u,upcomingWebinarUrl:m,webinarTitle:h,wistiaVideoId:g}=e;const{defaultCopyText:p}=(0,a.useContext)(Y.A);return(0,O.jsx)(a.Fragment,{children:d?(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(J,{children:(null!==(t=null==l?void 0:l.headerText)&&void 0!==t?t:g)?p.occurredEventHeaderRegisteredRecordingAvailable:p.occurredEventHeaderRegisteredNoRecording}),g?(0,O.jsxs)(a.Fragment,{children:[(0,O.jsxs)("p",{children:["Here is a recording that took place on ",(0,O.jsx)("strong",{children:c}),"."]}
1),(0,O.jsx)(K.A,{hashedId:g,noRender:!0,children:(0,O.jsx)(U.A,{})}),(0,O.jsx)("div",{className:"registration-row",children:(0,O.jsx)(K.A,{className:"cta-button-global full-width",hashedId:g,text:null!==(n=null==l?void 0:l.watchRecordingButtonText)&&void 0!==n?n:p.occurredEventWatchRecordingButtonText})})]}):(0,O.jsxs)(a.Fragment,{children:[(0,O.jsxs)("p",{children:["This webinar took place on ",(0,O.jsx)("br",{}),(0,O.jsx)("strong",{children:c}),"."]}),(0,O.jsx)("p",{children:null!==(i=null==l?void 0:l.noRecordingAvailableMessageText)&&void 0!==i?i:p.occurredEventRegisteredNoRecordingAvailableCopy}),(0,O.jsx)(U.A,{})]}),m&&(0,O.jsx)("div",{className:"registration-row",children:(0,O.jsxs)("p",{children:["Want to see the next webinar live? ",(0,O.jsx)(L.A,{to:m,children:"Register now"})," to reserve your spot."]})})]}):(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(J,{children:(null!==(s=null==l?void 0:l.headerText)&&void 0!==s?s:g)?p.occurredEventHeaderNotRegisteredRecordingAvailable:p.occurredEventHeaderNotRegisteredNoRecording}),(0,O.jsxs)("p",{children:["This webinar took place on ",(0,O.jsx)("br",{}),(0,O.jsx)("strong",{children:c}),"."]}),(0,O.jsx)("p",{children:null!==(r=null==l?void 0:l.preRegisterCopyText)&&void 0!==r?r:p.occurredEventCopyNotRegistered}),(0,O.jsx)(X.A,{onRegistration:u,submitButtonText:null!==(o=null==l?void 0:l.registerButtonText)&&void 0!==o?o:p.registerButtonText,webinarTitle:h})]})})},ee=n(43696);var te=e=>{var t,n,i,s,r,o,l,c,d,u,m;let{contentConfig:h,endDate:g,hasRegistered:p,onRegistrationSuccess:v,startDate:x,zoomWebinar:f}=e;const{defaultCopyText:b}=(0,a.useContext)(Y.A);return(0,O.jsxs)(a.Fragment,{children:[p&&(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(G,{headerText:null!==(t=null==h?void 0:h.confirmationHeaderText)&&void 0!==t?t:b.registrationConfirmationHeader,inProgress:!1,inProgressText:b.registrationConfirmationCopyInProgress,standardText:null!==(n=null==h?void 0:h.confirmationMessageText)&&void 0!==n?n:b.registrationConfirmationCopy}),(0,O.jsx)("div",{className:"event-registration-divider"})]}),(0,O.jsx)(q,{startDate:x,endDate:g}),p?(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)("div",{className:"event-registration-divider"}),(0,O.jsx)(J,{children:null!==(i=null==h?void 0:h.callToActionHeaderText)&&void 0!==i?i:b.startTrialHeader}),(0,O.jsx)(ee.A,{modalTitle:null!==(s=null==h||null===(r=h.signupModal)||void 0===r?void 0:r.title)&&void 0!==s?s:void 0,showModalButton:!0,legalText:null!==(o=null==h||null===(l=h.signupModal)||void 0===l?void 0:l.legalText)&&void 0!==o?o:void 0,signupModalLaunch:null!==(c=null==h?void 0:h.callToActionButtonText)&&void 0!==c?c:b.startTrialCtaButtonText,signupModalSubmit:null!==(d=null==h||null===(u=h.signupModal)||void 0===u?void 0:u.submitButtonText)&&void 0!==d?d:b.startTrialCtaButtonText,buttonClasses:"cta-button-global full-width"})]}):(0,O.jsx)(_.A,{hideInputLabels:!0,onRegistrationSuccess:v,submitButtonText:null!==(m=null==h?void 0:h.registerButtonText)&&void 0!==m?m:b.registerButtonText,webinarId:f.id})]})},ne=n(44127);var ie=e=>{const t=new Date(e.zoomWebinar.startTime),n=e.zoomWebinar.duration,i=j(t,{minutes:n}),s=(0,F.Yq)(t),{0:r,1:o}=(0,a.useState)((()=>{if(y.Tq&&T.A.parse(location.search).show_replay)return!0;return(0,ne.r)().some((t=>t===e.zoomWebinar.id))})),l=()=>{const e=new Date;return i.getTime()<=e.getTime()},c=()=>{o(!0),(0,ne.I)(e.zoomWebinar.id)},d=()=>{o(!0)};return l()?(0,O.jsx)(Q,{contentConfig:{...e.occurredEventContent},formattedEventDate:s,hasRegistered:r,onRegistrationSuccess:d,upcomingWebinarUrl:e.upcomingWebinar&&e.upcomingWebinar.zoomWebinarId!==e.zoomWebinar.id?e.upcomingWebinar.internalUrl:void 0,webinarTitle:e.zoomWebinar.topic,wistiaVideoId:e.wistiaVideoId}):(()=>{const e=new Date;return t.getTime()<e.getTime()})()&&!l()?(0,O.jsx)(Z,{contentConfig:{...e.inProgressEventContent},endDate:i,hasRegistered:r,onRegistrationSuccess:c,startDate:t,zoomWebinar:e.zoomWebinar}):(0,O.jsx)(te,{contentConfig:{...e.upcomingEventContent},endDate:i,hasRegistered:r,onRegistrationSuccess:c,startDate:t,zoomWebinar:e.zoomWebinar})};var se=e=>{var t,n,i,s,r,o,l;const{defaultCopyText:c}=(0,a.useContext)(Y.A),d=(0,a.useRef)((0,F.CS)(e.zoomWebinar.recurrence,e.zoomWebinar.occurrences[0])),u=null===(t=e.zoomWebinar.occurrences)||void 0===t?void 0:t.filter((e=>new Date(e.startTime).getTime()>(new Date).getTime()&&"deleted"!=e.status)),{0:m,1:h}=(0,a.useState)();var g,p,v,x,f,b,T,y,w,N,C,A,S,D,I,R,k;return m?(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(G,{headerText:null!==(g=null===(p=e.contentConfig)||void 0===p?void 0:p.confirmationHeaderText)&&void 0!==g?g:c.registrationConfirmationHeader,inProgress:!1,inProgressText:c.registrationConfirmationCopyInProgress,standardText:null!==(v=null===(x=e.contentConfig)||void 0===x?void 0:x.confirmationMessageText)&&void 0!==v?v:c.registrationConfirmationCopy}
1),(0,O.jsx)("div",{className:"event-registration-divider"}),(0,O.jsx)(q,{startDate:new Date(m.startTime),endDate:j(new Date(m.startTime),{minutes:m.duration})}),(0,O.jsx)("div",{className:"event-registration-divider"}),(0,O.jsx)(J,{children:null!==(f=null===(b=e.contentConfig)||void 0===b?void 0:b.callToActionHeaderText)&&void 0!==f?f:c.startTrialHeader}),(0,O.jsx)(ee.A,{modalTitle:null!==(T=null===(y=e.contentConfig)||void 0===y||null===(w=y.signupModal)||void 0===w?void 0:w.title)&&void 0!==T?T:void 0,showModalButton:!0,legalText:null!==(N=null===(C=e.contentConfig)||void 0===C||null===(A=C.signupModal)||void 0===A?void 0:A.legalText)&&void 0!==N?N:void 0,signupModalLaunch:null!==(S=null===(D=e.contentConfig)||void 0===D?void 0:D.callToActionButtonText)&&void 0!==S?S:c.startTrialCtaButtonText,signupModalSubmit:null!==(I=null===(R=e.contentConfig)||void 0===R||null===(k=R.signupModal)||void 0===k?void 0:k.submitButtonText)&&void 0!==I?I:c.startTrialCtaButtonText,buttonClasses:"cta-button-global full-width"})]}):(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(J,{children:null!==(n=null===(i=e.contentConfig)||void 0===i?void 0:i.headerText)&&void 0!==n?n:(0,O.jsxs)(a.Fragment,{children:[d.current.intervalValue,d.current.time?` @ ${d.current.time}`:null]})}),(0,O.jsx)("p",{children:null!==(s=null===(r=e.contentConfig)||void 0===r?void 0:r.headerCopy)&&void 0!==s?s:`This webinar takes place on ${d.current.interval} basis. Choose the date that works best for you and we'll see you there.`}),(0,O.jsx)(_.A,{hideInputLabels:!0,occurrences:u,onRegistrationSuccess:(t,n)=>{if(!n||!e.zoomWebinar.occurrences)return;const i=e.zoomWebinar.occurrences.find((e=>e.id===n));h(i)},submitButtonText:null!==(o=null===(l=e.contentConfig)||void 0===l?void 0:l.registerButtonText)&&void 0!==o?o:c.registerButtonText,webinarId:e.zoomWebinar.id})]})};var ae=e=>(0,O.jsx)(Y.A.Provider,{value:{defaultCopyText:e.defaultTextCopy,mockRegistration:e.mockRegistration,webinarId:e.zoomWebinar.id,webinarTitle:e.zoomWebinar.topic,webinarType:e.zoomWebinar.isRecurring?"recurring":"one-time"},children:e.zoomWebinar.isRecurring?(0,O.jsx)(se,{zoomWebinar:e.zoomWebinar,contentConfig:e.recurringEventContent}):(0,O.jsx)(ie,{zoomWebinar:e.zoomWebinar,inProgressEventContent:e.inProgressEventContent,occurredEventContent:e.occurredEventContent,upcomingEventContent:e.upcomingEventContent,wistiaVideoId:e.wistiaVideoId})});const re=e=>""===e?void 0:e,oe=e=>{var t;const{after_event:n,before_event:i,during_event:s,wistia_id:a}=e,r=(0,h.dv)();return(0,O.jsx)("section",{className:"section hero events-hero-section","data-section":"heroZoom",children:(0,O.jsxs)("div",{className:"hero-main container",children:[(0,O.jsxs)("div",{className:"columns",children:[(0,O.jsx)("div",{className:"column",children:(0,O.jsxs)("div",{className:"hero-text",children:[(0,O.jsx)("h1",{className:"title",children:e.zoomWebinar.topic}),(0,O.jsx)("p",{className:"copy",children:e.zoomWebinar.agenda})]})}),(0,O.jsx)("div",{className:"column",children:(0,O.jsx)("div",{className:"event-container",children:(0,O.jsx)(ae,{zoomWebinar:e.zoomWebinar,upcomingWebinar:null!==(t=e.upcomingWebinar)&&void 0!==t?t:void 0,defaultTextCopy:(o=e.defaultCopyText,{inProgressJoinNowButtonText:o.in_progress_join_now_button_text,occurredEventCopyNotRegistered:o.occurred_event_copy_not_registered,occurredEventHeaderNotRegisteredNoRecording:o.occurred_event_header_not_registered_no_recording,occurredEventHeaderNotRegisteredRecordingAvailable:o.occurred_event_header_not_registered_recording_available,occurredEventHeaderRegisteredNoRecording:o.occurred_event_header_registered_no_recording,occurredEventHeaderRegisteredRecordingAvailable:o.occurred_event_header_registered_recording_available,occurredEventRegisteredNoRecordingAvailableCopy:o.occurred_event_registered_no_recording_available_copy,occurredEventWatchRecordingButtonText:o.occurred_event_watch_recording_button_text,registerButtonText:o.register_button_text,registrationConfirmationCopy:o.registration_confirmation_copy,registrationConfirmationCopyBottomInProgress:o.registration_confirmation_copy_bottom_in_progress,registrationConfirmationCopyInProgress:o.registration_confirmation_copy_in_progress,registrationConfirmationHeader:o.registration_confirmation_header,startTrialCtaButtonText:o.start_trial_cta_button_text,startTrialHeader:o.start_trial_header}),upcomingEventContent:le(i),inProgressEventContent:ce(i,s),occurredEventContent:de(n),recurringEventContent:ue(i),wistiaVideoId:re(a),mockRegistration:e.mockRegistration})})})]}),!r.sm&&(0,O.jsx)("img",{"aria-hidden":"true",className:"hero-background-image",src:e.background_image?e.background_image.source_url:e.defaultCopyText.hero_background_image.source_url,alt:""})]})});var o};function le(e){return{callToActionButtonText:re(e.signup.signup_modal_activate_button_text),callToActionHeaderText:re(e.signup.header_above_signup_modal_activate_button),confirmationHeaderText:re(e.signup.thank_you_message.header),confirmationMessageText:re(e.signup.thank_you_message.copy),registerButtonText:re(e.signup.button_text),signupModal:{legalText:re(e.signup.signup_modal.modal_legal_text),title:re(e.signup.signup_modal.modal_title),submitButtonText:re(e.signup.signup_modal.modal_submit_button_text)}}}function ce(e,t){return{confirmationHeaderText:re(t.signup.thank_you_message.header),confirmationMessageText:re(t.signup.thank_you_message.copy),inProgressText:re(t.signup.joining_late_message),joinButtonText:re(t.signup.join_event_button_text),registerButtonText:re(e.signup.button_text)}}function de(e){return{headerText:re(e.header_text),noRecordingAvailableMessageText:re(e.recording_available_soon_message),preRegisterCopyText:re(e.pre_registration_copy),registerButtonText:re(e.register_button_text),watchRecordingButtonText:re(e.watch_recording_button_text)}}function ue(e){return{callToActionButtonText:re(e.signup.signup_modal_activate_button_text),callToActionHeaderText:re(e.signup.header_above_signup_modal_activate_button),confirmationHeaderText:re(e.signup.thank_you_message.header),confirmationMessageText:re(e.signup.thank_you_message.copy),headerCopy:re(e.signup.recurring_webinar_copy),headerText:re(e.signup.recurring_webinar_header),registerButtonText:re(e.signup.button_text),signupModal:{legalText:re(e.signup.signup_modal.modal_legal_text),title:re(e.signup.signup_modal.modal_title),submitButtonText:re(e.signup.signup_modal.modal_submit_button_text)}}}var me=e=>{var t;let{mockRegistration:n,pageContext:i}=e;const h=i.acf.webinar_page_template,g=h.event_hero,p=h.cards_1,v=h.customer_reviews,x=h.leader,{0:f,1:b}=(0,a.useState)(i.zoomWebinar),j=i.upcomingOneTimeWebinars,T=i.defaultTextCopy,y=i.yoast_head_json,_=i.acf.media_object,
1w=i.acf.video_media_object;(0,a.useEffect)((()=>{var e;null===(e=window.posthog)||void 0===e||e.capture("$pageview",{webinar_title:null==f?void 0:f.topic,webinar_id:null==f?void 0:f.id,webinar_type:null!=f&&f.isRecurring?"recurring":"one-time",page_slug:i.slug}),f.isRecurring&&N(f.id)}),[]);const N=async e=>{b(await o.A.GetWebinar(e.toString()))};return(0,O.jsxs)(r.A,{children:[(0,O.jsx)(m.A,{...y,title:f?f.topic:i.yoast.title,metadesc:f?f.agenda:i.yoast.metadesc,canonical:y&&(null==y||null===(t=y.canonical)||void 0===t?void 0:t.replace(/(\/blog|\/events-parent-page)/g,""))}),(0,O.jsxs)("div",{className:`events-template-container ${s()(i.slug)}-page-container`,"data-signal":i.wordpress_id,children:[(0,O.jsx)(oe,{...g,defaultCopyText:T,upcomingWebinar:(()=>{if(!j||0===j.length)return null;let e=null;const t=(new Date).getTime();for(const n of j){if(!n.startDate)continue;if(new Date(n.startDate).getTime()>=t){e=n;break}}return e})(),zoomWebinar:f,mockRegistration:!!n}),(0,O.jsxs)("div",{className:"components-wrapper "+(v.title?"":"no-customer-quotes"),children:[(0,O.jsx)(c.A,{card:p.card,hasCopy:!0,hasTitle:!0,hasShadow:!0,hasFontIcon:!0}),(0,O.jsx)("section",{className:"section has-text-centered leadership",children:(0,O.jsxs)("div",{className:"container",children:[(0,O.jsx)("h2",{className:"title",children:x.title}),(0,O.jsx)("div",{className:"leadership-team columns",children:x.leader.map(((e,t)=>{var n;return(0,O.jsxs)("div",{className:"column is-half",children:[(0,O.jsx)(L.A,{className:"leadership-linkedin-link",to:e.link,target:"_blank",rel:"noopener noreferrer",children:(0,O.jsx)("figure",{className:"leadership-image",children:(0,O.jsx)("img",{loading:"lazy",src:null===(n=e.head_shot)||void 0===n?void 0:n.source_url,alt:e.name})})}),(0,O.jsx)("h3",{children:(0,O.jsx)("strong",{children:e.name})}),(0,O.jsx)("h4",{children:e.title}),(0,O.jsx)("p",{children:e.copy})]},t)}))})]})}),v.title&&(0,O.jsx)(l.A,{...v})]}),w&&(0,O.jsx)("div",{className:"gray-top",children:(0,O.jsx)(u.A,{...w})}),_&&(0,O.jsx)(d.A,{..._[0],className:"reverse"})]})]})}},12460:function(e,t,n){var i=n(96540),s=n(67302),a=n(76544),r=n(22960),o=n(74848);t.A=e=>{var t;return(0,o.jsxs)("section",{className:`section highlight highlight-section ${e.className||""}`,children:[e.header&&(0,o.jsxs)(i.Fragment,{children:[e.switchTitles?(0,o.jsxs)(i.Fragment,{children:[e.header.sub_title&&(0,o.jsx)("h3",{className:"subheadline has-text-centered",children:e.header.sub_title}),e.header.title&&(0,o.jsx)("h2",{className:"headline has-text-centered",children:e.header.title})]}):(0,o.jsxs)(i.Fragment,{children:[e.header.title&&(0,o.jsx)("h2",{className:"headline has-text-centered",children:e.header.title}),e.header.sub_title&&(0,o.jsx)("h3",{className:"subheadline has-text-centered",children:e.header.sub_title})]}),(()=>{if(!e.header.copy)return e.header.wysiwyg?(0,o.jsx)("div",{className:"copy has-text-centered",children:(0,o.jsx)(r.A,{content:e.header.wysiwyg})}):null;const t=(0,i.isValidElement)(e.header.copy)?"div":"p";return(0,o.jsx)(t,{className:"copy has-text-centered",children:e.header.copy})})()]}),(0,o.jsx)(a.A,{...e,startingIndex:void 0===e.startingIndex?0:Number(e.startingIndex)}),(null==e?void 0:e.footer_copy)&&(0,o.jsx)(r.A,{content:e.footer_copy}),(null===(t=e.header)||void 0===t?void 0:t.button_text)&&(0,o.jsx)(s.A,{to:e.header.button_url,className:"button cta-link is-rounded",children:e.header.button_text})]})}},76544:function(e,t,n){n.d(t,{A:function(){return h}});var i=n(35970),s=n.n(i),a=n(96540),r=n(34829),o=n(686),l=n(41234),c=n(67302),d=n(43696),u=n(74848);var m=e=>{let{index:t,activeIndex:n,hasOneSlideVisible:i,link_url:s,card_link:r,link_text:o,card_link_title:m,modalTitle:h,signupModalSubmit:g,is_active:p,id:v,hasShadow:x,hasHeader:f,header:b,hasImage:j,image:T,hasFontIcon:y,icon:_,hasTitle:w,hasAvatar:N,avatar:C,title:A,hasSubTitle:S,sub_title:D,hasWysiwyg:I,Wysiwyg:R,hasCopy:k,hasCta:M,titleAsHeader:P,copy:E,groupTitleAndCopy:W=!1}=e;const{0:B,1:z}=(0,a.useState)(!0===i?"is-hidden":"");(0,a.useEffect)((()=>{!0===i&&z(n===t?"":"is-hidden")}));const H=()=>s||r?(0,u.jsx)(F,{}):(0,u.jsx)(O,{}),F=()=>(0,u.jsx)(c.A,{to:s||r,className:"card-link cta-button",children:o||m}),O=()=>(0,u.jsx)(d.A,{modalTitle:h,uniqueId:"Card",signupModalSubmit:g||"Start Free Trial",signupModalLaunc
1h:"Start Free Trial",buttonClasses:"cta-button",showModalButton:!0}),$=w&&(P?(0,u.jsxs)("h2",{className:"card-title",children:[N&&(0,u.jsx)("img",{loading:"lazy",src:C&&(null==C?void 0:C.source_url),alt:C&&(null==C?void 0:C.alt_text)}),A]}):(0,u.jsxs)("p",{className:"card-title",children:[N&&(0,u.jsx)("img",{loading:"lazy",src:C&&(null==C?void 0:C.source_url),alt:C&&(null==C?void 0:C.alt_text)}),A]})),q=void 0!==k&&E&&(0,u.jsxs)("p",{className:"card-copy",children:[E," "]});return(0,u.jsx)("div",{className:`card ${""===r||p?"card-active":""}${v&&v>-1?`card-${v}`:""}${B} ${x&&"has-shadow-large"}`,children:(0,u.jsxs)("div",{className:"card-container",children:[void 0!==f&&(0,u.jsx)("h2",{className:"card-headline has-padding-bottom-md",children:b}),!0===j&&(0,u.jsx)("div",{className:"card-img-container",children:(0,u.jsx)("img",{loading:"lazy",className:"card-img",src:T?null==T?void 0:T.source_url:"",role:"presentation"})}),y&&(0,u.jsx)(l.A,{icon:_}),!W&&$,S&&(0,u.jsx)("p",{className:"card-sub-title",children:D}),void 0!==I&&(0,u.jsx)("div",{className:"card-wysiwyg",dangerouslySetInnerHTML:{__html:R}}),W?(0,u.jsxs)("div",{className:"card-text",children:[$,q]}):(0,u.jsx)(a.Fragment,{children:q}),M&&(0,u.jsx)(H,{})]})})};var h=e=>{let{startingIndex:t,activeIndex:n,modalTitle:i,...l}=e;const c=(0,o.dv)(),d=l.mobile?l.mobile:c.sm,h=l.tablet?l.tablet:c.md,g=l.desktop?l.desktop:c.l,{0:p,1:v}=(0,a.useState)(null!=n?n:0),x=l.sliderStyle?l.sliderStyle:{padding:"0px calc(42% - 120px)",overflowX:"clip"},f=l.hasOneSlideVisible||!1,b=l.titleAsHeader||!1;return(0,a.useEffect)((()=>{l.usingActiveIndustryIndex&&l.setActiveIndustryIndex(p)}),[p]),c.sm&&!l.notSwipeable?(0,u.jsxs)("div",{className:`slider-container slides swiper ${l.className}`,children:[(0,u.jsx)("div",{className:"slides-container",children:(0,u.jsx)(r.Ay,{onChangeIndex:e=>v(e),style:x,slideStyle:{padding:"0 10px"},springConfig:{easeFunction:"cubic-bezier(0, 0, 0.24, 0.96)",duration:".8s",delay:"0s"},enableMouseEvents:!0,index:t,children:s()(l.card.map(((e,t)=>(0,u.jsx)(m,{...e,index:t,activeIndex:n,hasCta:l.hasCta,hasSubTitle:l.hasSubTitle,hasTitle:l.hasTitle,titleAsHeader:b,hasCopy:l.hasCopy,hasImage:l.hasImage,hasHeader:l.hasHeader,hasShadow:l.hasShadow,hasWysiwyg:l.hasWysiwyg,hasFontIcon:l.hasFontIcon,hasAvatar:l.hasAvatar,groupTitleAndCopy:l.groupTitleAndCopy,modalTitle:i,mobile:d,tablet:h,desktop:g,image:e.icons?e.icons.mobile_icon:e.image},`swipeableSlider${t}`))))})}),l.hasNoDots?"":(0,u.jsx)("div",{className:"slides-dots",children:new Array(s()(l.card.map((e=>e))).length).fill(void 0).map(((e,t)=>t===p?(0,u.jsx)("div",{className:"slides-dot slides-dot-fill"},t):(0,u.jsx)("div",{className:"slides-dot slides-dot-empty"},t)))})]}):(0,u.jsx)("div",{className:`slider-container slides ${l.className}`,children:(0,u.jsx)("div",{className:"slides-container "+(l.notSwipeable?"vertical-slides":""),children:l.card.map(((e,t)=>(0,u.jsx)(m,{...e,index:t,activeIndex:n,hasOneSlideVisible:f,hasCta:l.hasCta,hasSubTitle:l.hasSubTitle,hasTitle:l.hasTitle,titleAsHeader:b,hasCopy:l.hasCopy,hasHeader:l.hasHeader,hasShadow:l.hasShadow,hasWysiwyg:l.hasWysiwyg,hasFontIcon:l.hasFontIcon,hasAvatar:l.hasAvatar,hasImage:!!l.hasImage&&l.hasImage,image:e.icons?e.icons.desktop_icon:e.image,modalTitle:i},`slider${t}`)))})})}}}]); 2//# sourceMappingURL=5b2fbf2fe5ded66a3b9efaeb2e390abc6309df7f-bbfaa4ec4e70c0257683.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.