"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[6548],{84257:(e,i,n)=>{n.r(i),n.d(i,{default:()=>Fi});var a=n(12341),s=n(30758),t=n(91276),r=n(34076),l=n(92107),c=n(96992),d=n(17011),o=n(58017),u=n(13534),f=n(11854),m=n(1267),v=n(84015),x=n(23100),h=n(27909),j=function(e){return e[e.LOADING=0]="LOADING",e[e.CONNECTED=1]="CONNECTED",e[e.DISCONNECTED=2]="DISCONNECTED",e}({});n(30456),n(43379),n(34192),n(88856);var g=n(15057),b=n(96027),p=n(28121),N=n(62822),y=n(93091),k=n.n(y),S=(n(53276),n(47710),n(79210),n(28925)),C=(n(25550),n(15342),n(78551),n(47994),n(82467),n(97500)),R=n.n(C),I=n(64399),E=n(67924),w=n(8574),A=n(41481),L=n(95575),D=n(87999);const T="cey3hc5X4ymwEYmedF9F",P="Le2ZXlfi8l8hZhCYbmSj",F="he3Rpn7Wz3NaftrVjAuH",_="_BQFK3tB0bgzqFCn7Cj7";var O=n(86070),U=function(e){var i=e.name,n=e.following,r=e.imageUrl,d=e.uri,o=(0,L.f)(),f=(0,w.W)(),m=s.createRef(),v=(0,s.useState)(n),x=(0,a.A)(v,2),h=x[0],j=x[1];(0,D.N)(A.mc.OPERATION_COMPLETE,(function(e){if(e.data.uris.includes(d))switch(e.data.operation){case A.JK.FOLLOW_USER:j(!0);break;case A.JK.UNFOLLOW_USER:j(!1)}}));var g=(0,s.useCallback)((function(){h?o.unfollowUsers([d]):(o.followUsers([d]),f({intent:"follow",type:"click",itemIdSuffix:"buddyfeed"})),m.current&&m.current.blur()}),[h,m,d,o,f]);return(0,s.useEffect)((function(){j(n)}),[n]),(0,O.jsxs)("div",{className:T,children:[(0,O.jsx)(E.e,{label:i,width:40,userIconSize:"small",images:(0,s.useMemo)((function(){return[{width:40,height:40,url:r}]}),[r])}),(0,O.jsxs)("div",{className:R()(P,"ellipsis-one-line"),children:[(0,O.jsx)(u.E,{as:"p",variant:"bodySmallBold",className:"ellipsis-one-line",children:i}),h&&(0,O.jsx)(u.E,{as:"p",variant:"marginal",className:"ellipsis-one-line",children:l.Ru.get("following")})]}),(0,O.jsx)("div",{className:F,children:(0,O.jsx)(c.a,{className:_,size:"sm",ref:m,onClick:g,ariaLabel:h?l.Ru.get("buddy-feed.button.remove-friend"):l.Ru.get("buddy-feed.button.add-friend"),icon:h?I.M:t.k})})]})};const B="SjPnh6wzlE2D_Eyb_I_i";function W(e){var i=e.facebookFriends;return(0,O.jsx)("div",{className:B,children:i.map((function(e){var i=e.uri,n=e.following,a=e.title,s=e.image;return(0,O.jsx)(U,{uri:i,name:a,imageUrl:s,following:n},"fb-friend-".concat(i))}))})}n(58795);const z="yVXmLK1K6pmtPe83gnoi";function Z(){return(0,O.jsx)("div",{className:z,children:Array(20).fill(0).map((function(e,i){return(0,O.jsx)(p.Y,{isLoading:!0,charCount:100,as:"p",variant:"titleSmall"},i)}))})}const H="DRM5jiRwP8kjAwzu7xk5",Q="qr7QRUyXsuUlO7axj_Pt",V="bNRhpD95SGcRlVhndWcn",G="cIJ13_Op585JAdVuiSpb",M="Fs5DCVhNZkMzGbRFcd4L",J="mZPcBBkAHhnim1L5HTVm",Y="Jvah5KRPqyI7irpNmlaN",q="B4r4LurFaN4u62WbJHEw",K="AbxEqQpHNQVjia6oDIzy";var X=function(e){var i,n,t,r,d,f,v,x=e.onBackButtonClick,j=(0,s.useState)(""),y=(0,a.A)(j,2),C=y[0],R=y[1],I=(i=C,r=(0,h.C)(),d=i.trim().toLowerCase(),f=(0,S.I)({queryKey:["useFacebookFriends"],queryFn:(t=(0,N.A)(k().mark((function e(){var i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.fetchFacebookFriends();case 2:return i=e.sent,e.abrupt("return",i.sort((function(e,i){return e.title>i.title?1:-1})));case 4:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}),v=f.data,{isLoading:f.isLoading,friends:null!==(n=null==v?void 0:v.filter((function(e){return-1!==e.title.trim().toLowerCase().indexOf(d)})))&&void 0!==n?n:[]}),E=I.isLoading,w=I.friends,A=(0,g.YQ)((function(e){R(e.target.value)}),100),L=(0,s.useCallback)((function(e){null!==e&&e.focus()}),[]);return(0,O.jsxs)("div",{className:H,children:[(0,O.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.button.back"),onClick:x,ref:L,className:Q,icon:o.g,size:"sm",testId:"back-to-friends"}),(0,O.jsxs)("div",{className:V,children:[(0,O.jsx)("div",{className:G,children:(0,O.jsx)(m.G,{className:M,size:"large"})}),(0,O.jsx)("div",{className:J,children:E?(0,O.jsx)(p.Y,{isLoading:!0,charCount:25,as:"p",variant:"bodySmall"}):(0,O.jsx)(u.E,{as:"p",variant:"bodySmall",children:l.Ru.get("buddy-feed.number-of-friends",w.length)})})]}),E?(0,O.jsx)(Z,{}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("div",{className:Y,children:[(0,O.jsx)(b.C,{className:K,size:"small",role:"presentation"}),(0,O.jsx)("input",{onChange:A,className:q,placeholder:l.Ru.get("buddy-feed.find-in-playlists")})]}),(0,O.jsx)(W,{facebookFriends:w})]})]})},$=n(1868);function ee(e){var i=e.isOpen,n=e.onClose,a=e.onConfirm;return(0,O.jsx)($.T,{onClose:n,"aria-label":l.Ru.get("web-player.buddy-feed.connect-with-facebook-title"),onConfirm:a,titleText:l.Ru.get("web-player.buddy-feed.connect-with-facebook-title"),descriptionText:l.Ru.get("web-player.buddy-feed.connect-with-facebook-description"),cancelText:l.Ru.get("queue.cancel-button"),confirmText:l.Ru.get("web-player.buddy-feed.connect-button"),isOpen:i})}const ie="lPDqjZWZMsdD4yc00T2X",ne="JfNeNZziDnktIRb29RLV",ae="VR5PLGPz9AM_CbDWgf34",se="w_89IGjukyLkRHojI80u",te="e5WAdruoZ3DjOzKDItZH",re="BlAb_EfGNQXaz00GASPZ",le="umsKuFPqgF42Qhs2m0Ud",ce="_zPMjS082V1vqTdHTyeb",de="xXJ4W5P2DG0gs1qsg4SL",oe="wUlAvP_tJLv1l46W8DlA";var ue=function(e){var i=(0,w.W)(),n=e.onBackButtonClick,t=e.feedIsEmpty,r=e.goToAddFriends,d=void 0!==r&&r,g=function(){var e=(0,h.C)(),i=(0,s.useState)(j.LOADING),n=(0,a.A)(i,2),t=n[0],r=n[1];return(0,s.useEffect)((function(){return e.subscribeToFacebookConnectionState((function(e){r(e.connection?j.CONNECTED:j.DISCONNECTED)})).cancel}),[e]),t}(),b=(0,h.C)(),p=(0,s.useState)(!1),N=(0,a.A)(p,2),y=N[0],k=N[1],S=(0,s.useState)(!1),C=(0,a.A)(S,2),R=C[0],I=C[1],E=(0,s.useState)(!1),A=(0,a.A)(E,2),L=A[0],D=A[1],T=(0,s.useCallback)((function(e){null!==e&&e.focus()}),[]),P=(0,s.useCallback)((function(){location.reload()}),[]);if(R)return(0,O.jsxs)("div",{className:de,children:[(0,O.jsx)(c.a,{onClick:n,ref:T,className:ae,ariaLabel:l.Ru.get("buddy-feed.button.back"),icon:o.g,size:"sm"}),(0,O.jsxs)("div",{className:oe,children:[(0,O.jsx)(u.E,{as:"h1",variant:"bodyMediumBold",className:ne,children:l.Ru.get("error-dialog.generic.header")}),(0,O.jsx)(u.E,{as:"p",variant:"bodySmall",className:se,children:l.Ru.get("error-dialog.generic.body")}),(0,O.jsx)(f.$,{colorSet:"invertedLight",onClick:P,children:l.Ru.get("error.reload")})]})]});var F=(d||L)&&g===j.CONNECTED;return(0,O.jsxs)("div",{className:ie,children:[F&&(0,O.jsx)(X,{onBackButtonClick:function(){t&&D(!1),n()}}),!F&&(0,O.jsxs)("div",{className:re,children:[(0,O.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.button.back"),onClick:n,className:ae,ref:T,icon:o.g,size:"sm"}),(0,O.jsx)(u.E,{as:"h1",variant:"bodyMediumBold",className:ne,children:l.Ru.get("buddy-feed.friend-activity")}),(0,O.jsx)(u.E,{as:"p",variant:"bodySmall",className:se,children:l.Ru.get("buddy-feed.facebook.connect-with-friends-default")}),(0,O.jsx)("div",{className:le,children:(0,O.jsx)(f.$,{className:ce,size:"small",iconLeading:m.G,UNSAFE_colorSet:(0,v.mA)("#2374E1",x.ONy),onClick:function(){i({intent:"connect-to-facebook",type:"click",itemIdSuffix:"buddyfeed"}),g!==j.CONNECTED?k(!0):D(!0)},children:l.Ru.get("buddy-feed.facebook.button")})}),(0,O.jsx)(u.E,{as:"p",variant:"marginal",className:te,children:l.Ru.get("buddy-feed.facebook.disclaimer")}),(0,O.jsx)(ee,{isOpen:y,onClose:function(){k(!1)},onConfirm:function(){b.connectToFacebook().then((function(){D(!0),k(!1)})).catch((function(){I(!0)}))}})]})]})},fe=n(68150),me=n(1358);const ve="CvWRWfWfmS9_2fgM7c3A",xe="gtJcoAXGeGQ9ochIvg6h",he="diF001PSbmYyyekikwD9",je="sGj6VHKqd2s4IorAqiYI",ge="R_Dc8rJShBX3HCHsoSsq",be="dAPXjNmPLJI6x_sXJwAp",pe="cRB7yMdTUrWxDud8Uqvi",Ne="RTHphmJ9fFJyJWFe9Kwt",ye="cm9IUdJYVsbGCooedALf",ke="SN5MVM1k5tAxwKeA7WDr",Se="Bpdhrb_he3jzWLv40DpE",Ce="rV7v8LWgSCAQH6wodc1N",Re="fD6FfGUH4oiEHvaEXITg",Ie="egK4lu76sYvMmma40Vng",Ee="RItf9PObrjsfieRog2Jj",we="j1tGXZDi8vflz1A_NWQU",Ae="EpVUADOpqlfkLFcs9tW4",Le="kp0akgKlDKFzAq4rimAA",De="Qv8skgTQdi726aBDU7h1",Te="oiz3mGNiTftvX5tHHGdT",Pe="jaX1TSMeWI3kuiSaau2B",Fe="dk6yb9gfDFu9V6rM1BdS",_e="mABzBE2Irar9vYpZdr9u",Oe="Ipv3_ecgOssTDK4Z4uYg",Ue="TkNHSTmRSrRuhd5EpRQg",Be="ZV8pEC8PUrYmlL0YmteP",We="V9CrlOWUnPzlcVRfUjy7",ze="Pvf7VacWGW22R2cyG3RZ";var Ze=function(e){var i=e.showOnlineIndicator;return(0,O.jsxs)("div",{className:Pe,children:[(0,O.jsxs)("div",{className:Fe,children:[(0,O.jsx)(me.v,{size:"medium"}),i?(0,O.jsx)("div",{className:_e}):null]}),(0,O.jsxs)("div",{className:Oe,children:[(0,O.jsx)("div",{className:R()(Ue,Be)}),(0,O.jsx)("div",{className:Ue}),(0,O.jsx)("div",{className:Ue})]})]})},He=function(){return(0,O.jsxs)("div",{"data-testid":"buddy-feed-empty-state",className:De,children:[(0,O.jsx)(u.E,{as:"p",className:Te,children:l.Ru.get("buddy-feed.let-followers-see-your-listening")}),(0,O.jsx)(Ze,{showOnlineIndicator:!0}),(0,O.jsx)(Ze,{showOnlineIndicator:!0}),(0,O.jsx)(Ze,{}),(0,O.jsx)(u.E,{as:"p",className:Te,children:l.Ru.get("buddy-feed.enable-share-listening-activity")}),(0,O.jsx)(fe.N_,{to:"/preferences",className:We,children:(0,O.jsx)(f.$,{colorSet:"invertedLight",className:ze,children:l.Ru.get("desktop.settings.settings")})})]})},Qe=(n(34518),n(68832)),Ve=(n(83234),n(77905),n(80366)),Ge=n(83643),Me=n(59739),Je=n(51943),Ye=n(54068),qe=n(64877),Ke=n(51725),Xe=n(24804),$e=n(93051),ei=n(48257),ii=n(80117),ni=n(20724),ai=function(e){var i=e.timestamp;return e.isNowPlaying?(0,O.jsx)(d.Zp,{label:l.Ru.get("time.now"),children:(0,O.jsx)(ii.A,{"aria-label":l.Ru.get("time.now"),size:"small"})}):(0,O.jsx)("span",{children:(0,ni.Z)(i)})},si=n(8016),ti=n(31683),ri=n(53607),li=n(79431),ci=n(70566),di=n(16920),oi=function(e){return Date.now()-e<9e5},ui=function(e,i){var n;switch(null===(n=(0,Ve.o_)(e))||void 0===n?void 0:n.type){case Ve.NQ.PLAYLIST:case Ve.NQ.PLAYLIST_V2:return(0,O.jsx)(Ye.W,{uri:e});case Ve.NQ.EPISODE:case Ve.NQ.SHOW:return(0,O.jsx)(qe.H,{uri:e});case Ve.NQ.ALBUM:return(0,O.jsx)(Me.h,{uri:e,artistUri:i});case Ve.NQ.ARTIST:return(0,O.jsx)(Je.t,{uri:e});default:return null}},fi=function(e){switch(e){case Ve.NQ.ALBUM:return di.c.ALBUM;case Ve.NQ.ARTIST:return di.c.ARTIST;case Ve.NQ.SHOW:return di.c.SHOW;case Ve.NQ.EPISODE:return di.c.EPISODE;case Ve.NQ.PLAYLIST:case Ve.NQ.PLAYLIST_V2:return di.c.PLAYLIST;default:return}},mi=function(e){var i,n,a,t,r,c,d,o,f,m,v,x,h,j,g,b,p,N=e.show,y=void 0===N||N,k=e.spec,S=e.friend,C=(0,s.useMemo)((function(){return S.user.imageUrl?[{url:S.user.imageUrl,width:0,height:0}]:[]}),[S.user.imageUrl]),I=(0,w.W)(),A=(0,ci.s)(),L=S.track,D=L.uri,T=(0,li.P)({uri:D},{featureIdentifier:"buddy_feed",referrerIdentifier:"buddy_feed"}),P=T.togglePlay,F=T.isPlaying,_=T.isActive,U=(0,Ve.o_)(null===(i=L.context)||void 0===i?void 0:i.uri),B=null==U?void 0:U.type,W=(0,s.useCallback)((function(){P(),I({intent:F?"pause":"play",type:"click",itemIdSuffix:"buddyfeed_play",targetUri:D});var e=k.friendRowFactory().playButtonFactory();_?F?A.logInteraction(e.hitPause({itemToBePaused:D})):A.logInteraction(e.hitResume({itemToBeResumed:D})):A.logInteraction(e.hitPlay({itemToBePlayed:D}))}),[I,F,D,k,_,P,A]),z=(0,s.useCallback)((function(e,i){A.logInteraction(k.friendRowFactory().friendRowLinkFactory({identifier:e}).hitUiNavigate({destination:i}))}),[A,k]),Z=(0,si.P)({itemUris:[D],dragLabelText:L.name}),H=Z.draggable,Q=Z.onDragStart,V=(0,si.P)({itemUris:[null===(n=L.artist)||void 0===n?void 0:n.uri],dragLabelText:null===(a=L.artist)||void 0===a?void 0:a.name}),G=V.draggable,M=V.onDragStart,J=(0,si.P)({itemUris:[null===(t=L.context)||void 0===t?void 0:t.uri],dragLabelText:null===(r=L.context)||void 0===r?void 0:r.name}),Y=J.draggable,q=J.onDragStart;return y?(0,O.jsxs)("div",{className:R()(ve),children:[(0,O.jsx)(Ge.h,{menu:ui(null===(c=L.context)||void 0===c?void 0:c.uri,null===(d=L.artist)||void 0===d?void 0:d.uri),children:(0,O.jsxs)("div",{className:be,children:[(0,O.jsx)(E.e,{label:S.user.name,width:40,userIconSize:"small",images:C,withBadge:oi(S.timestamp)}),(0,O.jsx)(ei.x,{className:pe,iconClassName:Ne,isPlaying:F,isLocked:!1,onClick:W,playAriaLabel:F?l.Ru.get("pause"):"".concat(l.Ru.get("play")," ").concat(L.artist.name," ").concat(L.name)})]})}),(0,O.jsxs)("div",{className:R()(ye),children:[(0,O.jsxs)("div",{className:ke,children:[(0,O.jsx)(u.E,{as:"p",variant:"bodySmallBold",className:R()(Se,"ellipsis-one-line"),children:(0,O.jsx)(ri.pZ,{value:"/buddyfeed_user_profile",children:(0,O.jsx)(Ge.h,{menu:(0,O.jsx)(Xe.B,{uri:S.user.uri}),children:(0,O.jsx)($e.N,{title:S.user.name,to:S.user.uri,dir:"auto",onClick:function(){return z("profile_link",S.user.uri)},children:S.user.name})})})}),(0,O.jsx)(u.E,{as:"p",variant:"marginal",className:R()(Ce),children:(0,O.jsx)(ai,{timestamp:S.timestamp,isNowPlaying:oi(S.timestamp)})})]}),(0,O.jsxs)(u.E,{as:"p",variant:"marginal",className:Re,children:[(0,O.jsx)(ri.pZ,{value:"/buddyfeed_track",children:(0,O.jsx)(Ge.h,{menu:(0,O.jsx)(Ke.P,{uri:L.uri,contextUri:null===(o=L.context)||void 0===o?void 0:o.uri,albumUri:null===(f=L.album)||void 0===f?void 0:f.uri,artists:[L.artist]}),children:(0,O.jsx)($e.N,{title:L.name,to:D,className:"ellipsis-one-line",dir:"auto",draggable:H,onDragStart:Q,onClick:function(){return z("track_link",D)},children:L.name})})}),(0,O.jsx)("span",{"aria-hidden":!0,children:" • "}),(0,O.jsx)(ri.pZ,{value:"/buddyfeed_artist",children:(0,O.jsx)(Ge.h,{menu:L.artist?(0,O.jsx)(Je.t,{uri:L.artist.uri}):null,children:(0,O.jsx)($e.N,{title:null===(m=L.artist)||void 0===m?void 0:m.name,to:null===(v=L.artist)||void 0===v?void 0:v.uri,className:"ellipsis-one-line",dir:"auto",draggable:G,onDragStart:M,onClick:function(){var e;return z("artist_link",null===(e=L.artist)||void 0===e?void 0:e.uri)},children:null===(x=L.artist)||void 0===x?void 0:x.name})})})]}),(0,O.jsx)(u.E,{as:"p",variant:"marginal",className:R()("ellipsis-one-line",Ee),children:(0,O.jsx)(ri.pZ,{value:"/buddyfeed_context",children:(0,O.jsx)(Ge.h,{menu:ui(null===(h=L.context)||void 0===h?void 0:h.uri,null===(j=L.artist)||void 0===j?void 0:j.uri),children:(0,O.jsxs)($e.N,{title:null===(g=L.context)||void 0===g?void 0:g.name,to:null===(b=L.context)||void 0===b?void 0:b.uri,className:we,draggable:Y,onDragStart:q,onClick:function(){var e;return z("context_link",null===(e=L.context)||void 0===e?void 0:e.uri)},children:[(0,O.jsx)(ti.s,{type:fi(B),iconSize:16,className:Ie}),(0,O.jsx)("span",{dir:"auto",className:"ellipsis-one-line",children:null===(p=L.context)||void 0===p?void 0:p.name})]})})})})]})]},S.user.uri):null},vi=n(57370),xi=n(33219),hi=n(31650);function ji(e){var i=e.friends,n=e.spec,t=(0,hi.D)().currentSession,r=(0,xi.y)(),l=(0,s.useState)(!0),c=(0,a.A)(l,2),d=c[0],o=c[1],u=!(null!=t&&t.active)&&r&&d&&(0,O.jsx)("li",{className:he,children:(0,O.jsx)(vi.p,{localStorageKey:"dismissStartJamButtonFromFriendFeed",onDismiss:function(){return o(!1)}})},"start-jam-button");return(0,O.jsx)(Qe.ZI,{flipKey:i.map((function(e){return e.user.uri})).join(""),children:(0,O.jsxs)("ul",{className:xe,children:[u,i.map((function(e,i){return(0,O.jsx)(Qe.lf,{flipId:e.user.uri,children:(0,O.jsx)("li",{children:(0,O.jsx)(mi,{friend:e,show:i<100,spec:n},e.user.uri)})},e.user.uri)}))]})})}var gi=n(95079),bi=n(94079);const pi="b2SEzDk24rotrI10MXdF",Ni="t9jTliz65IhcE00IWhWF",yi="VYPnf8PE3BUJvsXFokI9",ki="toZ5fapUYOIoayR_Mu5w",Si="jtqYCE1JHjVWZ87OQJkp",Ci="SmHefvOhwPsxdubIeuIn",Ri="wdp_F8H2mSm1ZxhlOU3I",Ii="GC_jaLrna3IwrFCrPAET";var Ei=function(e){var i=e.children,n=e.page,a=e.nodeRef,s=0===n,t=i.filter((function(e,i){return i!==n}));return(0,O.jsx)(gi.A,{component:null,children:t.map((function(e){return(0,O.jsx)(bi.A,{in:s,timeout:500,nodeRef:a,classNames:{enter:s?pi:Si,enterActive:s?Ni:Ci,exit:s?yi:Ri,exitActive:s?ki:Ii},children:e},s?"first-page":"second-page")}))})},wi=n(6980),Ai=n(96543),Li=n(91035),Di=n(72637),Ti=n(496),Pi=n(12574);const Fi=function(e){var i=e.friends,n=(0,w.W)(),o=(0,ci.s)(),u=(0,Pi.r)(r.W,{}).spec,f=(0,s.useRef)(null),m=(0,s.useRef)(null);(0,s.useEffect)((function(){n({intent:"view",type:"impression",itemIdSuffix:"buddyfeed"})}),[n]),(0,s.useEffect)((function(){o.logImpression(u.impression())}),[o,u]);var v=(0,s.useState)(!1),x=(0,a.A)(v,2),h=x[0],j=x[1],g=function(){h||o.logInteraction(u.addFriendButtonFactory().hitUiReveal()),j(!h)},b=0===i.length,p=(0,s.useCallback)((function(){o.logInteraction(u.closeButtonFactory().hitUiHide())}),[o,u]);return(0,O.jsx)(Ti.ql.Provider,{value:"buddy_feed",children:(0,O.jsx)(wi._,{label:l.Ru.get("buddy-feed.friend-activity"),focusTransferId:"BUDDY-FEED",children:(0,O.jsxs)(Ei,{page:h?1:0,nodeRef:h?m:f,children:[(0,O.jsx)("div",{className:je,ref:m,children:(0,O.jsx)(ue,{onBackButtonClick:g,feedIsEmpty:b,goToAddFriends:h})}),(0,O.jsx)("div",{className:ge,ref:f,children:(0,O.jsxs)(Ai.w,{children:[(0,O.jsx)(Li.a,{title:l.Ru.get("buddy-feed.friend-activity"),panel:Di.Z.BuddyFeed,onClose:p,actions:(0,O.jsx)(d.Zp,{label:l.Ru.get("buddy-feed.add-friends"),children:(0,O.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.add-friends"),testId:"add-friends-button",size:"sm",onClick:g,icon:t.k})})}),(0,O.jsx)("div",{className:Ae,children:(0,O.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.add-friends"),className:Le,size:"sm",onClick:g,icon:t.k})}),b?(0,O.jsx)(He,{}):(0,O.jsx)(ji,{friends:i,spec:u})]})})]})})})}}}]); //# sourceMappingURL=xpui-routes-buddy-feed-legacy.js.map