1(p=>{function r(){var e=p(".pro-btn").attr("data-plan"),t=p(".pro-list-wrapper .dropdown-list li p"),i=p(".plan-content_pro .domain-box .custom-dropdown .selected-option .text p"),n=i.attr("id"),a=i.closest(".domain-box").find(".list-wrapper"),o=p(".dev-btn").attr("data-plan"),s=p(".dev-list-wrapper .dropdown-list li p"),r=p(".plan-content_dev .domain-box .custom-dropdown .selected-option .text p"),l=r.attr("id"),c=r.closest(".domain-box").find(".list-wrapper"),d=p(window).width();p(".wpam-switch-slider").hasClass("checked")?(p(".wpam-switch-slider").addClass("wpam-switch-slider-disabled"),p("#pricing .second-heading, #index .second-heading").addClass("second-heading-lifetime"),p(".download-amelia-lite").css("margin-top","110px"),p(".table-section #lifetime").prop("checked",!0),p(".table-section #lifetime-res").prop("checked",!0),p(".table-section #annual").prop("checked",!1),p(".table-section #annual-res").prop("checked",!1),f(),d<681&&p("#Pricing .Plans .plan-cards, #index .Plans .plan-cards").css({transform:"translate(-24.7%, -43.5%)",transition:"0s"}),p("#Pricing .Plans .plan-cards .benefits_annual, #index .Plans .plan-cards .benefits_annual").hide(),p("#Pricing .Plans .plan-cards .benefits_lifetime, #index .Plans .plan-cards .benefits_lifetime").show(),p("#Pricing .Plans .plan-cards, #index .Plans .plan-cards"),p(".dev-dropdown-annual").hide(),p(".plan_starter").hide(),p(".dev-unlimited-domains-lifetime").removeAttr("hidden"),p(".price-annual, .annual-btn, .support-time-annual").attr("hidden","true"),p(".price-lifetime, .lifetime-btn, .support-time-lifetime").removeAttr("hidden"),e+="-lifetime",p(".pro-btn").attr("data-plan",e),o+="-lifetime",p(".dev-btn").attr("data-plan",o),i.attr("id",n+="-lifetime"),r.attr("id",l+="-lifetime"),t.each(function(){var e=p(this).attr("id");e+="-lifetime",p(this).attr("id",e)}),s.each(function(e,t){var i=p(this).attr("id");i+="-lifetime",p(this).attr("id",i)}),p(".download-amelia-lite").css("margin-top","0"),p(window).width()<681&&(0<p('[id^="sl-lifetime"]').not(".hide-show-text").length?(p("#pricing .Main .Plans .grid-wrapper, #index .Main .Plans .grid-wrapper").css("margin-bottom","1787px"),p(".download-amelia-lite").css("margin-top","220px")):(p("#pricing .Main .Plans .grid-wrapper, #index .Main .Plans .grid-wrapper").css("margin-bottom","1223px"),p(".download-amelia-lite").css("margin-top","120px"))),p("#Pricing .list-wrapper #pro-5-lifetime, #index .list-wrapper #pro-5-lifetime").length?u(p("#Pricing .list-wrapper #pro-5-lifetime, #index .list-wrapper #pro-5-lifetime").closest("li")):m("pro-5-lifetime",a),p("#Pricing .dev-list-wrapper #developer-unlimited-lifetime, #index .dev-list-wrapper #developer-unlimited-lifetime").length?u(p("#Pricing .list-wrapper #developer-unlimited-lifetime, #index .list-wrapper #developer-unlimited-lifetime").closest("li")):m("developer-unlimited-lifetime",c)):(p(".wpam-switch-slider").addClass("wpam-switch-slider-disabled"),p("#pricing .second-heading, #index .second-heading").removeClass("second-heading-lifetime-expanded"),p("#pricing .second-heading, #index .second-heading").removeClass("second-heading-lifetime"),p(window).width()<681&&(0<p('[id^="sl-annual"]').not(".hide-show-text").length?p("#pricing .Main .Plans .grid-wrapper, #index .Main .Plans .grid-wrapper").css("margin-bottom","1443px"):p("#pricing .Main .Plans .grid-wrapper, #index .Main .Plans .grid-wrapper").css("margin-bottom","1204px")),p(".download-amelia-lite").css("margin-top","0"),p(".table-section #annual").prop("checked",!0),p(".table-section #lifetime").prop("checked",!1),p(".table-section #lifetime-res").prop("checked",!1),p(".table-section #annual-res").prop("checked",!0),f(),d<681&&p("#Pricing .Plans .plan-cards, #index .Plans .plan-cards").css({transform:"translate(-12%, -50%)",transition:"0s"}),p("#Pricing .Plans .plan-cards .benefits_annual, #index .Plans .plan-cards .benefits_annual").show(),p("#Pricing .Plans .plan-cards .benefits_lifetime, #index .Plans .plan-cards .benefits_lifetime").hide(),p(".plan_starter").show(),p(".dev-dropdown-annual").show(),p(".dev-unlimited-domains-lifetime").attr("hidden",!0),p(".dev-list-wrapper").removeAttr("hidden"),p(".plan-content_dev .domain-box .custom-dropdown .selected-option .text").removeAttr("style"),p(".plan-content_dev .domain-box .custom-dropdown .selected-option .dropdown-icon").removeAttr("hidden"),p(".price-lifetime, .lifetime-btn, .support-time-lifetime").attr("hidden","true"),p(".price-annual, .annual-btn, .support-time-annual").removeAttr("hidden"),p(".plan_dev .dev-lifetime").attr("hidden","true"),p(".plan_dev .dev-annual").removeAttr("hidden"),e=e.replace("-lifetime",""),p(".pro-btn").attr("data-plan",e),o="20 domains"!==s.text()?"developer-20":"developer-unlimited",p(".dev-btn").attr("data-plan",o),n=n.replace("-lifetime",""),i.attr("id",n),l="20 domains"!==s.text()?"developer-20":"developer-unlimited",r.attr("id",l),t.each(function(){let e=p(this).attr("id");e=e.replace("-lifetime",""),p(this).attr("id",e)}),s.each(function(e,t){p(this).attr("id");var i="20 domains"!==s.text()?"developer-unlimited":"developer-20";p(this).attr("id",i)}),p("#Pricing .list-wrapper #pro-5, #index .list-wrapper #pro-5").closest("li").length?u(p("#Pricing .list-wrapper #pro-5, #index .list-wrapper #pro-5").closest("li")):m("pro-5",a),p("#Pricing .list-wrapper #developer-unlimited, #index .list-wrapper #developer-unlimited").length?u(p("#Pricing .list-wrapper #developer-unlimited, #index .list-wrapper #developer-unlimited").closest("li")):m("developer-unlimited",c)),setTimeout(()=>{p(".wpam-switch-slider").removeClass("wpam-switch-slider-disabled")},300)}function m(e,t){var i=p("#Pricing .plan-content_pro .pro-1, #elementor .plan-content_pro .pro-1, #square-power .plan-content_pro .pro-1, #Reactivation .plan-content_pro .pro-1, #index .plan-content_pro .pro-1"),n=p("#Pricing .plan-content_pro .pro-5, #elementor .plan-content_pro .pro-5, #square-power .plan-content_pro .pro-5, #Reactivation .plan-content_pro .pro-5, #index .plan-content_pro .pro-5"),a=p("#Pricing .plan-content_pro .pro-1-lifetime, #elementor .plan-content_pro .pro-1-lifetime, #square-power .plan-content_pro .pro-1-lifetime, #Reactivation .plan-content_pro .pro-1-lifetime, #index .plan-content_pro .pro-1-lifetime"),o=p("#Pricing .plan-content_pro .pro-5-lifetime, #elementor .plan-content_pro .pro-5-lifetime, #square-power .plan-content_pro .pro-5-lifetime, #Reactivation .plan-content_pro .pro-5-lifetime, #index .plan-content_pro .pro-5-lifetime"),s=p("#Pricing .plan-content_dev .dev-5, #elementor .plan-content_dev .dev-5, #square-power .plan-content_dev .dev-5, #Reactivation .plan-content_dev .dev-5, #index .plan-content_dev .dev-5"),r=p("#Pricing .plan-content_dev .dev-20, #elementor .plan-content_dev .dev-20, #square-power .plan-content_dev .dev-20, #Reactivation .plan-content_dev .dev-20, #index .plan-content_dev .dev-20"),l=p("#Pricing .plan-content_dev .dev-5-lifetime, #elementor .plan-content_dev .dev-5-lifetime, #square-power .plan-content_dev .dev-5-lifetime, #Reactivation .plan-content_dev .dev-5-lifetime, #index .plan-content_dev .dev-5-lifetime"),c=p("#Pricing .plan-content_dev .dev-20-lifetime, #elementor .plan-content_dev .dev-20-lifetime, #square-power .plan-content_dev .dev-20-lifetime, #Reactivation .plan-content_dev .dev-20-lifetime, #index .plan-content_dev .dev-20-lifetime");t.hasClass("pro-list-wrapper")?((t=p("#Pricing .Plans .plan-cards .plan_pro .discount-percent_pro, #index .Plans .plan-cards .plan_pro .discount-percent_pro")).removeClass("hide-bg hide-text").find("span").text(""),i.attr("hidden","hidden"),n.attr("hidden","hidden"),a.attr("hidden","hidden"),o.attr("hidden","hidden"),"pro-1"===e&&(i.removeAttr("hidden"),t.find("span").text("25%")),"pro-5"===e&&(n.removeAttr("hidden"),t.find("span").text("30%")),"pro-1-lifetime"===e&&(a.removeAttr("hidden"),t.find("span").text("20%")),"pro-5-lifetime"===e&&(o.removeAttr("hidden"),t.find("span").text("30%"))):(s.attr("hidden","hidden"),r.attr("hidden","hidden"),l.attr("hidden","hidden"),c.attr("hidden","hidden"),"developer-20"===e&&(s.removeAttr("hidden"),p("#Pricing .Plans .plan-cards .plan_dev .discount-percent_elite span, #index .Plans .plan-cards .plan_dev .discount-percent_elite span").text("40%")),"developer-unlimited"===e&&(r.removeAttr("hidden"),p("#Pricing .Plans .plan-cards .plan_dev .discount-percent_elite span, #index .Plans .plan-cards .plan_dev .discount-percent_elite span").text("50%")),"developer-20-lifetime"===e&&(l.removeAttr("hidden"),p("#Pricing .Plans .plan-cards .plan_dev .discount-percent_elite span, #index .Plans .plan-cards .plan_dev .discount-percent_elite span").text("40%")),"developer-unlimited-lifetime"===e&&(c.removeAttr("hidden"),p("#Pricing .Plans .plan-cards .plan_dev .discount-percent_elite span, #index .Plans .plan-cards .plan_dev .discount-percent_elite span").text("50%")))}p(".Main .Header").css("display","block"),p(".Main .Plans").css("display","block"),p(window).width()<681&&(p(document).on("click","#sm-lifetime",function(){p(".Main .Plans .grid-wrapper").css("margin-bottom","1787px"),p(".Main .Plans .grid-wrapper .plan-cards").css("top","45%"),p(".download-amelia-lite").css("margin-top","220px")}
1),p(document).on("click","#sl-lifetime",function(){0===p('[id^="sl-lifetime"]').not(".hide-show-text").length&&(p(".Main .Plans .grid-wrapper .plan-cards").css("top","50%"),p("#pricing .Main .Plans .grid-wrapper, #elementor .Plans .grid-wrapper, #guildenberg .Plans .grid-wrapper").css("margin-bottom","1223px"),p(".download-amelia-lite").css("margin-top","110px"))}),p(document).on("click","#sm-annual",function(){p("#pricing .Main .Plans .grid-wrapper, #elementor .Plans .grid-wrapper, #square-power .Plans .grid-wrapper, #guildenberg .Plans .grid-wrapper").css("margin-bottom","1480px")}),p(document).on("click","#sl-annual",function(){0===p('[id^="sl-annual"]').not(".hide-show-text").length&&p("#pricing .Main .Plans .grid-wrapper, #elementor .Plans .grid-wrapper, #square-power .Plans .grid-wrapper, #guildenberg .Plans .grid-wrapper").css("margin-bottom","1204px")})),p(window).load(function(){var e=new URL(document.location).searchParams,t=e.get("irclickid"),e=e.get("irpid"),i=new Date,n=(i.setDate(i.getDate()+90),t&&(document.cookie="irclickid="+t+";expires="+i.toUTCString()+";"),e&&(document.cookie="irpid="+e+";expires="+i.toUTCString()+";"),setTimeout(function(){(l?l.renderBillingPricePreviews():Promise.resolve()).catch(function(e){console.error("Paddle Billing price preview failed",e)})},600),["/salon-booking-wordpress/","/wordpress-booking-gyms/","/wordpress-booking-yoga/","/wordpress-booking-medical/","/wordpress-booking-photography/","/wordpress-booking-mechanics/"].includes(window.location.pathname)&&(p(".am-buy-now-button").on("click",function(){p("#am-pricing-section")[0].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),p("#am-translation-list:has(ul) > a").removeAttr("href"),document.getElementById("am-translation-list").querySelectorAll(".sub-menu > li > a").forEach(function(e){e.removeAttribute("href")})),p(window).width()),a=p("#Pricing .Plans .plan-cards"),o=-12,s=-24.7;p(".loading").fadeOut(800),p(".page-overlay").fadeOut(600),p(".wpam-switch-slider").on("click",function(){p(".wpam-switch-slider").toggleClass("checked"),r()}),p(document).ready(function(){window.Gleap&&"function"==typeof window.Gleap.on&&(window.Gleap.on("conversation-started",()=>{window.Gleap.setTags(["Website"])}),window.Gleap.on("flow-started",e=>{window.Gleap.setTags(["Website"])})),0<p("#Pricing .Plans, #index .Plans, #square-power .Plans").length&&p("#Pricing .Plans, #index .Plans, #square-power .Plans").swipe({swipeLeft:function(){a.css({transition:"transform 0.3s ease"}),p(".wpam-switch-slider").hasClass("checked")?n<681&&a.css({transform:function(){return s<-75?s=-24.7:s-=25.3,"translate("+s+"%, -43.5%)"}}):n<681&&a.css({transform:function(){return o<-86?o=-12:o-=25.3,"translate("+o+"%, -50%)"}})},swipeRight:function(){a.css({transition:"transform 0.3s ease"}),p(".wpam-switch-slider").hasClass("checked")?n<681&&a.css({transform:function(){return-25<s?s=-75.3:s+=25.3,"translate("+s+"%, -43.5%)"}}):n<681&&a.css({transform:function(){return-13<o?o=-87.9:o+=25.3,"translate("+o+"%, -50%)"}})}})}),p("#searchFAQ").on("input",function(){for(var e=this.value.split(" "),t=p("#FAQ-section h2").length,i=1;i<=t;i++){var n=!1;p(".faq-item-"+i).each(function(){var t=p(this)[0].innerText.toUpperCase();e.every(function(e){if(t.includes(e.replace("'","â").toUpperCase()))return!0})?(n=!0,p(".faq-heading-"+i).show(),p(this).show()):p(this).hide()}),n||p(".faq-heading-"+i).hide()}p("#FAQ-section h2").filter(function(){return"block"==p(this).css("display")}).length?p("#no-answers-message").hide():p("#no-answers-message").show()})}),p(document).ready(function(){"docs"===p("body").attr("id")&&p('a[href^="#"]').not("[data-vc-accordion]").on("click",function(e){e.preventDefault(),e.stopPropagation();var e=p(this.getAttribute("href"));e.length&&(e=e[0].getBoundingClientRect().top+window.pageYOffset-120,window.scrollTo({top:e,behavior:"smooth"}))})}),p(document).ready(function(){var e;function n(){var e=p(".am-dropdown-btn"),t=!1;e.each(function(){if(p(this).hasClass("active"))return!(t=!0)}),t?p(".overlay-page-shadow").css("height","100%"):p(".overlay-page-shadow").css("height","0")}function t(){var e;document.getElementById("cookie-law-info-bar")&&(e=document.getElementById("cookie-law-info-bar"),document.getElementById("wpadminbar")&&(e.top="32px"),"block"===e.style.display&&"/wordpress-event-plugin/"!==window.location.pathname&&"/pricing/"!==window.location.pathname&&"/guildenberg/"!==window.location.pathname&&"/elementor/"!==window.location.pathname?p(".Main, #docs").css("margin-top",e.offsetHeight+"px"):p(".Main, #docs").css("margin-top","unset"))}setTimeout(function(){767<p(window).width()&&p(".Fixed-btn-wrapper a .is-card-dark").css("bottom","130px")},2e4),p(".purchase-cta").click(function(e){e.preventDefault();e=p(this).attr("href");p("html, body").animate({scrollTop:p(e).offset().top},850)}),e=p(".sidebar-docs").height()+60,p("#documentation-content").css("min-height",e),p(".ToggleIcon").bind("click",function(e){e.preventDefault(),p("#overlay-nav, .overlay-background, .ToggleIcon, body").toggleClass("is-open"),p("body").toggleClass("overlay"),p("#Fixed-btn").toggleClass("z-change")}),p(".MobileNav a").click(function(){p(this).hasClass("js-wpml-ls-item-toggle")||p("body").hasClass("is-open")&&(p("#overlay-nav, .overlay-background, .ToggleIcon, body").toggleClass("is-open"),p("body").toggleClass("overlay"),p("#Fixed-btn").toggleClass("z-change"))}),p("#index .Features-submenu a").click(function(e){}),p("#perfect-for-button").click(function(e){e.preventDefault();e=p(this).attr("href");p("html, body").animate({scrollTop:p(e).offset().top},650)}),p("#am-grab-amelia-pricing").on("click",function(){p("#am-scroll-here")[0].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),p(document).on("click",".am-dropdown-btn",function(e){e.stopPropagation();let t=p(this).attr("name"),i=["help-center","resources","whos-it-for","solutions"];i=i.filter(e=>e!==t),p(this).hasClass("active")?(p(this).removeClass("active"),p(`.am-${t}-dropdown`).hide()):(p(this).addClass("active"),p(`.am-${t}
1-dropdown`).show(),i.forEach(e=>{p(`#am-${e}-btn`).removeClass("active"),p(`.am-${e}-dropdown`).hide()})),n()}),p(document).ready(function(){p(".am-resources-dropdown").click(function(e){e.stopPropagation()}),p(".am-solutions-dropdown").click(function(e){e.stopPropagation()}),p(".am-whos-it-for-dropdown").click(function(e){e.stopPropagation()}),p(document).click(function(){p(".am-help-center-dropdown").hide(),p("#am-help-center-btn").removeClass("active"),p("#am-whos-it-for-btn").removeClass("active"),p(".am-whos-it-for-dropdown").hide(),p("#am-resources-btn").removeClass("active"),p(".am-resources-dropdown").hide(),p("#am-solutions-btn").removeClass("active"),p(".am-solutions-dropdown").hide(),n()})}),setTimeout(function(){t()},1e3),window.addEventListener("resize",t),p("#wt-cli-privacy-save-btn, #wt-cli-accept-all-btn, #cookie_action_close_header_reject").on("click",function(){p(".Main, #docs").css("margin-top","unset")});let a=!1,i=(p(document).scroll(function(){a||(a=!0,requestAnimationFrame(function(){var e,t,i;p("#Fixed-btn").length&&(p("#Fixed-btn").offset().top+p("#Fixed-btn").height()>=p("#Footer").offset().top-30&&p("#Fixed-btn").fadeOut(150),p(document).scrollTop()+window.innerHeight<p("#Footer").offset().top)&&"/blog"!==p(location).attr("pathname")&&p("#Fixed-btn").fadeIn(50),function(){p("#Fixed-back-to-top").length&&((p("#Fixed-back-to-top").offset().top+p("#Fixed-back-to-top").height()>=p("#Footer").offset().top-30||p(this).scrollTop()<500)&&p("#Fixed-back-to-top").fadeOut(150),500<=p(this).scrollTop())&&p(document).scrollTop()+window.innerHeight<p("#Footer").offset().top&&p("#Fixed-back-to-top").fadeIn(50)}(),(i=p("#Fixed-back-to-top-sidebar")).length&&(e=i.offset().top+i.height(),t=p(".support").offset().top+p(".support").height()+150,(e>=p("#Footer").offset().top-30||e<t)&&i.css({display:"block",visibility:"hidden"}),t<=e)&&e<p("#Footer").offset().top-30&&i.css({display:"block",visibility:"visible"}),a=!1}))}),p("#Fixed-back-to-top").on("click",function(){p("html").animate({scrollTop:0},"slow")}),p("#Fixed-back-to-top-sidebar").on("click",function(){p("html").animate({scrollTop:0},"slow")}),"undefined"!=typeof isUIkit&&(isUIkit.grid(".is-grid"),isUIkit.svg(".is-svg"),isUIkit.slider(".is-slider"),isUIkit.cover(".is-cover"),isUIkit.slideshow(".is-slideshow",{animation:"is-animation-fade"}),isUIkit.switcher(".IntegrationSwitch .is-switch",{animation:"is-animation-slide-right-small, is-animation-slide-left-small"}),p("ul.is-slider-nav").each(function(e,t){p(t).find("a").each(function(e,t){p(t).attr("aria-label","slide link "+e)})}),p(".demo-section .responsive-item ul.is-slider-nav").children(":nth-child(2)").click(),isUIkit.tab(".is-tab",{animation:"is-animation-slide-top-medium, is-animation-slide-bottom-medium"}),isUIkit.navbar(".is-navbar"),isUIkit.sticky(".is-sticky"),isUIkit.icon(".is-icon"),isUIkit.alert(".is-alert")),"function"==typeof LazyLoad&&new LazyLoad({elements_selector:".lazy"}),!1);p(document).on("mouseleave",function(e){e.clientY<10&&!i&&(p(".dialog-exit-intent").css("display","flex"),p(".dialog-exit-intent-popup-close-btn").on("click",()=>{p(".dialog-exit-intent").css("display","none")}),i=!0)})});var l=window.AmeliaPaddleBilling;function s(e){return{starter:"Amelia Starter",basic:"Amelia Standard",pro:"Amelia Pro",developer:"Amelia Elite","basic-lifetime":"Amelia Standard Lifetime","pro-lifetime":"Amelia Pro Lifetime","developer-lifetime":"Amelia Elite Lifetime","pro-1":"Amelia Pro 1","pro-2":"Amelia Pro 2","pro-5":"Amelia Pro 5","developer-20":"Amelia Elite 20","developer-50":"Amelia Elite 50","developer-unlimited":"Amelia Elite Unlimited","pro-1-lifetime":"Amelia Pro 1 Lifetime","pro-2-lifetime":"Amelia Pro 2 Lifetime","pro-5-lifetime":"Amelia Pro 5 Lifetime","developer-20-lifetime":"Amelia Elite 20 Lifetime","developer-50-lifetime":"Amelia Elite 50 Lifetime","developer-1000-lifetime":"Amelia Elite 1000 Lifetime","developer-unlimited-lifetime":"Amelia Elite Unlimited Lifetime"}[e.name]||e.name}function u(e){var t=p(e).find("p").attr("id"),i=p(e).html();let n=p(e).closest(".domain-box").find(".custom-dropdown .selected-option .text").html(),a=(p(e).closest(".domain-box").find(".custom-dropdown .selected-option .text").html(i),setTimeout(function(){p(e).html(n)}.bind(e),300),p(e).closest(".custom-dropdown").find("p").attr("id",t),p(e).closest(".list-wrapper").find(".dropdown-list"));a.removeClass("show"),p(e).closest(".domain-box").find(".dropdown-icon").removeClass("rotate");p(e).closest(".plan-content").find(".is-button").attr("data-plan",t);i=p(e).closest(".list-wrapper");m(t,i),setTimeout(function(){var e=a.children("li");e.sort(function(e,t){e=p(e).find("p").text(),t=p(t).find("p").text();return parseInt(e.split(" ")[0])-parseInt(t.split(" ")[0])}),a.empty(),e.each(function(){a.append(p(this))})},300)}l&&"function"==typeof l.init||(console.error("Amelia Paddle Billing shared module is missing"),l=null),l&&l.init({onCheckoutClosed:function(e){var t;
1t=e.plan,e=e.email,p(".dialog-purchase-aborted").css("display","flex"),p(".dialog-purchase-aborted-popup-close-btn").on("click",()=>{p(".dialog-purchase-aborted").css("display","none")}),p(".purchase-aborted-plan-id input").val(t.priceId||""),p(".purchase-aborted-plan-name input").val(t.name),e&&p(".purchase-aborted-user-email input").val(e),p(".forminator-custom-form").on("submit",e=>{e.preventDefault(),setTimeout(()=>{p(".dialog-purchase-aborted").css("display","none"),p(".dialog-purchase-aborted-thanks").css("display","flex"),p(".am-thanks-popup-close-btn").on("click",()=>{p(".dialog-purchase-aborted-thanks").css("display","none")})},1200)})},onCheckoutCompleted:async function(e){var t=window.tmsStoreConfig;if(t&&"sandbox"!==(t.billing||{}).environment&&e.plan)try{var i=e.data,n=e.plan,a=(e=>{switch(e){case"Amelia Starter":return"checkoutSuccessStarter";case"Amelia Basic":case"Amelia Standard":return"checkoutSuccessBasic";case"Amelia Basic Lifetime":case"Amelia Standard Lifetime":return"checkoutSuccessBasicLifetime";case"Amelia Pro 1":case"Amelia Pro 2":case"Amelia Pro 3":case"Amelia Pro 5":return"checkoutSuccessProNew";case"Amelia Pro 1 Lifetime":case"Amelia Pro 2 Lifetime":case"Amelia Pro 3 Lifetime":case"Amelia Pro 5 Lifetime":return"checkoutSuccessProLifetimeNew";case"Amelia Developer 20":case"Amelia Elite 20":case"Amelia Developer 50":case"Amelia Developer 1000":case"Amelia Developer Unlimited":case"Amelia Elite Unlimited":return"checkoutSuccessDeveloperNew";case"Amelia Developer 20 Lifetime":case"Amelia Developer 50 Lifetime":case"Amelia Developer 1000 Lifetime":case"Amelia Developer Unlimited Lifetime":case"Amelia Elite Unlimited Lifetime":case"Amelia Elite 20 Lifetime":return"checkoutSuccessDeveloperLifetimeNew";default:return""}})(s(n)),o=(o=l?l.getCheckoutTotal(i):0)?.96*o-.4:0,i=l?l.getBillingCheckoutEmail(i):"",a={event:a,ecommerce:{value:o,name:s(n),url:document.URL}};i&&(a.sha256_email_address=await(async e=>{var t=(t=new TextEncoder).encode(e),e=await crypto.subtle.digest("SHA-256",t),t=Array.from(new Uint8Array(e));return e=t.map(e=>e.toString(16).padStart(2,"0")).join("")})(i)),dataLayer.push(a),await 0}catch(e){console.log(e)}p("#Reactivation").length&&e.plan&&(t=e.data,n=e.plan)&&l&&(p(".am-reactivation-form-plan-id input").val(n.priceId),p(".am-reactivation-form-plan-name input").val(n.name),p(".am-reactivation-form-user-email input").val(l.getBillingCheckoutEmail(t)),p(".am-reactivation-form .forminator-custom-form").submit())}}),p("#pricing #am-grab-btn-pricing-page, #index #am-grab-btn-pricing-page").on("click",e=>{e.preventDefault(),p(".wpam-switch-btn")[0].scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}),p("#Events #industries .industry-menu-item").on("click",function(){for(let e=0;e<p(".industry-menu-item").length;e++)p(this)[0]===p(".industry-menu-item")[e]?(p(".industry-menu-item")[e].classList.add("active"),p(".industry-images-item")[window.innerWidth<960?e:8+e].classList.add("active"),window.innerWidth<960&&p(".industry-images-item")[e].scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})):p(".industry-menu-item").hasClass("active")&&(p(".industry-menu-item")[e].classList.remove("active"),p(".industry-images-item")[window.innerWidth<960?e:8+e].classList.remove("active"))}),p("#Events #features .feature-list-item").on("click",function(){for(let e=0;e<p(".feature-list-item").length;e++)p(this)[0]===p(".feature-list-item")[e]?(p(".feature-list-item")[e].classList.add("expanded"),p(".feature-img")[window.innerWidth<960?e:5+e].classList.add("expanded"),window.innerWidth<960&&p(".feature-img")[e].scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})):p(".feature-list-item").hasClass("expanded")&&(p(".feature-list-item")[e].classList.remove("expanded"),p(".feature-img")[window.innerWidth<960?e:5+e].classList.remove("expanded"))}),p("#Events .benefits-wrapper .is-button").on("click",function(){p(this).hasClass("show-more")?(p("#Events .benefits-wrapper .show-more").hide(),p("#Events .benefits-wrapper .show-less").show(),p("#Events .benefits-wrapper .content")[0].classList.add("expanded")):(p("#Events .benefits-wrapper .show-more").show(),p("#Events .benefits-wrapper .show-less").hide(),p("#Events .benefits-wrapper .content")[0].classList.remove("expanded"))}),p("#About #founder-section .founder-box .txt-expand-btn").on("click",function(){p(this).hasClass("show-more")?(p("#About #founder-section .founder-box .show-more").hide(),p("#About #founder-section .founder-box .show-less").show(),p("#About #founder-section .founder-box .description .description-pt3")[0].classList.add("expanded")):(p("#About #founder-section .founder-box .show-more").show(),p("#About #founder-section .founder-box .show-less").hide(),p("#About #founder-section .founder-box .description .description-pt3")[0].classList.remove("expanded"))}),p("#About #who-we-are .wrapper .cards .card .informations .card-show-text").on("click",function(){var e=window.ameliaStrings&&window.ameliaStrings.about_show_more?window.ameliaStrings.about_show_more:"Show more",t=window.ameliaStrings&&window.ameliaStrings.events_show_less?window.ameliaStrings.events_show_less:"Show less";p(this).text()===e?(p(this).text(t),p(this).closest(".card").find(".description-pt2")[0].classList.add("expanded")):(p(this).text(e),p(this).closest(".card").find(".description-pt2")[0].classList.remove("expanded"))}),p("#Guildenberg .side-by-side-section .content .side-by-side .row .text .show-more").on("click",function(){"Show more"===p(this).text()?(p(this).text("Show less"),p(this).closest(".text").find(".second-part")[0].classList.add("active")):(p(this).text("Show more"),p(this).closest(".text").find(".second-part")[0].classList.remove("active"))}),p("#Guildenberg .features-cards .show-more").on("click",function(){"Show more"===p(this).text()?(p(this).text("Show less"),p(this).closest(".features-cards").find(".cards")[0].classList.add("active")):(p(this).text("Show more"),p(this).closest(".features-cards").find(".cards")[0].classList.remove("active"))}),p("#Pricing .benefits .show-text, #Reactivation .benefits .show-text, #square-power .benefits .show-text").on("click",function(){p(this).hasClass("show-more")?(p(this).closest(".benefits").find(".show-less").removeClass("hide-show-text"),p(this).addClass("hide-show-text"),p(this).closest(".benefits").find(".list-part-2")[0].classList.add("expanded"),p(this).closest(".benefits").find(".list-part-2")[0].classList.remove("not-expanded")):(p(this).closest(".benefits").find(".show-more").removeClass("hide-show-text"),p(this).addClass("hide-show-text"),p(this).closest(".benefits").find(".list-part-2")[0].classList.remove("expanded"),p(this).closest(".benefits").find(".list-part-2")[0].classList.add("not-expanded"))}),p("#Pricing .custom-dropdown, #index .custom-dropdown, #square-power .custom-dropdown").click(function(){p(this).find(".dropdown-icon").toggleClass("rotate"),p(this).closest(".custom-dropdown").next(".list-wrapper").find(".dropdown-list").toggleClass("show")}),p("#Pricing .plan_pro .custom-dropdown, #index .plan_pro .custom-dropdown, #square-power .plan_pro .custom-dropdown").on("click",function(){p("#Pricing .plan_dev .custom-dropdown, #index .plan_dev .custom-dropdown, #square-power #index .plan_dev .custom-dropdown").closest(".custom-dropdown").next(".list-wrapper").find(".dropdown-list").removeClass("show").find(".dropdown-icon").removeClass("rotate")}
1),p("#Pricing .download-amelia-lite .lite-container .download-link, #index .download-amelia-lite .lite-container .download-link, #square-power .download-amelia-lite .lite-container .download-link").on("click",function(){p(".dialog-download-lite").css("display","flex"),p(".dialog-download-lite-popup-close-btn").on("click",()=>{p(".dialog-download-lite").css("display","none")})}),p("#Pricing .plan_dev .custom-dropdown, #index .plan_dev .custom-dropdown, #square-power .plan_dev .custom-dropdown").on("click",function(){p("#Pricing .plan_pro .custom-dropdown, #index .plan_pro .custom-dropdown, #square-power .plan_pro .custom-dropdown").closest(".custom-dropdown").next(".list-wrapper").find(".dropdown-list").removeClass("show").find(".dropdown-icon").removeClass("rotate")}),p("#Pricing .list-wrapper, #index .list-wrapper, #square-power .list-wrapper").on("click","li",function(){u(this)}),p(document).click(function(e){var t=p(".custom-dropdown"),i=p("#Pricing .dropdown-list, #Reactivation .dropdown-list, #index .dropdown-list, #Reactivation .dropdown-list, #square-power .dropdown-list");t.is(e.target)||0!==t.has(e.target).length||(i.hasClass("show")&&t.find(".dropdown-icon").removeClass("rotate"),i.removeClass("show"))}),p("#Appointments #section-4 .content .content-cards .event-types-card .card-show-text, #Scheduling #section-4 .content .content-cards .event-types-card .card-show-text, #WooCommerce #section-4 .content .content-cards .event-types-card .card-show-text").on("click",function(){var e=p(this).closest(".event-types-card").find(".description-pt2"),t=e[0].classList.contains("expanded"),i=window.ameliaStrings&&window.ameliaStrings.about_show_more?window.ameliaStrings.about_show_more:"Show more",n=window.ameliaStrings&&window.ameliaStrings.events_show_less?window.ameliaStrings.events_show_less:"Show less";p(this).text(t?i:n),e.toggleClass("expanded",!t)}),p(document).ready(function(){var e=p(window).height();p(".MobileNav").height(e-30)}),p(document).ready(function(){function s(e,t){var i=t.outerWidth(),t=t.prevAll(".tab").toArray().reduce((e,t)=>e+p(t).outerWidth(),0);e.css({width:i,transform:"translateX("+t+"px)",transition:"0.3s ease"})}let i={Demo:new Map([["booking",["appointment","booking","events","reservation","schedule","arrange","event","scheduling","session","slot","registration"]],["barbershop",["barber","haircut","grooming","hairstyling","shaving","trims"]],["photography",["photographer","photosession","portrait","photoshoot","photo","portfolio","shoot","pictures","images","imaging"]],["digital agency",["web agency","marketing firm","creative agency","design","branding","UX/UI design","SEO","content marketing"]],["coach",["coaching","consulting","life coach","personal development","mentorship","guidance","advice"]],["fitness",["gym","workout","fitness club","exercise facility","Physical","training","sport","exercise","strength training","fitness center","bodybuilding"]],["yoga",["meditation","asana","workout","exercise","sport","stretching","mindfulness","yogi","flexibility","breathwork","yogic"]],["dietitian",["nutritionist","dietary consultant","food specialist","diet","healthy eating","meal planning","recipe","nutrition","dietary advice","food coaching","meal expert"]],["therapy",["counseling","Therapeutic","wellness therapy","therapy sessions"]],["beauty",["cosmetology","beauty salon","makeup","skincare","aesthetics","esthetics","cosmetics","facial","beautician","makeup artist"]],["medical",["healthcare","medical facility","healthcare facility","clinic","medical center","health services","heal","medical practice","hospital","diagnostics","telemedicine","healthcare provider","physician","medical services","medical clinic"]],["tarot",["tarot reading","card","fortune telling","card reading","spiritual guidance","psychic reading","divination","oracle","astrology","spirituality","intuitive reading"]],["consulting website",["business consulting","business","advisory services","consultancy","professional","law","professional advice","business advice","business strategy","management","management consulting","strategic planning"]],["pet",["pet grooming","animal","dog","veterinary","pet care","pet sitting","pet training","animal care","pet services","dog walking","animal hospital"]],["massage therapist",["massage therapy","masseuse","bodywork","therapeutic massage","massage techniques","body massage","therapeutic"]],["spa",["sauna","treatment","retreat","body care","spa services","spa treatment","spa center","health spa","day spa"]],["wellness",["spa","yoga","tarot","Massage"]],["psychologist",["life","relationship"]],["doctor's office",["medical","diagnostics"]],["personal",["hair","beauty","car","pet","cleaning","barbershop"]],["self-improvement",["life coach","health coach"]],["creative",["digital","Photography"]],["physical",["
1sports","martial","yoga"]],["relaxation",["spa","massage"]],["consultant",["life","dietitian","consulting website"]],["massage",["spa","massage therapist"]],["health",["medical","health coach","gym","wellness","dietitian","therapy"]],["grooming",["barbershop","pet"]],["salon",["barbershop","beauty"]],["care",["medical","beauty","spa","barbershop","hair"]],["marriage",["relationship","marriage counseling"]],["relationship",["relationship advice"]],["hospital",["pet","Medical / Health"]],["sitting",["pet"]],["walking",["pet"]],["service",["services"]],["techniques",["massage"]],["facility",["medical","gym"]],["provider",["medical"]],["artist",["beauty"]],["emotional",["life","relationship"]],["emotional support",["life","relationship"]],["behavioral therapy",["life","relationship"]],["support",["life","relationship"]],["club",["gym"]],["psychotherapy",["life","mental","psychiatrist"]],["strength",["sports"]],["online",["digital"]],["design",["digital"]],["advertising",["digital","marketing"]],["digital",["digital agency"]],["studio",["digital agency"]],["reading",["tarot"]],["detailing",["car"]],["classes",["yoga","martial","pet"]],["barber",["barbershop"]],["men's salon",["barbershop"]],["strategy",["consulting"]],["advisory",["consulting"]],["development",["life"]],["motivational coaching",["life"]],["specialist",["dietitian"]],["eating",["dietitian"]],["food",["dietitian","meal","plan","expert"]],["training",["yoga","martial","sport","pet"]],["parlor",["hair"]],["practice",["law","medical"]],["firm",["law","digital"]],["setting",["life"]],["car",["car","auto","automobile"]],["planning",["consulting","dietitian"]],["skills",["life"]],["defense",["martial"]],["office",["law","medical"]],["clean",["cleaning","car wash"]],["coaching",["consulting","relationship","life Coach","Health Coach"]],["hair",["hairdresser","barbershop","beauty parlor","hair styling","haircare","beauty","salon","barbering","barbershop","hair salon","hairstylist","haircut","hair treatment","colorist","hair care"]],["martial",["combat training","self-defense classes","martial training","sport","dojo","karate","taekwondo","judo","kickboxing","martial arts classes","self-defense","combat","combat sports"]],["well-being",["wellness","holistic health","self-care"]],["law",["legal help","attorneys","lawyers","legal","consulting","law firm","legal advice","law office","legal services","law practice","litigation"]],["life coaching",["personal development","self-improvement","goal setting","motivational","life coach","personal growth","mentoring","life skills","coaching sessions"]],["car wash",["car detailing","repair","maintenance","polishing","vehicle detailing","automobile detailing","detailing","car polishing","auto repair","garage","vehicle maintenance","mechanic services","automotive repair","auto","vehicle","wash","Mechanic"]],["cleaning",["housekeeping","car wash","janitorial services","maid service","residential cleaning","cleaning service","deep cleaning","home cleaning","sanitation"]]]),Features:new Map([["invoice",["billing","receipt","accounting","reports","financial","transaction summary","statement","payment record","pdf"]],["apple calendar",["ical","iphone calendar","mac calendar","ios","planner","Schedule","events","apple calendar"]],["notifications",["alerts","reminders","messages","updates","announcements","sms","email"]],["google calendar",["gcal","calendar","Schedule","planner","google","events"]],["google meet",["meet","video call","virtual meeting","call","conferencing","online meeting"]],["packages",["bundles","deals","offers","grouping","bundle services","plans","pricing","service packages"]],["woocommerce",["payments","checkout","ecommerce","store","shopping cart","online store integration"]],["recurring",["repeat","rebook","subscription","recurring appointments","scheduled","repeating","auto-renew","recurring events","recurrent","periodic"]],["multilingual",["translation","languages","multi-language","localization","language support","internationalization"]],["cart",["basket","checkout","shopping cart","multiple service booking"]],["refund",["reimbursement","money back","return","compensation","compensation","refund policy","money return"]],["stripe",["payments","checkout","credit card","online transactions","Stripe gateway"]],["paypal",["payments","checkout","digital wallet","online payment","PayPal gateway"]],["zoom",["video call","virtual","online conferencing","remote meeting","
1webinar","video conferencing"]],["outlook calendar",["outlook","microsoft","Office 365"]],["taxes",["vat","fees","levies","taxation","tax rates","tax calculation","surcharge","duty"]],["pay",["payments","payment","transaction","checkout","purchase","paying"]],["event",["booking","schedule","appointment","session","activity","program","function","gathering"]],["appointment",["booking","reservation","meeting","session","consultation","engagement","event"]],["customer panel",["dashboard","account","user account","dashboard","customer profile","client panel","client portal","customer cabinet"]],["employee panel",["staff dashboard","employee account","staff portal","employee profile","staff panel","employee dashboard","team portal","employee cabinet"]],["resources",["equipment","assets","tools","facilities","amenities","supplies","materials"]],["webhooks",["api","automation","triggers","integration","data transfer","web services"]],["coupons",["discounts","promo codes","deals","vouchers","offers","rebates","incentives","special offers","promotions"]],["deposit",["down payment","partial payment","prepayment","booking deposit","initial payment","advance payment"]],["waiting list",["reservation queue","standby","waitlist","priority list","queue","pending list","reservation list"]],["custom fields",["form fields","input fields","data fields","intake forms","customizable fields","personalized fields"]],["time zones",["timezone","local time","UTC","time difference","time zone support","regional time","time offset"]],["employee schedule",["staff hours","work calendar","work schedule","employee timetable","workforce scheduling","staff roster","timetable","staff schedule"]],["service extras",["add-ons","upgrades","additional services","enhancements","service options","additional features","service add-ons"]],["google analytics",["tracking","statistics","analytics","data analysis","marketing tool","site performance","web analytics","traffic analysis"]],["facebook pixel",["ad tracking","conversion tracking","facebook ads","marketing analytics","marketing tool","tracking code","ad performance","retargeting","advertising tool"]],["integration",["plugin support","extension","third-party integration","connectivity","API connection","software integration","system integration"]],["custom pricing",["dynamic pricing","tiered pricing","conditional pricing"]],["group booking",["multiple attendees","team booking","group appointments","bulk reservations","corporate booking","group scheduling","team scheduling"]],["mollie",["payment gateway","transactions","online payments"]],["square",["payment processor","transactions","online payments"]],["razorpay",["payment gateway","checkout","digital transactions","online payments"]],["elementor",["page builder","drag and drop","design tool","website builder","WordPress editor","visual editor","customization tool"]],["divi",["theme builder","design tool","drag and drop","website customization","WordPress editor","WordPress theme editor","visual editor","website builder","customization tool"]]])};function l(i,n){if(0===i.length)return n.length;if(0===n.length)return i.length;var a=Array.from({length:n.length+1},(e,t)=>[t]);for(let e=0;e<=i.length;e++)a[0][e]=e;for(let t=1;t<=n.length;t++)for(let e=1;e<=i.length;e++)a[t][e]=n[t-1]===i[e-1]?a[t-1][e-1]:Math.min(a[t-1][e-1]+1,a[t][e-1]+1,a[t-1][e]+1);return a[n.length][i.length]}function a(e,t){let r=new Set([t.toLowerCase()]);e=i[e];if(e){let o=t.toLowerCase(),s=new Map;if(e.forEach((e,t)=>{t=t.toLowerCase(),e=e.map(e=>e.toLowerCase());s.set(t,e)}),s.has(o))r.add(o),s.get(o).forEach(e=>r.add(e));else{let i=null,n=1/0,a=(t=o).length<=3?1:t.length<=6?2:Math.ceil(.3*t.length);s.forEach((e,t)=>{[t,...e].forEach(e=>{e=l(o,e);e<n&&e<=a&&(n=e,i=t)})}),i?(r.add(i),s.get(i).forEach(e=>r.add(e))):s.forEach((e,t)=>{Math.max(...e.map(e=>l(o,e)))<=a&&r.add(t)})}}return Array.from(r)}function r(e,t){let r=t.trim(),i=p(e);p(".cards-wrapper.active").length||(t=p(".cards-wrapper:visible").first()).length&&(i=t);e=i.closest("main").attr("id");let l=r?a(e,r):[],c=!1,n=!1,o=(p(".check-other-demos-message").hide(),p(".check-other-demos-message .other-demos-container"));o.empty(),i.find(".cards .card").each(function(){var e=p(this);let t=e.find(".card-title").text().toLowerCase(),i=e.find(".card-description").text().toLowerCase();var n,a,o=r.toLowerCase();function s(e){return e.replace(/[.*+?^=!:${}()|\[\]\/\\]/g,"\\$&")}""===r?(e.show(),e.parent("a").show(),c=!0):(a=(a=new RegExp(`\\b${s(o)}\\b`,"gi")).test(t)||a.test(i),n=l.some(e=>{e=s(e),e=new RegExp(`\\b${e}\\b`,"gi");return e.test(t)||e.test(i)}),o=t.startsWith(o)||i.startsWith(o),e.toggle(a=a||n||o),e.parent("a").toggle(a),c||=a)}),p(".cards-wrapper").not(i).each(function(){p(this).find(".cards .card").toArray().some(function(e){let t=p(e).find(".card-title").text().toLowerCase(),i=p(e).find(".card-description").text().toLowerCase();var e=r.toLowerCase(),e=t.includes(e)||i.includes(e),n=l.some(e=>t.includes(e.toLowerCase())||i.includes(e.toLowerCase()));return e||n})&&(n=!0,o.empty(),setTimeout(()=>{p(this).find(".cards .card").each(function(){var e=p(this);let t=e.find(".card-title").text().toLowerCase(),i=e.find(".card-description").text().toLowerCase();var n=r.toLowerCase(),n=t.includes(n)||i.includes(n),a=l.some(e=>t.includes(e.toLowerCase())||i.includes(e.toLowerCase()));(n||a)&&(n=e.find("a").attr("href"),0===o.find("a[href='"+n+"']").length)&&(a=e.clone().addClass("card"),(n=p('<div class="cards" style="padding-bottom: 20px;"></div>')).append(a),o.append(n),a.css("display","block"))})},100))});i.find(".show-message").css({opacity:r&&!c?0:1,"pointer-events":r&&!c?"none":"unset"});t=0<p(".cards .card:visible").length,e=p(".event-message");r.toLowerCase().includes("events")?e.show():e.hide(),p(".empty-state-wrapper").css({display:t?"none":"flex","padding-bottom":t?"0":"20px"}),p(".cards").css({"padding-bottom":t?"50px":"0px"}),p("h2.title").css("display",t?"flex":"none"),p("p.title").css("display",t?"flex":"block"),p(".headline").css("justify-content",t?"space-between":"flex-end"),!c&&n?p(".check-other-demos-message").css({display:"block",opacity:"1","pointer-events":"auto"}):p(".check-other-demos-message").css({display:"none",opacity:"0","pointer-events":"none"}),window.innerWidth<=959&&r&&setTimeout(()=>{var e=document.querySelector(".tab");e&&e.scrollIntoView({behavior:"smooth",block:"start"})},200)}function e(){var e=p(".tabs .tab.active-label").text().trim();e?p(".empty-state-wrapper .category-name").text(e):p(".empty-state-wrapper .category-name").text("this category")}function t(i){let n=p(i+" .navigation .active-line"),a=p(i+" .navigation .tab");s(n,a.filter(".active")),a.click(function(){var e=p(this),e=(s(n,e),a.removeClass("active-label"),e.addClass("active-label"),"#section"+(e.index()+1)),t=(p(".cards-wrapper").removeClass("active-section").hide(),p(e).addClass("active-section").show(),p(i+" .navigation #site-search").val().toLowerCase());r(e,t)}),p(i+" .navigation #site-search").on("input",((t,i)=>{let n;return function(...e){clearTimeout(n),n=setTimeout(()=>t.apply(this,e),i)}})(function(){r(i,p(this).val().toLowerCase())},300))}function t(i){var n=p(i+" .navigation .navigation-left .active-line"),a=p(i+" .navigation .navigation-left .tab");function o(e){var t=p(e+" .empty-state-wrapper"),e=p(e+" .active-section .card:visible").length;(0<t.length&&"flex"===t.css("display")||e<5?p(".show-more"):(p(".show-more").css("display","flex"),p(".show-less"))).css("display","none")}s(n,a.filter(".active")),a.click(function(){var e=p(this),t=(s(n,e),a.removeClass("active-label"),e.addClass("active-label"),"#section"+(e.index()+1));p(".cards-wrapper").removeClass("active-section").hide(),p(t).addClass("active-section").show(),"Health and Wellness"===e.text()||"Creative"===e.text()||"Physical Fitness"===e.text()||"Coaching & Consulting"===e.text()||"Healthcare"===e.text()||"Wellness"===e.text()?p(".show-more").css("display","none"):p(".show-more").css("display","flex"),p(".show-less").css("display","none"),p(t+" .active-section .cards").removeClass("expanded"),r(t,p(i+" .navigation #site-search").val().toLowerCase()),o(i)}),p(i+" .show-more, "+i+" .show-less").click(function(){p(i+" .active-section .cards").toggleClass("expanded"),p(i+" .show-more, "+i+" .show-less").toggle()}),p(i+" .navigation #site-search").on("input",function(){var e=p(this).val().toLowerCase();r(i,e),o(i)})}p(".tab-button").on("click",function(){var e=p(this).attr("data-target");p(".cards-wrapper").hide(),p(e).show(),p(".search-input").val(""),r(e,"")}),p(".tabs .tab").on("click",function(){p(".tabs .tab").removeClass("active-label"),p(this).addClass("active-label"),e()}),p(document).ready(function(){e()}),t("#Features #content"),t("#Demo #content"),t("#Partners #content")}),p(".headline-nav").click(function(e){e.stopPropagation(),p(".Mobile-nav-item").removeClass("active-nav-item"),p(this).hasClass("active")?(p(this).removeClass("active"),p(this).closest(".Mobile-nav-item").removeClass("active-nav-item")):(p(".Mobile-nav-item .headline-nav").removeClass("active"),p(this).addClass("active"),p(this).closest(".Mobile-nav-item").addClass("active-nav-item")),p(".MobileNav ul").animate({scrollTop:0},"slow")});let o=Math.round(window.devicePixelRatio||1),t="[data-rjs]",c="data-rjs-processed";function d(n,a){let o=n.nodeName.toLowerCase();var e=p("<img>");e.on("load",()=>{var e,t,i;"img"===o?((e=n).hasAttribute("data-no-resize")||(t=e.offsetWidth,i=e.offsetHeight,0===t&&0===i?(e.setAttribute("width",e.
1naturalWidth),e.setAttribute("height",e.naturalHeight)):(e.setAttribute("width",t),e.setAttribute("height",i))),e.attr("src",a)):n.style.backgroundImage=`url(${a})`}),e.attr("src",a),n.setAttribute(c,!0)}function h(e,t,i=1){i=i,i=parseInt(i,10);i=o<i?o:i;"undefined"!=typeof srcReplace&&t&&1<i&&d(e,t.replace(srcReplace,`@${i}x$1`))}function e(e){p(e||t).each((e,t)=>{var i,n,a;t.getAttribute(c)||(a="img"===t.nodeName.toLowerCase()?t.getAttribute("src"):t.style.backgroundImage.replace(inlineReplace,"$2"),i=t.getAttribute("data-rjs"),n=!isNaN(parseInt(i,10)),null!==i&&(n?h(t,a,i):(n=t,a=i,1<o&&d(n,a))))})}function i(e,t){p(".table-section "+t).each(function(){p(this).toggle()});t=p(e.currentTarget).find(".arrow-up");"none"===t.css("transform")?t.css("transform","rotate(180deg)"):t.css("transform","")}function f(){var e=p(".discount-percent_standard");p("#annual").is(":checked")?(p(".table-section .starter").show(),p(".th-price-lifetime").hide().removeClass("show-lifetime"),p(".th-title-lifetime").hide().removeClass("show-lifetime"),p(".th-title-annual").show().add("show-lifetime"),p(".table-section .th-price-annually").show(),p(".table-section .th-billed-annually").show(),768<p(window).width()&&p(".table-section .plan-box").css("height","136px"),p(".wpam-switch-slider").removeClass("checked"),e.removeClass("lifetime-active").addClass("annual-active")):p("#lifetime").is(":checked")&&(p(".table-section .starter").hide(),p(".th-price-lifetime").show().addClass("show-lifetime"),p(".th-title-lifetime").show().addClass("show-lifetime"),p(".th-title-annual").hide().removeClass("show-lifetime"),p(".table-section .th-price-annually").hide(),p(".table-section .th-billed-annually").hide(),768<p(window).width()&&p(".table-section .plan-box").css("height","136px"),p(".wpam-switch-slider").addClass("checked"),e.removeClass("annual-active").addClass("lifetime-active"))}function n(){var e=p(".discount-percent_standard");p("#annual-res").is(":checked")?(p(".table-section .starter").show(),p(".th-price-lifetime").hide().removeClass("show-lifetime"),p(".table-section .th-price-annually").show(),p(".wpam-switch-slider").removeClass("checked"),p(".table-section .standard").parent().removeClass("standard-lifetime"),e.removeClass("lifetime-active").addClass("annual-active")):p("#lifetime-res").is(":checked")&&(p(".table-section .starter").hide(),p(".th-price-lifetime").show().addClass("show-lifetime"),p(".table-section .th-price-annually").hide(),p(".wpam-switch-slider").addClass("checked"),p(".table-section .standard").parent().addClass("standard-lifetime"),e.removeClass("annual-active").addClass("lifetime-active"))}function a(){var e=p(".discount-percent_standard");p(".wpam-switch.uael-switch-round-1").is(":checked")?(e.removeClass("annual-active").addClass("lifetime-active"),e.find(".price-annual").hide(),e.find(".price-lifetime").show(),p(".wpam-switch-slider").addClass("checked")):(e.removeClass("lifetime-active").addClass("annual-active"),e.find(".price-annual").show(),e.find(".price-lifetime").hide(),p(".wpam-switch-slider").removeClass("checked"))}p(window).on("load",()=>{document.querySelector("[data-rjs]")&&e()}),"undefined"!=typeof module&&void 0!==module.exports&&(module.exports=e),p(".table-section .appointments-dropdown").click(function(e){i(e,".appointments")}),p(".table-section .events-dropdown").click(function(e){i(e,".events")}),p(".table-section .integrations-dropdown").click(function(e){i(e,".integrations-features")}),p(".table-section .payment-dropdown").click(function(e){i(e,".payments")}),p(".table-section .booking-management-dropdown").click(function(e){i(e,".booking-management")}),p(document).ready(function(){p("#annual, #lifetime").on("change",f),p("#annual-res, #lifetime-res").on("change",n),p(".wpam-switch.uael-switch-round-1").on("change",a),f(),n(),a()}),p(document).ready(function(){p('input[name="toggle"]').change(function(){f(),r()}),p('input[name="toggle-res"]').change(function(){n(),r()})}),p(document).ready(function(){p(".tooltip-trigger").hover(function(){p(this).siblings(".tooltip-description").css("display","flex")},function(){p(this).siblings(".tooltip-description").is(":hover")||p(this).siblings(".tooltip-description").css("display","none")}),p(".tooltip-description").hover(function(){p(this).css("display","flex")},function(){p(this).css("display","none")})}),p(document).ready(function(){p(window).scroll(function(){700<p(window).scrollTop()?p(".Fixed-btn-wrapper").fadeIn():p(".Fixed-btn-wrapper").fadeOut()})}),p(document).ready(function(){p("#Giveaway #site-search").on("input",function(){var e=p(this).val().toLowerCase(),t=!1;p("#Giveaway .vote-card").each(function(){p(this).find(".card-title").text().toLowerCase().includes(e)?(p(this).show(),t=!0):p(this).hide()}),t?p("#Giveaway .empty-state-wrapper").css("display","none"):p("#Giveaway .empty-state-wrapper").css("display","flex")})}),p(document).ready(function(){var e,t,i=document.querySelectorAll('[id^="form-acm_"]');
1function n(e){var t=window.location.pathname.split("/").filter(Boolean).pop(),e=p(e||document).find('input[name="char_03"]');return e.length&&e.val()!==t&&e.val(t),0<e.length}i.length&&(e=Array.prototype.filter.call(i,function(e){return!n(e)})).length&&(t=new MutationObserver(function(){(e=e.filter(function(e){return!n(e)})).length||t.disconnect()}),e.forEach(function(e){t.observe(e,{childList:!0,subtree:!0})}))}),p(".gleap-open-chat").on("click",function(){window.Gleap&&"function"==typeof window.Gleap.startConversation&&window.Gleap.startConversation()}),p(document).ready(function(){p("#contact .form-fields").attr("onsubmit","return false;"),p("#contact .submit-button").prop("disabled",!0);let t={name:"",email:"",message:""},i=/^([^@\s]+)@((?:[^@\s]+\.)+[^@\s]+)$/;function l(e){return""===e.trim()?(t.name="This field is required",n("name",t.name),!1):(t.name="",a("name"),!0)}function c(e){return""===e.trim()?(t.email="E-mail is required",n("email",t.email),!1):i.test(e)?(t.email="",a("email"),!0):(t.email="Incorrect e-mail",n("email",t.email),!1)}function d(e){return""===e.trim()?(t.message="This field is required",n("message",t.message),!1):(t.message="",a("message"),!0)}function n(e,t){let i;(i=p("message"===e?"#contact .input-field textarea":"email"===e?'#contact .input-field input[type="email"]':'#contact .input-field input[type="text"]')).siblings(".error-message").remove(),i.addClass("error"),i.after(`<span class="error-message"> 2 <img src="${window.location.origin}/wp-content/themes/amelia-theme/assets/img/icons/error-sign.svg" alt="error icon" width="18"> 3 ${t} 4 </span>`)}function a(e){let t;(t=p("message"===e?"#contact .input-field textarea":"email"===e?'#contact .input-field input[type="email"]':'#contact .input-field input[type="text"]')).removeClass("error"),t.siblings(".error-message").remove()}function o(){var e=p('#contact .input-field input[type="text"]').val(),t=p('#contact .input-field input[type="email"]').val(),i=p('#contact .input-field input[type="tel"]').val(),n=p("#contact .input-field textarea").val(),a=document.querySelector('.cf-turnstile [name="cf-turnstile-response"]')?.value||"",o=l(e),s=c(t),r=d(n);o&&s&&r&&(p("#contact .submit-button").length&&(p("#contact .submit-button").append('<span class="dot-pulse"></span>'),p("#contact .button-title").css("display","none")),p("#contact .submit-button").prop("disabled",!0),(o=new Headers).append("Content-Type","application/json"),s=JSON.stringify({name:e,email:t,phone:i,message:n,turnstile_token:a}),fetch("https://5jgwxjefa5.execute-api.eu-north-1.amazonaws.com/default/sendContactFormToGleapAmelia",{method:"POST",headers:o,body:s,redirect:"follow"}).then(e=>{if(e.ok)return e.text();throw new Error}).then(e=>{p("#contact .form-left .form-fields").css("display","none"),p("#contact .form-left .form-title").text("Thank you for reaching out!"),p("#contact .form-left .desc").text("We've received your message and will get back to you as soon as possible."),p("#contact .form-left .submit-button").prop("disabled",!1)}).catch(e=>{console.log(e),p("#contact .submit-button .dot-pulse").remove(),p("#contact .button-title").css("display","inline"),p("#contact .submit-button").prop("disabled",!1)}))}p('#contact .input-field input[type="text"]').on("blur",function(){l(p(this).val())}),p('#contact .input-field input[type="email"]').on("blur",function(){c(p(this).val())}),p("#contact .input-field textarea").on("blur",function(){d(p(this).val())}),p("#contact .submit-button").on("click",function(e){return e.preventDefault(),e.stopPropagation(),o(),!1}),p("#contact .form-fields").on("submit",function(e){return e.preventDefault(),e.stopPropagation(),o(),!1}),setTimeout(function(){p("#contact .submit-button").prop("disabled",!1)},500),p("#contact .submit-button").attr("type","button"),new URLSearchParams(window.location.search).has("ticksy")&&setTimeout(function(){window.Gleap&&"function"==typeof window.Gleap.open&&window.Gleap.open()},1e3)}),p(document).ready(function(){function t(){var e=p("#Partners .active-section"),t=0<e.find(".card:visible").length,e=(p("#Partners .empty-state-wrapper").css({display:t?"none":"flex","padding-bottom":t?"0":"20px"}),p("#Partners .cards").css({"padding-bottom":t?"50px":"0px"}),p("#Partners h2.title").css("display",t?"block":"none"),p("#Partners p.title").css("display",t?"flex":"block"),p("#Partners .headline").css("justify-content",t?"space-between":"flex-end"),e.find(".card:visible").length);p("#Partners .show-more").css("display",e<5||!t?"none":"flex")}0!==p("#Partners").length&&(p("#Partners #site-search").on("input",function(){var a=p(this).val().toLowerCase().trim();p("#Partners .active-section").find(".card").each(function(){var e=p(this),t=e.find(".card-title").text().toLowerCase(),i=e.find(".card-description").text().toLowerCase(),n=e.text().toLowerCase(),t=""===a||t.includes(a)||i.includes(a)||n.includes(a);e.toggle(t),e.parent("a").toggle(t)}),t()}),p("#Partners .tabs .tab").on("click",function(){p("#Partners .tabs .tab").removeClass("active-label"),p(this).addClass("active-label");var e=p(this).index()+1;p("#Partners .cards-wrapper").removeClass("active-section").hide(),p("#Partners #section"+e).addClass("active-section").show(),t()}))})})(jQuery);
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.