$(()=>{"use strict";const e="#txtSearcherComponentSearchVacancies",r="#btnSearcherComponentSearchVacancies",a="#drpSearcherComponentLocation3",s="#hdnSearcherComponentSearchUrl",t="#IsPreview",n=()=>{const r=$(e).val().trim();r&&-1==i.Keywords.indexOf(r)&&i.Keywords.push(r);const t=$(a).val();t&&-1==i.IdsLocation3.indexOf(t)&&i.IdsLocation3.push(t),(()=>{const e=new URL($(s).val().trim());i.Jobs.length&&e.searchParams.append("Jobs",i.Jobs),i.IdsLocation3.length&&e.searchParams.append("IdsLocation3",i.IdsLocation3),i.Keywords.length&&e.searchParams.append("Keywords",i.Keywords),window.location=e})()},o=e=>{13==e.which&&(e.preventDefault(),n())};let i={Jobs:null!=GetQueryStringParameter("Jobs")?GetQueryStringParameter("Jobs").split(","):[],IdsLocation3:null!=GetQueryStringParameter("IdsLocation3")?GetQueryStringParameter("IdsLocation3").split(","):[],Keywords:null!=GetQueryStringParameter("Keywords")?GetQueryStringParameter("Keywords").split(","):[]};"True"==$(t).val()?$("a").attr("href","javascript:void(0)"):($(e).on("keyup",o),$(r).on("click",n))}),$(()=>{"use strict";$(".menu a").on("click",e=>{const r=$(e.target);r.closest(".menu").find("a").removeClass("sel"),r.addClass("sel"),r.closest(".menu").siblings("div").addClass("hide").eq(r.index()).removeClass("hide")})});