1(()=>{"use strict";var e,t,n,r={1119:(e,t,n)=>{let r=null,o=null;function a(e,t={}){if(!e||!e.nodeType)return;if("1"===e.dataset.demoWatchReady)return;e.dataset.demoWatchReady="1";const a="firstname",s="lastname",i="email",l="company",c="phone",d="numberofemployees",u={firstName:"Please enter your first name",lastName:"Please enter your last name",emailRequired:"Please enter your email",emailInvalid:"Please enter a valid email address",company:"Please enter your company name",phoneRequired:"Please enter your phone number",phoneInvalid:"Please enter a valid 10-digit phone number",phoneInvalidIntl:"Please enter a valid phone number",employees:"Please enter the number of employees"},m=t.phoneEnhancement||null;function p(e,t){const n=e.querySelector(`[name="${t}"]`);return t===c&&"hidden"===n?.type&&e.querySelector('.hs-fieldtype-intl-phone input[type="tel"]')||n}function h(e){return e&&(e.name===c||e.matches('.hs-fieldtype-intl-phone input[type="tel"]'))}function f(e){return e.querySelector(".hs_phone, .hs-phone, .hs-fieldtype-phonenumber")}function y(e){const t=f(e);return Boolean(t&&t.querySelector(".hs-fieldtype-intl-phone"))}function g(e){const t=f(e)?.querySelector('.hs-fieldtype-intl-phone input[type="tel"]');return t||p(e,c)}function h(e){return!!e&&("1"===e.dataset.demoPhoneControl||(e.name===c&&"hidden"!==e.type||Boolean("tel"===e.type&&e.closest(".hs-fieldtype-intl-phone, .hs_phone, .hs-phone, .hs-fieldtype-phonenumber"))))}function v(e,t){const n=String(e?.value||"").trim();if(!n)return!0;if(!h(e))return!1;if(y(t)){return 0===n.replace(/^\+\d{1,4}\s*/,"").replace(/\D/g,"").length}return!1}function b(e,t){const n=e.value.trim(),o=n.replace(/\D/g,"");if(!o||v(e,t))return u.phoneRequired;if(y(t)){const e=function(e){const t=f(e);return t?t.querySelector(".hs-fieldtype-intl-phone select, .hs-fieldtype-intl-phone select.hs-input"):null}(t)?.value||void 0;return function(e,t){const n=String(e||"").trim();if(!n)return!1;if(!r){const e=n.replace(/\D/g,"");return e.length>=8&&e.length<=15}const o=t&&/^[A-Z]{2}$/i.test(t)?t.toUpperCase():void 0;try{return r(n,o)}catch(e){return!1}}(n,e)?"":u.phoneInvalidIntl}return 10===o.length?"":u.phoneInvalid}function x(e,t){return t&&e&&t.closest(".hs_phone, .hs-phone, .hs-fieldtype-phonenumber, .hs-fieldtype-intl-phone")&&g(e)||t}function M(e){return[p(e,a),p(e,s),p(e,i),p(e,l),g(e),p(e,d)].filter(Boolean)}function L(e){return e?e.closest(".hs-form-field"):null}function E(e,t=!1){if(!e||"hidden"===e.type)return!1;const n=L(e)||e;if((n.getAttribute("style")||"").toLowerCase().includes("display: none"))return!1;const r=getComputedStyle(n);return"none"!==r.display&&(t||"hidden"!==r.visibility)}function w(e){return e&&e.value.trim().length>0}function C(e,t){return!!e&&(h(e)&&t?!v(e,t):w(e))}function S(e){if(!h(e))return;const t=L(e);t&&(t.querySelectorAll(".hs-error-msgs").forEach((e=>{e.style.setProperty("display","none","important"),e.dataset.nextivaPhoneErrorHidden="1"})),t.querySelectorAll("input.hs-input, select.hs-input").forEach((e=>{e.classList.remove("error","invalid"),e.removeAttribute("aria-invalid")})),t.classList.contains("demo-custom-error")||t.classList.remove("hs-error"))}function I(e){if(!e)return;e.classList.remove("demo-field-error");const t=L(e);if(!t)return;if(!t.classList.contains("demo-custom-error"))return;t.classList.remove("hs-error"),t.classList.remove("demo-custom-error");const n=t.querySelector(".demo-error-message");n&&(n.textContent="",n.classList.remove("is-visible")),t.querySelectorAll('[data-demo-native-error-hidden="1"]').forEach((e=>{e.style.display="",delete e.dataset.demoNativeErrorHidden}))}function q(e){if(!e||!E(e))return"";const t=e.value.trim();if(e.name===a)return t?t.length<2?u.firstName:"":u.firstName;if(e.name===s)return t?t.length<2?u.lastName:"":u.lastName;if(e.name===i)return t?function(e){return/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(e)}(t)?"":u.emailInvalid:u.emailRequired;if(e.name===l)return t?t.length<2?u.company:"":u.company;if(h(e)){if("function"==typeof m?.getErrorMessage){const t=m.getErrorMessage(e,e.form,u);if("string"==typeof t)return t}const t=e.value.replace(/\D/g,"");return t?10!==t.length?u.phoneInvalid:form?b(e,form):u.phoneInvalidIntl:u.phoneRequired}return e.name===d&&(""===t||Number.isNaN(parseInt(t,10))||parseInt(t,10)<1)?u.employees:""}function A(e){if(!e)return;const t=L(e);if(!t)return;
1const n=e.value.trim(),r=e.closest("form");let o=""!==n;h(e)&&r&&(o=!v(e,r));const a=E(e)&&o&&!q(e)&&!function(e){if(!e)return!1;if(h(e)&&(m?.ignoreNativeError||10===e.value.replace(/\D/g,"").length))return!1;if("true"===e.getAttribute("aria-invalid")||e.classList.contains("error")||e.classList.contains("invalid"))return!0;const t=L(e);return!!t&&(!(!t.classList.contains("hs-error")||t.classList.contains("demo-custom-error"))||Array.from(t.querySelectorAll(".hs-error-msg, .hs-error-msgs li, .input.error-ct span.invalid.error.red")).some((e=>{if(!e.textContent.trim())return!1;const t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})))}(e);t.classList.toggle("is-complete",a)}function T(e){if(!e)return!0;if(I(e),h(e)&&function(e){L(e)?.querySelectorAll('[data-nextiva-phone-error-hidden="1"]').forEach((e=>{e.style.removeProperty("display"),delete e.dataset.nextivaPhoneErrorHidden}))}(e),!E(e))return A(e),!0;const t=q(e);return t?(function(e,t){if(!e)return;e.classList.add("demo-field-error");const n=L(e);if(!n)return;n.classList.add("hs-error"),n.classList.add("demo-custom-error"),n.classList.remove("is-complete");const r=n.querySelector(".demo-error-message"),o=r||document.createElement("div");r||(o.className="demo-error-message",n.appendChild(o)),n.querySelectorAll(".input.error-ct span.invalid.error.red").forEach((e=>{e.dataset.demoNativeErrorHidden="1",e.style.display="none"})),o.textContent=t,o.classList.add("is-visible")}(e,t),A(e),!1):(A(e),!0)}function $(e){const t=M(e);let n=!0;return e.dataset.demoSubmitted="1",t.forEach((e=>{e.dataset.demoTouched="1",n=T(e)&&n})),n}function k(e){e&&e.querySelectorAll("fieldset").forEach((e=>{const t=Array.from(e.querySelectorAll(".hs-form-field"));if(!t.length)return;const n=t.some((e=>!(e.getAttribute("style")||"").toLowerCase().includes("display: none")&&"none"!==getComputedStyle(e).display));e.classList.toggle("is-hidden-fieldset",!n)}))}function B(e){if(!e)return;const t=Boolean(e.closest(".design-v2-template-g.is-popup")),n=Array.from(e.querySelectorAll(".hs-form-field")),r=n.filter((e=>Array.from(e.querySelectorAll("input, select, textarea")).some((e=>E(e,t)))));n.forEach((e=>{e.classList.remove("demo-field-full-row")})),e.classList.toggle("demo-two-column-fields",r.length>1),e.closest(".design-v2-template-g")?r.slice(2).forEach((e=>{e.classList.add("demo-field-full-row")})):r.length>0&&r.length%2==1&&r[r.length-1].classList.add("demo-field-full-row")}function P(e){if(!e)return;B(e);const t=M(e);if(!t.length)return;const a=g(e),s=p(e,d);var i;if(a&&(a.dataset.demoPhoneControl="1"),t.forEach((e=>{const t=L(e);t&&t.classList.add("demo-field"),function(e){if(!e||e.querySelector(".demo-field-check"))return;const t=document.createElement("span");t.className="demo-field-check",t.innerHTML='<svg viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 5.5L4 7.5L8 3" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',e.appendChild(t)}(function(e){return e?e.closest(".input")||e.parentElement||L(e):null}(e)),A(e)})),function(e,t){"function"==typeof m?.attachFormatting&&m.attachFormatting(e,t)||e&&"1"!==e.dataset.demoPhoneMaskReady&&(e.dataset.demoPhoneMaskReady="1",t&&y(t)||(e.setAttribute("autocomplete","off"),e.addEventListener("input",(function(){const e=this.value.replace(/\D/g,"").substring(0,10);if(e.length<=3)return void(this.value=e);const t=e.substring(0,3),n=e.substring(3,6),r=e.substring(6,10);this.value=`(${t}) ${n}${r?`-${r}`:""}`}))))}(a,e),(i=s)&&"1"!==i.dataset.demoEmployeesReady&&(i.dataset.demoEmployeesReady="1",i.addEventListener("input",(function(){""!==this.value&&parseInt(this.value,10)<1&&(this.value="1")})),i.addEventListener("keydown",(function(e){"-"!==e.key&&"e"!==e.key||e.preventDefault()}))),"1"===e.dataset.demoValidationReady)return k(e),void B(e);e.dataset.demoValidationReady="1",y(e)&&(o||(o=Promise.all([n.e(80914),n.e(35820)]).then(n.bind(n,6971)).then((e=>{r=e.isValidPhoneNumber})).catch((()=>{o=null}))),o).then((()=>{const t=g(e);"1"===t?.dataset.demoTouched?T(t):A(t)})),e.addEventListener("blur",(t=>{t.target.matches("input, select, textarea")&&!w(t.target)&&"1"!==e.dataset.demoSubmitted&&t.target.closest(".hs-form-field")?.querySelector("label")?.classList.remove("active","focus-label")}),!0),e.addEventListener("focusout",(t=>{t.target.matches("input, select, textarea")&&!w(t.target)&&"1"!==e.dataset.demoSubmitted&&t.stopPropagation()}),!0),e.addEventListener("focusout",(t=>{if(t.target.matches("input, select, textarea")){const n=x(e,t.target);if(h(n)&&v(n,e)&&"1"!==e.dataset.demoSubmitted)return I(n),S(n),void A(n);if("1"===e.dataset.demoSubmitted)return n.dataset.demoTouched="1",void T(n);C(n,e)?(n.dataset.demoTouched="1",T(n)):(I(n),S(n),A(n))}})),e.addEventListener("input",(t=>{if(t.target.matches("input, select, textarea")){const n=x(e,t.target);if(h(n)&&v(n,e)&&"1"!==e.dataset.demoSubmitted)return I(n),S(n),void A(n);if("1"===e.dataset.demoSubmitted||C(n,e))return n.dataset.demoTouched="1",void T(n);I(n),A(n)}})),e.addEventListener("change",(t=>{if(t.target.matches("input, select, textarea")){const n=x(e,t.target);if(h(n)&&v(n,e)&&"1"!==e.dataset.demoSubmitted)return I(n),S(n),void A(n);"1"===e.dataset.demoSubmitted||C(n,e)?(n.dataset.demoTouched="1",T(n)):(I(n),S(n),A(n))}}));const l=e.querySelector('input[type="submit"], button[type="submit"]');l&&l.addEventListener("click",(t=>{$(e)||(t.preventDefault(),t.stopImmediatePropagation())}),!0),e.addEventListener("submit",(t=>{$(e)||(t.preventDefault(),t.stopImmediatePropagation())}),!0),k(e),B(e)}const H=()=>{const t=e.querySelector("form.hs-form")||e.querySelector("form");t&&P(t)};H();new MutationObserver((()=>{H();const t=e.querySelector("form.hs-form")||e.querySelector("form");t&&(k(t),B(t))})).observe(e,{childList:!0,subtree:!0})}function s(){const e=document.getElementById("heroChatMessages"),t=document.getElementById("heroMessageInput"),n=document.getElementById("heroSendBtn");if(!e||!t||!n)return;const r=["Hello! How are you? ð","That's great to hear! Why don't you keep scrolling down and check out the rest of the cool design on this page?"];let o=0;function a(){const n=t.value.trim();if(!n)return;const a=document.createElement("div");a.className="message sent user-sent";const s=document.createElement("span");s.textContent=n,a.appendChild(s),e.appendChild(a),a.style.opacity="0",a.style.transform="translateY(10px)",requestAnimationFrame((()=>{a.style.transition="all 0.25s ease",a.style.opacity="1",a.style.transform="translateY(0)"})),t.value="",e.scrollTop=e.scrollHeight;const i=e.querySelectorAll(".message");i.length>6&&(i[0].style.transition="all 0.2s ease",i[0].style.opacity="0",i[0].style.transform="translateY(-10px)",setTimeout((()=>i[0].remove()),200)),o<r.length&&setTimeout((()=>{const t=document.createElement("div");t.className="message received";const n=document.createElement("span");n.textContent=r[o],t.appendChild(n),e.appendChild(t),t.style.opacity="0",t.style.transform="translateY(10px)",requestAnimationFrame((()=>{t.style.transition="all 0.25s ease",t.style.opacity="1",t.style.transform="translateY(0)"})),e.scrollTop=e.scrollHeight,o++;const a=e.querySelectorAll(".message");a.length>
16&&(a[0].style.transition="all 0.2s ease",a[0].style.opacity="0",a[0].style.transform="translateY(-10px)",setTimeout((()=>a[0].remove()),200))}),800+400*Math.random())}n.addEventListener("click",a),t.addEventListener("keypress",(e=>{"Enter"===e.key&&(e.preventDefault(),a())}))}function i(e,t,n={}){const r=n.duration||2e3,o=!1!==n.useGrouping,a=e=>e.toLocaleString("en-US",{useGrouping:o}),s=a(t);if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void(e.textContent=s);const i=performance.now();requestAnimationFrame((function n(o){const l=o-i,c=Math.min(l/r,1),d=(u=c)<.5?4*u*u*u:1-Math.pow(-2*u+2,3)/2;var u;const m=Math.round(d*t);e.textContent=a(m),c<1?requestAnimationFrame(n):e.textContent=s}))}function l(){const e=document.getElementById("platformStats");if(!e)return;const t=e.querySelectorAll(".counter");if(!t.length)return;let n=[],r=!1;function o(e){if(e>=1e9){const t=e/1e9;return(t%1==0?t.toFixed(0):t.toFixed(1))+"B"}if(e>=1e6){const t=e/1e6;return t.toFixed(0)+"M"}if(e>=1e3){const t=e/1e3;return t.toFixed(0)+"K"}return e.toString()}function a(){r||(r=!0,t.forEach(((e,t)=>{const r=parseInt(e.getAttribute("data-target")||"0",10),a=e.getAttribute("data-suffix")||"",s=e.getAttribute("data-format")||"number",i=performance.now();requestAnimationFrame((function l(c){const d=c-i,u=Math.min(d/2500,1),m=(p=u,1-Math.pow(1-p,4));var p;const h=Math.round(m*r);if(e.textContent="abbrev"===s?o(h)+a:r>=1e5?h.toLocaleString("en-US")+a:h+a,u<1){const e=requestAnimationFrame(l);n[t]=e}else e.textContent="abbrev"===s?o(r)+a:r>=1e5?r.toLocaleString("en-US")+a:r+a}))})))}new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&a()}))}),{threshold:.2,rootMargin:"0px 0px -50px 0px"}).observe(e)}function c(){const e=document.getElementById("callConversation"),t=document.getElementById("callTime"),n=document.getElementById("callAction"),r=document.querySelector(".call-label"),o=document.getElementById("callerDisplay"),a=document.querySelector(".ai-badge"),s=document.querySelector(".call-icon");if(!e||!t)return;const i=[{type:"caller",text:"Hi, I'd like to schedule an appointment.",delay:1500},{type:"typing",delay:1e3},{type:"xbert",text:"I have 2:00 PM available tomorrow. Would that work?",delay:1800},{type:"caller",text:"Yes, that's perfect!",delay:1500},{type:"typing",delay:800},{type:"xbert",text:"You're confirmed for tomorrow at 2 PM.",delay:1200},{type:"action",delay:500}];let l=0,c=null;function d(){l=0,t.textContent="0:00",c&&clearInterval(c),c=setInterval((()=>{var e;l++,t.textContent=(e=l,`${Math.floor(e/60)}:${(e%60).toString().padStart(2,"0")}`)}),1e3)}function u(t,r){const o=e.querySelector(".typing-indicator");if(o&&o.remove(),"typing"===t){const t=document.createElement("div");t.className="typing-indicator",t.innerHTML="<span></span><span></span><span></span>",e.appendChild(t)}else if("action"===t){n&&n.classList.add("visible");const e=n&&n.querySelector(".action-progress-bar");e&&(e.style.animation="none",e.offsetHeight,e.style.animation="sectionHeroProgressFill 1.5s ease forwards")}else{const n=document.createElement("div");if(n.className=`chat-bubble-wrapper ${t}`,"xbert"===t){const e=document.createElement("div");e.className="chat-bubble-label",e.innerHTML='<span class="label-icon">â¦</span> XBert AI',n.appendChild(e)}const o=document.createElement("div");o.className=`chat-bubble ${t}`,o.textContent=r,n.appendChild(o),e.appendChild(n),e.scrollTop=e.scrollHeight;const a=e.querySelectorAll(".chat-bubble-wrapper");a.length>4&&(a[0].style.animation="sectionHeroBubbleDisappear 0.3s ease forwards",setTimeout((()=>a[0].remove()),300))}}const m=document.createElement("style");m.textContent="\n\t\t@keyframes sectionHeroBubbleDisappear {\n\t\t\tto { opacity: 0; transform: translateY(-10px); }\n\t\t}\n\t",document.head.appendChild(m),async function(){r&&(r.textContent="INCOMING CALL"),o&&(o.textContent="Sarah Mitchell"),a&&(a.innerHTML='<span class="ai-badge-icon">â¦</span><span class="ai-badge-text">XBert AI Speaking</span>',a.classList.remove("summary-mode")),s&&(s.innerHTML='<path d="M21 16.42V19.9561C21 20.4811 20.5941 20.9167 20.0705 20.9537C19.6331 20.9846 19.2763 21 19 21C10.1634 21 3 13.8366 3 5C3 4.72371 3.01545 4.36687 3.04635 3.9295C3.08337 3.40588 3.51894 3 4.04386 3H7.5801C7.83678 3 8.05176 3.19442 8.07753 3.4498C8.10067 3.67907 8.12218 3.86314 8.14207 4.00202C8.34435 5.41472 8.75753 6.75936 9.3487 8.00303C9.44359 8.20265 9.38171 8.44159 9.20185 8.57006L7.04355 10.
11118C8.35752 13.1811 10.8189 15.6425 13.8882 16.9565L15.4271 14.8019C15.5572 14.6199 15.799 14.5573 16.001 14.6532C17.2446 15.2439 18.5891 15.6566 20.0016 15.8584C20.1396 15.8782 20.3225 15.8995 20.5502 15.9225C20.8056 15.9483 21 16.1633 21 16.42Z"></path>',s.classList.remove("completed")),t&&(t.textContent="0:00",t.classList.remove("saved-mode")),e.innerHTML="",n&&n.classList.remove("visible"),d();for(const e of i)await new Promise((t=>setTimeout(t,e.delay))),u(e.type,e.text);await new Promise((e=>setTimeout(e,3e3))),c&&(clearInterval(c),c=null),await new Promise((e=>setTimeout(e,500))),r&&(r.textContent="CALL COMPLETED"),o&&(o.textContent="AI Summary"),a&&(a.innerHTML='<span class="ai-badge-icon">â¦</span><span class="ai-badge-text">Answered by XBert AI</span>',a.classList.add("summary-mode")),s&&(s.innerHTML='<path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"></path>',s.classList.add("completed")),t&&(t.textContent="3m 44s",t.classList.add("saved-mode")),e.innerHTML="",n&&n.classList.remove("visible"),e.innerHTML='\n\t\t\t<div class="summary-card">\n\t\t\t\t<div class="summary-card-label">Summary</div>\n\t\t\t\t<div class="summary-card-text">Sarah Mitchell asked about business hours and scheduled a consultation. Appointment confirmed.</div>\n\t\t\t</div>\n\t\t\t<div class="summary-card">\n\t\t\t\t<div class="summary-card-label">Appointment</div>\n\t\t\t\t<div class="summary-card-text"><span class="summary-badge">Tomorrow</span> <span class="summary-badge">2:00 PM</span> <span class="summary-badge success"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z"></path></svg></span></div>\n\t\t\t</div>\n\t\t\t<div class="summary-card summary-card-vibe">\n\t\t\t\t<div class="summary-card-label">Sentiment</div>\n\t\t\t\t<div class="summary-card-text"><span class="summary-badge positive">Positive</span> <span class="summary-badge positive">Excited</span> <span class="summary-badge positive">Curious</span></div>\n\t\t\t</div>\n\t\t'}(),function(){const e=document.getElementById("statCalls"),t=document.getElementById("statAppointments"),n=document.getElementById("statQuestions"),r=document.getElementById("statSentiment");if(!e)return;const o={calls:47,appointments:12,questions:156,sentiment:94},a=2500,s=performance.now();function i(e){return 1-Math.pow(1-e,4)}function l(c){const u=c-s,m=Math.min(u/a,1),p=i(m);e.textContent=Math.round(p*o.calls),t.textContent=Math.round(p*o.appointments),n.textContent=Math.round(p*o.questions),r.textContent=Math.round(p*o.sentiment),m<1?requestAnimationFrame(l):d()}function c(e,t){e.style.transform="scale(1.1)",e.style.color="#3b82f6",e.textContent=t,setTimeout((()=>{e.style.transform="scale(1)",e.style.color="#1a1a1a"}),300)}function d(){setInterval((()=>{const r=Math.random();r<.3?(o.calls++,c(e,o.calls)):r<.5?(o.questions++,c(n,o.questions)):r<.6&&(o.appointments++,c(t,o.appointments))}),4e3)}requestAnimationFrame(l)}()}function d(){const e=document.getElementById("statsTimeToggle"),t=document.getElementById("statCalls"),n=document.getElementById("statAppointments"),r=document.getElementById("statQuestions"),o=document.getElementById("statSentiment");if(!e||!t)return;const a=e.querySelector(".stats-time-label");function s(e,t,n=800){const r=parseInt(e.textContent,10)||0,o=performance.now();requestAnimationFrame((function a(s){const i=s-o,l=Math.min(i/n,1),c=(d=l,1-Math.pow(1-d,4));var d;const u=Math.round(r+(t-r)*c);e.textContent=u,l<1&&requestAnimationFrame(a)}))}e.addEventListener("click",(()=>{const i="today"===e.dataset.period?"monthly":"today";e.dataset.period=i,a.textContent="today"===i?"Today":"30 Days",s(t,parseInt(t.dataset[i],10)),s(n,parseInt(n.dataset[i],10)),s(r,parseInt(r.dataset[i],10)),s(o,parseInt(o.dataset[i],10))}))}function u(){const e=document.querySelectorAll("[data-hero-video-trigger], #hero-play-video-btn"),t=document.getElementById("hero-video-lightbox");if(!e.length||!t)return;const n=document.getElementById("hero-wistia-iframe"),r=t.querySelector(".hero-video-lightbox-close"),o=t.querySelector(".hero-video-lightbox-backdrop"),a=e=>{e.preventDefault();const r=e.currentTarget,o=r?.dataset?.videoId;o&&(n.src=`https://fast.wistia.net/embed/iframe/${o}?autoPlay=true`,t.style.display="flex",t.offsetHeight,t.classList.add("is-open"),document.body.style.overflow="hidden")},s=()=>{t.classList.remove("is-open"),setTimeout((()=>{t.style.display="none",n.src="",document.body.style.overflow=""}),300)};e.forEach((e=>{e.addEventListener("click",a)}
1)),r&&r.addEventListener("click",s),o&&o.addEventListener("click",s),document.addEventListener("keydown",(e=>{"Escape"===e.key&&t.classList.contains("is-open")&&s()}))}function m(){const e=document.getElementById("xbertHeroParticles");if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=[],r=!1;const o=()=>{r||(r=!0,n.push(((e,n,r=200)=>{const o=()=>{const n=e.getBoundingClientRect(),r=document.createElement("span");r.className="particle";const o=t(0,n.width),a=t(0,n.height);r.style.left=`${o}px`,r.style.top=`${a}px`;const s=t(2,4);r.style.width=`${s}px`,r.style.height=1.5*s+"px";const i=Math.random();let l,c,d;i<.4?(l=Math.round(220+35*Math.random()),c=Math.round(210+35*Math.random()),d=Math.round(190+40*Math.random())):i<.75?(l=Math.round(220+35*Math.random()),c=Math.round(160+50*Math.random()),d=Math.round(60+40*Math.random())):(l=Math.round(230+25*Math.random()),c=Math.round(170+40*Math.random()),d=Math.round(120+40*Math.random())),r.style.background=`rgba(${l}, ${c}, ${d}, 1)`,i<.4&&(r.style.boxShadow="0 0 6px rgba(255, 240, 200, 0.7)"),e.appendChild(r);const u=t(-180,-60),m=t(-120,-40),p=t(-360,360),h=t(1200,2200);r.animate([{transform:"translate3d(0, 0, 0) rotate(0deg) scale(1)",opacity:1},{transform:`translate3d(${u}px, ${m}px, 0) rotate(${p}deg) scale(${t(.6,1.2)})`,opacity:.3}],{duration:h,easing:"linear",fill:"forwards"}).onfinish=()=>r.remove()};return window.setInterval((()=>{const e=Math.round(t(.7*n,1.3*n));for(let t=0;t<e;t++)o()}),r)})(e,5,200)))},a=()=>{r=!1,n.forEach((e=>clearInterval(e))),n=[],e.querySelectorAll(".particle").forEach((e=>e.remove()))};new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?o():a()}))}),{threshold:0}).observe(e),e.getBoundingClientRect().top<window.innerHeight&&o()}function p(){const e=document.getElementById("sunsetHeroParticles");if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=[],r=!1;const o=()=>{r||(r=!0,n.push(((e,n,r=200)=>{const o=()=>{const n=e.getBoundingClientRect(),r=document.createElement("span");r.className="particle";const o=t(0,n.width),a=t(0,n.height);r.style.left=`${o}px`,r.style.top=`${a}px`;const s=t(2,4);r.style.width=`${s}px`,r.style.height=1.5*s+"px";const i=Math.random();let l,c,d;i<.4?(l=Math.round(230+25*Math.random()),c=Math.round(150+40*Math.random()),d=Math.round(30+30*Math.random())):i<.75?(l=Math.round(245+10*Math.random()),c=Math.round(180+40*Math.random()),d=Math.round(50+30*Math.random())):(l=255,c=Math.round(210+30*Math.random()),d=Math.round(100+40*Math.random())),r.style.background=`rgba(${l}, ${c}, ${d}, 1)`,r.style.boxShadow="0 0 6px rgba(240, 160, 40, 0.5)",e.appendChild(r);const u=t(-180,-60),m=t(-120,-40),p=t(-360,360),h=t(1200,2200);r.animate([{transform:"translate3d(0, 0, 0) rotate(0deg) scale(1)",opacity:1},{transform:`translate3d(${u}px, ${m}px, 0) rotate(${p}deg) scale(${t(.6,1.2)})`,opacity:.3}],{duration:h,easing:"linear",fill:"forwards"}).onfinish=()=>r.remove()};return window.setInterval((()=>{const e=Math.round(t(.7*n,1.3*n));for(let t=0;t<e;t++)o()}),r)})(e,5,200)))},a=()=>{r=!1,n.forEach((e=>clearInterval(e))),n=[],e.querySelectorAll(".particle").forEach((e=>e.remove()))};new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?o():a()}))}),{threshold:0}).observe(e),e.getBoundingClientRect().top<window.innerHeight&&o()}function h(){const e=document.getElementById("serviceHeroParticles");if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=[],r=!1;const o=()=>{r||(r=!0,n.push(((e,n,r=200)=>{const o=()=>{const n=e.getBoundingClientRect(),r=document.createElement("span");r.className="particle",r.style.left=`${t(0,n.width)}px`,r.style.top=`${t(0,n.height)}px`;const o=t(2,4);r.style.width=`${o}px`,r.style.height=1.5*o+"px";const a=Math.random();let s,i,l,c;a<.35?(s=Math.round(0+30*Math.random()),i=Math.round(80+40*Math.random()),l=Math.round(220+35*Math.random()),c="rgba(0, 94, 255, 0.5)"):a<.7?(s=Math.round(40+40*Math.random()),i=Math.round(120+60*Math.random()),l=Math.round(230+25*Math.random()),c="rgba(40, 140, 255, 0.45)"):(s=Math.round(230+25*Math.random()),i=Math.round(230+25*Math.random()),l=Math.round(235+20*Math.random()),c="rgba(255, 255, 255, 0.35)"),r.style.background=`rgba(${s}, ${i}, ${l}, 1)`,r.style.boxShadow=`0 0 6px ${c}`,e.appendChild(r);const d=t(-180,-60),u=t(-120,-40),m=t(-360,360),p=t(1200,2200);r.animate([{transform:"translate3d(0, 0, 0) rotate(0deg) scale(1)",opacity:1},{transform:`translate3d(${d}px, ${u}px, 0) rotate(${m}deg) scale(${t(.6,1.2)})`,opacity:.3}],{duration:p,easing:"linear",fill:"forwards"}).onfinish=()=>r.remove()};return window.setInterval((()=>{const e=Math.round(t(.7*n,1.3*n));for(let t=0;t<e;t++)o()}),r)})(e,5,200)))},a=()=>
1{r=!1,n.forEach((e=>clearInterval(e))),n=[],e.querySelectorAll(".particle").forEach((e=>e.remove()))};new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?o():a()}))}),{threshold:0}).observe(e),e.getBoundingClientRect().top<window.innerHeight&&o()}function f(){const e=document.querySelectorAll(".section-hero--hubspot-form .nextiva-hubspot-form");for(let t=0;t<e.length;t++)a(e[t])}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>{s(),d(),u(),m(),p(),h(),f()})):(s(),d(),u(),m(),p(),h(),f()),window.addEventListener("load",(()=>{!function(){const e=document.querySelector(".rating-number");if(!e)return;const t=parseInt(e.textContent.replace(/[^0-9]/g,""),10)||2e4;i(e,t)}(),document.querySelectorAll(".hero-social-proof .rating-text").forEach((e=>{const t=e.textContent,n=/(\d[\d,]*)(\.\d+)?/.exec(t);if(!n||n[2])return;const r=parseInt(n[1].replace(/[^0-9]/g,""),10);if(!r)return;const o=n[1].includes(","),a=t.slice(0,n.index),s=t.slice(n.index+n[0].length),l=document.createElement("span");l.className="rating-count",l.textContent=r.toLocaleString("en-US",{useGrouping:o}),e.textContent="",a&&e.append(a),e.append(l),s&&e.append(s),l.style.minWidth=l.getBoundingClientRect().width+"px",i(l,r,{useGrouping:o})})),l(),c()}))}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.m=r,e=[],a.O=(t,n,r,o)=>{if(!n){var s=1/0;for(d=0;d<e.length;d++){for(var[n,r,o]=e[d],i=!0,l=0;l<n.length;l++)(!1&o||s>=o)&&Object.keys(a.O).every((e=>a.O[e](n[l])))?n.splice(l--,1):(i=!1,o<s&&(s=o));if(i){e.splice(d--,1);var c=r();void 0!==c&&(t=c)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>(35820===e?"intl-phone/libphonenumber":e)+".js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},n="nextiva-2024-v2:",a.l=(e,r,o,s)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==n+o){i=u;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack",n+o),i.src=e,i.setAttribute("data-ot-ignore","")),t[e]=[r];var m=(n,r)=>{i.onerror=i.onload=null,clearTimeout(p);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(r))),n)return n(r)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),l&&document.head.appendChild(i)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e+"../../"})(),(()=>{var e={22573:0,8041:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(8041!=t){var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var s=a.p+a.u(t),i=new Error;a.l(s,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",i.name="ChunkLoadError",i.type=o,i.request=s,r[1](i)}}),"chunk-"+t,t)}else e[t]=0},a.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[s,i,l]=n,c=0;if(s.some((t=>0!==e[t]))){for(r in i)a.o(i,r)&&(a.m[r]=i[r]);
vendor: 299 bytes, line 1
1if(l)var d=l(a)}for(t&&t(n);c<s.length;c++)o=s[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(d)},n=globalThis.webpackChunknextiva_2024_v2=globalThis.webpackChunknextiva_2024_v2||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var s=a.O(void 0,[8041],(()=>a(1119)));s=a.O(s)})();
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.