jQuery(function(e){var t=e("select#parent");if(t.val()==-1){e("body").find(".a3rev_portfolio_panel_container").show()}else{e("body").find(".a3rev_portfolio_panel_container").hide()}t.on("change",function(){if(e(this).val()==-1){e("body").find(".a3rev_portfolio_panel_container").show()}else{e("body").find(".a3rev_portfolio_panel_container").hide()}});e(document).on("a3rev-ui-onoff_checkbox-switch",".a3rev_panel_container_on_table_onoff",function(t,n,r){var i=e(this).attr("data-id");if(r=="true"){var s=1}else{var s=0}var o={action:"a3_portfolio_update_taxonomy_custom_meta",tax_id:i,pri_navbar:s};e.post(ajaxurl,o,function(e){if(e==true||e=="true"){}else{}})})})