PageSourceSearch

https://services.unitedbaristas.com/wp-content/plugins/jreviews_ad…/views/js/userprofiles.min.js?ver=5120

js unitedbaristas.com collected 2026-10-04 02:41:17 UTC 4,363 bytes, 7 lines download raw bytes

1/**
2 * @package     UserProfiles Add-on
3 * @author      ClickFWD LLC (https://www.jreviews.com)
4 * @copyright   Copyright (C) 2010-2020 ClickFWD LLC
5 * @license     GNU GPL version 3 or later
6 */
7!function(e,r){if("undefined"!=typeof jreviews){var i=e("div.userprofiles-page");e("div.jr-page");jreviews.userprofiles=jreviews.userprofiles||{},jreviews.userprofiles.SUCCESS_MSG_DELAY=2500,jreviews.userprofiles.showSuccess=function(r){r.removeClass("hidden").delay(jreviews.userprofiles.SUCCESS_MSG_DELAY).fadeOut((function(){e(this).addClass("hidden").show()}))},jreviews.userprofiles.startup=function(){e("body").on("click",".jr-user-logout",(function(r){r.preventDefault(),e(this).closest("form").submit()})),(i=i.length>0?i:e("div.userprofiles-page")).find("form").each((function(){var r=e(this);r.find("input").on("blur",(function(){jreviews.userprofiles.validateInput(r,e(this))})),r.data("validation-onload")&&r.trigger("change")})),i.find(".jr-profiletype-more").on("click",(function(r){r.preventDefault(),e.jrDialog(i.find(".jr-profiletype-desc").html(),{minHeight:"300"})}));var s=i.find("form#user-account-register");s.length&&(jreviews.common.initForm("user-account-register",!0),jreviews.common.validateUsername(s),jreviews.common.validateEmail(s),jreviews.common.validatePassword(s));var a=i.find(".user-account-change");a&&(jreviews.common.validateUsername(a),jreviews.common.validateEmail(a));var t=i.find(".user-password-change");t&&jreviews.common.validatePassword(t),i.on("click",".account-change-submit, .account-create-submit",(function(i){i.preventDefault();var s=e(this),a=e(this).closest("form");(jreviews.userprofiles.validateForm(a),1==a.data("validation")&&a.data("valid"))&&(s.attr("disabled",!0),jreviews.dispatch({form:a}).done((function(e){e.success?e.return!==r?window.location=e.return:(jreviews.userprofiles.showSuccess(a.find(".submit-success")),s.attr("disabled",!1)):""!==e.str&&(s.attr("disabled",!1),a.find(".jr-validation").remove(),a.append('<div class="jr-validation jrError">'+jreviews.__t(e.str)+"</div>"),jreviews.captcha.reset(a.find(".g-recaptcha").data("id")))})))}))},jreviews.userprofiles.profilePreview=function(){if(!window.jrUserProfilesProfilePreview){var i=0,s=null,a={};e("div.jr-page, div.jr-results").on("mouseenter",'[data-profile-preview="1"]',(function(){var t=e(this),o=t.data("userId"),d=t.offset();d.top+=t.outerHeight()+10;var n=e(".jr-profile-preview-popup.userid-"+o);n.length?s=setTimeout((function(){n.css(d).show()}),300):a[o]===r&&(a[o]=jreviews.dispatch({method:"get",type:"html",controller:"userprofiles_profiles",action:"profilePreview",data:{id:o}}),a[o].done((function(r){if(t.data("html",r),""!==r){var s=e(r).addClass("userid-"+o).appendTo("body").css(d).hide();i||s.show()}})))})).on("mouseleave",'[data-profile-preview="1"]',(function(){i=1,clearTimeout(s);var r=setInterval((function(){0===e(".jr-profile-preview-popup:hover").length&&(e(".jr-profile-preview-popup").hide(),clearInterval(r))}),300)}))}},jreviews.userprofiles.validateInput=function(e,i){var s=i.closest(".form-group,.jrFieldDiv"),a=i.data("required")===r||1===i.data("required")&&""!==i.val();return a||e.data("valid",!1),s.toggleClass("jrInputError",!a),a},jreviews.userprofiles.validateForm=function(i){if(i.data("validation")===r)return!0;e('<div class="jr-validation jrError">'+jreviews.__t("USERPROFILES_ACCOUNT_FILL_REQUIRED_INPUTS")+"</div>");i.data("valid",!0),i.find(".jr-validation").remove(),i.find(".jr-match").remove(),i.find("input,select").each((function(){var r=e(this),s=r.closest(".form-group,.jrFieldDiv");jreviews.userprofiles.validateInput(i,r);var a=r.data("control"),t=r.data("match");if(a){var o=a.split(","),d=o[0],n=o[1].split(":"),l=i.find(':input[name="'+d+'"]');n.length>1&&"not"==n[0]?l&&l.val()!=n[1]?r.attr("disabled",!1).show():r.attr("disabled",!0).hide():l&&l.val()==n?r.attr("disabled",!1).show():r.attr("disabled",!0).hide()}if(t){var v=i.find(':input[name="'+t+'"]');""!==r.val()&&v.val()!==r.val()&&(r.closest("div").after('<div class="jr-match"><div class="jr-error fwd-p-2 fwd-text-red-600">'+r.data("match-msg")+"</div></div>"),s.toggleClass("jrInputError",!0))}}))},jreviews.addOnload("userprofiles-startup",jreviews.userprofiles.startup),window.jrUserProfilesProfilePreview||jreviews.addOnload("userprofiles-profilePreview",jreviews.userprofiles.profilePreview)}}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.