PageSourceSearch

https://beyondthebucketlist.co/wp-content/plugins/eaven-extension/assets/js/post-metas.min.js?ver=2026090303

js beyondthebucketlist.co collected 2026-10-04 13:32:08 UTC 3,384 bytes, 1 lines download raw bytes

1!function(o){"use strict";function s(t,a){var e;t&&t.length&&(e=t.attr("data-post-id"),t=t.data("like-count"),(e=o(".post-like[data-post-id="+e+"]"))&&e.length&&(t=a?parseInt(t,10)+1:t-1,e.data("like-count",Math.max(0,t)),e.find(".count").text((t=t,(t=parseInt(t,10))<1?0:1e6<=t?(t=Math.floor(t/1e5)/10)+"M":1e3<=t?(t=Math.floor(t/100)/10)+"K":t))))}var l={likes:!1,itemName:"loftocean/liked",init:function(){var t;!o(".post-like").length||(t=window.localStorage.getItem(l.itemName))&&(l.likes=JSON.parse(t),l.hasLikes()&&o(document).ready(function(){l.addLikedClass()})),o(document).on("loftcean/moreContent/loaded",function(){l.addLikedClass()})},addLikedClass:function(){l.hasLikes()&&l.likes.forEach(function(t){t=o(".post-like[data-post-id="+t+"]");t.length&&t.addClass("liked")})},set:function(t){l.hasLikes()?-1===l.likes.indexOf(t)&&(l.likes.push(t),l.save()):(l.likes=[t],l.save())},isLiked:function(t){return!!l.hasLikes()&&-1!==l.likes.indexOf(t)},remove:function(t){!l.hasLikes()||-1!==(t=l.likes.indexOf(t))&&(l.likes.splice(t,1),l.save())},save:function(){window.localStorage.setItem(l.itemName,JSON.stringify(l.likes))},hasLikes:function(){return l.likes&&Array.isArray(l.likes)}};l.init(),o(document).ready(function(){var i,n,t,a,e;o(".post-like").length&&o("body").on("click",".post-like",function(t){var a,e,i,n=o(this);n.data("animating")||(a=n.attr("data-post-id"),(e=o(".post-like[data-post-id="+a+"]")).data("animating",!0),n.hasClass("liked")?(i={action:loftocean_ajax.like.action,post_id:a,unliked:!0},o.post(loftocean_ajax.url,i).done(function(){l.remove(a),0<n.data("like-count")&&(s(n,!1),e.removeClass("liked")),e.data("animating",!1)})):a&&!l.isLiked(a)?(i={action:loftocean_ajax.like.action,post_id:a},e.addClass("liked clicking"),o.post(loftocean_ajax.url,i).done(function(){l.set(a),s(n,!0),e.data("animating",!1),e.removeClass("clicking")})):e.data("animating",!1))}),o(".post-share .share-icons > a, .tweet-it, .social-share-icons > a").length&&o("body").on("click",".post-share .share-icons > a, .tweet-it, .social-share-icons > a",function(t){t.preventDefault();var a=o(this),t=a.attr("data-props")?a.attr("data-props"):"width=555,height=401";return window.open(a.attr("href"),a.attr("title"),t),!1}),wpApiSettings&&wpApiSettings.root&&loftocean_ajax&&loftocean_ajax.loadPostMetasDynamically&&(i=o(".loftocean-view-meta"),n=o(".loftocean-like-meta"),(t=o("<div>",{class:"temp-div"}).add(i).add(n).not(".temp-div")).length&&(a=[],e=loftocean_ajax.currentPostID,t.each(function(){o(this).data("post-id")&&!a.includes(o(this).data("post-id"))&&a.push(o(this).data("post-id"))}),e&&!a.includes(parseInt(e,10))&&a.push(e),a.length&&(e=wpApiSettings.root+"loftocean/v1/get-post-metas/"+a.join(",")+"/"+(e||0),o.get(e).done(function(a,t,e){200==e.status&&200==a.status&&(a=a.data,i.each(function(){var t=o(this).data("post-id");a[t]&&a[t]["loftocean-view-count"]&&(t=a[t]["loftocean-view-count"],o(this).find(".count").length&&o(this).find(".count").text(t.format),o(this).find(".label").length&&o(this).find(".label").text(t.label))}),n.each(function(){var t=o(this).data("post-id");a[t]&&a[t]["loftocean-like-count"]&&(t=a[t]["loftocean-like-count"],o(this).data("like-count",Math.max(0,t.raw)),o(this).find(".count").length&&o(this).find(".count").text(t.format),o(this).find(".label").length&&o(this).find(".label").text(t.label))}))}))))})}(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.