/**handles:um_dropdown,um_members**/
function um_init_new_dropdown(){jQuery(".um-new-dropdown").um_dropdownMenu()}!function(p){function o(e){var i={get:function(){return i},show:function(){i.hideAll(),i.$menu=i.$element.find(".um-new-dropdown"),i.$menu.length||(i.$menu=p('div.um-new-dropdown[data-element="'+i.data.element+'"]').first()),i.$dropdown=i.$menu.clone(),i.$dropdown.on("click","li a",i.itemHandler).attr("data-cloned","1"),p(window).on("resize",i.updatePosition);var e=""!==i.data.parent?i.data.parent:document.body;return p(e).append(i.$dropdown),i.$element.trigger("um_new_dropdown_render",{dropdown_layout:i.$dropdown,trigger:i.data.trigger,element:i.data.elemen,obj:i.$element}),i.$dropdown.css(i.calculatePosition()).show(),i.$element.addClass("um-new-dropdown-shown").data("um-new-dropdown-show",!0),i},hide:function(){return i.$dropdown&amp;&amp;i.$dropdown.is(":visible")&amp;&amp;(p(window).off("resize",i.updatePosition),i.$dropdown.remove(),i.$element.removeClass("um-new-dropdown-shown").data("um-new-dropdown-show",!1)),i},hideAll:function(){return i.$element.data("um-new-dropdown-show")&amp;&amp;i.hide(),p('div.um-new-dropdown[data-cloned="1"]').remove(),p(".um-new-dropdown-shown").removeClass("um-new-dropdown-shown").data("um-new-dropdown-show",!1),i},calculatePosition:function(){var e,t=i.$element.get(0).getBoundingClientRect(),n=i.$dropdown.innerHeight()||150,o=i.data.width||150,d="",r=(e=""!==i.data.parent?(r=p(i.data.parent).offset(),{top:(e=i.$element.offset()).top-r.top,left:e.left-r.left}):i.$element.offset(),""!==i.data.parent?p(i.data.parent)[0].offsetWidth:window.innerWidth),a={position:"absolute",width:o+"px"};switch((""!==i.data.parent?p(i.data.parent)[0].offsetHeight:window.innerHeight)-t.bottom&gt;n?(a.top=e.top+t.height+"px",d+="bottom"):(d+="top",a.top=e.top-n+"px"),e.left&gt;o||e.left&gt;r/2?(a.left=e.left+t.width-o+"px",d+="-left"):(a.left=e.left+"px",d+="-right"),d){case"bottom-right":a.borderRadius="0px 5px 5px 5px";break;case"bottom-left":a.borderRadius="5px 0px 5px 5px";break;case"top-right":a.borderRadius="5px 5px 5px 0px";break;case"top-left":a.borderRadius="5px 5px 0px 5px"}return a},updatePosition:function(){return i.$dropdown&amp;&amp;i.$dropdown.is(":visible")&amp;&amp;i.$dropdown.css(i.calculatePosition()),i},itemHandler:function(e){e.stopPropagation();e=p(e.currentTarget).attr("class");i.$menu.find('li a[class="'+e+'"]').trigger("click"),i.$element.data("um-new-dropdown-show")&amp;&amp;i.hide()},triggerHandler:function(e){e.stopPropagation(),i.$element=p(e.currentTarget),i.$element.data("um-new-dropdown-show")?i.hide():i.show()}};return i.$menu=p(e),i.data=i.$menu.data(),i.$element=i.$menu.closest(i.data.element),i.$element.length||(i.$element=p(i.data.element).first()),i.$dropdown=p(document.body).children('div[data-element="'+i.data.element+'"]'),void 0===i.data.initted&amp;&amp;(i.$menu.data("initted",!0),i.data=i.$menu.data(),void 0===o.screenTriggers&amp;&amp;(o.screenTriggers={}),o.screenTriggers[i.data.element]!==i.data.trigger)&amp;&amp;(o.screenTriggers[i.data.element]=i.data.trigger,p(document.body).on(i.data.trigger,i.data.element,i.triggerHandler)),void 0===o.globalHandlersInitted&amp;&amp;(o.globalHandlersInitted=!0,p(document.body).on("click",function(e){p(e.target).closest(".um-new-dropdown").length||i.hideAll()})),i}p.fn.um_dropdownMenu=function(n){return"string"==typeof n&amp;&amp;n?this.map(function(e,t){t=o(t);return"function"==typeof t[n]?t[n]():t[n]}).toArray():this.each(function(e,t){o(t)})}}(jQuery),jQuery(document).ready(function(e){um_init_new_dropdown()});
var um_members_directory_busy=[],um_member_directories=[],um_member_directory_last_data=[];function um_parse_current_url(){var r={},t=window.location.search.substring(1).split("&amp;");return jQuery.each(t,function(e){e=t[e].split("=");r[e[0]]=e[1]}),r}function um_get_data_for_directory(e,r){var t=um_members_get_hash(e),a={},i=um_parse_current_url();if(jQuery.each(i,function(e){-1!==e.indexOf("_"+t)&amp;&amp;""!==i[e]&amp;&amp;(a[e.replace("_"+t,"")]=i[e])}),r){if(void 0!==a[r])try{a[r]=decodeURIComponent(a[r])}catch(e){console.error(e)}return a[r]}return a}function um_set_url_from_data(e,r,t){var a=um_members_get_hash(e),i=um_get_data_for_directory(e),m={},d=(Array.isArray(t)?(jQuery.each(t,function(e){t[e]=encodeURIComponent(t[e])}),t=t.join("||")):jQuery.isNumeric(t)||(t=t.split("||"),jQuery.each(t,function(e){t[e]=encodeURIComponent(t[e])}),t=t.join("||")),""!==t&amp;&amp;(m[r+"_"+a]=t),jQuery.each(i,function(e){r===e?""!==t&amp;&amp;(m[e+"_"+a]=t):m[e+"_"+a]=i[e]}),jQuery.each(um_member_directories,function(e){var r,t=um_member_directories[e];t!==a&amp;&amp;(r=um_get_data_for_directory(jQuery('.um-directory[data-hash="'+t+'"]')),jQuery.each(r,function(e){m[e+"_"+t]=r[e]}))}),[]),e=(jQuery.each(m,function(e){d.push(e+"="+m[e])}),"?"+(d=wp.hooks.applyFilters("um_member_directory_url_attrs",d)).join("&amp;"));"?"===e&amp;&amp;(e=""),window.history.pushState("string","UM Member Directory",window.location.origin+window.location.pathname+e)}function um_members_get_hash(e){return e.data("hash")}function um_is_directory_busy(e){e=um_members_get_hash(e);return void 0!==um_members_directory_busy[e]&amp;&amp;um_members_directory_busy[e]}function um_members_show_preloader(e){um_members_directory_busy[um_members_get_hash(e)]=!0,e.find(".um-members-overlay").show()}function um_members_hide_preloader(e){um_members_directory_busy[um_members_get_hash(e)]=!1,e.find(".um-members-overlay").hide()}function um_set_range_label(e,r){var t,a="",i=e.siblings(".um-slider-range").data("placeholder-s"),m=e.siblings(".um-slider-range").data("placeholder-p"),r=r?(a=(r.values[0]===r.values[1]?i.replace("{value}",r.values[0]):m.replace("{min_range}",r.values[0]).replace("{max_range}",r.values[1])).replace("{field_label}",e.siblings(".um-slider-range").data("label")),t=r.values[0],r.values[1]):(a=(e.slider("values",0)===e.slider("values",1)?i.replace("{value}",e.slider("values",0)):m.replace("{min_range}",e.slider("values",0)).replace("{max_range}",e.slider("values",1))).replace("{field_label}",e.siblings(".um-slider-range").data("label")),t=e.slider("values",0),e.slider("values",1));e.siblings(".um-slider-range").html(a),e.siblings(".um_range_min").val(t),e.siblings(".um_range_max").val(r)}function um_get_search(e){return e.find(".um-search-line").length?e.find(".um-search-line").val():""}function um_get_sort(e){return e.data("sorting")}function um_get_current_page(e){e=e.data("page");return e=e&amp;&amp;void 0!==e?e:1}function um_time_convert(e,r){var t=Math.floor(e/60),e=e%60;return(t=60&lt;=e&amp;&amp;(e=0,24&lt;=(t+=1))?0:t)+&quot;:&quot;+(e=e&lt;10?&quot;0&quot;+e:e)}function um_ajax_get_members(_,e){var r,t,a,i,s,m=um_members_get_hash(_);wp.hooks.applyFilters(&quot;um_member_directory_get_members_allow&quot;,!0,m,_)?(r=um_get_current_page(_),t=um_get_search(_),a=um_get_sort(_),i=-(new Date).getTimezoneOffset()/60,s={directory_id:m,page:r,search:t,sorting:a,gmt_offset:i,post_refferer:_.data(&quot;base-post&quot;),nonce:um_scripts.nonce},_.find(&quot;.um-search-filter&quot;).length&amp;&amp;_.find(&quot;.um-search-filter&quot;).each(function(){var e,r,t,a,i,m,d,u=jQuery(this);u.find(&quot;.um-slider&quot;).length?(m=u.find(&quot;.um-slider&quot;).data(&quot;field_name&quot;),r=um_get_data_for_directory(_,&quot;filter_&quot;+m+&quot;_from&quot;),e=um_get_data_for_directory(_,&quot;filter_&quot;+m+&quot;_to&quot;),void 0===r&amp;&amp;void 0===e||(s[m]=[r,e])):u.find(&quot;.um-datepicker-filter&quot;).length?(m=u.find(&quot;.um-datepicker-filter&quot;).data(&quot;filter_name&quot;),r=um_get_data_for_directory(_,&quot;filter_&quot;+m+&quot;_from&quot;),e=um_get_data_for_directory(_,&quot;filter_&quot;+m+&quot;_to&quot;),void 0===r&amp;&amp;void 0===e||(s[m]=[r,e])):u.find(&quot;.um-timepicker-filter&quot;).length?(m=u.find(&quot;.um-timepicker-filter&quot;).data(&quot;filter_name&quot;),r=um_get_data_for_directory(_,&quot;filter_&quot;+m+&quot;_from&quot;),e=um_get_data_for_directory(_,&quot;filter_&quot;+m+&quot;_to&quot;),void 0!==r&amp;&amp;(r=(i=(i=+(r=r.split(&quot;:&quot;))[0])&lt;10?&quot;0&quot;+i:i)+&quot;:&quot;+(a=(a=+r[1])&lt;10?&quot;0&quot;+a:a)+&quot;:00&quot;),void 0!==e&amp;&amp;(a=+(t=e.split(&quot;:&quot;))[1],e=(i=(i=+t[0])&lt;10?&quot;0&quot;+i:i)+&quot;:&quot;+(a=a a").html(r))}),jQuery(document.body).on("click",".um-directory .pagi:not(.current)",function(){var e,r;jQuery(this).hasClass("disabled")||um_is_directory_busy(e=jQuery(this).parents(".um-directory"))||(um_members_show_preloader(e),(1===(r="first"===jQuery(this).data("page")?1:"prev"===jQuery(this).data("page")?+e.data("page")-1:"next"===jQuery(this).data("page")?+e.data("page")+1:"last"===jQuery(this).data("page")?parseInt(e.data("total_pages")):parseInt(jQuery(this).data("page")))?(e.find('.pagi[data-page="first"], .pagi[data-page="prev"]').addClass("disabled"),e.find('.pagi[data-page="prev"], .pagi[data-page="last"]')):(r===parseInt(e.data("total_pages"))?e.find('.pagi[data-page="prev"], .pagi[data-page="last"]').addClass("disabled"):e.find('.pagi[data-page="prev"], .pagi[data-page="last"]').removeClass("disabled"),e.find('.pagi[data-page="first"], .pagi[data-page="prev"]'))).removeClass("disabled"),e.find(".pagi").removeClass("current"),e.find('.pagi[data-page="'+r+'"]').addClass("current"),e.data("page",r),um_set_url_from_data(e,"page",1===r?"":r),um_ajax_get_members(e))}),jQuery(document.body).on("change",".um-directory .um-members-pagi-dropdown",function(){var e,r=jQuery(this).parents(".um-directory");um_is_directory_busy(r)||(um_members_show_preloader(r),e=jQuery(this).val(),r.find(".pagi").removeClass("current"),r.find('.pagi[data-page="'+e+'"]').addClass("current"),r.data("page",e),um_set_url_from_data(r,"page",1===e?"":e),um_ajax_get_members(r))}),jQuery(document.body).on("click",".um-directory .um-members.um-members-list .um-member-more a",function(e){e.preventDefault();e=jQuery(this).parents(".um-member");return e.find(".um-member-more").hide(),e.find(".um-member-meta-main").slideDown(),e.find(".um-member-less").fadeIn(),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-list .um-member-less a",function(e){e.preventDefault();e=jQuery(this).parents(".um-member");return e.find(".um-member-less").hide(),e.find(".um-member-meta-main").slideUp(),e.find(".um-member-more").fadeIn(),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-grid .um-member-more a",function(e){e.preventDefault();var e=jQuery(this).parents(".um-member"),r=jQuery(this).parents(".um-members");return e.find(".um-member-more").hide(),e.find(".um-member-meta").slideDown(function(){UM_Member_Grid(r)}),e.find(".um-member-less").fadeIn(),setTimeout(function(){UM_Member_Grid(r)},100),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-grid .um-member-less a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member"),t=jQuery(this).parents(".um-members");return r.find(".um-member-less").hide(),r.find(".um-member-meta").slideUp(function(){r.find(".um-member-more").fadeIn(),UM_Member_Grid(t)}),!1}),jQuery(".um-member-directory-filters-a").on("click",function(){var e=jQuery(this),r=e.parents(".um-directory").find(".um-search");r.is(":visible")?r.slideUp(250,function(){e.toggleClass("um-member-directory-filters-visible"),r.parents(".um-member-directory-header-row").toggleClass("um-header-row-invisible")}):r.slideDown({duration:250,start:function(){jQuery(this).css({display:"grid"}),e.toggleClass("um-member-directory-filters-visible"),r.parents(".um-member-directory-header-row").toggleClass("um-header-row-invisible")}})}),jQuery(document.body).on("change",".um-directory .um-search-filter select",function(){var e,r,t,a=jQuery(this).val(),i=um_sanitize_value(a);""===i||um_is_directory_busy(e=jQuery(this).parents(".um-directory"))||(um_members_show_preloader(e),t=void 0===(t=um_get_data_for_directory(e,"filter_"+(r=jQuery(this).prop("name"))))?[]:t.split("||"),-1===jQuery.inArray(i,t)&amp;&amp;(t.push(i),um_set_url_from_data(e,"filter_"+r,t=t.join("||")),e.data("page",1),um_set_url_from_data(e,"page","")),jQuery(this).find('option[value="'+a+'"]').prop("disabled",!0).hide(),1===jQuery(this).find("option:not(:disabled)").length&amp;&amp;jQuery(this).prop("disabled",!0),(i=jQuery(this)).select2("destroy").select2({dropdownParent:i.parent()}),i.val("").trigger("change"),um_ajax_get_members(e),um_change_tag(e),e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"))}),jQuery(document.body).on("blur",'.um-directory .um-search-filter.um-text-filter-type input[type="text"]',function(){var e,r,t,a=jQuery(this).parents(".um-directory");um_is_directory_busy(a)||(e=um_sanitize_value(jQuery(this).val()))!==(t=void 0===(t=um_get_data_for_directory(a,"filter_"+(r=jQuery(this).prop("name"))))?"":t)&amp;&amp;(um_members_show_preloader(a),um_set_url_from_data(a,"filter_"+r,e),a.data("page",1),um_set_url_from_data(a,"page",""),um_ajax_get_members(a),um_change_tag(a),a.data("searched",1),a.find(".um-member-directory-sorting-options").prop("disabled",!1),a.find(".um-member-directory-view-type").removeClass("um-disabled"))}),jQuery(document.body).on("keypress",'.um-directory .um-search-filter.um-text-filter-type input[type="text"]',function(e){var r,t,a;13!==e.which||um_is_directory_busy(e=jQuery(this).parents(".um-directory"))||(r=um_sanitize_value(jQuery(this).val()))!==(a=void 0===(a=um_get_data_for_directory(e,"filter_"+(t=jQuery(this).prop("name"))))?"":a)&amp;&amp;(um_members_show_preloader(e),um_set_url_from_data(e,"filter_"+t,r),e.data("page",1),um_set_url_from_data(e,"page",""),um_ajax_get_members(e),um_change_tag(e),e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"))}),jQuery(document.body).on("click",".um-directory .um-members-filter-remove",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)&amp;&amp;e){um_members_show_preloader(e);var r=jQuery(this).data("value"),t=jQuery(this).data("name"),a=jQuery(this).data("type"),i=("text"===a?(um_set_url_from_data(e,"filter_"+t,""),jQuery('.um-search-filter input[name="'+t+'"]').val("")):"select"===a?(m=void 0===(m=um_get_data_for_directory(e,"filter_"+t))?[]:(m=um_unsanitize_value(m)).split("||"),um_set_url_from_data(e,"filter_"+t,m=(m=-1!==jQuery.inArray(r.toString(),m)?jQuery.grep(m,function(e){return e!==r.toString()}):m).length?m:""),(m=jQuery('.um-search-filter select[name="'+t+'"]')).find('option[value="'+r+'"]').prop("disabled",!1).show(),1&lt;m.find(&quot;option:not(:disabled)&quot;).length&amp;&amp;m.prop(&quot;disabled&quot;,!1),m.select2(&quot;destroy&quot;).select2({dropdownParent:m.parent()}),0&lt;e.find(&#039;.um-search-filter select[data-um-parent=&quot;&#039;+t+&#039;&quot;]&#039;).length&amp;&amp;m.trigger(&quot;change&quot;)):&quot;slider&quot;===a?(um_set_url_from_data(e,&quot;filter_&quot;+t+&quot;_from&quot;,&quot;&quot;),um_set_url_from_data(e,&quot;filter_&quot;+t+&quot;_to&quot;,&quot;&quot;),i=(m=jQuery(&quot;.um-search-filter #&quot;+t+&quot;_min&quot;).siblings(&quot;.um-slider&quot;)).slider(&quot;option&quot;),m.slider(&quot;values&quot;,[i.min,i.max]),jQuery(&quot;.um-search-filter #&quot;+t+&quot;_min&quot;).val(&quot;&quot;),jQuery(&quot;.um-search-filter #&quot;+t+&quot;_max&quot;).val(&quot;&quot;),um_set_range_label(m)):&quot;datepicker&quot;===a||&quot;timepicker&quot;===a?(um_set_url_from_data(e,&quot;filter_&quot;+t+&quot;_from&quot;,&quot;&quot;),um_set_url_from_data(e,&quot;filter_&quot;+t+&quot;_to&quot;,&quot;&quot;),jQuery(&quot;.um-search-filter #&quot;+t+&quot;_from&quot;).val(&quot;&quot;),jQuery(&quot;.um-search-filter #&quot;+t+&quot;_to&quot;).val(&quot;&quot;)):wp.hooks.doAction(&quot;um_member_directory_filter_remove&quot;,a,e,t,r),e.data(&quot;page&quot;,1),um_set_url_from_data(e,&quot;page&quot;,&quot;&quot;),jQuery(this).tipsy(&quot;hide&quot;),jQuery(this).parents(&quot;.um-members-filter-tag&quot;).remove(),0===e.find(&quot;.um-members-filter-remove&quot;).length?e.find(&quot;.um-clear-filters&quot;).hide():e.find(&quot;.um-clear-filters&quot;).show(),wp.hooks.applyFilters(&quot;um_member_directory_ignore_after_search&quot;,!1,e));if(!i)if(1===e.data(&quot;must-search&quot;)){var m=um_get_search(e);if(0===e.find(&quot;.um-members-filter-remove&quot;).length&amp;&amp;!m)return e.data(&quot;searched&quot;,0),e.find(&quot;.um-members-grid, .um-members-list, .um-members-intro&quot;).remove(),e.find(&quot;.um-member-directory-sorting-options&quot;).prop(&quot;disabled&quot;,!0),e.find(&quot;.um-member-directory-view-type&quot;).addClass(&quot;um-disabled&quot;),wp.hooks.doAction(&quot;um_member_directory_clear_not_searched&quot;,e),void um_members_hide_preloader(e)}e.find(&quot;.um-member-directory-sorting-options&quot;).prop(&quot;disabled&quot;,!1),e.find(&quot;.um-member-directory-view-type&quot;).removeClass(&quot;um-disabled&quot;),um_ajax_get_members(e)}}),jQuery(document.body).on(&quot;click&quot;,&quot;.um-directory .um-clear-filters-a&quot;,function(){var m=jQuery(this).parents(&quot;.um-directory&quot;);if(!um_is_directory_busy(m)){um_members_show_preloader(m),m.find(&quot;.um-members-filter-remove&quot;).each(function(){var e,r,t=jQuery(this).data(&quot;value&quot;),a=jQuery(this).data(&quot;name&quot;),i=jQuery(this).data(&quot;type&quot;);&quot;text&quot;===i?(um_set_url_from_data(m,&quot;filter_&quot;+a,&quot;&quot;),jQuery(&#039;.um-search-filter input[name=&quot;&#039;+a+&#039;&quot;]&#039;).val(&quot;&quot;)):&quot;select&quot;===i?(e=void 0===(e=um_get_data_for_directory(m,&quot;filter_&quot;+a))?[]:(e=um_unsanitize_value(e)).split(&quot;||&quot;),(e=-1!==jQuery.inArray(t.toString(),e)?jQuery.grep(e,function(e){return e!==t.toString()}):e).length||(e=&quot;&quot;),um_set_url_from_data(m,&quot;filter_&quot;+a,e),(e=jQuery(&#039;.um-search-filter select[name=&quot;&#039;+a+&#039;&quot;]&#039;)).find(&#039;option[value=&quot;&#039;+t+&#039;&quot;]&#039;).prop(&quot;disabled&quot;,!1).show(),1&lt;e.find(&quot;option:not(:disabled)&quot;).length&amp;&amp;e.prop(&quot;disabled&quot;,!1),e.select2(&quot;destroy&quot;).select2({dropdownParent:e.parent()}),0a.data("total_pages")&amp;&amp;(t=a.data("total_pages")),a.data("page",t).attr("data-page",t),a.find(".um-member-directory-sorting").length&amp;&amp;(void 0===(t=um_get_data_for_directory(a,"sort"))&amp;&amp;(t=a.find('.um-new-dropdown[data-element=".um-member-directory-sorting-a"]').find('a[data-default="1"]').data("value")),a.data("sorting",t),(e=a.find('.um-new-dropdown[data-element=".um-member-directory-sorting-a"]')).find("a").data("selected",0).prop("data-selected",0).attr("data-selected",0),e.find('a[data-value="'+t+'"]').data("selected",1).prop("data-selected",1).attr("data-selected",1),a.find(".um-member-directory-sorting-a").find("&gt; a").html(e.find('a[data-value="'+t+'"]').html())),a.find(".um-member-directory-view-type").length&amp;&amp;(void 0===(e=um_get_data_for_directory(a,"view_type"))&amp;&amp;(e=a.find('.um-member-directory-view-type-a[data-default="1"]').data("type")),a.data("view_type",e),a.find(".um-member-directory-view-type .um-member-directory-view-type-a").hide(),a.find('.um-member-directory-view-type .um-member-directory-view-type-a[data-type="'+e+'"]').show()),a.find(".um-datepicker-filter").each(function(){var e=jQuery(this),r=e.pickadate("picker"),t=e.data("filter_name"),e=e.data("range"),t=um_get_data_for_directory(a,"filter_"+t+"_"+e);void 0!==t?r.set("select",1e3*t):r.clear()}),a.find(".um-slider").each(function(){var e=jQuery(this),r=e.data("field_name"),t=um_get_data_for_directory(a,"filter_"+r+"_from"),r=um_get_data_for_directory(a,"filter_"+r+"_to");void 0===t&amp;&amp;(t=e.data("min")),t=parseInt(t),void 0===r&amp;&amp;(r=e.data("max")),r=parseInt(r),e.slider("values",[t,r]),um_set_range_label(e)}),a.find(".um-timepicker-filter").each(function(){var e=jQuery(this),r=e.pickatime("picker"),t=e.data("filter_name"),e=e.data("range"),t=um_get_data_for_directory(a,"filter_"+t+"_"+e);void 0!==t?(e=t.split(":"),r.set("select",60*e[0])):r.clear()}),wp.hooks.applyFilters("um_member_directory_ignore_after_search",!1,a));if(!t&amp;&amp;1===a.data("must-search")){var i=um_get_search(a);if(!um_get_filters_data(a).length&amp;&amp;!i)return a.data("searched",0),void um_members_hide_preloader(a);a.data("searched",1)}wp.hooks.applyFilters("um_member_directory_prevent_default_first_loading",!1,a,r)||(um_ajax_get_members(a),um_change_tag(a))})})});