(function(a){"use strict";a(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/form.default",b=>{let c=b.find(".ap_intl_tel_input");a.each(c,function(){intlTelInput(this,{allowExtensions:!0,nationalMode:!0,separateDialCode:!0,utilsScript:"https://cdn.jsdelivr.net/npm/intl-tel-input@17.0.3/build/js/utils.js",initialCountry:"auto",allowDropdown:!0,formatOnDisplay:!1,hiddenInput:a(this).attr("name").replace(/(^.*\[|\].*$)/g,""),geoIpLookup:function(b){a.get("https://ipinfo.io",function(){},"jsonp").always(function(a){let c=a&&a.country?a.country:"us";b(c)})}})});let d=a(".ap-floating-label");a.each(d,function(){a(this).find("input, textarea").focus(function(){a(this).prev("label").addClass("focused")}),a(this).find("input, textarea").on("change",function(){a(this).prev("label").addClass("focused")}),a(this).find("input, textarea").blur(function(){""===a(this).val()&&a(this).prev().removeClass("focused")})})})})})(jQuery);