var jobsearch_sloc_country = '', jobsearch_sloc_state = '', jobsearch_sloc_city = '',
jobsearch_sloc_type = '', jobsearch_is_admin = '', jobsearch_is_post_page = '',
jobsearch_is_loc_editor = '';
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/jobhuntcommunity.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.5.3"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
https://jobhuntcommunity.com/wp-includes/js/dist/vendor/wp-polyfill-inert.min.js
https://jobhuntcommunity.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js
https://jobhuntcommunity.com/wp-includes/js/dist/vendor/wp-polyfill.min.js
https://jobhuntcommunity.com/wp-includes/js/dist/hooks.min.js
https://jobhuntcommunity.com/wp-includes/js/jquery/jquery.min.js
https://jobhuntcommunity.com/wp-includes/js/jquery/jquery-migrate.min.js
var breeze_prefetch = {"local_url":"https:\/\/jobhuntcommunity.com","ignore_remote_prefetch":"1","ignore_list":["\/cart\/","\/checkout\/","\/my-account\/","\/wp-admin\/"]};
https://jobhuntcommunity.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://jobhuntcommunity.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
var wc_add_to_cart_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https:\/\/jobhuntcommunity.com\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
https://jobhuntcommunity.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
https://jobhuntcommunity.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%"};
https://jobhuntcommunity.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
https://jobhuntcommunity.com/wp-content/plugins/js_composer/assets/js/vendors/woocommerce-add-to-cart.js
var _zxcvbnSettings = {"src":"https:\/\/jobhuntcommunity.com\/wp-includes\/js\/zxcvbn.min.js"};
https://jobhuntcommunity.com/wp-includes/js/zxcvbn-async.min.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/admin/js/jquery-ui.js
function setREVStartSize(e){
//window.requestAnimationFrame(function() {
window.RSIW = window.RSIW===undefined ? window.innerWidth : window.RSIW;
window.RSIH = window.RSIH===undefined ? window.innerHeight : window.RSIH;
try {
var pw = document.getElementById(e.c).parentNode.offsetWidth,
newh;
pw = pw===0 || isNaN(pw) || (e.l=="fullwidth" || e.layout=="fullwidth") ? window.RSIW : pw;
e.tabw = e.tabw===undefined ? 0 : parseInt(e.tabw);
e.thumbw = e.thumbw===undefined ? 0 : parseInt(e.thumbw);
e.tabh = e.tabh===undefined ? 0 : parseInt(e.tabh);
e.thumbh = e.thumbh===undefined ? 0 : parseInt(e.thumbh);
e.tabhide = e.tabhide===undefined ? 0 : parseInt(e.tabhide);
e.thumbhide = e.thumbhide===undefined ? 0 : parseInt(e.thumbhide);
e.mh = e.mh===undefined || e.mh=="" || e.mh==="auto" ? 0 : parseInt(e.mh,0);
if(e.layout==="fullscreen" || e.l==="fullscreen")
newh = Math.max(e.mh,window.RSIH);
else{
e.gw = Array.isArray(e.gw) ? e.gw : [e.gw];
for (var i in e.rl) if (e.gw[i]===undefined || e.gw[i]===0) e.gw[i] = e.gw[i-1];
e.gh = e.el===undefined || e.el==="" || (Array.isArray(e.el) && e.el.length==0)? e.gh : e.el;
e.gh = Array.isArray(e.gh) ? e.gh : [e.gh];
for (var i in e.rl) if (e.gh[i]===undefined || e.gh[i]===0) e.gh[i] = e.gh[i-1];
var nl = new Array(e.rl.length),
ix = 0,
sl;
e.tabw = e.tabhide>=pw ? 0 : e.tabw;
e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw;
e.tabh = e.tabhide>=pw ? 0 : e.tabh;
e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh;
for (var i in e.rl) nl[i] = e.rl[i]<window.RSIW ? 0 : e.rl[i];
sl = nl[0];
for (var i in nl) if (sl>nl[i] && nl[i]>0) { sl = nl[i]; ix=i;}
var m = pw>(e.gw[ix]+e.tabw+e.thumbw) ? 1 : (pw-(e.tabw+e.thumbw)) / (e.gw[ix]);
newh = (e.gh[ix] * m) + (e.tabh + e.thumbh);
}
var el = document.getElementById(e.c);
if (el!==null && el) el.style.height = newh+"px";
el = document.getElementById(e.c+"_wrapper");
if (el!==null && el) {
el.style.height = newh+"px";
el.style.display = "block";
}
} catch(e){
console.log("Failure at Presize of Slider:" + e)
}
//});
};
Category: Interview Questions
When employers ask why you want to leave your current job, they’re…
Continue Reading The question “Where do you see yourself in 5 years?” often serves…
Continue Reading Responding to the classic interview question “What are your strengths and weaknesses?”…
Continue Reading Crafting a convincing response to the question “Why should you be hired…
Continue Reading Navigating the topic of salary expectations requires a balanced approach that reflects…
Continue Reading When answering the question “Why do you want this job?”, it’s important…
Continue Reading “Tell me about yourself” question is one of the most common icebreakers…
Continue Reading
jQuery(document).ready(function () {
if (typeof jQuery.datetimepicker !== 'undefined') {
jQuery.datetimepicker.setLocale('en');
}
});
window.RS_MODULES = window.RS_MODULES || {};
window.RS_MODULES.modules = window.RS_MODULES.modules || {};
window.RS_MODULES.waiting = window.RS_MODULES.waiting || [];
window.RS_MODULES.defered = true;
window.RS_MODULES.moduleWaiting = window.RS_MODULES.moduleWaiting || {};
window.RS_MODULES.type = 'compiled';
function jobseachPhoneValidInit6686343() {
var input_6686343 = document.querySelector("#pt_user_phone_6686343");
var iti_6686343 = intlTelInput(input_6686343, {
nationalMode: false,
autoHideDialCode: false,
customPlaceholder: function(selectedCountryPlaceholder, selectedCountryData) {
return selectedCountryPlaceholder;
},
});
var reset_phone_field_6686343 = function () {
input_6686343.classList.remove("phone-input-error");
};
// on blur: validate
input_6686343.addEventListener('blur', function () {
reset_phone_field_6686343();
if (input_6686343.value.trim()) {
if (iti_6686343.isValidNumber()) {
jQuery(input_6686343).css({'border': '1px solid #efefef'});
} else {
input_6686343.classList.add("phone-input-error");
jQuery(input_6686343).css({'border': '1px solid #ff0000'});
}
}
});
var iti_init_6686343 = window.intlTelInput(input_6686343, {
initialCountry: "auto",
geoIpLookup: function (callback_6686343) {
setTimeout(function() {
jQuery('#phon-fieldcon-6686343').find('> .intl-tel-input').find('.intl-tel-input').find('.flag-container').remove();
}, 100);
jQuery.get('https://ipinfo.io', function () {
}, "jsonp").always(function (resp) {
var countryCode = (resp && resp.country) ? resp.country : "";
iti_6686343.setCountry(countryCode);
});
},
preferredCountries: [],
utilsScript: "https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/utils.js?1715285538" // just for formatting/placeholders etc
});
}jQuery(document).on('click', '#pt_user_phone_6686343', function () {
if (jQuery('#phon-fieldcon-6686343').hasClass('phonefild-wout-valid')) {
jQuery('#pt_user_phone_6686343').removeAttr('placeholder');
jobseachPhoneValidInit6686343();
}
jQuery('#phon-fieldcon-6686343').removeClass('phonefild-wout-valid');
});
jQuery('body').on('focus', '#pt_user_phone_6686343', function(e) {
e.preventDefault();
if (jQuery('#phon-fieldcon-6686343').hasClass('phonefild-wout-valid')) {
jQuery('#pt_user_phone_6686343').removeAttr('placeholder');
jobseachPhoneValidInit6686343();
}
jQuery('#phon-fieldcon-6686343').removeClass('phonefild-wout-valid');
return false;
});
var jobsearch_sloc_type = '2',
jobsearch_is_admin = '',
totl_countries_detail, totl_preselected_states_saved,
jobsearch_is_post_page = 'index.php';
var inc_countries = "", inc_countries_code = "",
exec_countries = "", contry_presel_contry, ajax_flag = false,
contry_preselct = 'none',
contry_presel_contry_code = 'AF';/*
* Scrapper Events
* */
var api_scrapper6686343 = {
getCountryCode: function (jobsearch_sloc_country) {
var country_code_from_country_name = '';
jQuery.each(totl_countries_detail, function (index, element) {
if (element.country_name == jobsearch_sloc_country) {
country_code_from_country_name = element.country_code;
}
});
return country_code_from_country_name;
},
readCityOnlyFiles: function (country_detail, state_name, selector) {if (jobsearch_is_admin == '' || ajax_flag == true) {
jQuery('#jobsearch-gdapilocs-citycon6686343').empty();
jQuery('#jobsearch-gdapilocs-citycon6686343').append('<select placeholder="Select City" name="location_location3" class="cities" id="cityId6686343"><option value="0">Select City</option></select>');
selector = jQuery(document).find("#cityId6686343");
}var request = jQuery.ajax({
url: jobsearch_plugin_vars.ajax_url,
method: "POST",
data: {
country_detail: country_detail,
state: state_name,
action: 'jobsearch_location_load_cities_data',
},
dataType: 'json',
});request.done(function (response) {var _result_cities = response;
if (jobsearch_is_admin == '' || ajax_flag == true) {
if (selector.length > 0) {
selector.selectize()[0].selectize.destroy();
}
}setTimeout(function () {if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){
selector = jQuery('.location2-city');
}
selector.html('');
//if (jobsearch_is_admin == 1 && ajax_flag == false) {
selector.append('<option value="">Select City</option>');
// }var _option_select = '';
if (_result_cities.result.length != 0) {
jQuery.each(_result_cities.result, function (index, element) {if (jQuery.trim(element.city_name) != "Enter Any City") {
if (jobsearch_sloc_city != "") {
_option_select = jobsearch_sloc_city == element.city_name ? 'selected' : '';
}
if (_option_select != "") {
selector.append(jQuery("<option></option>").attr("value", element.city_name).attr("selected", "selected").text(element.city_name));
} else {
selector.append(jQuery("<option></option>").attr("value", element.city_name).text(element.city_name));
}
}
});
} else {
selector.html('');
selector.append(jQuery("<option></option>").attr("value", "").text('No cities exits.'));
}
}, 50);if (jobsearch_is_admin == '' || ajax_flag == true) {
if (_result_cities.result.length != 0) {
setTimeout(function () {
selector.selectize({
maxOptions: 30000,
sortField: [{
field: 'text',
direction: 'asc'
}],
});
}, 100);
}
}
jQuery('#cityId6686343').trigger('change');
});
request.fail(function (jqXHR, textStatus) {});
},
readStateFile: function (country_code, selector) {var request, _result_states;
if (jobsearch_is_admin == '' || ajax_flag == true) {
jQuery('#jobsearch-gdapilocs-statecon6686343').empty();
jQuery('#jobsearch-gdapilocs-statecon6686343').append('<select placeholder="Select State" class="states location2-states" id="stateId6686343" name="location_location2"><option value="">Select State</option></select>');
selector = jQuery(document).find("#stateId6686343, .location2-states");
}
selector.html('');
request = jQuery.ajax({
url: jobsearch_plugin_vars.ajax_url,
method: "POST",
data: {
country_code: country_code,
action: 'jobsearch_location_load_states_data',
},
dataType: 'json',
});if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){
selector = jQuery('.location2-state');
}request.done(function (response) {if (jobsearch_is_admin == '' || ajax_flag == true) {
//selector.selectize()[0].selectize.destroy();
}
_result_states = response;
setTimeout(function () {
selector.html('');
//if (jobsearch_is_admin == 1 && ajax_flag == false) {
selector.append('<option value="">Select State</option>');
//}
var _option_select = '';
jQuery.each(_result_states.result, function (index, element) {if (jQuery.trim(element.state_name) != "Enter Any State") {
if (jobsearch_sloc_state != "") {
_option_select = jobsearch_sloc_state == element.state_name ? 'selected' : '';
}if (_option_select != "") {
selector.append(jQuery("<option></option>").attr("value", element.state_name).attr("selected", "selected").text(element.state_name));
// selector.append(jQuery('<option>', {
// value: element,
// text: element,
// selected: _option_select,
// }));
} else {
selector.append(jQuery("<option></option>").attr("value", element.state_name).text(element.state_name));
// selector.append(jQuery('<option>', {
// value: element,
// text: element,
// }));
}
}
});
}, 50);/*
* If city is saved then this code will execute.
* */
if (jobsearch_sloc_city != "") {
setTimeout(function () {
console.info("triggered second");
jQuery('#stateId6686343').trigger('change');
}, 1000)
}
/*
* Initialize Selectize
* */
if (jobsearch_is_admin == '' || ajax_flag == true) {
setTimeout(function () {
selector.selectize();
}, 100)
}
});
request.fail(function (jqXHR, textStatus) {});
},
stripslashes: function (str) {
if (str == undefined) {
return;
}
return str.replace(/\\/g, '');
},
readCountryFile: function (selector, country) {
var _result_countries, request;request = jQuery.ajax({
url: jobsearch_plugin_vars.ajax_url,
method: "POST",
data: {
action: 'jobsearch_location_load_countries_data',
},
dataType: "json"
});
request.done(function (response) {
_result_countries = response;
selector.html('');
if (jobsearch_is_admin == 1 && ajax_flag == true) {
selector.append('<option value="">Select Country</option>');
} else {
var $opt = jQuery('<option>');
$opt.val('').text('Select Country');
$opt.appendTo(selector);
}
/*
* Alphabetic countries
* */
_result_countries.sort(function (a, b) {
return api_scrapper6686343.compareStrings(a.name, b.name);
});
/*
* Code will execute if Include only countries option will be selected.
* */
;
/*
* Code will execute if Exclude only countries option will be selected.
* */
;
/*
* Code will execute if Random countries option will be selected.
* */
/*
* Include only countries
* */
if (inc_countries != "" && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {
var _inc_flag = false;
jQuery.each(_result_countries, function (i, element) {
if (i < inc_countries.length) {
if (jobsearch_sloc_country == inc_countries[i]) {selector.append(jQuery("<option></option>")
.attr("data-index", i)
.attr("code", inc_countries_code[i])
.attr("selected", "selected")
.attr("value", inc_countries[i])
.text(inc_countries[i]));
_inc_flag = true;} else if (contry_preselct == 'by_contry' && contry_presel_contry_code == inc_countries_code[i] && ajax_flag == false && _inc_flag == false) {
selector.append(jQuery("<option></option>")
.attr("data-index", i)
.attr("code", inc_countries_code[i])
.attr("selected", "selected")
.attr("value", inc_countries[i])
.text(inc_countries[i]));} else {
selector.append(jQuery("<option></option>")
.attr("data-index", i)
.attr("code", inc_countries_code[i])
.attr("value", inc_countries[i])
.text(inc_countries[i]));
}
}
})
} else if (exec_countries != '' && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {
/*
* code will execute if "Exclude countries selected" filter option will be selected
* */
var _exec_flag = false;
jQuery.each(_result_countries, function (index, element) {
if (element != "") {
if (exec_countries.indexOf(element.name) == -1) {
/*
* code will execute if Country Name is from save in metavalue
* */if (jobsearch_sloc_country == element.name) {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("selected", "selected")
.attr("value", element.name)
.text(element.name));
_exec_flag = true;
} else if (contry_preselct == 'by_contry' && contry_presel_contry_code == element.code && ajax_flag == false && _exec_flag == false) {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("selected", "selected")
.attr("value", element.name)
.text(element.name));} else {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("value", element.name)
.text(element.name));
}
}
}
})
} else {
var pres_selected_saved_contry = api_scrapper6686343.getCountryCode(jobsearch_sloc_country);
jQuery.each(_result_countries, function (index, element) {
if (element != "") {
/*
* code will execute if Preselect Country option will be selected
* */
if (jobsearch_sloc_type != 2 && jobsearch_sloc_type != 3) {var _option_select = '';
if (jobsearch_sloc_country != '') {
if (api_scrapper6686343.stripslashes(jobsearch_sloc_country) == api_scrapper6686343.stripslashes(element.name)) {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("selected", "selected")
.attr("value", element.name)
.text(api_scrapper6686343.stripslashes(element.name)));
} else {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("value", element.name)
.text(api_scrapper6686343.stripslashes(element.name)));
}
} else {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("value", element.name)
.text(api_scrapper6686343.stripslashes(element.name)));
}} else if (jobsearch_is_loc_editor == 'jobsearch-location-sett-editor') {
selector.append(jQuery("<option></option>")
.attr("data-index", index)
.attr("code", element.code)
.attr("value", element.name)
.text(api_scrapper6686343.stripslashes(element.name)));
}}
});
}
/*
* Initialize Selectize
* */if (jobsearch_is_admin == '' || ajax_flag == true) {
if (jobsearch_sloc_type == 0 || jobsearch_sloc_type == 1) {
selector.selectize({
placeholder: 'Select Country',
});
}
}
});
request.fail(function (jqXHR, textStatus) {});
},
predictByIP: function () {
var request = jQuery.ajax({
url: "https://ipinfo.io/json",
dataType: "json"
});
request.done(function (result) {
if (result != '') {
api_scrapper6686343.readCountryFile(jQuery('#countryId6686343'), result.country);
} else {
/*
* Second Request will be sent if first request will fail.
* */
api_scrapper6686343.apiSecondRequest();
}
});
request.fail(function (jqXHR, textStatus) {
api_scrapper6686343.apiSecondRequest();
});
},
shuffleArray: function (a) {
var j, x, i;
for (i = a.length - 1; i > 0; i--) {
j = Math.floor(Math.random() * (i + 1));
x = a[i];
a[i] = a[j];
a[j] = x;
}
return a;
},
apiSecondRequest: function () {
var request = jQuery.ajax({
url: "http://ip-api.com/json",
dataType: "json"
});
request.done(function (result) {
api_scrapper6686343.readCountryFile(jQuery('#countryId6686343'), result.countryCode);
api_scrapper6686343.readStateFile(result.countryCode, jQuery('#stateId6686343'))
});
request.fail(function (jqXHR, textStatus) {});
},
compareStrings: function (a, b) {
a = a.toLowerCase();
b = b.toLowerCase();
return (a < b) ? -1 : (a > b) ? 1 : 0;
},
getBulkCitiesByStates: function (preselected_states, jobsearch_sloc_city) {jQuery('.cities').html('');
jQuery.ajax({
url: jobsearch_plugin_vars.ajax_url,
method: "POST",
data: {
preselected_states: JSON.parse(preselected_states),
action: 'jobsearch_get_selected_states_cities',
},
dataType: 'json',
success: function (response) {
jQuery.each(response.all_cities, function (index, city_name) {
if (jobsearch_sloc_city == city_name) {
jQuery('.cities')
.append(jQuery("<option></option>")
.attr("value", city_name)
.attr("selected", "selected")
.text(city_name));
} else {
jQuery('.cities')
.append(jQuery("<option></option>")
.attr("value", city_name)
.text(city_name));}
});if (jobsearch_is_admin == '' || ajax_flag == true) {
setTimeout(function () {
jQuery('.cities').selectize({
sortField: 'text'
});
}, 100)
}
}
});
}
};
/*
* Scrapper Events end
* */jQuery(window).on('load', function () {
//
totl_countries_detail = JSON.parse('[{"country_code":"AF","country_name":"Afghanistan"},{"country_code":"AL","country_name":"Albania"},{"country_code":"DZ","country_name":"Algeria"},{"country_code":"AD","country_name":"Andorra"},{"country_code":"AO","country_name":"Angola"},{"country_code":"AI","country_name":"Anguilla"},{"country_code":"AG","country_name":"Antigua and Barbuda"},{"country_code":"AR","country_name":"Argentina"},{"country_code":"AM","country_name":"Armenia"},{"country_code":"AU","country_name":"Australia"},{"country_code":"AT","country_name":"Austria"},{"country_code":"AZ","country_name":"Azerbaijan"},{"country_code":"BS","country_name":"Bahamas"},{"country_code":"BH","country_name":"Bahrain"},{"country_code":"BD","country_name":"Bangladesh"},{"country_code":"BB","country_name":"Barbados"},{"country_code":"BY","country_name":"Belarus"},{"country_code":"BE","country_name":"Belgium"},{"country_code":"BZ","country_name":"Belize"},{"country_code":"BJ","country_name":"Benin"},{"country_code":"BM","country_name":"Bermuda"},{"country_code":"BT","country_name":"Bhutan"},{"country_code":"BO","country_name":"Bolivia"},{"country_code":"BA","country_name":"Bosnia and Herzegovina"},{"country_code":"BW","country_name":"Botswana"},{"country_code":"BR","country_name":"Brazil"},{"country_code":"BN","country_name":"Brunei Darussalam"},{"country_code":"BG","country_name":"Bulgaria"},{"country_code":"BF","country_name":"Burkina Faso"},{"country_code":"BI","country_name":"Burundi"},{"country_code":"KH","country_name":"Cambodia"},{"country_code":"CM","country_name":"Cameroon"},{"country_code":"CA","country_name":"Canada"},{"country_code":"CV","country_name":"Cape Verde"},{"country_code":"KY","country_name":"Cayman Islands"},{"country_code":"CF","country_name":"Central African Republic"},{"country_code":"TD","country_name":"Chad"},{"country_code":"CL","country_name":"Chile"},{"country_code":"CN","country_name":"China"},{"country_code":"CO","country_name":"Colombia"},{"country_code":"KM","country_name":"Comoros"},{"country_code":"CG","country_name":"Congo"},{"country_code":"CR","country_name":"Costa Rica"},{"country_code":"HR","country_name":"Croatia (Hrvatska)"},{"country_code":"CU","country_name":"Cuba"},{"country_code":"CY","country_name":"Cyprus"},{"country_code":"CZ","country_name":"Czech Republic"},{"country_code":"DK","country_name":"Denmark"},{"country_code":"DJ","country_name":"Djibouti"},{"country_code":"DM","country_name":"Dominica"},{"country_code":"DO","country_name":"Dominican Republic"},{"country_code":"EC","country_name":"Ecuador"},{"country_code":"EG","country_name":"Egypt"},{"country_code":"SV","country_name":"El Salvador"},{"country_code":"GQ","country_name":"Equatorial Guinea"},{"country_code":"ER","country_name":"Eritrea"},{"country_code":"EE","country_name":"Estonia"},{"country_code":"ET","country_name":"Ethiopia"},{"country_code":"FO","country_name":"Faroe Islands"},{"country_code":"FJ","country_name":"Fiji"},{"country_code":"FI","country_name":"Finland"},{"country_code":"FR","country_name":"France"},{"country_code":"GF","country_name":"French Guiana"},{"country_code":"PF","country_name":"French Polynesia"},{"country_code":"TF","country_name":"French Southern Territories"},{"country_code":"GA","country_name":"Gabon"},{"country_code":"GM","country_name":"Gambia"},{"country_code":"GE","country_name":"Georgia"},{"country_code":"DE","country_name":"Germany"},{"country_code":"GH","country_name":"Ghana"},{"country_code":"GR","country_name":"Greece"},{"country_code":"GL","country_name":"Greenland"},{"country_code":"GD","country_name":"Grenada"},{"country_code":"GP","country_name":"Guadeloupe"},{"country_code":"GU","country_name":"Guam"},{"country_code":"GT","country_name":"Guatemala"},{"country_code":"GN","country_name":"Guinea"},{"country_code":"GW","country_name":"Guinea-Bissau"},{"country_code":"GY","country_name":"Guyana"},{"country_code":"HT","country_name":"Haiti"},{"country_code":"HN","country_name":"Honduras"},{"country_code":"HK","country_name":"Hong Kong"},{"country_code":"HU","country_name":"Hungary"},{"country_code":"IS","country_name":"Iceland"},{"country_code":"IM","country_name":"Isle of Man"},{"country_code":"ID","country_name":"Indonesia"},{"country_code":"IR","country_name":"Iran"},{"country_code":"IQ","country_name":"Iraq"},{"country_code":"IE","country_name":"Ireland"},{"country_code":"IL","country_name":"Israel"},{"country_code":"IT","country_name":"Italy"},{"country_code":"CI","country_name":"Ivory Coast"},{"country_code":"JE","country_name":"Jersey"},{"country_code":"JM","country_name":"Jamaica"},{"country_code":"JP","country_name":"Japan"},{"country_code":"JO","country_name":"Jordan"},{"country_code":"KZ","country_name":"Kazakhstan"},{"country_code":"KE","country_name":"Kenya"},{"country_code":"KI","country_name":"Kiribati"},{"country_code":"KP","country_name":"North Korea"},{"country_code":"KR","country_name":"South Korea"},{"country_code":"XK","country_name":"Kosovo"},{"country_code":"KW","country_name":"Kuwait"},{"country_code":"KG","country_name":"Kyrgyzstan"},{"country_code":"LA","country_name":"Lao"},{"country_code":"LV","country_name":"Latvia"},{"country_code":"LB","country_name":"Lebanon"},{"country_code":"LS","country_name":"Lesotho"},{"country_code":"LR","country_name":"Liberia"},{"country_code":"LY","country_name":"Libyan Arab Jamahiriya"},{"country_code":"LI","country_name":"Liechtenstein"},{"country_code":"LT","country_name":"Lithuania"},{"country_code":"LU","country_name":"Luxembourg"},{"country_code":"MK","country_name":"Macedonia"},{"country_code":"MG","country_name":"Madagascar"},{"country_code":"MW","country_name":"Malawi"},{"country_code":"MY","country_name":"Malaysia"},{"country_code":"MV","country_name":"Maldives"},{"country_code":"ML","country_name":"Mali"},{"country_code":"MT","country_name":"Malta"},{"country_code":"MH","country_name":"Marshall Islands"},{"country_code":"MQ","country_name":"Martinique"},{"country_code":"MR","country_name":"Mauritania"},{"country_code":"MU","country_name":"Mauritius"},{"country_code":"MX","country_name":"Mexico"},{"country_code":"FM","country_name":"Micronesia, Federated States of"},{"country_code":"MD","country_name":"Moldova"},{"country_code":"MC","country_name":"Monaco"},{"country_code":"MN","country_name":"Mongolia"},{"country_code":"ME","country_name":"Montenegro"},{"country_code":"MS","country_name":"Montserrat"},{"country_code":"MA","country_name":"Morocco"},{"country_code":"MZ","country_name":"Mozambique"},{"country_code":"MM","country_name":"Myanmar"},{"country_code":"NA","country_name":"Namibia"},{"country_code":"NR","country_name":"Nauru"},{"country_code":"NP","country_name":"Nepal"},{"country_code":"NL","country_name":"Netherlands"},{"country_code":"AN","country_name":"Netherlands Antilles"},{"country_code":"NC","country_name":"New Caledonia"},{"country_code":"NZ","country_name":"New Zealand"},{"country_code":"NI","country_name":"Nicaragua"},{"country_code":"NE","country_name":"Niger"},{"country_code":"NG","country_name":"Nigeria"},{"country_code":"MP","country_name":"Northern Mariana Islands"},{"country_code":"NO","country_name":"Norway"},{"country_code":"OM","country_name":"Oman"},{"country_code":"PK","country_name":"Pakistan"},{"country_code":"PW","country_name":"Palau"},{"country_code":"PS","country_name":"Palestine"},{"country_code":"PA","country_name":"Panama"},{"country_code":"PG","country_name":"Papua New Guinea"},{"country_code":"PY","country_name":"Paraguay"},{"country_code":"PE","country_name":"Peru"},{"country_code":"PH","country_name":"Philippines"},{"country_code":"PL","country_name":"Poland"},{"country_code":"PT","country_name":"Portugal"},{"country_code":"PR","country_name":"Puerto Rico"},{"country_code":"QA","country_name":"Qatar"},{"country_code":"RE","country_name":"Reunion"},{"country_code":"RO","country_name":"Romania"},{"country_code":"RU","country_name":"Russian Federation"},{"country_code":"RW","country_name":"Rwanda"},{"country_code":"KN","country_name":"Saint Kitts and Nevis"},{"country_code":"LC","country_name":"Saint Lucia"},{"country_code":"VC","country_name":"Saint Vincent and the Grenadines"},{"country_code":"WS","country_name":"Samoa"},{"country_code":"SM","country_name":"San Marino"},{"country_code":"ST","country_name":"Sao Tome and Principe"},{"country_code":"SA","country_name":"Saudi Arabia"},{"country_code":"SN","country_name":"Senegal"},{"country_code":"RS","country_name":"Serbia"},{"country_code":"SC","country_name":"Seychelles"},{"country_code":"SL","country_name":"Sierra Leone"},{"country_code":"SG","country_name":"Singapore"},{"country_code":"SK","country_name":"Slovakia"},{"country_code":"SI","country_name":"Slovenia"},{"country_code":"SB","country_name":"Solomon Islands"},{"country_code":"SO","country_name":"Somalia"},{"country_code":"ZA","country_name":"South Africa"},{"country_code":"ES","country_name":"Spain"},{"country_code":"LK","country_name":"Sri Lanka"},{"country_code":"SH","country_name":"St. Helena"},{"country_code":"PM","country_name":"St. Pierre and Miquelon"},{"country_code":"SD","country_name":"Sudan"},{"country_code":"SR","country_name":"Suriname"},{"country_code":"SJ","country_name":"Svalbard and Jan Mayen Islands"},{"country_code":"SZ","country_name":"Swaziland"},{"country_code":"SE","country_name":"Sweden"},{"country_code":"CH","country_name":"Switzerland"},{"country_code":"SY","country_name":"Syrian Arab Republic"},{"country_code":"TW","country_name":"Taiwan"},{"country_code":"TJ","country_name":"Tajikistan"},{"country_code":"TZ","country_name":"Tanzania"},{"country_code":"TH","country_name":"Thailand"},{"country_code":"TG","country_name":"Togo"},{"country_code":"TK","country_name":"Tokelau"},{"country_code":"TO","country_name":"Tonga"},{"country_code":"TT","country_name":"Trinidad and Tobago"},{"country_code":"TN","country_name":"Tunisia"},{"country_code":"TR","country_name":"Turkey"},{"country_code":"TM","country_name":"Turkmenistan"},{"country_code":"TV","country_name":"Tuvalu"},{"country_code":"UG","country_name":"Uganda"},{"country_code":"UA","country_name":"Ukraine"},{"country_code":"AE","country_name":"United Arab Emirates"},{"country_code":"GB","country_name":"United Kingdom"},{"country_code":"US","country_name":"United States"},{"country_code":"UM","country_name":"United States minor outlying islands"},{"country_code":"UY","country_name":"Uruguay"},{"country_code":"UZ","country_name":"Uzbekistan"},{"country_code":"VU","country_name":"Vanuatu"},{"country_code":"VE","country_name":"Venezuela"},{"country_code":"VN","country_name":"Vietnam"},{"country_code":"VI","country_name":"Virgin Islands (U.S.)"},{"country_code":"WF","country_name":"Wallis and Futuna Islands"},{"country_code":"YE","country_name":"Yemen"},{"country_code":"ZM","country_name":"Zambia"},{"country_code":"ZW","country_name":"Zimbabwe"},{"country_code":"IN","country_name":"India"}]');
totl_preselected_states_saved = '["4035","4015","4038","4023","4017","4024","4018","4040","4006","4034","4012","4021","4032","4022","4020","4009","4026","4041","4039","4016","4007","4031","4033","4030","4037","4025","4029","4019","4014","4036","4010","4011","4028","4013","4027","4008"]';
var _single_country_code = '';if (jobsearch_sloc_type == '2' || jobsearch_sloc_type == '3') {
_single_country_code = jQuery("#countryId6686343").val();
} else {
if (jobsearch_sloc_country != 0 && contry_preselct != 'by_contry') {
_single_country_code = api_scrapper6686343.getCountryCode(jobsearch_sloc_country);
}
}/*
* If location type is single country (cities)
* */if (jobsearch_sloc_type == 4) {
api_scrapper6686343.getBulkCitiesByStates(totl_preselected_states_saved, jobsearch_sloc_city);
}
api_scrapper6686343.readCountryFile(jQuery('#countryId6686343'), '');
if (jobsearch_sloc_state != "") {
api_scrapper6686343.readStateFile(_single_country_code, jQuery("#stateId6686343"))
}if ((jobsearch_sloc_type == 2 || jobsearch_sloc_type == 3) && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {
if (_single_country_code != "") {
api_scrapper6686343.readStateFile(_single_country_code, jQuery("#stateId6686343"))
}
if (jobsearch_sloc_city != "") {
setTimeout(function () {
console.info("done first");
jQuery('#stateId6686343').trigger('change');
}, 4000);
}
}/*
* Pre select Country
* */
});
/*
*countries change event
**/jQuery(document).on('change', '#countryId6686343', function () {
var _this = jQuery(this);
if (_this.val() != 0 && _this.val() != undefined) {
var _country_code = '';
if (inc_countries != "") {
_country_code = api_scrapper6686343.getCountryCode(_this.val());
} else {
_country_code = jobsearch_is_admin == 1 && _this.find('option:selected').attr("code") != undefined ? _this.find('option:selected').attr("code") : api_scrapper6686343.getCountryCode(_this.val());
}
api_scrapper6686343.readStateFile(_country_code, jQuery("#stateId6686343"));
}
});/*
* state change event
* */jQuery(document).on('change', '#stateId6686343', function () {
var _this = jQuery(this), _single_country_detail;
if (jobsearch_sloc_type == 1) {
_single_country_detail = jQuery("#countryId6686343").find('option:selected').val();} else if (jobsearch_sloc_type == '2' || jobsearch_sloc_type == '3') {
_single_country_detail = jQuery("#countryId6686343").val();
} else {
if (jobsearch_sloc_country != 0 && contry_preselct != 'by_contry') {
_single_country_detail = api_scrapper6686343.getCountryCode(jobsearch_sloc_country);
}
}if (_this.val() != 0 && _this.val() != undefined) {
if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){
_single_country_detail = jQuery(".location2-countries").val();
}
api_scrapper6686343.readCityOnlyFiles(_single_country_detail, _this.val(), jQuery('#cityId6686343'));
}
});
jQuery(document).ready(function () {
var recaptcha_popup;
var jobsearch_multicap = function () {
//Render the recaptcha_popup on the element with ID "recaptcha_popup"
recaptcha_popup = grecaptcha.render('recaptcha_popup', {
'sitekey': '6LcK82opAAAAAGqHLGHx2o4u0xYe_li1-p7wo_Sz', //Replace this with your Site key
'theme': 'light'
});
};
jQuery('.recaptcha-reload-a').click();
});
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var eyecix_func_vars = {"ajax_url":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php"};
https://jobhuntcommunity.com/wp-content/plugins/careerfy-framework/js/careerfy-elementor.js
//jobhuntcommunity.com/wp-content/plugins/revslider/sr6/assets/js/rbtools.min.js
//jobhuntcommunity.com/wp-content/plugins/revslider/sr6/assets/js/rs6.min.js
https://jobhuntcommunity.com/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"ajaxurl":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
https://jobhuntcommunity.com/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
var jobsearch_jobalerts_vars = {"plugin_url":"https:\/\/jobhuntcommunity.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php","error_msg":"There is some problem.","email_field_error":"Please enter a valid email.","name_field_error":"Please enter an alert name.","submit_txt":"Create Alert","save_alert_txt":"Save Jobs Alert"};
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/modules/job-alerts/js/job-alerts.js
https://jobhuntcommunity.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
var pwsL10n = {"unknown":"Password strength unknown","short":"Very weak","bad":"Weak","good":"Medium","strong":"Strong","mismatch":"Mismatch"};
https://jobhuntcommunity.com/wp-admin/js/password-strength-meter.min.js
var jobsearch_login_register_common_vars = {"plugin_url":"https:\/\/jobhuntcommunity.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php"};
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/modules/login-registration/js/login-registration.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/selectize.min.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/fitvideo.js
var jobsearch_plugin_vars = {"plugin_url":"https:\/\/jobhuntcommunity.com\/wp-content\/plugins\/wp-jobsearch\/","ajax_url":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php","ajax_url_simp":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php","locmap_type":"mapbox","google_api_key":"","mapbox_token":"","mapbox_style":"mapbox:\/\/styles\/mapbox\/streets-v11","is_map_allow":"no","locations_type":"api","required_api_locs":"yes","careerfy_theme_color":"#12a8ed","sel_countries_json":"[\"IN\"]","com_img_size":"Image size should not greater than 1 MB.","com_file_size":"File size should not greater than 1 MB.","cv_file_types":"Suitable files are .doc,.docx,.pdf","coverfile_size_allow":"1024","coverfile_size_err":"File size should not greater than 1Mb.","cover_file_types":"Suitable files are .doc, .docx, .pdf.","coverdoc_file_types":"[\"application\/msword\",\"application\/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"application\/pdf\"]","are_you_sure":"Are you sure!","com_word_title":"Title","see_less_txt":"- see less","see_more_txt":"+ see more","com_word_description":"Description","com_word_save":"Save","error_msg":"There is some problem.","shortlisted_str":"Saved","select_sector":"Select Sector","loading":"Loading...","accpt_terms_cond":"Please accept our terms and conditions.","var_address_str":"Address","var_other_locs_str":"Other Locations","autocomplete_adres_type":"city_contry","pass_length_short":"Very weak","pass_length_med":"Weak","pass_length_good":"Medium","pass_length_strng":"Strong","totl_applicants":"Total Applicants:","shortlisted_applicants":"Shortlisted Applicants:","rejected_applicants":"Rejected Applicants:","unlock_candidate_name":"You are about to open the name of the candidate. This action will use 1 point of your package credit.","unlock_candidate_cv":"You are about to download Candidate CV. This action will use 1 point of your package credit.","candidate_job_title":"","candidate_signup_date":"","is_rtl":"","acptable_pass_strnth":"[\"very_weak\",\"weak\",\"medium\",\"strong\"]"};
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/jobsearch-plugin.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/jobsearch-common.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/fancybox.pack.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/isotope.min.js
https://jobhuntcommunity.com/wp-includes/js/dist/vendor/moment.min.js
moment.updateLocale( 'en_US', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":1},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} );
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/jquery.datetimepicker.full.min.js
https://jobhuntcommunity.com/wp-content/plugins/careerfy-framework/js/slick-slider.js
var careerfy_framework_vars = {"plugin_url":"https:\/\/jobhuntcommunity.com\/wp-content\/plugins\/careerfy-framework\/","ajax_url":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php","error_msg":"There is some problem.","blank_field_msg":"This field should not be blank.","is_sticky":"on","is_front_page":"false"};
https://jobhuntcommunity.com/wp-content/plugins/careerfy-framework/js/careerfy-common.js
https://jobhuntcommunity.com/wp-content/themes/careerfy/js/bootstrap.js
var careerfy_funnc_vars = {"ajax_url":"https:\/\/jobhuntcommunity.com\/wp-admin\/admin-ajax.php","nav_open_img":"https:\/\/jobhuntcommunity.com\/wp-content\/themes\/careerfy\/images\/nav-list-icon.png","nav_close_img":"https:\/\/jobhuntcommunity.com\/wp-content\/themes\/careerfy\/images\/cross.png"};
https://jobhuntcommunity.com/wp-content/themes/careerfy/js/functions.js
https://jobhuntcommunity.com/wp-content/plugins/wp-jobsearch/js/intlTelInput.js
jQuery(document).ready(function () {
var ajax_req_9236289 = jQuery.ajax({
url: 'https://jobhuntcommunity.com/wp-admin/admin-ajax.php',
method: "POST",
data: {
rand_id: '9236289',
secure_form: 'register-security',
action: 'jobsearch_userreg_form_after_nonce'
},
dataType: "html"
});
ajax_req_9236289.done(function (response) {
jQuery('#jobsearch-aterreg-9236289').html(response);
});
});
jQuery(document).ready(function(){});
jQuery(document).ready(function () {if (jQuery('.fancybox-galimg').length > 0) {
//*** Function FancyBox
jQuery(".fancybox-galimg").fancybox({
openEffect: 'elastic',
closeEffect: 'elastic',
beforeLoad: function () {
var caption = this.element.attr('data-caption');
this.tpl.wrap = '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div><div class="fancybox-title fancybox-title-float-wrap"><span class="gal-img-desc child">' + caption + '</span></div></div></div></div>'},
helpers: {
title: {
type: 'outside',
position: 'top'
}
}
});
}if (jQuery('.cand-profile-status-tooltip').length > 0) {
jQuery('.cand-profile-status-tooltip').tooltip();
}
if (jQuery('.fancybox-video').length > 0) {
//*** Function FancyBox
jQuery('.fancybox-video').fancybox({
maxWidth: 800,
maxHeight: 600,
fitToView: false,
width: '70%',
height: '70%',
autoSize: false,
closeClick: false,
openEffect: 'none',
closeEffect: 'none',
beforeLoad: function () {
var caption = this.element.attr('data-caption');
this.tpl.wrap = '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div><div class="fancybox-title fancybox-title-float-wrap"><span class="gal-img-desc child">' + caption + '</span></div></div></div></div>'},
helpers: {
title: {
type: 'outside',
position: 'top'
}
}
});}if (jQuery('.jobsearch_progressbar1').length > 0) {
jQuery('.jobsearch_progressbar1').progressBar({
percentage: false,
backgroundColor: "#dbdbdb",
barColor: jobsearch_plugin_vars.careerfy_theme_color,
animation: true,
height: "6",
});
}if (jQuery('.careerfy_progressbar_candidate_style5').length > 0) {
jQuery('.careerfy_progressbar_candidate_style5').progressBar({
percentage: true,
backgroundColor: "#dbdbdb",
barColor: jobsearch_plugin_vars.careerfy_theme_color,
animation: true,
height: "6",
});
}// selectize
if (jQuery('.selectize-select').length > 0) {
jQuery('.selectize-select').selectize({
//allowEmptyOption: true,
plugins: ['remove_button'],
});
}
// for dependent fields
if (jQuery('.depndfield-selectize').length > 0) {
jQuery('.depndfield-selectize').selectize({
render: {
option: function (data, escape) {
return "<div data-depend='" + data.depend + "' data-optid='" + data.optid + "'>" + data.text + "</div>"
}
},
plugins: ['remove_button'],
});
}if (jQuery('.sort-records-per-page').length > 0) {
jQuery('.sort-records-per-page').selectize({
allowEmptyOption: true,
});
}//
var loc_con_main = jQuery('#jobsearch-findby-sectors').find('.jobsearch-sects-allcon');if (loc_con_main.length > 0) {
var loc_contain_li = loc_con_main.find('>li,>div');if (loc_contain_li.length > 0) {
var sect_view_str = jQuery('#jobsearch-findby-sectors').data('view');
var location_ids_sect = [];
jQuery.each(loc_contain_li, function () {
var _this_li = jQuery(this);
var _counter_con = _this_li.find('.jobsearchh-sect-childcount');
if (_counter_con.length > 0) {
_counter_con.html('<em class="fa fa-refresh fa-spin"></em>');
var locat_id = _counter_con.attr('data-id');
location_ids_sect.push(locat_id);
}
});if (location_ids_sect.length > 0) {
var locate_ids_str = location_ids_sect.join();
var loc_counts_request = jQuery.ajax({
url: jobsearch_plugin_vars.ajax_url,
method: "POST",
data: {
sect_view: sect_view_str,
locat_ids: locate_ids_str,
action: 'jobsearch_sectscount_add_to_spancons_action',
},
dataType: "json"
});loc_counts_request.done(function (response) {
var resp_ids_arr;
if (typeof response.counts !== 'undefined' && response.counts != '') {
var resp_ids_str = response.counts;
resp_ids_arr = resp_ids_str.split(',');
}
jQuery.each(location_ids_sect, function (index, id) {
var count_val = resp_ids_arr[index];
var _this_countr_con = jQuery('#jobsearchh-sect-cat-item-' + id);
_this_countr_con.html(count_val);
jQuery('#responsive-sect-cat-item-' + id).html(count_val);
});
});loc_counts_request.fail(function (jqXHR, textStatus) {
jQuery.each(location_ids, function (index, id) {
var _this_countr_con = jQuery('#jobsearchh-sect-cat-item-' + id);
_this_countr_con.html('0');
jQuery('#responsive-sect-cat-item-' + id).html(0);
});
});
}
}
}
//
var loc_con_main = jQuery('#jobsearch-findby-jobtypes').find('.jobsearch-sects-allcon');
if (loc_con_main.length > 0) {
var loc_contain_li = loc_con_main.find('>li');
if (loc_contain_li.length > 0) {
var sect_view_str = jQuery('#jobsearch-findby-jobtypes').data('view');
var location_ids = [];
jQuery.each(loc_contain_li, function () {
var _this_li = jQuery(this);
var _counter_con = _this_li.find('.jobsearchh-type-childcount');
if (_counter_con.length > 0) {
_counter_con.html('<em class="fa fa-refresh fa-spin"></em>');
var locat_id = _counter_con.attr('data-id');
location_ids.push(locat_id);
}
});
if (location_ids.length > 0) {
var locate_ids_str = location_ids.join();
var loc_counts_request = jQuery.ajax({
url: jobsearch_plugin_vars.ajax_url,
method: "POST",
data: {
sect_view: sect_view_str,
locat_ids: locate_ids_str,
action: 'jobsearch_jobtypecount_add_to_spancons_action',
},
dataType: "json"
});loc_counts_request.done(function (response) {
var resp_ids_arr;
if (typeof response.counts !== 'undefined' && response.counts != '') {
var resp_ids_str = response.counts;
resp_ids_arr = resp_ids_str.split(',');
}
jQuery.each(location_ids, function (index, id) {var count_val = resp_ids_arr[index];
var _this_countr_con = jQuery('#jobsearchh-sect-types-item-' + id);
_this_countr_con.html(count_val);
});
});loc_counts_request.fail(function (jqXHR, textStatus) {
jQuery.each(location_ids, function (index, id) {
var _this_countr_con = jQuery('#jobsearchh-sect-types-item-' + id);
_this_countr_con.html('0');
});
});
}
}
}if (window.location.hash !== 'undefined' && window.location.hash == '#_=_') {
window.location.hash = ''; // for older browsers, leaves a # behind
history.pushState('', document.title, window.location.pathname); // nice and clean
e.preventDefault(); // no page reload
}jQuery('.user_field').on('click', function (e) {
e.preventDefault();
var this_id = jQuery(this).data('randid'),
loaded = jQuery(this).data('loaded'),
role = jQuery(this).data('role'),
user_field = jQuery('#user_field_' + this_id),
ajax_url = jobsearch_plugin_vars.ajax_url,
force_std = jQuery(this).data('forcestd');
if (loaded != true) {
jQuery('.user_loader_' + this_id).html('<i class="fa fa-refresh fa-spin"></i>');
var request = jQuery.ajax({
url: ajax_url,
method: "POST",
data: {
force_std: force_std,
role: role,
action: 'jobsearch_load_all_users_data',
},
dataType: "json"
});request.done(function (response) {
if ('undefined' !== typeof response.html) {
user_field.html(response.html);
jQuery('.user_loader_' + this_id).html('');
user_field.data('loaded', true);}
});request.fail(function (jqXHR, textStatus) {
});
}
return false;});jQuery('.custom_post_field').on('click', function (e) {
e.preventDefault();
var this_id = jQuery(this).data('randid'),
loaded = jQuery(this).data('loaded'),
posttype = jQuery(this).data('posttype'),
placelabel = jQuery(this).data('placelabel'),
custom_field = jQuery('#custom_post_field_' + this_id),
ajax_url = jobsearch_plugin_vars.ajax_url,
force_std = jQuery(this).data('forcestd');
if (loaded != true) {
jQuery('.custom_post_loader_' + this_id).html('<i class="fa fa-refresh fa-spin"></i>');
var request = jQuery.ajax({
url: ajax_url,
method: "POST",
data: {
force_std: force_std,
posttype: posttype,
placelabel: placelabel,
action: 'jobsearch_load_all_custom_post_data',
},
dataType: "json"
});request.done(function (response) {
if ('undefined' !== typeof response.html) {
custom_field.html(response.html);
jQuery('.custom_post_loader_' + this_id).html('');
custom_field.data('loaded', true);
}
});request.fail(function (jqXHR, textStatus) {
});
}
return false;});if (jQuery('.grid').length > 0 && jQuery('.grid-item').length > 0) {
//*** Function Masonery
jQuery('.grid').isotope({
itemSelector: '.grid-item',
percentPosition: true,
masonry: {
fitWidth: false
}
});
}
});
jQuery(document).ready(function() {
});
jQuery(document).ready(function () {
'use strict';// Target your .container, .wrapper, .post, etc.
jQuery(".careerfy-wrapper").fitVids();if (careerfy_framework_vars.is_sticky == 'on') {
var scrolDifrPixel = 170;
var is_front_page = careerfy_framework_vars.is_front_page;
if (jQuery('#careerfy-header').hasClass('careerfy-header-twelve')) {
if (is_front_page == 'true') {
scrolDifrPixel = 650;
} else {
scrolDifrPixel = 230;
}
}
jQuery(window).scroll(function () {
if (jQuery(this).scrollTop() > scrolDifrPixel) {
jQuery('body').addClass("careerfy-sticky-header");
} else {
jQuery('body').removeClass("careerfy-sticky-header");
}
});
}if (jQuery('.word-counter').length > 0) {
jQuery('.word-counter').countUp({
delay: 190,
time: 3000,
});
}if (jQuery('.careerfy_twitter_widget_wrap').length > 0) {
jQuery('.careerfy_twitter_widget_wrap').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: false,
prevArrow: "",
nextArrow: "",
});
}//*** Function Banner
if (jQuery('.careerfy-testimonial-slider').length > 0) {
jQuery('.careerfy-testimonial-slider').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: false,
prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}//*** Function Services Slider
if (jQuery('.careerfy-service-slider').length > 0) {
jQuery('.careerfy-service-slider').slick({
slidesToShow: 5,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: false,
centerMode: true,
centerPadding: '0px',
prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-arrow-right-bold'></i></span>",
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 3,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}//*** Function Partner Slider
if (jQuery('.careerfy-partner-slider').length > 0) {
jQuery('.careerfy-partner-slider').slick({
slidesToShow: 6,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: false,
centerMode: true,
centerPadding: '0px',
arrows: false,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}if (jQuery('.careerfy-partnertwo-slider').length > 0) {
jQuery('.careerfy-partnertwo-slider').slick({
slidesToShow: 6,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: false,
prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-arrow-pointing-to-left'></i></span>",
nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-arrow-pointing-to-right'></i></span>",
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 1250,
settings: {
slidesToShow: 4,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 2,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}if (jQuery('.careerfy-testimonial-styletwo').length > 0) {
jQuery('.careerfy-testimonial-styletwo').slick({
slidesToShow: 2,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: true,
prevArrow: "<span class='slick-arrow-left'><i class='careerfy-icon careerfy-right-arrow-long'></i></span>",
nextArrow: "<span class='slick-arrow-right'><i class='careerfy-icon careerfy-right-arrow-long'></i></span>",
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}if (jQuery('.careerfy-testimonial-slider-style3').length > 0) {
jQuery('.careerfy-testimonial-slider-style3').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: true,
fade: true,
adaptiveHeight: true,
prevArrow: jQuery('.careerfy-prev'),
nextArrow: jQuery('.careerfy-next'),
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}if (jQuery('.careerfy-testimonial-style4').length > 0) {
jQuery('.careerfy-testimonial-style4').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: true,
arrows: false,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}if (jQuery('.careerfy-partner-style3').length > 0) {
jQuery('.careerfy-partner-style3').slick({
slidesToShow: 6,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
infinite: true,
dots: false,
arrows: false,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
}
},
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}jQuery(".careerfy-loading-section").fadeOut("slow");
});