| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/vhost/arukustech.com/wp-content/cache/wpspeed/ |
Upload File : |
a:1:{s:7:"content";s:4363:"try {
(function($) {
$(function() {
function render_country_flags(){
$(".wpcf7-countrytext").countrySelect({
defaultCountry: "in",onlyCountries: ["in","us"],
});
$(".wpcf7-phonetext").intlTelInput({
autoHideDialCode: false,
autoPlaceholder: "off",
nationalMode: false,
separateDialCode: false,
hiddenInput: "full_number",
initialCountry: "in",
});
$(".wpcf7-phonetext").each(function () {
var hiddenInput = $(this).attr('name');
//console.log(hiddenInput);
$("input[name="+hiddenInput+"-country-code]").val($(this).val());
});
$(".wpcf7-phonetext").on("countrychange", function() {
// do something with iti.getSelectedCountryData()
//console.log(this.value);
var hiddenInput = $(this).attr("name");
$("input[name="+hiddenInput+"-country-code]").val(this.value);
});$(".wpcf7-phonetext").on("keyup", function() {
var dial_code = $(this).siblings(".flag-container").find(".country-list li.active span.dial-code").text();
if(dial_code == "")
var dial_code = $(this).siblings(".flag-container").find(".country-list li.highlight span.dial-code").text();
var value = $(this).val();
console.log(dial_code, value);
$(this).val(dial_code + value.substring(dial_code.length));
});$(".wpcf7-countrytext").on("keyup", function() {
var country_name = $(this).siblings(".flag-dropdown").find(".country-list li.active span.country-name").text();
if(country_name == "")
var country_name = $(this).siblings(".flag-dropdown").find(".country-list li.highlight span.country-name").text();
var value = $(this).val();
//console.log(country_name, value);
$(this).val(country_name + value.substring(country_name.length));
});
}
var ip_address = "";
jQuery.ajax({
//url: "https://ipwho.is/",
url: "https://reallyfreegeoip.org/json/",
success: function(response){
//console.log(response);
//var location = JSON.parse(response);
console.log(response.country_code);
if( response.country_code !== undefined){
//console.log("here");
$(".wpcf7-countrytext").countrySelect({defaultCountry: response.country_code.toLowerCase(),onlyCountries: ["in","us"],
});
$(".wpcf7-phonetext").intlTelInput({
autoHideDialCode: false,
autoPlaceholder: "off",
nationalMode: false,
separateDialCode: false,
hiddenInput: "full_number",initialCountry: response.country_code.toLowerCase(),
});
$(".wpcf7-phonetext").each(function () {
var hiddenInput = $(this).attr('name');
//console.log(hiddenInput);
$("input[name="+hiddenInput+"-country-code]").val($(this).val());
});
$(".wpcf7-phonetext").on("countrychange", function() {
// do something with iti.getSelectedCountryData()
//console.log(this.value);
var hiddenInput = $(this).attr("name");
$("input[name="+hiddenInput+"-country-code]").val(this.value);
});$(".wpcf7-phonetext").on("keyup", function() {
var dial_code = $(this).siblings(".flag-container").find(".country-list li.active span.dial-code").text();
if(dial_code == "")
var dial_code = $(this).siblings(".flag-container").find(".country-list li.highlight span.dial-code").text();
var value = $(this).val();
console.log(dial_code, value);
$(this).val(dial_code + value.substring(dial_code.length));
});$(".wpcf7-countrytext").on("keyup", function() {
var country_name = $(this).siblings(".flag-dropdown").find(".country-list li.active span.country-name").text();
if(country_name == "")
var country_name = $(this).siblings(".flag-dropdown").find(".country-list li.highlight span.country-name").text();
var value = $(this).val();
//console.log(country_name, value);
$(this).val(country_name + value.substring(country_name.length));
});
} else {
render_country_flags();
}
},
error: function(){
render_country_flags();
}
});
});
})(jQuery);
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};";}