PageSourceSearch

https://blooloop.com/static/dist/social-ux/7158.1939eb584ae59dda8624.bundle.js

js blooloop.com collected 2026-09-24 15:27:16 UTC 5,584 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[7158],{2810:function(n,t,r){r.d(t,{NC:function(){return l},aq:function(){return a},z$:function(){return c}});var e=r(5874);function u(n){return n?"/core/v1/communities/".concat(n,"/shared/posts"):"/core/v1/users/me/saved/posts"}function o(n){return n?"/core/v1/folders/communities/shared/posts/labels":"/core/v1/folders/users/saved/posts/labels"}function i(n){return n?"/core/v1/communities/".concat(n,"/shared/posts/labels"):"/core/v1/users/me/saved/posts/labels"}function a(n,t){var r=(n?i:o)(t);return(0,e.mQ)(r,"GET")}function c(n,t,r){var o=u(n),i={labels:r,post:{id:t,timestamp:parseInt(Date.now()/1e3,10)}};return(0,e.af)(o,"POST",i)}function l(n,t,r){var o=u(n),i={labels:r,post:{id:t,timestamp:parseInt(Date.now()/1e3,10)}};return(0,e.af)(o,"DELETE",i)}},115:function(n,t,r){function e(n,t){var r,e=null;return function(){for(var u=!0,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];null!=e&&(u=n.apply(null,e.concat(i))),e=i,u&&(r&&(r(),r=null),r=t.apply(null,i))}}r.d(t,{A:function(){return e}})},5520:function(n,t,r){r.d(t,{A:function(){return o}});var e=r(3990),u=(0,r(2452).A)((function(n,t,r,e,u){return e().then((function(t){return t(n)})).then((function(n){return n(t,r,u)}))}));function o(n,t,r,o){var i=n in window.RM_OVERRIDES?window.RM_OVERRIDES[n]:null,a=i||o;return(0,e.A)().then((function(n){var e=u(n,t,r),c=i?function(){return e(o,null)}:null;return e(a,c).then((function(t){return[n,t]}))}))}},1580:function(n,t,r){r.d(t,{U:function(){return u}});var e=r(2452),u=(0,e.A)((function(n,t,r,e,u){r.classList.add("loaded","rm-preact");var o=n.preact.h(t,e);return n.preact.render(o,r,u)}));t.A=(0,e.A)((function(n,t,r,e){return u(n,t,r,e,null)}))},8462:function(n,t,r){function e(n,t,r,e){return n!=r||e.profileSite.id!==t.profileSite.id}function u(n){return"group"===n.type_name.toLowerCase()}function o(n){var t=n.sites.find(u);return t&&t.permissions.edit_folder_items?t.id:null}function i(n){return!!n.profileSite.permissions.edit_folder_items}r.d(t,{PA:function(){return e},rz:function(){return i},z3:function(){return o}})},7158:function(n,t,r){r.r(t),r.d(t,{default:function(){return C},renderFoldersPostManager:function(){return P}});var e=r(5520),u=r(1580),o=r(115),i=r(8359),a=r(2452),c=r(7107),l=r(2104),s=r(2810),f=r(8462);function d(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,u,o,i,a=[],c=!0,l=!1;try{if(o=(r=r.call(n)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(e=o.call(r)).done)&&(a.push(e.value),a.length!==t);c=!0);}catch(n){l=!0,u=n}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw u}}return a}}(n,t)||function(n,t){if(n){if("string"==typeof n)return v(n,t);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}var p=/(community|user)\((?:\d+)\):(?:saved|shared)([a-z0-9_-]*)?/i,m=/^-/,h={},A={},b=(0,a.A)((function(n,t){return h[n]=t,t})),y=(0,a.A)((function(n,t){n.forEach((function(n){return(0,d(n,1)[0])(t)}))})),g=(0,a.A)((function(n,t){n.forEach((function(n){var r=d(n,2);return r[0],(0,r[1])(t)}))}));function w(n){return n.slug}function E(n){return n?n.labels.map(w):null}function S(n){return n.map(E)}function I(n){var t=n.profileSite.id;return t in h?Promise.resolve(h[t]):new Promise((function(r,e){var u=[r,e];if(t in A)A[t].push(u);else{A[t]=[u];var o=(0,f.z3)(n),i=[];(0,f.rz)(n)?i.push((0,s.aq)(),(0,s.aq)(!0)):i.push(Promise.resolve(null),Promise.resolve(null)),o&&i.push((0,s.aq)(!1,o),(0,s.aq)(!0,o)),Promise.all(i).then(S).then(b(t)).then(y(A[t])).catch(g(A[t]))}}))}var P=(0,a.A)((function(n,t,r,e,u,o,a,l,s){var v=!1,p=null,m=c.A,h=null,A=!1,b=!l;function y(){v||n({isLoggedIn:b,disabled:A,success:h,isInFolder:p,onClick:m})}if(l)return p=!1,void y();var g=(0,f.z3)(s);function w(){h=null}function E(){A=!0}var S=(0,i.A)((function(){A=!1}),y),I=(0,i.A)(E,w,y,(function(){o(t?null:g,e,[r]).then(z).catch(C).finally(S)})),P=(0,i.A)(E,w,y,(function(){a(t?null:g,e,[r]).then(_).catch(C).finally(S)}));function _(){h=!0,p=!0,m=I}function z(){h=!0,p=!1,m=P}function C(){h=!1}return u(s).then((function(n){var e=d(n,4),u=e[0],o=e[1],i=e[2],a=e[3],c=d(t?[u,o]:[i,a],2),l=c[0],s=c[1];(l&&l.indexOf(r)>=0||s&&s.indexOf(r)>=0)&&(m=I,p=!0)})).catch(C).finally(y),function(){v=!0}})),_=(0,a.A)((function(n,t,r){var e=d(r,2),i=e[0],a=e[1],c=t.getAttribute("elid"),l=t.closest(".posts-custom");if(c&&l){var v=l.dataset.attrFrom_buckets;if(v&&(h=v,p.test(h))){var h,A=function(n){var t=d(n.match(p),3),r=(t[0],t[1]),e=t[2];return["user"===r,e?e.replace(m,""):null]}(v),b=d(A,2),y=b[0],g=b[1];if(g){var w=document.createElement("div");w.classList.add("rm-folders-toggle-button"),t.appendChild(w),n.listenForUserInfo((0,o.A)(f.PA,P((0,u.A)(i,a,w),y,g,c,I,s.NC,s.z$)))}}}})),z=function(){return r.e(8694).then(r.bind(r,8694)).then((function(n){return n.default}))};function C(n,t){(0,e.A)("FoldersPostManager",n,{raiseNotification:l.A},z).then(_(n,t))}}}]);
2//# sourceMappingURL=7158.1939eb584ae59dda8624.bundle.js.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.