PageSourceSearch

https://static.newsbreak.com/local/_next/static/chunks/pages/u/[profile_id]/subscribers-54ca4e09d37cece5.js

js newsbreak.com collected 2026-09-24 08:26:13 UTC 18,256 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4669],{98886:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(95235),i=n(81333),s=n(2784),c=n(6277),a=n(26128),o=n(40869),l=n(77245),d=n(43022),u=n(951),f=n(84970),x=n(39097),m=n.n(x),b=n(97374),p=n(32636),h=n(75817),g=n(58333),j=n(71474),v=n(49404),w=n(24060),_=n(5632),y=n(52322);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){var t,n,o,x,N,O,E=(0,s.useState)(!1),F=E[0],Z=E[1],P=(0,p.Z)(),S=(0,i.Z)(P,2),I=S[0],L=S[1],R=(0,s.useState)(!1),M=R[0],D=R[1],U=(0,s.useCallback)((function(e){e.stopPropagation(),(0,g.VU)("homeSignOut",{version:"v3"}),(0,h.kS)().finally((function(){L(null),window.location.href="/"}))}),[]),V=(0,_.useRouter)();if(!e.info)return null;var H,A=e.info,T=A.profileId||"",B=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.subRelatedInfo),W=new Date(1e3*A.join_ts),z="".concat(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][W.getMonth()]," ").concat(W.getFullYear());try{H=new URL(A.website).hostname}catch(K){}var J=function(){A.certifications_badge&&D(!0)},X=function(){D(!1)},G=e.withLink&&A.name&&A.mediaId?(0,f.d$)(A.name,A.mediaId):"",$="mp_default"==A.mp_source_type&&A.certifications_badge?"Partner Publisher":"mp_default"==A.mp_source_type?"Website":null!==(t=null===(n=A.certifications_badge)||void 0===n?void 0:n.text)&&void 0!==t?t:"",Q=V.asPath.split("?")[0],Y=Q.startsWith("/u/")&&(Q.endsWith("/subscribings")||Q.endsWith("/subscribers")),q=(null===I||void 0===I?void 0:I.profileId)&&(null===I||void 0===I?void 0:I.profileId)===T;return(0,y.jsxs)("div",{className:"px-5 py-4 bg-[#FAFAFA] rounded-[10px] border border-[#E3E3E3] mb-4 font-roboto space-y-3",children:[(0,y.jsx)("div",{className:"pb-1.5 border-b border-[E3E3E3]",children:(0,y.jsxs)("div",{className:(0,c.Z)("flex items-center w-fit gap-2 font-bold text-base tracking-[0.15px]",A.certifications_badge&&"cursor-pointer"),onClick:J,children:[(0,y.jsx)(a.Z,{baseUrl:A.icon,size:{width:48,height:48},imgAlt:"media avatar",borderRadius:12,className:"w-6 h-6"}),""!=G?(0,y.jsx)(m(),{href:G,prefetch:!1,children:(0,y.jsx)("a",{"aria-label":G,children:A.name})}):(0,y.jsx)("span",{children:A.name}),A.certifications_badge&&(0,y.jsx)(a.Z,{baseUrl:A.certifications_badge.light_icon,size:{width:144,height:144},imgAlt:"media badge",title:A.certifications_badge.description,borderRadius:50,className:"w-4 h-4"})]})}),(0,y.jsx)("div",{onClick:J,className:(0,c.Z)("text-xs text-[#656565]",A.certifications_badge&&"cursor-pointer"),children:"mp_default"==A.mp_source_type&&A.certifications_badge?(0,y.jsx)("div",{children:"Partner Publisher"}):(0,y.jsx)("div",{className:"flex items-center gap-1",children:"mp_default"!=A.mp_source_type?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(u.nf1,{}),"User since ",z]}):(0,y.jsx)(y.Fragment,{children:"Website"})})}),A.location&&(0,y.jsxs)("div",{className:"flex items-center gap-1 text-xs text-[#656565]",children:[(0,y.jsx)(d.Ts9,{}),A.location]}),H&&(0,y.jsxs)("p",{className:"flex items-center text-black/60 gap-1",children:[(0,y.jsx)(l.Wlb,{}),(0,y.jsx)("a",{href:A.website,target:"_blank",rel:"noreferrer",className:"text-blue-500 text-xs",children:H})]}),A.about&&(0,y.jsxs)("div",{className:"flex items-start tracking-[0.15px]",children:[(0,y.jsx)("p",{className:"text-xs text-[#656565] ".concat(F?"":"textoverflow-3"),children:A.about}),A.about.length>120&&(0,y.jsx)("div",{className:"cursor-pointer w-8 h-8 shrink-0 text-center mr-[-10px]",onClick:function(){return Z(!F)},children:(0,y.jsx)("span",{className:(0,c.Z)("border-[2px] border-gray-500 inline-block p-[3px] border-t-transparent border-l-transparent ",F?"rotate-[-135deg] translate-y-[2px]":"rotate-45 translate-y-[-5px]")})})]}),(0,y.jsx)("div",{className:"h-[1px] bg-[#E3E3E3]"}),(0,y.jsxs)("div",{className:"w-full flex items-center justify-between",children:["user"===(null===I||void 0===I?void 0:I.accountType)&&(0,y.jsx)(k,{nums:A.subscribed_counts,text:"Subscribed",clickUrl:Y||!A.subscribed_counts?void 0:"/u/".concat(T,"/subscribings")}),"creator"===(null===I||void 0===I?void 0:I.accountType)&&(0,y.jsx)(k,{nums:A.subscriber_counts,text:"Subscribers",clickUrl:Y||!A.subscriber_counts?void 0:"/u/".concat(T,"/subscribers")}),(0,y.jsx)(k,{nums:A.post,text:"Posts"}),(0,y.jsx)(k,{nums:A.follower_count,text:"Followers"})]}),q?(0,y.jsx)("div",{onClick:U,className:"text-sm leading-[34px] mt-5 text-black/60 hover:text-black/40 cursor-pointer border-t pt-2",children:"Sign out"}):(0,y.jsx)(y.Fragment,{children:I&&B.media_subscription_type&&B.media_id?(0,y.jsxs)("div",{className:"flex items-start w-full justify-end gap-2 min-h-[34px]",children:[(0,y.jsx)(w.Z,{mediaName:A.name,initialState:null===(o=B.media_sub_info)||void 0===o?void 0:o.subscription_status,initialPaidStatus:null===(x=B.media_sub_info)||void 0===x?void 0:x.paid_status,paidChannel:null===(N=B.media_sub_info)||void 0===N?void 0:N.subscription_channel,media_subscription_type:B.media_subscription_type,mediaId:B.media_id,uiStates:{notSubscribed:(0,y.jsx)("div",{className:"rounded-full h-[34px] flex items-center justify-center text-white tracking-[0.25px] font-semibold text-sm bg-[#C49F64] hover:brightness-110 transition-all ease-in-out",children:"Subscribe"}),fullySubscribed:(0,y.jsx)("div",{className:"rounded-full h-[34px] flex items-center justify-center text-[#656565] tracking-[0.25px] font-semibold text-sm bg-[#F2F2F2]",children:"Subscribed"}
1),canUpgrade:(0,y.jsx)("div",{className:"rounded-full h-[34px] flex items-center justify-center text-white tracking-[0.25px] font-semibold text-sm bg-[#C49F64] hover:brightness-110 transition-all ease-in-out",children:"Upgrade to Full Access"}),needRenew:(0,y.jsx)("div",{className:"rounded-full h-[34px] flex items-center justify-center text-[#656565] tracking-[0.25px] font-semibold text-sm bg-[#F2F2F2]",children:"Renew Now"})},expireAt:{time:null===(O=B.media_sub_info)||void 0===O?void 0:O.expire_at},fullWidth:!0}),(0,y.jsx)(b.ZP,{account:{media_id:A.mediaId,name:A.name,image:A.icon},followBtn:(0,y.jsx)("button",{className:"flex items-center justify-center w-[34px] h-[34px] rounded-lg bg-[#F2F2F2] hover:brightness-95 transition-all ease-in-out",children:(0,y.jsx)(v.w,{})}),unfollowBtn:(0,y.jsx)("button",{className:"flex items-center justify-center w-[34px] h-[34px] rounded-lg bg-[#F2F2F2] hover:brightness-95 transition-all ease-in-out",children:(0,y.jsx)(v.m,{})})})]}):(0,y.jsx)(b.ZP,{followBtn:(0,y.jsx)("div",{className:"bg-black/85 hover:bg-black/60 mt-5 cursor-pointer text-white text-center leading-[34px] rounded-full",children:"Follow"}),unfollowBtn:(0,y.jsx)("div",{className:"text-center leading-[34px] mt-5 rounded-full text-black/60 hover:text-black/40 cursor-pointer border border-black/60 hover:border-black/40",children:"Following"}),account:{media_id:A.mediaId,name:A.name,image:A.icon}})}),M&&A.certifications_badge&&(0,y.jsxs)(j.Z,{showLogo:!1,onClose:X,children:[(0,y.jsxs)("div",{className:"flex flex-row my-3 items-center md:mt-0 md:mb-4",children:[(0,y.jsx)("p",{className:"font-black text-xl mr-2 md:text-3xl md:mr-3",children:$}),(0,y.jsx)("img",{alt:"".concat($," badge"),src:A.certifications_badge.light_icon,style:{margin:0,height:24,width:24}})]}),(0,y.jsx)("p",{className:"text-gray-dark",children:A.certifications_badge.description}),(0,y.jsx)("div",{className:"flex flex-row justify-end items-center mt-8 mb-2 space-x-3 md:space-x-4 md:mb-0",children:(0,y.jsx)("button",{onClick:X,className:"w-32 h-12 text-white font-medium bg-red-primary rounded-3xl hover:bg-red-hoverColor",children:"Dismiss"})})]})]})}var k=function(e){var t=Number(e.nums||"");t=isNaN(t)?0:t;var n=(0,y.jsxs)("div",{className:"space-y-1 w-20",children:[(0,y.jsx)("p",{className:"text-base leading-[18px] font-black text-[#252525] tracking-[-0.31px]",children:(0,o.$s)(t,"",0)||0}),(0,y.jsx)("p",{className:"text-sm text-[#646464]",children:e.text})]});return e.clickUrl?(0,y.jsx)(m(),{href:e.clickUrl,children:(0,y.jsx)("a",{children:n})}):n}},59806:function(e,t,n){"use strict";var r=n(2784),i=n(52322),s=r.memo((function(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"flex-1 ".concat(e.overflowVisible?"overflow-visible":"overflow-hidden"," xl:pl-5"),children:(0,i.jsx)("div",{className:"px-4 font-roboto ".concat(e.topNode?"lg:mt-8":"mt-8"),children:e.children})}),e.rightNode&&(0,i.jsx)("div",{className:"hidden ".concat(e.isVideo?"2xl:block":"md:block"," md:ml-8 xl:ml-16 space-y-3 mt-7 top-24 xl:top-6 sticky md:max-h-[calc(100vh-66px-32px)] pb-6 xl:max-h-[calc(100vh-32px)] overflow-x-hidden overflow-y-auto mr-5"),children:e.rightNode}),(0,i.jsx)("style",{children:"\n            .intro {\n              padding: 18px;\n              border-radius: 10px;\n              margin-bottom: 15px;\n            }\n\n          "})]})}));s.displayName="ContentLayout",t.Z=s},17565:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return v},default:function(){return w}});var r=n(12741),i=n(95235),s=n(20406),c=n(81333),a=n(28526),o=n.n(a),l=n(97729),d=n.n(l),u=n(59806),f=n(98886),x=n(39097),m=n.n(x),b=n(2784),p=n(87849),h=n(52322);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=!0;function w(e){var t=e.profile.profile,n=(0,b.useMemo)((function(){return Object.entries(e.subscribersList).filter((function(e){var t=(0,c.Z)(e,2);t[0];return+t[1].total>0})).map((function(e){return(0,c.Z)(e,1)[0]}))}),[e.subscribersList]),a=(0,b.useState)(n.find((function(t){return+e.subscribersList[t].total>0}))||n[0]),l=a[0],x=a[1],g=(0,b.useState)(Object.fromEntries(Object.entries(e.subscribersList))),v=g[0],w=g[1],_=v[l].items.length===+v[l].total,y=(0,b.useRef)(null);return(0,b.useEffect)((function(){if(!_){var e=function(){var e=(0,s.Z)(o().mark((function e(){var n,s,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=null===(n=v[l].items.at(-1))||void 0===n?void 0:n.subscription_time){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,p.Ep)({type:"free"===l?"free_subscribers":"paid_subscribers",media_id:t.mediaId,cursor:s});case 5:c=e.sent,w((function(e){return j(j({},e),{},(0,i.Z)({},l,{items:[].concat((0,r.Z)(e[l].items),(0,r.Z)(c.items)),total:c.total.toString()}))}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),n=new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting&&e()}))}));return y.current?(n.observe(y.current),function(){return n.disconnect()}):void 0}}),[_,l,v[l].items.length]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d(),{children:(0,h.jsx)("title",{children:e.seoTitle})}),(0,h.jsxs)(u.Z,{rightNode:(0,h.jsx)("section",{className:"w-[320px]",children:(0,h.jsx)(f.Z,{info:t,subRelatedInfo:void 0})}),children:[(0,h.jsx)(m(),{href:"/u/".concat(e.profileId),children:(0,h.jsx)("a",{className:"flex items-center w-fit justify-center p-[5px] rounded-lg bg-[#F2F2F2] hover:brightness-95 transition-all ease-in-out",children:(0,h.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,h.jsx)("path",{d:"M10.293 4.29297C10.6835 3.90244 11.3165 3.90244 11.707 4.29297C12.0976 4.68349 12.0976 5.31651 11.707 5.70703L6.41406 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H6.41406L11.707 18.293C12.0976 18.6835 12.0976 19.3165 11.707 19.707C11.3165 20.0976 10.6835 20.0976 10.293 19.707L3.29297 12.707C2.90244 12.3165 2.90244 11.6835 3.29297 11.293L10.293 4.29297Z",fill:"#242424"})})})}),(0,h.jsx)("div",{className:"mt-10 mb-8 flex items-center gap-5",children:n.map((function(e){return(0,h.jsx)("button",{className:"py-2 px-4 capitalize text-sm rounded-full leading-[18px] text-[#242424] bg-[#F2F2F2] border border-[#E3E3E3] disabled:text-[#E3E3E3] disabled:bg-[#242424] disabled:border-none",disabled:l===e,onClick:function(){return x(e)},children:"".concat(e," (").concat(v[e].total,")")},e)}))}),(0,h.jsx)("div",{className:"space-y-6",children:v[l].items.map((function(e,t){return(0,h.jsx)("div",{ref:t===v[l].items.length-1?y:null,className:"flex items-center gap-2 py-1.5 w-full justify-between",children:(0,h.jsxs)("div",{className:"flex items-center gap-2",children:[(0,h.jsx)(m(),{href:"/u/".concat(e.profileId),children:(0,h.jsx)("a",{target:"_blank",children:(0,h.jsx)("img",{src:e.icon,alt:e.user_name,className:"w-9 min-w-9 h-9 rounded-full"})})}),(0,h.jsx)("div",{children:(0,h.jsx)(m(),{href:"/u/".concat(e.profileId),children:(0,h.jsx)("a",{target:"_blank",children:(0,h.jsx)("h3",{className:"text-sm font-semibold tracking-[-0.15px]",children:e.user_name})})})})]})},e.profileId)}))},v[l].items.length)]})]})}},49404:function(e,t,n){"use strict";n.d(t,{m:function(){return i},w:function(){return s}});var r=n(52322),i=function(){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1045 3.5C9.5383 3.5 8.26866 4.77599 8.26866 6.35C8.26866 7.92401 9.5383 9.2 11.1045 9.2C12.6707 9.2 13.9403 7.92401 13.9403 6.35C13.9403 4.77599 12.6707 3.5 11.1045 3.5ZM6.77612 6.35C6.77612 3.94756 8.71399 2 11.1045 2C13.495 2 15.4328 3.94756 15.4328 6.35C15.4328 8.75244 13.495 10.7 11.1045 10.7C8.71399 10.7 6.77612 8.75244 6.77612 6.35ZM2.0004 18.3495C2.00067 15.9473 3.93847 14 6.32876 14H12.2985C12.7107 14 13.0448 14.3358 13.0448 14.75C13.0448 15.1642 12.7107 15.5 12.2985 15.5H6.32876C4.76271 15.5 3.49312 16.7758 3.49294 18.3497L3.49254 21.2501C3.49249 21.6643 3.15834 22 2.74618 22C2.33403 22 1.99995 21.664
11 2 21.2499L2.0004 18.3495Z",fill:"#656565"}),(0,r.jsx)("path",{d:"M19.4875 15.4531C19.7897 15.1698 20.2638 15.1851 20.5471 15.4873C20.8304 15.7895 20.8151 16.2636 20.5129 16.5469L15.1799 21.5469C14.8914 21.8173 14.442 21.8173 14.1535 21.5469L11.4875 19.0469C11.1854 18.7636 11.17 18.2894 11.4533 17.9873C11.7366 17.6852 12.2107 17.6699 12.5129 17.9531L14.6662 19.9717L19.4875 15.4531Z",fill:"#656565"})]})},s=function(){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1045 3.5C9.5383 3.5 8.26866 4.77599 8.26866 6.35C8.26866 7.92401 9.5383 9.2 11.1045 9.2C12.6707 9.2 13.9403 7.92401 13.9403 6.35C13.9403 4.77599 12.6707 3.5 11.1045 3.5ZM6.77612 6.35C6.77612 3.94756 8.71399 2 11.1045 2C13.495 2 15.4328 3.94756 15.4328 6.35C15.4328 8.75244 13.495 10.7 11.1045 10.7C8.71399 10.7 6.77612 8.75244 6.77612 6.35ZM2.0004 18.3495C2.00067 15.9473 3.93847 14 6.32876 14H12.2985C12.7107 14 13.0448 14.3358 13.0448 14.75C13.0448 15.1642 12.7107 15.5 12.2985 15.5H6.32876C4.76271 15.5 3.49312 16.7758 3.49294 18.3497L3.49254 21.2501C3.49249 21.6643 3.15834 22 2.74618 22C2.33403 22 1.99995 21.6641 2 21.2499L2.0004 18.3495Z",fill:"#242424"}),(0,r.jsx)("path",{d:"M17.0076 22C16.4723 22 16.1434 21.6522 16.1434 21.1119V18.8252H13.8948C13.3518 18.8252 13 18.5069 13 18.0037C13 17.5005 13.3518 17.1822 13.8948 17.1822H16.1434V14.8807C16.1434 14.3478 16.4723 14 17.0076 14C17.5354 14 17.8642 14.3478 17.8642 14.8807V17.1822H20.1128C20.6482 17.1822 21 17.5005 21 18.0037C21 18.5069 20.6482 18.8252 20.1052 18.8252H17.8642V21.1193C17.8642 21.6522 17.5354 22 17.0076 22Z",fill:"#242424"})]})}},75817:function(e,t,n){"use strict";n.d(t,{_j:function(){return c},bG:function(){return l},ck:function(){return u},jG:function(){return a},kS:function(){return d},rO:function(){return o},z2:function(){return i},zB:function(){return s}});var r=n(87742),i=function(e,t,n){return(0,r.SQ)("/api/ajax/me/email-register",{body:{email:e,password:t,appid:n},withError:!0})},s=function(e,t,n){return(0,r.d8)("/api/ajax/me/email-login",{body:{email:e,password:t,appid:n},withError:!0})},c=function(e,t,n,i){return(0,r.d8)("/api/ajax/me/gl-login",{body:{accessToken:e,expiresIn:t,isV2:!0,sid:n,appid:i},withError:!0})},a=function(e,t,n){return(0,r.d8)("/api/ajax/me/fb-login",{body:{accessToken:e,expiresIn:t,isV2:!0,sid:n},withError:!0})},o=function(e,t,n,i){return(0,r.d8)("/api/ajax/me/apple-login",{body:{accessToken:e,expiresIn:t,isV2:!0,sid:n,appid:i},withError:!0})},l=function(){return(0,r.mR)("/api/ajax/me/get-info",{withError:!0})},d=function(){return(0,r.ZJ)("/api/ajax/me/logout",{withError:!0})},u=function(e){var t=(0,r.XP)({docid:e});return(0,r.mR)("/api/proxyV2/Website/interact/thumbs-up?".concat(t),{withError:!0})}},81314:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/u/[profile_id]/subscribers",function(){return n(17565)}])},5318:function(){},53352:function(e,t,n){"use strict";n.d(t,{r:function(){return c}});var r=n(2784);var i=n(69904),s=n(72489);function c(e){var t={state:e instanceof Function?e():e,setState:function(e){t.state=function(e,t){return"function"===typeof e?e.length?e(t):e():e}(e,t.state),t.setters.forEach((function(e){return e(t.state)}))},setters:[]};return function(){var e=(0,r.useState)(t.state),n=e[0],c=e[1];return(0,i.Z)((function(){return function(){t.setters=t.setters.filter((function(e){return e!==c}))}})),(0,s.Z)((function(){t.setters.includes(c)||t.setters.push(c)})),[n,t.setState]}}}},function(e){e.O(0,[8898,2935,92,7374,9774,2888,179],(function(){return t=81314,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.