1jQuery(document).ready(function(e){var t=function(e){return e>999&&e<1e6?(e/1e3).toFixed(1)+"K":e>=1e6?(e/1e6).toFixed(1)+"M":e},i={getKey:function(e,t){return t=t||"like","penci_like_"+e+"_"+t},isLiked:function(e,t){var i=this.getKey(e,t);return"liked"===localStorage.getItem(i)},isUnLiked:function(e,t){var i=this.getKey(e,t);return"liked"!==localStorage.getItem(i)},setLiked:function(e,t,i){var n=this.getKey(e,t);i?localStorage.setItem(n,"liked"):localStorage.setItem(n,"unliked")}},n=function(){e(".penci-post-like").each(function(){var t=e(this),n=t.data("post_id"),a=t.data("reaction")||"like";n&&a&&i.isLiked(n,a)&&(t.addClass("liked"),t.prop("title","Unlike")),n&&a&&i.isUnLiked(n,a)&&(t.removeClass("liked"),t.prop("title","Like"))})};n(),jQuery("body").on("click",".penci-post-like",function(t){t.preventDefault();var n=jQuery(this),a=n.data("post_id"),r=n.data("reaction")||"like",o=(n.data("like"),n.data("unlike"),n.children(".dt-share"));n.hasClass("single-like-button")&&(o=n.parent().find(".count-number-like")),n.hasClass("penci-post-reaction")&&(o=n.closest(".penci-post-reaction-item").find(".dt-share"));var l=parseInt(o.text());n.hasClass("single-like-button")&&(o=e(".post-share-plike .count-number-like"),n=e(".single-like-button"));var s=n.hasClass("liked");s?(n.removeClass("liked"),n.prop("title","Like"),o.html(l-1),i.setLiked(a,r,!1)):(n.addClass("liked"),n.prop("title","Unlike"),o.html(l+1),i.setLiked(a,r,!0)),jQuery.ajax({type:"post",url:ajax_var_more.url,data:"action=penci-post-like&nonce="+ajax_var_more.nonce+"&penci_post_like=&post_id="+a+"&reaction="+r})});var a=jQuery(".tags-share-box"),r=a.data("id"),o=a.find(".post-share-plike").length>0,l=jQuery(".penci-post-reactions").length>0;void 0!==r&&(o||l)&&fetch(ajax_var_more.rest_url+"penci/v1/reactions/"+r,{method:"GET",credentials:"same-origin",headers:{"X-WP-Nonce":ajax_var_more.wp_rest}}).then(function(e){return e.json()}).then(function(e){if(jQuery.each(e,function(e,i){var n=jQuery('.penci-reaction-count[data-reaction="'+e+'"]');n.length&&n.text(t(i))}),jQuery(".count-number-like").length){var i=e.like?e.like:0;jQuery(".count-number-like").text(t(i))}}).catch(function(e){console.error("Penci reactions error:",e)})});
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.