!function(a){"use strict";a("ul.metabox-tab-nav li").on("click",function(t){window.localStorage.setItem("active_metabox_tab",a(t.target).data("tab"));let e=a(this).data("tab");a("ul.metabox-tab-nav li").removeClass("active"),a(".setting-tab").removeClass("active"),a(this).addClass("active"),a("#"+e).addClass("active")});let t=window.localStorage.getItem("active_metabox_tab");t?(a("ul.metabox-tab-nav li").removeClass("active"),a(".setting-tab").removeClass("active"),a('ul.metabox-tab-nav li[data-tab="'+t+'"]').addClass("active"),a("#"+t).addClass("active"),localStorage.removeItem("active_metabox_tab")):(a('ul.metabox-tab-nav li[data-tab="setting-tab-1"]').addClass("active"),a("#setting-tab-1").addClass("active"))}(jQuery);