!function(f){woodmartThemeModule.loginTabs=function(){var e=f(".wd-register-tabs"),t=e.find(".wd-switch-to-register"),o=f(".col-register-text h2"),n=e.find(".login-info"),i="active-register",a=t.data("login"),r=t.data("register"),d=t.data("login-title"),l=t.data("reg-title"),s=(t.on("click",function(t){t.preventDefault(),(u()?c:s)(),woodmartThemeModule.$window.width()<769&&f("html, body").stop().animate({scrollTop:e.offset().top-90},400)}),function(){e.addClass(i),t.text(a),0<n.length&&o.text(d)}),c=function(){e.removeClass(i),t.text(r),0<n.length&&o.text(l)},u=function(){return e.hasClass(i)}},f(document).ready(function(){woodmartThemeModule.loginTabs()})}(jQuery);