PageSourceSearch

https://laod.cn/wp-content/plugins/wpcom-member/js/index.js?ver=1.7.27

js laod.cn collected 2026-10-05 03:40:49 UTC 26,174 bytes, 1 lines download raw bytes

vendor: 4,984 bytes, line 1
1!function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e;(e=jQuery).fn.emulateTransitionEnd=function(t){var i=!1,o=this;return e(this).one("wpcomTransitionEnd",function(){i=!0}),setTimeout(function(){i||e(o).trigger(e.__transition.end)},t),this},e(function(){e.__transition=function(){var e=document.createElement("wpcom"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return{end:t[i]};return!1}(),e.__transition&&(e.event.special.wpcomTransitionEnd={bindType:e.__transition.end,delegateType:e.__transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})}),function(e){var t=function(t,i){this.options=i,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.wpcom.modal")},this))};function i(i,o){return this.each(function(){var s=e(this),a=s.data("wpcom.modal"),n=e.extend({},t.DEFAULTS,s.data(),"object"==typeof i&&i);a||s.data("wpcom.modal",a=new t(this,n)),"string"==typeof i?a[i](o):n.show&&a.show(o)})}if(t.TRANSITION_DURATION=250,t.BACKDROP_TRANSITION_DURATION=120,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(i){var o=this,s=e.Event("show.wpcom.modal",{relatedTarget:i});this.$element.trigger(s),this.isShown||s.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.wpcom.modal",'[data-wpcom-dismiss="modal"], [data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.wpcom.modal",function(){o.$element.one("mouseup.dismiss.wpcom.modal",function(t){e(t.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var s=e.__transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),s&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var a=e.Event("shown.wpcom.modal",{relatedTarget:i});s?o.$dialog.one("wpcomTransitionEnd",function(){o.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(t.TRANSITION_DURATION):o.$element.trigger("focus").trigger(a)}))},t.prototype.hide=function(i){i&&i.preventDefault(),i=e.Event("hide.wpcom.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.wpcom.modal"),this.$element.removeClass("in").off("click.dismiss.wpcom.modal").off("mouseup.dismiss.wpcom.modal"),this.$dialog.off("mousedown.dismiss.wpcom.modal"),e.__transition&&this.$element.hasClass("fade")?this.$element.one("wpcomTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.wpcom.modal").on("focusin.wpcom.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.wpcom.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.wpcom.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.wpcom.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.wpcom.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.wpcom.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(i){var o=this,s=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=e.__transition&&s;if(this.$backdrop=e(document.createElement("div")).addClass("wpcom-modal-backdrop "+s).appendTo(this.$body),this.$element.on("click.dismiss.wpcom.modal",e.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;a?this.$backdrop.one("wpcomTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var n=function(){o.removeBackdrop(),i&&i()};
1e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("wpcomTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else i&&i()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||0;var i=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("--scrollbar-width",t+i+"px"),e(this.fixedContent).each(function(t,o){var s=o.style.paddingRight,a=e(o).css("padding-right");e(o).data("padding-right",s).css("padding-right",parseFloat(a)+i+"px")}))},t.prototype.resetScrollbar=function(){this.$body.css("--scrollbar-width",this.originalBodyPad+"px"),e(this.fixedContent).each(function(t,i){var o=e(i).data("padding-right");e(i).removeData("padding-right"),i.style.paddingRight=o||""})},t.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t},void 0===e.fn._modal){var o=e.fn._modal;e.fn._modal=i,e.fn._modal.Constructor=t,e.fn._modal.noConflict=function(){return e.fn._modal=o,this},e(document).on("click.wpcom.modal.data-api",'[data-toggle="modal"]',function(t){var o=e(this),s=o.attr("href"),a=o.attr("data-target")||s&&s.replace(/.*(?=#[^\s]+$)/,""),n=e(document).find(a),r=n.data("wpcom.modal")?"toggle":e.extend({remote:!/#/.test(s)&&s},n.data(),o.data());o.is("a")&&t.preventDefault(),n.one("show.wpcom.modal",function(e){e.isDefaultPrevented()||n.one("hidden.wpcom.modal",function(){o.is(":visible")&&o.trigger("focus")})}),i.call(n,r,this)})}}(jQuery),function(e){var t='[data-wpcom-dismiss="alert"], [data-dismiss="alert"]',i=function(i){e(i).on("click",t,this.close)};i.TRANSITION_DURATION=150,i.prototype.close=function(t){var o=e(this),s=o.attr("data-target");s||(s=(s=o.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,"")),s="#"===s?[]:s;var a=e(document).find(s);function n(){a.detach().trigger("closed.wpcom.alert").remove()}t&&t.preventDefault(),a.length||(a=o.closest(".wpcom-alert")),a.trigger(t=e.Event("close.wpcom.alert")),t.isDefaultPrevented()||(a.removeClass("in"),e.__transition&&a.hasClass("fade")?a.one("wpcomTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var o=e.fn._alert;e.fn._alert=function(t){return this.each(function(){var o=e(this),s=o.data("wpcom.alert");s||o.data("wpcom.alert",s=new i(this)),"string"==typeof t&&s[t].call(o)})},e.fn._alert.Constructor=i,e.fn._alert.noConflict=function(){return e.fn._alert=o,this},e(document).on("click.wpcom.alert.data-api",t,i.prototype.close)}(jQuery);var t,i={};!function(){if(t)return i;t=1;let e=null,o="",s="wpcom_login_cache";_wpmx_js&&_wpmx_js.site_id&&(s+="_"+_wpmx_js.site_id);try{let t=localStorage.getItem(s);t&&(e=JSON.parse(t)),e&&a(e)}catch(e){}function a(e){const t=jQuery("#j-user-wrap");if(0==e.result){if(t.length){o=t.html();let i=0;e.messages&&(i=Number(e.messages)),e.notifications&&(i+=Number(e.notifications));let s=!(!e.vip||!e.vip.icon),a='<ul class="profile"><li class="menu-item dropdown"><a class="menu-item-user'+(s?" has-vip-flag":"")+'" href="'+(e.account?e.account:e.url)+'"><span class="menu-item-avatar">'+e.avatar+(i?'<span class="menu-item-unread">'+i+"</span>":"")+'</span><span class="menu-item-name">'+e.display_name+"</span>"+(s?'<img class="vip-flag" src="'+e.vip.icon+'" alt="'+e.vip.title+'">':"")+"</a>",n=jQuery(".header .navbar-toggle");if(i&&n.length&&n.append('<span class="navbar-unread">'+i+"</span>"),e.menus&&e.menus.length){a+='<ul class="dropdown-menu">';for(let t=0;t<e.menus.length;t++)a+='<li><a href="'+e.menus[t].url+'">'+e.menus[t].title+"</a></li>";a+="</ul>"}a+="</li></ul>",t.html(a)}window.is_login=!0,n(function(){jQuery(document).trigger("wpcom_login",e)})}else t.length&&(o&&t.html(o),t.find(".login").addClass("cur")),window.is_login=!1,n(function(){jQuery(document).trigger("wpcom_not_login")});t.length&&e.wc&&(e.wc.fragments&&e.wc.fragments["a.cart-contents"]&&jQuery("header .shopping-cart").html(e.wc.fragments["a.cart-contents"]),setTimeout(function(){e.wc.fragments&&e.wc.fragments["div.widget_shopping_cart_content"]&&jQuery("header .shopping-cart").append(e.wc.fragments["div.widget_shopping_cart_content"])},100))}function n(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e()})})}):e()}jQuery(function(e){function t(e,t){var i=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),o=(e&&e.split("?")[1]?e.split("?")[1]:"").match(i);return null!=o?unescape(o[2]):null}let i,o,n=0,r=null;e(document).on("click",".edit-avatar, .edit-cover",function(t){t.preventDefault(),n=e(this).hasClass("edit-cover")?1:0,o=e(this).data("user");
1var s=cropperModal({lg:n,title:_wpmx_js.cropper.title,desc:n?_wpmx_js.cropper.desc_1:_wpmx_js.cropper.desc_0,btn:_wpmx_js.cropper.btn,loading:_wpmx_js.cropper.loading,apply:_wpmx_js.cropper.apply,cancel:_wpmx_js.cropper.cancel});e("#crop-modal").length?e("#crop-modal").replaceWith(s):e("body").append(s),i&&(i.destroy(),i=null,e(".crop-img-wrap").hide(),e(".crop-img-btn").show(),e("#crop-img").remove()),e("#crop-modal")._modal("show")}).on("change","#img-file",function(t){if(!this.files.length)return!1;r=this.files[0];let o=5120,s=_wpmx_js.max_upload_size/1024;if(o=s<o?s:o,this.files[0].size/1024>o)return wpcom_alert(_wpmx_js.cropper.alert_size),!1;var a;this.files[0].type.match(/image.*/)?(a=window.URL.createObjectURL(this.files[0]),e(".crop-img-wrap").append('<img id="crop-img" src="'+a+'">').show(),e(".crop-img-btn").hide(),i=new Cropper(document.getElementById("crop-img"),{aspectRatio:n?2.7:1,minContainerHeight:300,viewMode:n?3:1,ready(){var e={width:300,height:300};n&&(e={width:810,height:300,left:44}),i.setCropBoxData(e)}}),e(this).val("")):wpcom_alert(_wpmx_js.cropper.alert_filetype)}).on("click",".j-crop-close",function(){i&&i.destroy(),i=null,e(".crop-img-wrap").hide(),e(".crop-img-btn").show(),e("#crop-img").remove()}).on("click",".j-crop-apply",function(){let t=e(this);if(t.loading(1),i){if(i.crop().cropped){let s=i.getData(),a=new FormData;a.append("action","wpcom_cropped_upload"),a.append("nonce",e("#wpcom_cropper_nonce").val()),a.append("file",r),a.append("x",s.x),a.append("y",s.y),a.append("width",s.width),a.append("height",s.height),a.append("type",n),o&&a.append("user",o),e.ajax(_wpmx_js.ajaxurl,{type:"POST",data:a,dataType:"json",processData:!1,contentType:!1,success(i){"1"==i.result?(n?e(".wpcom-profile-head .wpcom-ph-bg img").attr("src",i.url):e(".member-account-avatar img.avatar,.wpcom-ph-avatar img.avatar,#j-user-wrap img.avatar").replaceWith('<img class="avatar photo" src="'+i.url+"?t="+Date.parse(new Date)/1e3+'">'),e("#crop-modal")._modal("hide")):"-1"==i.result?wpcom_notice({message:_wpmx_js.cropper.err_nonce,show:2e3,type:"warning"}):"-2"==i.result?wpcom_notice({message:_wpmx_js.cropper.err_fail,show:2e3,type:"error"}):"-3"==i.result?wpcom_notice({message:_wpmx_js.cropper.err_login,show:2e3,type:"warning"}):"-4"==i.result&&wpcom_notice({message:_wpmx_js.cropper.alert_filetype,show:2e3,type:"error"}),t.loading(0)},error(){wpcom_notice({message:_wpmx_js.cropper.ajaxerr,show:2e3,type:"error"}),t.loading(0)}})}else t.loading(0)}else wpcom_notice({message:_wpmx_js.cropper.err_empty,show:2e3,type:"warning"}),t.loading(0)}).on("click",".j-social-unbind",function(){var t=e(this);if(t.hasClass("disabled"))return!1;var i=t.data("name");t.addClass("disabled").text("\u5904\u7406\u4e2d..."),confirm("\u662f\u5426\u786e\u5b9a\u89e3\u9664\u7ed1\u5b9a\uff1f")?e.ajax({type:"POST",url:_wpmx_js.ajaxurl,data:{action:"wpcom_social_unbind",name:i},dataType:"json",success:function(e){t.removeClass("disabled").text("\u89e3\u9664\u7ed1\u5b9a"),1==e.result?(wpcom_alert("\u89e3\u7ed1\u6210\u529f\uff01"),t.parent().html(e.error)):e.error&&wpcom_alert(e.error)},error:function(){t.removeClass("disabled").text("\u89e3\u9664\u7ed1\u5b9a")}}):t.removeClass("disabled").text("\u89e3\u9664\u7ed1\u5b9a")}).on("click","a",function(i){const o=e(this).attr("href"),s=o?o.match(/(\?|&)modal-type=(login|register)/i):null;if(s&&s[2]){if(e("body.navbar-on").length)return;i.preventDefault(),i.stopPropagation();let a='<div class="wpcom-modal modal-login fade" id="login-form-modal" data-backdrop="static">\n            <div class="modal-dialog">\n                <div class="modal-content"><div class="wpcom-close" data-wpcom-dismiss="modal" aria-label="Close"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></div>\n                    <div class="modal-body"></div>\n                </div>\n            </div>\n        </div>',n=e("#login-form-modal");0===n.length&&(jQuery(document.body).append(a),n=jQuery("#login-form-modal")),e("#login-modal").length&&e("#login-modal")._modal("hide");
1const r=n.find(".modal-body");r.html('<i class="wpcom-icon wi wpcom-icon-loader"><svg aria-hidden="true"><use xlink:href="#wi-loader"></use></svg></i>'),e("body").hasClass("modal-open")?setTimeout(()=>{n._modal("show")},200):n._modal("show");let l=t(o,"approve"),d={action:"wpcom_login_modal",type:s[2]};return l&&(d.approve=l,d.login=t(o,"login")),e.ajax({type:"POST",url:_wpmx_js.ajaxurl,data:d,dataType:"html",success(t){"undefined"==typeof is_load_login?e.getScript(_wpmx_js.plugin_url+"js/login.js",function(){r.html(t),e(document).trigger("init_captcha")}):(r.html(t),e(document).trigger("init_captcha")),setTimeout(function(){e.fn.tooltip&&r.find('[data-toggle="tooltip"]').tooltip()},1e3)},error(){}}),!1}}).on("click",".member-form-tab a",function(t){t.preventDefault();let i=e(this);if(i.closest("li").hasClass("active"))return!1;let o=i.closest("ul"),s=o.closest(".member-form-inner"),a=i.data("type"),n=e("#j-tpl-login"+("2"==a?"2":"")).html();n&&(s.find(".member-form-items").html(n),o.find("li").removeClass("active"),i.closest("li").addClass("active"),a=a?0:1,e(document).trigger("init_captcha"))}).on("click",".show-password",function(){let t=e(this);t.hasClass("active")?(t.html('<i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-eye-off-fill"></use></svg></i>').removeClass("active"),t.parent().find("input").attr("type","password")):(t.html('<i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-eye-fill"></use></svg></i>').addClass("active"),t.parent().find("input").attr("type","text"))}).on("wpcom_not_login",function(){!function(){if(0===jQuery("#login-modal").length){var e=_wpmx_js.login_url,t=_wpmx_js.register_url,i='<div class="wpcom-modal fade" id="login-modal">\n    <div class="modal-dialog modal-sm">\n        <div class="modal-content">\n            <div class="modal-header">\n                <div class="wpcom-close" data-wpcom-dismiss="modal" aria-label="Close"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></div>\n                <h4 class="modal-title">'+_wpmx_js.js_lang.login_title+'</h4>\n            </div>\n            <div class="modal-body">\n                <p>'+_wpmx_js.js_lang.login_desc+'</p>\n            </div>\n           <div class="modal-footer">\n                    <a class="wpcom-btn btn-primary" href="'+e+'">
1'+_wpmx_js.js_lang.login_btn+'</a>\n                    <a class="wpcom-btn" href="'+t+'">'+_wpmx_js.js_lang.reg_btn+"</a>\n                </div>\n        </div>\n    </div>\n</div>";jQuery("body").append(i)}}()}),e.ajax({type:"POST",url:_wpmx_js.ajaxurl,data:{action:"wpcom_is_login"},dataType:"json",success(t){let i="";try{i=localStorage.getItem(s)||""}catch(e){}let o=JSON.stringify(t);if(i!==o){a(t);try{localStorage.setItem(s,o)}catch(e){}}e(document).trigger("wpcom_login_checked")}}),e(".social-login-wrap").on("submit","#sl-form-create",function(){var t=e(this);if(t.find(".sl-input-submit.disabled").length)return!1;t.find(".sl-input-submit").addClass("disabled");for(var i=0,o=t.find(".sl-input input.require"),s=0;s<o.length;s++){""==(e(o[s]).length?e(o[s]).val():"").trim()&&(e(o[s]).addClass("error"),i=1)}return i?t.find(".sl-input-submit").removeClass("disabled"):e.ajax({url:_wpmx_js.ajaxurl,data:e(this).serialize()+"&action=wpcom_sl_login",type:"POST",dataType:"json",success:function(e){t.find(".sl-input-submit").removeClass("disabled"),"-1"==e?t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error"):"1"==e.result?t.find(".sl-result").text("\u7528\u6237\u540d\u6216\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a").addClass("error"):"2"==e.result?t.find(".sl-result").text("\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef").addClass("error"):"3"==e.result?t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e94\u7528\u6388\u6743\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5").addClass("error"):"4"==e.result?t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e10\u53f7\u5df2\u4e0e\u672c\u7ad9\u5176\u4ed6\u5e10\u53f7\u7ed1\u5b9a").addClass("error"):"0"==e.result&&(t.find(".sl-result").text("\u7ed1\u5b9a\u6210\u529f\uff01").removeClass("error"),setTimeout(function(){window.location.href=e.redirect},100))},error:function(e){t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error"),t.find(".sl-input-submit").removeClass("disabled")}}),!1}).on("submit","#sl-form-bind",function(){const t=e(this);if(t.find(".sl-input-submit.disabled").length)return!1;t.find(".sl-input-submit").addClass("disabled");for(var i=0,o=t.find(".sl-input input.require"),s=0;s<o.length;s++){""==(e(o[s]).length?e(o[s]).val():"").trim()&&(e(o[s]).addClass("error"),i=1)}return i?t.find(".sl-input-submit").removeClass("disabled"):e.ajax({url:_wpmx_js.ajaxurl,data:e(this).serialize()+"&action=wpcom_sl_create",type:"POST",dataType:"json",success:function(e){"-1"==e?t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error"):"1"==e.result?t.find(".sl-result").text("\u8bf7\u8f93\u5165\u7535\u5b50\u90ae\u7bb1").addClass("error"):"2"==e.result?t.find(".sl-result").text("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u5b50\u90ae\u7bb1").addClass("error"):"3"==e.result?t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e94\u7528\u6388\u6743\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5").addClass("error"):"4"==e.result?t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e10\u53f7\u5df2\u4e0e\u672c\u7ad9\u5176\u4ed6\u5e10\u53f7\u7ed1\u5b9a").addClass("error"):"5"==e.result?t.find(".sl-result").text("\u8be5\u90ae\u7bb1\u5df2\u88ab\u6ce8\u518c").addClass("error"):"0"==e.result?(t.find(".sl-result").text("\u6ce8\u518c\u6210\u529f\uff01").removeClass("error"),setTimeout(function(){window.location.href=e.redirect},100)):e.result&&e.msg&&t.find(".sl-result").text(e.msg).addClass("error"),t.find(".sl-input-submit").removeClass("disabled")},error:function(e){t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error"),t.find(".sl-input-submit").removeClass("disabled")}}),!1}).on("input change",".sl-input input",function(){var t=e(this);t.removeClass("error"),t.closest(".sl-info-form").find(".sl-result").text("")}).on("click",".sl-form-title",function(){var t=e(this).closest(".sl-form-item");e(".sl-form-item").removeClass("active"),t.addClass("active")})})}(),jQuery(function(e){e.fn.loading||e.fn.extend({loading:function(t){let i=e(this);t?i.addClass("loading").prepend('<i class="wpcom-icon wi wi-loader"><svg aria-hidden="true"><use xlink:href="#wi-loader"></use></svg></i>'):i.removeClass("loading").find(".wi-loader").remove()}}),window.wpcom_alert||(window.wpcom_alert=function(t,i){i=i||"\u63d0\u793a\u4fe1\u606f";let o=e("#wpcom-alert");
1if(o.length)o.find(".modal-title").html(i),o.find(".modal-body").html(t),o._modal("show");else{let o='<div class="wpcom-modal fade modal-alert" id="wpcom-alert" data-backdrop="static">\n            <div class="modal-dialog modal-sm">\n                <div class="modal-content">                   <div class="modal-header"><div class="wpcom-close" data-wpcom-dismiss="modal" aria-label="Close"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></div><h4 class="modal-title">'+i+'</h4></div>\n                   <div class="modal-body">'+t+'</div>\n                   <div class="modal-footer"><button type="button" class="wpcom-btn btn-primary" data-wpcom-dismiss="modal" aria-label="Close">\u786e\u5b9a</button></div>                </div>\n            </div>\n        </div>';e("body").append(o)}e("#wpcom-alert")._modal("show")}),window.wpcom_notice||(window.wpcom_notice=function(e){if(!arguments.length||1===arguments.length&&"object"==typeof arguments[0]||(e={},void 0!==arguments[0]&&(e.message=arguments[0]),void 0!==arguments[1]&&(e.type=arguments[1]),void 0!==arguments[2]&&"loading"!==e.type&&(e.show=arguments[2]),void 0!==arguments[2]&&"loading"===e.type&&(e.callback=arguments[2])),e&&e.message){e.type=e.type?e.type:"success";let t='<div class="notice-message"><div class="notice-message-content notice-message-'+e.type+'">';"success"===e.type?t+='<i class="wpcom-icon wi notice-message-icon"><svg aria-hidden="true"><use xlink:href="#wi-success"></use></svg></i>':"warning"===e.type||"error"===e.type?t+='<i class="wpcom-icon wi notice-message-icon"><svg aria-hidden="true"><use xlink:href="#wi-warning"></use></svg></i>':"loading"===e.type&&(t+='<i class="wpcom-icon wi notice-message-icon"><svg aria-hidden="true"><use xlink:href="#wi-loader"></use></svg></i>'),t+=e.message+"</div></div>";let i=jQuery(t),o=jQuery(".notice-message-wrapper");return 0===o.length&&(jQuery(document.body).append('<div class="notice-message-wrapper"></div>'),o=jQuery(".notice-message-wrapper")),o.append(i),i.one("hide.notice",function(){let e=jQuery(this);e.removeClass("notice-message-active").addClass("notice-message-up"),setTimeout(()=>{e.remove(),0===o.find(".notice-message").length&&o.remove()},320)}),setTimeout(()=>{i.addClass("notice-message-active"),"loading"===e.type&&void 0!==e.callback?e.callback(i):setTimeout(()=>{i.trigger("hide.notice")},e.show?e.show:3e3)},50),i}}),e(document.body).on("click",".profile-tab .profile-tab-item",function(){let t=e(this),i=t.closest(".wpcom-profile-main"),o=t.index();i.find(".profile-tab-item, .profile-tab-content").removeClass("active"),t.addClass("active"),i.find(".profile-tab-content").eq(o).addClass("active").trigger("profile_tab_show")}).on("click",".j-user-posts, .j-user-comments, .j-user-favorites, .j-user-follows, .j-user-followers",function(){const t=e(this);if(t.hasClass("disabled")||t.hasClass("loading"))return;let i=null,o=t.data("page");if(o=void 0!==o?o+1:2,t.hasClass("j-user-posts")){let t=e(".profile-posts-list").data("user");i={action:"wpcom_user_posts",user:t||0,page:o}}else if(t.hasClass("j-user-comments")){let t=e(".profile-comments-list").data("user");i={action:"wpcom_user_comments",user:t||0,page:o}}else if(t.hasClass("j-user-favorites")){let t=e(".profile-favorites-list").data("user");i={action:"wpcom_user_favorites",user:t||0,page:o}}else if(t.hasClass("j-user-follows")){let t=e(".profile-tab").data("user");i={action:"wpcom_user_follows",user:t||0,page:o}}else if(t.hasClass("j-user-followers")){let t=e(".profile-tab").data("user");i={action:"wpcom_user_followers",user:t||0,page:o}}return t.loading(1),e.ajax({type:"POST",url:_wpmx_js.ajaxurl,data:i,dataType:"html",success:function(i,s,a){if("0"==i){if(t.addClass("disabled").text(_wpmx_js.js_lang.page_loaded),t.hasClass("j-user-followers")){const e=t.closest(".profile-tab-content");e.find(".follow-items-loading").length&&(e.find(".follow-items-loading").remove(),e.find(".profile-no-content").show())}}else{const s=e(i);if(t.parent().prev().append(s),t.hasClass("j-user-follows"))e(document).trigger("check_follow");else if(t.hasClass("j-user-followers")){const i=t.closest(".profile-tab-content");i.find(".follow-items-loading").remove(),i.find(".follow-items").show(),"0"!==a.getResponseHeader("Next-page")&&i.find(".load-more-wrap").show(),e(document).trigger("check_follow")}"undefined"!=typeof _wpcom_js&&e.fn.lazyload&&function(e){if(e.length){let t=void 0!==_wpcom_js.webp&&_wpcom_js.webp?_wpcom_js.webp:null;if(e.eq(0).is("img"))e.eq(0).one("load",function(){e.lazyload({webp:t})});else{const i=document.createElement("img");let o=window.getComputedStyle(e[0]).getPropertyValue("background-image");o?(i.src=o.slice(4,-1).replace(/['"]/g,""),i.onload=()=>{e.lazyload({webp:t})}):setTimeout(function(){i.onload=()=>{e.lazyload({webp:t})}},300)}}}(s.find(".j-lazy")),t.data("page",o),e(window).trigger("scroll")}t.loading(0)},error:function(){t.loading(0)}}),!1})})});

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.