PageSourceSearch

https://www.dcvelocity.com/static/dist/social-ux/5172.05a8f7bb11042d7b74c6.bundle.mjs

js dcvelocity.com collected 2026-09-24 17:13:41 UTC 2,480 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[5172],{3195:function(t,n,e){function o(t,n){let e,o=null;return function(...i){let r=!0;null!=o&&(r=t.apply(null,o.concat(i))),o=i,r&&(e&&(e(),e=null),e=n.apply(null,i))}}e.d(n,{A:function(){return o}})},1592:function(t,n,e){e.d(n,{A:function(){return r}});var o=e(6382);const i=(0,e(3964).A)((function(t,n,e,o,i){return o().then((n=>n(t))).then((t=>t(n,e,i)))}));function r(t,n,e,r){const s=t in window.RM_OVERRIDES?window.RM_OVERRIDES[t]:null,c=s||r;return(0,o.A)().then((t=>{const o=i(t,n,e),u=s?()=>o(r,null):null;return o(c,u).then((n=>[t,n]))}))}},4868:function(t,n,e){e.d(n,{U:function(){return i}});var o=e(3964);const i=(0,o.A)(((t,n,e,o,i)=>{e.classList.add("loaded","rm-preact");const r=t.preact.h(n,o);return t.preact.render(r,e,i)}));n.A=(0,o.A)((function(t,n,e,o){return i(t,n,e,o,null)}))},5172:function(t,n,e){e.r(n),e.d(n,{default:function(){return g},renderLikeButton:function(){return h}});var o=e(88),i=e(1592),r=e(4868),s=e(3195),c=e(3964),u=e(8879),l=e(7611),d=e(298);function f(t,n,e){const o={post_site_id:t,post_id:n,site_id:e};return(0,d.af)("/core/feeds/post/likes/","POST",o)}function a(t,n){const e={post_id:n,post_site_id:t};return(0,d.af)("/core/feeds/post/likes/","DELETE",e)}function p(t){return(0,d.mQ)(`/core/feeds/post/likes/${t}`)}function A(t,n,e,o){return t!=e||o.profileSite.id!==n.profileSite.id}const h=(0,c.A)(((t,n,e,o,i,r,s,d,f)=>{if(d)return void t({totalLikes:o,isLoggedIn:!1,isLiked:!1,toggleLike:l.A});const a=`${f.profileSite.id}`,p=!0;let A=!1;function h(){A=!1}function k(n){const e={isLoggedIn:p,isLiked:n,totalLikes:o,toggleLike:L(n)};t(e)}const L=(0,c.A)(((t,n)=>!!A||(A=!0,(t?r:i)(a).then(g(t)).catch(console.error).finally(h),n.preventDefault(),!1))),g=(0,u.A)((t=>{k(!t)}));function _(t){k(a in t)}n.intersectionObserverProvider.addTask({onIntersect:function(){s().then(_).catch(console.error)},rawNodes:[e],threshold:200,oneTime:!0}),k(!1)})),k=(0,c.A)((function(t,n,[e,i]){const l=n.closest("article[elid]"),d=l.getAttribute("elid"),k=(0,o.A)(`.post-context-${d}`,l).post.authors[0],L="postLikes"in n.dataset?parseInt(n.dataset.postLikes,10):0,g=(0,c.A)(f)(k,d),_=(0,u.A)(a)(k,d),v=(0,u.A)(p)(d);t.listenForUserInfo((0,s.A)(A,h((0,r.A)(e,i,n),t,n,L,g,_,v)))})),L=()=>e.e(472).then(e.bind(e,472)).then((t=>t.default));function g(t,n){(0,i.A)("LikeButton",t,{},L).then(k(t,n))}}}]);
2//# sourceMappingURL=5172.05a8f7bb11042d7b74c6.bundle.mjs.map

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.