PageSourceSearch

https://bookclubs.com/static/js/MemberAvatar.6d420b90.chunk.js

js bookclubs.com collected 2026-10-01 11:27:06 UTC 1,898 bytes, 2 lines download raw bytes

1/*! For license information please see MemberAvatar.6d420b90.chunk.js.LICENSE.txt */
2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8046],{13274:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>c});var n=e(48738),o=e.n(n),i=e(9950),a=e(44414);const l=[{bg:"#F5E8DF",text:"#E76852"},{bg:"#E0F7FA",text:"#006064"},{bg:"#FFF3E0",text:"#EF6C00"},{bg:"#F3E5F5",text:"#8E24AA"},{bg:"#E8F5E9",text:"#2E7D32"},{bg:"#ECEFF1",text:"#37474F"}],u=t=>{if(!t)return l[0];const r=(t=>{let r=0;for(let e=0;e<t.length;e++)r=t.charCodeAt(e)+31*r;return Math.abs(r)})(t);return l[r%l.length]},s=({name:t,id:r,avatar:e,size:n=40,bgColor:i,textColor:l,className:s})=>{const c=(t=>{var r;return(null===t||void 0===t||null===(r=t.trim())||void 0===r?void 0:r.charAt(0).toUpperCase())||"?"})(t),f=r?r.toString():t||"",{bg:g,text:d}=u(f),h=i||g,v=l||d,b=o()("rounded-full object-cover",s),p=o()("rounded-full flex items-center justify-center font-montserrat-medium",s);return e?(0,a.jsx)("img",{alt:t||"Avatar",className:b,height:n,src:e,style:{width:n,height:n},title:t||"",width:n}):(0,a.jsx)("div",{"aria-label":t||"Member fallback avatar",className:p,style:{width:n,height:n,backgroundColor:h,color:v,fontSize:.5*n},title:t||"",children:c})},c=(0,i.memo)(s)},48738:(t,r)=>{var e;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",r=0;r<arguments.length;r++){var e=arguments[r];e&&(t=a(t,i(e)))}return t}function i(t){if("string"===typeof t||"number"===typeof t)return t;if("object"!==typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var e in t)n.call(t,e)&&t[e]&&(r=a(r,e));return r}function a(t,r){return r?t?t+" "+r:t+r:t}t.exports?(o.default=o,t.exports=o):void 0===(e=function(){return o}.apply(r,[]))||(t.exports=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.