loader.TweetCurationActionMenu.b2c7a23a.js 44 KB

12
  1. "use strict";(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["loader.TweetCurationActionMenu","loader.FeedbackSheet"],{58355:(e,t,n)=>{n.d(t,{Z:()=>I});var i=n(7896),o=(n(6886),n(2784)),s=n(4642),r=n(12408),a=n(25686),l=n(36934),c=n(27519),d=n(29496),m=n(73186),u=n(79404),h=n.n(u),p=n(68117),b=n(40685),v=n(35102),_=n(1815),w=n(96014);const C=h().g6185a9e,y=h().g2d04222,f=h().baffe39a,T=h().af293dc2,g=h().h1053f7e,E=h().bf994ab2,k=h().cf7f7e3a,x=h().cfd2f35e,A=m.Z.create((e=>({root:{flexDirection:"column",paddingTop:e.spaces.space16,paddingBottom:e.spaces.space4,borderRadius:e.borderRadii.xLarge},popover:{maxWidth:5*e.spacesPx.space64},modal:{borderRadius:e.borderRadii.none},title:{flexDirection:"column",paddingHorizontal:e.spaces.space16,marginBottom:e.spaces.space12},menuRow:{flexDirection:"row",paddingTop:e.spaces.space12,paddingBottom:e.spaces.space12,alignItems:"center",borderRadius:e.borderRadii.small},cancelButton:{marginHorizontal:e.spaces.space16,marginVertical:e.spaces.space16}}))),Z=e=>{var t,n;const{dismiss:i,isModal:s,midConversationTweet:r,value:m}=e,u=t=>()=>{e.onChange(t),e.dismiss()},h=!!r,Z=h&&!(null!=r&&null!=(t=r.entities)&&null!=(n=t.user_mentions)&&n.some((e=>e.id_str!==r.user.id_str)));let I=g;return Z?I=E:h&&(I=k),o.createElement(a.Z,{accessibilityDescribedBy:"conversation-controls-details",accessibilityLabelledBy:"conversation-controls-title",accessibilityRole:"dialog",style:[A.root,s?A.modal:A.popover]},o.createElement(a.Z,{style:A.title},o.createElement(l.ZP,{nativeID:"conversation-controls-title",weight:"bold"},C),o.createElement(l.ZP,{color:"gray700",nativeID:"conversation-controls-details",size:"body"},y)),o.createElement(a.Z,null,o.createElement(c.Z,{Icon:p.Z,actionText:f,isSelected:w.k.all===m,onClick:u(w.k.all),selectable:!0,style:A.menuRow,withIconAsThumbnail:!0}),o.createElement(c.Z,{Icon:b.Z,actionText:T,isSelected:w.k.community===m,onClick:u(w.k.community),selectable:!0,style:A.menuRow,withIconAsThumbnail:!0}),o.createElement(c.Z,{Icon:Z?v.Z:_.Z,actionText:I,isSelected:w.k.by_invitation===m,onClick:u(w.k.by_invitation),selectable:!0,style:A.menuRow,withIconAsThumbnail:!0}),e.isModal?o.createElement(d.ZP,{key:"button_cancel",onPress:i,size:"large",style:A.cancelButton,type:"primaryOutlined"},x):null))},I=e=>{const{children:t,controlled:n=!1,disabled:a}=e,[l,c]=o.useState(!1),d=o.useCallback((()=>c(!0)),[]),m=o.useCallback((()=>c(!1)),[]),u=n?l?s.Z.VISIBILITY_BEHAVIOR.forceVisible:s.Z.VISIBILITY_BEHAVIOR.forceHidden:void 0,h="function"==typeof t?t({openPopover:d,closePopover:m}):t;return o.createElement(r.Z,{disabled:a,onDismiss:m,renderContent:(t,n)=>{const{children:s,controlled:r,...a}=e;return o.createElement(Z,(0,i.Z)({},a,{dismiss:t,isModal:"sheet"===n}))},visibilityBehavior:u},h)}},68767:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});n(6886),n(36728);var i=n(2784),o=n(44487),s=n(84292),r=n(79404),a=n.n(r),l=n(16587);const c=a().cfd2f35e;class d extends i.Component{constructor(...e){super(...e),this.state={activeConfirmation:null},this._handleConfirm=e=>{this.setState({activeConfirmation:e})},this._handleConfirmed=()=>{this.state.activeConfirmation&&this.state.activeConfirmation.confirmCallback(),this.setState({activeConfirmation:null}),this.props.onClose()},this._handleCancelConfirm=()=>{var e,t;this.state.activeConfirmation&&(null==(e=(t=this.state.activeConfirmation).cancelCallback)||e.call(t)),this.setState({activeConfirmation:null})},this._getMemoizedProcessedActionItems=(0,l.Z)(((e,t,n,i)=>e.reduce(((e,{Icon:o,behavioralEventContext:s,confirmation:r,disabled:a,excludeFromActionMenu:l,isEmphasized:c,link:d,onClick:m,subText:u,testID:h,text:p,withCancelButton:b},v)=>{if(!l){const l=m?()=>{r?r.render?i({cancelCallback:r.onCancel,confirmCallback:m,render:r.render}):i({cancelCallback:r.onCancel,confirmCallback:m,text:r.text,headline:r.headline,label:r.label,confirmButtonType:r.confirmButtonType,withCancelButton:r.withCancelButton}):(m(),n())}:n;e.push({behavioralEventContext:s,disabled:a,Icon:o,isEmphasized:c,testID:h,subText:u,text:p,onClick:l,link:d,withBottomBorder:t&&t.includes(v)})}return e}),[])))}render(){const{onClose:e}=this.props,{activeConfirmation:t}=this.state;return t?this._renderConfirmation(t):i.createElement(o.Z,{cancelButtonLabel:c,items:this._getProcessedActionItems(),onCloseRequested:e})}_renderConfirmation(e){if(e&&e.render)return e.render(this._handleConfirmed,this._handleCancelConfirm);{const{confirmButtonType:t,headline:n,label:o,text:r,withCancelButton:a}=e||{};return i.createElement(s.Z,{confirmButtonLabel:o,confirmButtonType:t,headline:n,onCancel:this._handleCancelConfirm,onConfirm:this._handleConfirmed,text:r,withCancelButton:a})}}_getProcessedActionItems(){const{actionItems:e,dividerIndices:t,onClose:n}=this.props;return this._getMemoizedProcessedActionItems(e,t,n,this._handleConfirm)}}const m=d},33663:(e,t,n)=>{n.d(t,{ZP:()=>d});var i=n(79404),o=n.n(i),s=n(63014),r=n(99628);const a=o().c66afdc3,l=o().hbe4feb5,c=o().e1618e49,d=({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,follow:i,promotedContent:o,scribeAction:d,user:m})=>({behavioralEventContext:{viewType:"follow"},text:a({screenName:m.screen_name}),onClick:()=>{i(m.id_str,{promotedContent:o}).then((()=>{d({element:"follow"}),m.protected?e({text:l({screenName:m.screen_name}),behavioralEventEntityToken:t}):e({text:c({screenName:m.screen_name}),behavioralEventEntityToken:t})}),n({...r.H,showToast:!0})),d({element:"follow_attempt"})},Icon:s.Z})},57751:(e,t,n)=>{n.d(t,{Z:()=>l});var i=n(95024),o=n(50813),s=n(75455),r=n(18013),a=n(66961);const l=({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,dismissUserFromConversation:l,mute:c,promotedContent:d,scribeAction:m,unmute:u,user:h})=>{const p=()=>{u(h.id_str,{promotedContent:d}).then((()=>{e({text:(0,o.X6)(h.screen_name),behavioralEventEntityToken:t})}),n(r.G)),m({element:"unmute"})},{Icon:b,behavioralEventContext:v,onClick:_,text:w}=(0,o.N1)(h,(()=>{c(h.id_str,{promotedContent:d}).then((()=>{l&&l({userId:h.id_str,feedbackKeys:["UnfollowEntity"]}),e({action:{label:i.d,onAction:p,behavioralEventViewType:"unmute_person"},behavioralEventEntityToken:t,text:(0,o.FK)(h.screen_name)})}),n(s.W)),m({element:"mute"})}),p);return{behavioralEventContext:v,Icon:b,text:w,onClick:_,shortcutKey:a.uq.mute}}},43354:(e,t,n)=>{n.d(t,{Z:()=>c});var i=n(79404),o=n.n(i),s=n(46072),r=n(90112);const a=o().ja66a2b5,l=o().c2423b7b,c=({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,promotedContent:i,scribeAction:o,unfollow:c,user:d})=>({behavioralEventContext:{viewType:"unfollow"},text:a({screenName:d.screen_name}),onClick:()=>{c(d.id_str,{promotedContent:i}).then((n=>{e({behavioralEventEntityToken:t,text:l({screenName:d.screen_name})})}),n(r.X)),o({element:"unfollow"})},Icon:s.Z})},34582:(e,t,n)=>{n.r(t),n.d(t,{CONVERSATION_CONTROLS_ANALYTICS:()=>kn,TweetCurationActionMenu:()=>xn,default:()=>An});var i=n(7896),o=(n(6886),n(36728),n(2784)),s=n(25686),r=n(25494),a=n(44173),l=n(73186),c=n(79404),d=n.n(c),m=n(1206),u=n(58355),h=n(96014);const p=Object.freeze({all:d().baffe39a,community:d().af293dc2,by_invitation:d().cf7f7e3a}),b=d().bf994ab2,v=(e,t)=>{let n=p[t];if(t===h.k.by_invitation){var i,s;!(null!=(i=e.entities)&&null!=(s=i.user_mentions)&&s.some((t=>t.id_str!==e.user.id_str)))&&(n=b)}return o.createElement(d().I18NFormatMessage,{$i18n:"f8ea2809",selection:n})};var _=n(68767),w=n(35953),C=n(44329),y=n(88990);const f=n.p+"twitter-blue-upsell.e6b2739a.png",T=d().h3032750,g=d().f5b3dc1e,E=d().j94840a6,k=d().ad4d29c6,x=d().e96fe588,A=({style:e})=>o.createElement(s.Z,{style:e},o.createElement(w.Z,{accessibilityLabel:E,aspectMode:C.Z.exact(1.5),image:f})),Z=({history:e,onClose:t})=>{const n=o.useCallback((()=>((e,t)=>{e.push("/i/twitter_blue_sign_up?referring_page=edit-with-twitter-blue-upsell-half-cover-prompt"),t()})(e,t)),[e,t]);return o.createElement(y.Z,{actionLabel:T,graphic:A,graphicDisplayMode:"illustrationFullWidth",headline:k,isFullHeightOnMobile:!1,onAction:n,onClose:t,onSecondaryAction:t,secondaryActionLabel:g,subtext:x,withCloseButton:!0})};var I=n(29496),L=n(18958);const R=d().e839db3a,S={label:R},H=l.Z.create((e=>({closeIcon:{color:e.colors.gray700},button:{position:"absolute",end:0}}))),D=o.createElement(L.Z,{style:H.closeIcon}),M={viewType:"hide_tweet"},z=({onClick:e})=>o.createElement(I.ZP,{accessibilityLabel:R,behavioralEventContext:M,borderColor:"transparent",color:"gray1100",hoverLabel:S,icon:D,onClick:e,pullRight:!0,size:"small",style:H.button,type:"brandText"});var B=n(60007),U=n(23021),F=n(19565);const O={defaultToast:{text:d().ae0c5fbe},showToast:!0};var P=n(17772),N=n(90968),V=n(76275),W=n(6614),$=n(76687),j=n(29170),X=n(19313),G=n(23507),q=n(4326),Y=n(92160);const K=e=>(0,j.t5)(e,j.FX),J=(0,Y.Z)().propsFromState((()=>({shouldShowConversationControlsTip:K}))).propsFromActions((()=>({addFlag:j.pj}))),Q=d().bae0cbc0,ee=l.Z.create((e=>({inlineCallout:{position:"absolute",end:e.spaces.space32,marginTop:e.spaces.space2,zIndex:1},textStyle:{whiteSpace:"nowrap"}}))),te=J((({addFlag:e,shouldShowConversationControlsTip:t})=>{const n=o.useRef(),i=(0,q.R)(n),r=o.useRef(!1),{featureSwitches:a}=o.useContext(X.rC),l=a.isTrue("conversation_controls_change_tooltip_enabled"),c=t&&l;return o.useEffect((()=>{i&&(r.current=!0,setTimeout((()=>{e(j.FX)}),5e3))}),[i,e]),o.useEffect((()=>()=>{r.current&&e(j.FX)}),[]),o.createElement(s.Z,{ref:n,style:ee.inlineCallout},i&&c?o.createElement(G.Z,{text:Q,textStyle:ee.textStyle,withRightArrow:!0}):null)}));var ne=n(10023),ie=n(35932);var oe=n(10870);const se="analytics",re="block",ae="pin",le="unpin",ce="report",de="edit",me="editWithTwitterBlue",ue="whyThisAd",he=d().fb4ee11c;var pe=n(9525);const be=d().e6901eec;var ve=n(57596);const _e=d().ef1042f8,we=(e,{scribeAction:t,tweetId:n})=>({text:e.isTrue("responsive_web_birdwatch_hcomp_user")?"Write a note [research]":_e,onClick:()=>{t({element:"contribute_to_birdwatch"})},link:{pathname:`/i/communitynotes/contribute/${n}`},Icon:ve.Z});var Ce=n(64843);const ye=d().bae0cbc0,fe=d().feb7560a;var Te=n(22685),ge=n(46874);const Ee=d().d96cf7ce,ke=d().dd211108,xe=d().c55d72d0,Ae=d().if66bdd2,Ze=d().a1aa840e,Ie=d().c189f2de;var Le=n(75275),Re=n(69165),Se=n(20845);const He=d().ea41975c,De=d().aa38e198;var Me=n(51231);const ze=d().e6c84638;var Be=n(33663),Ue=n(84292),Fe=n(21783),Oe=n(42269);const Pe=d().ge5067bc,Ne=d().ea626ab4,Ve=d().fc716886,We=`${d().f2a2a06e}\n\n${d().f82c0bb0}`,$e=d().b2615c6d,je=d().i62a03aa,Xe=d().cfd2f35e,Ge=d().a6450e84,qe=d().hb279a11,Ye=({addFlag:e,addToast:t,behavioralEventEntityToken:n,createLocalApiErrorHandler:i,hideReply:s,onBlock:r,onTweetDismiss:a,scribeAction:l,shouldShowHideReplyTip:c,tweet:d})=>{const m=()=>{l({element:"moderated_replies_prompt",action:"impression"})};return{confirmation:c?{render:(e,t)=>(({onConfirm:e,onCancel:t,onHideReplyImpression:n=(()=>{})})=>o.createElement(y.Z,{actionLabel:Pe,graphic:Fe.Z,headline:Ve,onAction:e,onClose:t,onImpression:n,onTertiaryAction:t,subtext:We,supportUrl:"https://help.twitter.com/en/using-twitter/mentions-and-replies?lang=browser#hidden-reply",tertiaryActionLabel:Xe}))({onConfirm:e,onCancel:t,onHideReplyImpression:m})}:{render:(e,t)=>{const{user:{screen_name:n}}=d;return o.createElement(Ue.Z,{cancelButtonLabel:je,confirmButtonLabel:Ge,confirmButtonType:"destructiveFilled",headline:$e({screenName:n}),onCancel:e,onConfirm:()=>{r(),e()},text:qe({screenName:n})})}},text:Pe,onClick:()=>{e(j.f8),s(d.id_str,{conversation_id:d.conversation_id_str}).then((e=>{a&&a(),t({text:Ne,behavioralEventEntityToken:n})}),i({showToast:!0})),l({element:"moderate_reply"})},Icon:Oe.Z}};var Ke=n(37556),Je=n(36840);const Qe=d().f20b040e;var et=n(38267),tt=n(56499);const nt=(0,tt.Z)({loader:()=>n.e("ondemand.LeaveThisConversation").then(n.bind(n,5643))}),it=d().bb16cc76,ot=d().de21174c,st=(e,t)=>o.createElement(nt,{onCancel:t,onConfirm:e});var rt=n(57751),at=n(2359),lt=n(49511),ct=n(42203);const dt=d().e2d6c17e,mt=d().cd1942f4,ut=d().bbd8bed6,ht=d().c13af432,pt=d().gf5e9ea6,bt=d().df744bda,vt=d().j9552760,_t=d().cfd2f35e,wt=d().d751694c,Ct=({addFlag:e,addToast:t,behavioralEventEntityToken:n,createLocalApiErrorHandler:i,muteTweet:s,scribeAction:r,shouldShowMuteEducationTip:a,tweet:l,unmuteTweet:c})=>{const d=()=>{e(j.EM)},m=()=>{c(l.id_str).then((()=>{t({text:ht,behavioralEventEntityToken:n})}),(e=>{i({showToast:!0})(e),r({element:"unmute_conversation_error"})})),r({element:"unmute_conversation"})},u={behavioralEventContext:{viewType:"mute_conversation"},text:dt,onClick:()=>{s(l.id_str).then((()=>{t({action:{label:pt,onAction:m,behavioralEventViewType:"unmute_conversation"},behavioralEventEntityToken:n,text:ut})}),(e=>{i({showToast:!0})(e),r({element:"mute_conversation_error"})})),r({element:"mute_conversation"})},confirmation:a?{render:(e,t)=>o.createElement(y.Z,{actionLabel:bt,graphic:at.Z,graphicDisplayMode:"illustration",headline:vt,onAction:e,onClose:t,onImpression:d,onTertiaryAction:t,subtext:wt,supportUrl:"https://support.twitter.com/articles/20175032",tertiaryActionLabel:_t})}:void 0,Icon:lt.Z},h={behavioralEventContext:{viewType:"unmute_conversation"},text:mt,onClick:m,Icon:ct.Z};return l.conversation_muted?h:u};var yt=n(25479);const ft=d().ha35a1d2,Tt=d().afac3b9e,gt=d().e2d44cea,Et=d().c5d23126,kt=d().aaef1b48,xt=d().d1c1e2c2,At=(0,tt.Z)({loader:()=>Promise.all([n.e("shared~bundle.Conversation"),n.e("ondemand.CommunityTweetPinning")]).then(n.bind(n,81789))}),Zt=d().f5cdcc2c;var It=n(75733);const Lt=d().jcba15d2;var Rt=n(42922);const St=d().b99364a5;var Ht=n(7394),Dt=n(85586);const Mt=d().e68b09b4,zt=d().g9425e30,Bt=d().jfc76958;var Ut=n(83882),Ft=n(92748);const Ot=d().f1824804,Pt=d().ff9bd692,Nt=d().e3fd237e,Vt=d().d1e21610,Wt=({analytics:e,featureSwitches:t,history:n,isAppealTweetWarning:i=!1,onReportClick:o,promotedContent:s,reporterCountry:r,reporterLanguage:a,scribeAction:l,tweet:c})=>{let d={element:"report_tweet"},m="/i/report/status",u=Je.C2.Tweet,h=Ut.Z,p=s?Nt:Pt;i&&(d={element:"appeal_tweet_warning"},m="/i/report/appeal_tweet_warning",u=Je.C2.AppealTweetWarning,h=Ft.Z,p=Ot);return{behavioralEventContext:{viewType:"report"},Icon:h,onClick:()=>{var i,r,a,h,p;const b=e.contextualScribeData,v=((null==c||null==(i=c.extended_entities)||null==(r=i.media)?void 0:r.length)||0)>0,_=b.items&&b.items[0]&&(null==(a=b.items[0].conversation_details)?void 0:a.conversation_section);l(d),null==o||o();if(!(c.community_id_str||"745291183405076480:broadcast"===(null==(h=c.card)?void 0:h.name)||"3691233323:periscope_broadcast"===(null==(p=c.card)?void 0:p.name)||s)&&(0,Je.Yw)(t,u)){const t=(0,Je.j_)({clientReferer:window.location.pathname,conversationSection:_,isMedia:v,isPromoted:void 0!==s,reportType:u,reportedTweet:c,reportedUser:c.user.id_str,scribeNamespace:e.contextualScribeNamespace});n.push({pathname:"/i/safety/report_story_start",state:{input:{requested_variant:JSON.stringify(t)}}})}else n.push({pathname:`${m}/${c.id_str}`,state:{clientReferer:window.location.pathname,conversationSection:_,isMedia:v,promotedContent:s,scribeNamespace:e.contextualScribeNamespace}})},testID:ce,text:p}};var $t=n(43354),jt=n(83410);const Xt=d().i31dfa4c,Gt=d().j8e56ba2,qt=d().ic030338,Yt=d().j1b8c868,Kt=d().eb2d59f4,Jt=d().j44ec610,Qt=d().i0086d6c;var en=n(4716);const tn=d().b5bb710e,nn=(0,tt.Z)({loader:()=>Promise.all([n.e("shared~bundle.Conversation"),n.e("ondemand.CommunityTweetPinning")]).then(n.bind(n,67595))}),on=d().f9478972;var sn=n(23335),rn=n(72314),an=n(35555),ln=n(70083),cn=n(67935),dn=n(99629),mn=n(30102),un=n(72504),hn=n(57659);const pn=(e,t)=>(0,j.t5)(e,j.EM),bn=(e,t)=>(0,j.t5)(e,j.f8),vn=e=>(0,j.t5)(e,j.FX),_n=(e,t)=>(0,rn.n9)(e,t.tweet),wn=(e,t)=>(0,rn.z0)(e,t.tweet),Cn=e=>(t,n,{featureSwitches:i})=>Promise.all([t(mn.ZP.delete(e)),t((0,un.ZP)({focalTweetId:e,featureSwitches:i}).deleteTimeline())]),yn=(0,Y.Z)().propsFromState((()=>({userCountry:cn.GG,userLanguage:cn.VT,shouldShowMuteEducationTip:pn,shouldShowHideReplyTip:bn,shouldShowConversationControlsTip:vn,disableRemoveFromCommunity:_n,community:wn}))).propsFromActions((()=>({addFlag:j.pj,addToast:dn.fz,block:hn.ZP.block,changeConversationControls:mn.ZP.changeConversationControls,createLocalApiErrorHandler:(0,sn.createLocalApiErrorHandlerWithContextFactory)("TWEET_CURATION_ACTION_SHEET_CONTAINER"),deleteTweet:Cn,dismissUserFromConversation:un.f0,follow:hn.ZP.follow,hideReply:mn.ZP.hideReply,unmentionUserFromConversation:mn.ZP.unmentionUserFromConversation,mute:ln.r,muteTweet:mn.ZP.mute,pin:an.Yd,removeConversationControls:mn.ZP.removeConversationControls,removeTag:mn.ZP.removeTag,unblock:hn.ZP.unblock,unfollow:hn.ZP.unfollow,unhideReply:mn.ZP.unhideReply,unmute:hn.ZP.unmute,unmuteTweet:mn.ZP.unmute,unpin:an.oc}))).withAnalytics(),fn=d().e133be4e,Tn=d().a9fd20be,gn=["hideTweet","removeCommunityMember","delete","appealTweetWarning","pinOrUnpin","promotedTweetDismiss","adInfo","removeTag","feedbackOptions","followOrUnfollow","addOrRemoveFromList","muteOrUnmute","muteOrUnmuteConversation","leaveConversation","changeConversationControls","blockOrUnblock","removeAutoblock","hideReply","unhideReply","embed","report","reportNetzDG","analytics","edit","viewHiddenReplies","birdwatch","pinCommunityTweet","unpinCommunityTweet"],En=["feedbackOptions","followOrUnfollow","muteOrUnmute","blockOrUnblock","report"],kn=Object.freeze({all:"change_conversation_control_to_everyone",community:"change_conversation_control_to_community",by_invitation:"change_conversation_control_to_mentioned",followers:"change_conversation_control_to_followers",community_members:"community_members",community_hidden_tweet:"community_hidden_tweet",super_followers_exclusive:"super_followers_exclusive",community_tweet_member_removed:"community_tweet_member_removed",trusted_friends_tweet:"trusted_friends_tweet"});class xn extends o.Component{constructor(...e){super(...e),this.state={showModerationBlockConfirmation:!1,showEditWithTwitterBlueSheet:!1},this._shouldDisable=ne.$y.bind(null,this.context.featureSwitches),this._birdwatchAction=we.bind(null,this.context.featureSwitches),this._shouldRenderSectionDividers=this.context.featureSwitches.isTrue("responsive_web_menu_section_divider_enabled"),this._editTweetCompositionEligible=this.context.featureSwitches.isTrue("responsive_web_edit_tweet_composition_enabled"),this._editTweetCompositionEnabledForUser=()=>{const{featureSwitches:e,userClaims:t}=this.context,n=t.isTrueAndEnabled("subscriptions_feature_labs_1004"),i=e.isTrue("responsive_web_edit_tweet_enabled");return this._editTweetCompositionEligible&&(n||i)},this._birdwatchNoteWritingEnabled=this.context.featureSwitches.isTrue("responsive_web_birdwatch_note_writing_enabled"),this._convoControlsEnabled=this.context.featureSwitches.isTrue("conversation_controls_change_enabled"),this._shouldHandleBlockTrigger=this.context.featureSwitches.isTrue("responsive_web_drew_timeline_block_enabled"),this._onMenuClick=()=>{const{addFlag:e,onMenuClick:t,shouldShowConversationControlsTip:n,withChangeConversationControlsTooltip:i}=this.props;n&&i&&e(j.FX),t&&t()},this._handleOnClickEditWithTwitterBlue=()=>{this.setState({showEditWithTwitterBlueSheet:!0})},this._handleOnCloseEditWithTwitterBlueSheet=()=>{this.setState({showEditWithTwitterBlueSheet:!1})},this._renderTwitterBlueUpsellSheet=()=>{const{history:e}=this.props;return this.state.showEditWithTwitterBlueSheet?o.createElement(Z,{history:e,onClose:this._handleOnCloseEditWithTwitterBlueSheet}):null},this._handleOnChangeConversationControls=e=>{const{addToast:t,analytics:n,behavioralEventEntityToken:i,changeConversationControls:o,createLocalApiErrorHandler:s,removeConversationControls:r,tweet:a}=this.props,l=v(a,e);var c;e===h.k.all?r&&r(a.id_str).then((()=>{t({text:l,behavioralEventEntityToken:i}),n.scribe({element:kn.all,action:"click",data:{items:[V.Z.getChangeConversationControlsItem(a,e)]}})}),s(O)):o&&o(a.id_str,{policy:e,screenName:null==(c=a.user)?void 0:c.screen_name}).then((()=>{t({text:l,behavioralEventEntityToken:i}),n.scribe({element:kn[e],action:"click",data:{items:[V.Z.getChangeConversationControlsItem(a,e)]}})}),s(O))},this._renderCurationActionMenu=e=>t=>{const[n,i]=this._getActionItemsAndDividerIndices(e);return o.createElement(_.default,{actionItems:n,dividerIndices:this._shouldRenderSectionDividers?i:void 0,onClose:t})},this._getMuteOrUnmuteAction=()=>{const{addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,dismissUserFromConversation:i,mute:o,promotedContent:s,tweet:r,unmute:a}=this.props,{user:l}=r,c={addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,scribeAction:this._scribeAction};return(0,rt.Z)({...c,mute:o,unmute:a,user:l,dismissUserFromConversation:i,promotedContent:s})},this._getEditTweetAction=()=>{const{tweet:e}=this.props,{featureSwitches:t,loggedInUserId:n,userClaims:i}=this.context,{user:o}=e,s=this._scribeAction,r=((e,{isUserTweetAuthor:t})=>{var n,i,o;const s=null==(n=e.edit_control)||!n.editable_until_msecs||new Date>new Date(parseInt(e.edit_control.editable_until_msecs,10)),r="0"===(null==(i=e.edit_control)?void 0:i.edits_remaining),a=!(null==(o=e.edit_control)||!o.is_edit_eligible),l="Twitter Web App"===e.source_name||"TweetDeck Web App"===e.source_name,c=e.user.pinned_tweet_ids_str,d=Array.isArray(c)&&c.some((t=>t===e.id_str));return t&&!s&&!r&&!e.isStaleEdit&&a&&l&&!d})(e,{isUserTweetAuthor:o.id_str===n})&&!(0,ne.$y)(t,e,ne.d.Edit);if(r){if(this._editTweetCompositionEnabledForUser())return(({scribeAction:e,tweet:t})=>{var n,i,o;const s=null!=t.full_text?Le.ZP.tweetTextParts(t.full_text,t.display_text_range,t.entities).map((e=>{switch(e.entityType){case"cashtag":case"emoji":case"hashtag":case"mention":case"text":return`${e.prefix||""}${(0,Re.Tz)(e.text)}`;case"media":case"url":return e.expandedUrl;default:return""}})).join(""):"";return{onClick:()=>{e({element:"edit"})},text:He,Icon:Se.Z,link:{pathname:"/compose/tweet",state:{previousTweetId:t.id_str,defaultText:s,quotedStatusId:null==(n=t.quoted_status)?void 0:n.id_str,hideUnsentTweetsButton:!0,editableUntil:null==(i=t.edit_control)?void 0:i.editable_until_msecs,isLastEdit:"1"===(null==(o=t.edit_control)?void 0:o.edits_remaining)}},testID:de}})({scribeAction:s,tweet:e});if(!this._editTweetCompositionEnabledForUser()&&this._editTweetCompositionEligible&&!i.isTwitterBlueSubscriber()&&t.isTrue("subscriptions_sign_up_enabled")&&t.isTrue("responsive_web_edit_tweet_upsell_enabled"))return(({onClick:e,scribeAction:t,tweet:n})=>({onClick:()=>{t({element:"edit-upsell"}),e()},text:De,Icon:Se.Z,testID:me}))({tweet:e,scribeAction:s,onClick:this._handleOnClickEditWithTwitterBlue})}return null},this._getActionItemsAndDividerIndices=e=>{const{deleteTweet:t,follow:n,hideReply:i,muteTweet:o,pin:s,removeTag:a,unmentionUserFromConversation:l,unmuteTweet:c,unpin:d}=this.props,{addFlag:m,addToast:u,analytics:h,behavioralEventEntityToken:p,createLocalApiErrorHandler:b,feedbackItems:v,history:_,isPinned:w,onDeleteTweet:C,onTweetDismiss:y,onTweetReport:f,promotedContent:T,shouldShowHideReplyTip:g,shouldShowMuteEducationTip:E,tweet:k,userCountry:x,userLanguage:A,withChangeConversationControls:Z,withHideReply:I,withMuteConversation:L,withUnhideReply:R,withViewHiddenReplies:S}=this.props,{featureSwitches:H,loggedInUserId:D,userClaims:M}=this.context,{user:z}=k,B=[],F=r.Z.isPromoted(T),O={},P=[],N=this._scribeAction,V={addToast:u,behavioralEventEntityToken:p,createLocalApiErrorHandler:b,scribeAction:N},W=z.id_str===D;Object.assign(O,this._getCommunityActions()),F&&(O.adInfo=(({promotedContent:e,scribeAction:t})=>{if(!e||!e.impression_id)return;const{impression_id:n}=e;return{behavioralEventContext:{viewType:"ad_info"},text:he,Icon:oe.Z,link:{pathname:`/i/about-this-ad/${n}`},onClick:()=>{t&&t({element:"whythisad"})},testID:ue}})({promotedContent:T,scribeAction:N})),W&&!this._shouldDisable(k,ne.d.ViewTweetActivity)&&(O.analytics=(({scribeAction:e,tweet:t})=>({text:be,onClick:()=>{e({element:"analytics"})},link:`/${t.user.screen_name}/status/${t.id_str}/analytics`,Icon:pe.Z,testID:se}))({tweet:k,scribeAction:N})),z.protected||this._shouldDisable(k,ne.d.Embed)||(O.embed=(({permalink:e,scribeAction:t})=>({behavioralEventContext:{viewType:"embed"},text:ze,onClick:()=>{const n=`https://publish.twitter.com/?url=https://twitter.com${e}`;window.open(n,"_blank"),t({element:"embed_tweet"})},Icon:Me.Z}))({permalink:k.permalink,scribeAction:N}));const $=this._getEditTweetAction();if($&&(O.edit=$),S&&k.conversation_id_str===k.id_str&&!this._shouldDisable(k,ne.d.ViewHiddenReplies)&&(O.viewHiddenReplies=(({permalink:e,scribeAction:t})=>({text:on,link:`${e}/hidden`,onClick:()=>{t({element:"view_moderated_replies"})},Icon:Oe.Z}))({permalink:k.permalink,scribeAction:N})),((e,t)=>{var n,i,o;const s=(null==(n=t.extended_entities)?void 0:n.media)&&t.extended_entities.media[0]&&(null==(i=t.extended_entities.media[0].features)||null==(o=i.all)?void 0:o.tags);return!!s&&(0,Dt.Z)(s,(t=>t.user_id===e))})(D,k)&&(O.removeTag=(({createLocalApiErrorHandler:e,loggedInUserId:t,removeTag:n,tweet:i})=>({behavioralEventContext:{viewType:"remove_tag"},confirmation:{label:Mt,headline:zt},text:Bt,onClick:()=>{var o,s;const r=null==(o=i.extended_entities)||null==(s=o.media)?void 0:s.map((e=>e.id_str)).join(",");n(i.id_str,{status_id:i.id_str,media_ids:r,tagged_user_ids:t}).catch(e({showToast:!0}))},Icon:Ht.Z}))({createLocalApiErrorHandler:b,loggedInUserId:D,removeTag:a,tweet:k})),((e,t)=>{var n,i,o;if(!e)return!1;const s=null==(n=t.entities)||null==(i=n.user_mentions)?void 0:i.some((t=>t.id_str===e)),r=t.in_reply_to_user_id_str===e,a=s||r,l=null==(o=t.unmentioned_user_ids)?void 0:o.includes(e);return a&&!l})(D,k)&&H.isTrue("dont_mention_me_enabled")&&(O.leaveConversation=(({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,scribeAction:i,tweet:o,unmentionUserFromConversation:s})=>({behavioralEventContext:{viewType:"leave_conversation"},confirmation:{render:st},text:it,onClick:()=>{s(o.id_str).then((()=>{e({behavioralEventEntityToken:t,text:ot})}),n({showToast:!0})),i({element:"leave_conversation"})},Icon:et.Z}))({...V,unmentionUserFromConversation:l,tweet:k})),D)if(z.blocking||this._shouldDisable(k,ne.d.ListsAddRemove,void 0,W)||(O.addOrRemoveFromList=(({scribeAction:e,user:t})=>(0,ie.k)(t,(()=>{e({element:"add_to_list"})})))({user:z,scribeAction:N})),this._birdwatchNoteWritingEnabled&&!k.isStaleEdit&&(O.birdwatch=this._birdwatchAction({scribeAction:N,tweetId:k.id_str})),W)w?O.pinOrUnpin=(({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,scribeAction:i,tweetId:o,unpin:s})=>({confirmation:{text:Kt,headline:Yt,label:Jt},testID:le,text:qt,onClick:()=>{s(o).then((()=>{e({text:Qt,behavioralEventEntityToken:t})}),n({showToast:!0})),i({element:"unpin"})},Icon:yt.Z}))({...V,tweetId:k.id_str,unpin:d}):this._shouldDisable(k,ne.d.PinToProfile)||(O.pinOrUnpin=(({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,pin:i,scribeAction:o,tweetId:s})=>({confirmation:{text:gt,headline:Tt,label:Et},testID:ae,text:ft,onClick:()=>{i(s).then((()=>{e({text:kt,behavioralEventEntityToken:t})}),n({showToast:!0})),o({element:"pin"})},Icon:yt.Z}))({...V,pin:s,tweetId:k.id_str})),this._shouldIncludeTweetAppealOption()&&(O.appealTweetWarning=Wt({analytics:h,history:_,isAppealTweetWarning:!0,promotedContent:T,scribeAction:N,tweet:k,featureSwitches:H,onReportClick:f,reporterCountry:x,reporterLanguage:A})),L&&!this._shouldDisable(k,ne.d.MuteConversation)&&(O.muteOrUnmuteConversation=Ct({...V,addFlag:m,muteTweet:o,shouldShowMuteEducationTip:E,tweet:k,unmuteTweet:c})),Z&&this._convoControlsEnabled&&!this._shouldDisable(k,ne.d.ConversationControls)&&(O.changeConversationControls=(({onChangeConversationControls:e,tweet:t})=>{const n=!!t.exclusivity_info;return{disabled:n,onClick:n?void 0:e,subText:n?fe:void 0,text:ye,Icon:Ce.Z}})({tweet:k,onChangeConversationControls:e})),this._shouldDisable(k,ne.d.Delete)||(O.delete=(({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,deleteTweet:i,featureSwitches:o,onDeleteTweet:s,scribeAction:r,tweet:a,userClaims:l})=>{const c=(l.isTrueAndEnabled("subscriptions_feature_labs_1004")||o.isTrue("responsive_web_edit_tweet_enabled"))&&o.isTrue("responsive_web_edit_tweet_composition_enabled"),d=o.isTrue("subscriptions_feature_labs_1004")||o.isTrue("responsive_web_edit_tweet_enabled");return{confirmation:{label:Ee,headline:ke,text:Te.Z.getOriginalTweet(a).isEdited&&(c||d)?Ae:xe,confirmButtonType:"destructiveFilled"},isEmphasized:!0,text:Ee,onClick:()=>{i(a.id_str).then((()=>{e({text:Ze,behavioralEventEntityToken:t})}),n({defaultToast:{text:Ie},showToast:!0})),r({element:"delete"}),s&&s(a.id_str)},Icon:ge.Z}})({...V,deleteTweet:t,onDeleteTweet:C,tweet:k,featureSwitches:H,userClaims:M}));else{y&&F&&(O.promotedTweetDismiss=(({onTweetDismiss:e})=>({text:Zt,onClick:e,Icon:oe.Z}))({onTweetDismiss:y})),z.blocking||this._shouldDisable(k,ne.d.Follow)||(O.followOrUnfollow=z.following?(0,$t.Z)({...V,unfollow:this.props.unfollow,promotedContent:T,user:z}):(0,Be.ZP)({...V,follow:n,promotedContent:T,user:z}),O.muteOrUnmute=this._getMuteOrUnmuteAction()),L&&(O.muteOrUnmuteConversation=Ct({...V,addFlag:m,muteTweet:o,shouldShowMuteEducationTip:E,tweet:k,unmuteTweet:c})),I&&(O.hideReply=Ye({...V,addFlag:m,hideReply:i,onBlock:this._handleBlock,onTweetDismiss:y,shouldShowHideReplyTip:g,tweet:k})),R&&(O.unhideReply=(({addToast:e,behavioralEventEntityToken:t,createLocalApiErrorHandler:n,scribeAction:i,tweet:o,unhideReply:s})=>({text:Xt,onClick:()=>{s(o.id_str,{conversation_id:o.conversation_id_str}).then((n=>{e({ariaOnly:!0,text:Gt,behavioralEventEntityToken:t})}),n({showToast:!0})),i({element:"unmoderate_reply"})},Icon:jt.Z}))({...V,tweet:k,unhideReply:this.props.unhideReply}));const e={user:z,source:U.SC.TWEET_CARET,testID:re,blockAction:this._handleBlock,unblockAction:this._handleUnblock};if(O.blockOrUnblock=(0,U.op)(e),z.smart_blocking){const e={history:_,user:z,removeAutoblockAction:this._handleUnblock};O.removeAutoblock=(({history:e,removeAutoblockAction:t,user:n})=>{const i=(0,U.c4)(n.screen_name);return{text:Lt,onClick:()=>{t(i),e.location.pathname.match(/actioned_tweets\/\d+/)&&e.goBack()},confirmation:i,Icon:It.Z}})(e)}}const j=D&&!W;var X;return j?O.report=Wt({analytics:h,history:_,promotedContent:T,scribeAction:N,tweet:k,featureSwitches:H,onReportClick:f,reporterCountry:x,reporterLanguage:A}):!D&&x&&(e=>"DE"===e.toUpperCase())(x)&&(O.report=(({promotedContent:e,scribeAction:t})=>({behavioralEventContext:{viewType:"report"},Icon:Ut.Z,link:"https://help.twitter.com/forms",onClick:()=>{t({element:"report_tweet"})},testID:ce,text:e?Nt:Pt}))({promotedContent:T,scribeAction:N}),O.reportNetzDG=(X=k.id_str,{Icon:Ut.Z,link:`https://help.twitter.com/forms/netzwerkdurchsetzungsgesetz?tweet_id=${X}`,text:Vt})),gn.forEach((e=>{if("feedbackOptions"!==e||k.isStaleEdit){if(O[e]){j&&("embed"===e||"report"===e&&!O.embed)&&P.push(B.length-1),B.push(O[e])}}else{const e=v?v.filter((e=>!e.excludeFromActionMenu)):[];B.push(...e);j&&B.length&&P.push(B.length-1)}})),[B,P,O]},this._getLeaveBehindMenuActions=()=>{const{feedbackItems:e,tweet:{user:t}}=this.props,[,,n]=this._getActionItemsAndDividerIndices(m.Z),i=[];return En.forEach((o=>{if("followOrUnfollow"!==o||t.following)if("feedbackOptions"===o){const t=e?e.filter((e=>!e.excludeFromActionMenu)):[];i.push(...t)}else n[o]&&i.push(n[o])})),i},this._handleBlock=()=>{const{addToast:e,behavioralEventEntityToken:t,block:n,createLocalApiErrorHandler:i,dismissUserFromConversation:o,handleBlockTrigger:s,promotedContent:r,tweet:a}=this.props;n(a.user.id_str,{promotedContent:r}).then((()=>{o({userId:a.user.id_str,feedbackKeys:["UnfollowEntity"]}),e({action:{label:fn,onAction:this._handleUnblock,behavioralEventViewType:"unblock"},text:Tn,behavioralEventEntityToken:t}),s&&this._shouldHandleBlockTrigger&&s()}),i(F.d)),this._scribeAction({element:"block"})},this._handleUnblock=()=>{const{createLocalApiErrorHandler:e,promotedContent:t,tweet:n,unblock:i}=this.props;i(n.user.id_str,{promotedContent:t}).catch(e(P.D)),this._scribeAction({element:"unblock"})},this._handleImmediateDismissClick=()=>{var e,t;const n=this._getLeaveBehindMenuActions();null==(e=(t=this.props).setLeaveBehindActionItems)||e.call(t,n),this._onMenuClick()},this._scribeAction=({action:e,additionalData:t,element:n})=>{const{analytics:i,promotedContent:o,tweet:s}=this.props,r=i.contextualScribeData;let a=null!=r&&r.items?r:{...r||{},items:[V.Z.getTweetItem(s,o)]};return t&&(a={...a,...t}),i.scribe({element:n,action:e||"click",data:a})}}render(){var e;const{isDisabled:t,menuControlProps:n,tweet:r,withChangeConversationControlsTooltip:l,withImmediateDismiss:c}=this.props,d=(null==(e=r.conversation_control)?void 0:e.policy)||h.k.all;return c?o.createElement(s.Z,{style:Zn.dismissButton},o.createElement(z,{onClick:this._handleImmediateDismissClick})):o.createElement(s.Z,{style:Zn.overflowMenu},l?o.createElement(te,null):null,o.createElement(u.Z,{controlled:!0,midConversationTweet:r,onChange:this._handleOnChangeConversationControls,value:d},(({openPopover:e})=>o.createElement(a.Z,(0,i.Z)({},n,{isDisabled:t,onClick:this._onMenuClick,renderActionMenu:this._renderCurationActionMenu(e),testID:B.Z.caret})))),l?o.createElement(te,null):null,this._renderTwitterBlueUpsellSheet())}_getCommunityActions(){const e={},{tweet:t}=this.props,{community_id_str:n,id_str:i}=t,{featureSwitches:s,loggedInUserId:r}=this.context;if(!n||!r)return e;const{analytics:{contextualScribeNamespace:a},community:l,disableRemoveFromCommunity:c,withCommunityModerationAuthority:d}=this.props,{community_relationship:m,user:u}=t,h=s.isTrue("c9s_highlight_tweet_enabled"),p=s.isTrue("c9s_moderation_enabled"),b=s.isTrue("c9s_remove_member_enabled"),v=!c&&p&&d;if(u.id_str!==r&&v&&(this._shouldDisable(t,ne.d.HideCommunityTweet)||(e.hideTweet=((e,t)=>({text:Qe,Icon:Ke.Z,link:{pathname:`/i/report/${Je.C2.HideCommunityTweet}/${e}`,state:{scribeNamespace:t}}}))(i,{...a,element:"hide_tweet"})),b&&!this._shouldDisable(t,ne.d.RemoveFromCommunity)&&(e.removeCommunityMember=((e,t,n)=>({text:St({screenName:e.screen_name}),Icon:Rt.Z,link:{pathname:`/i/report/${Je.C2.RemoveCommunityMember}/${e.id_str}?community_id=${t}`,state:{scribeNamespace:n}}}))(u,n,{...a,element:"remove_community_member"}))),h){if(N.X7.includes(null==m?void 0:m.actions.pin_action_result.__typename)&&!this._shouldDisable(t,ne.d.PinCommunityTweet)){var _,w;const t="CommunityTweetPinActionReplace"===(null==l||null==(_=l.actions)||null==(w=_.pin_action_result)?void 0:w.__typename);e.pinCommunityTweet=((e,t,n,i)=>({text:xt,Icon:yt.Z,onClick(){},confirmation:{render:(i,s)=>o.createElement(At,{communityId:t,isReplacing:n,onCancel:s,onConfirm:i,tweetId:e})}}))(i,n,t)}N.Gd.includes(null==m?void 0:m.actions.unpin_action_result.__typename)&&!this._shouldDisable(t,ne.d.UnpinCommunityTweet)&&(e.unpinCommunityTweet=((e,t,n)=>({text:tn,Icon:en.Z,onClick(){},confirmation:{render:(n,i)=>o.createElement(nn,{communityId:t,onCancel:i,onConfirm:n,tweetId:e})}}))(i,n))}return e}_shouldIncludeTweetAppealOption(){const{forwardPivotDisplayType:e,isNsfwUser:t,tweet:n,userCountry:i,userLanguage:o}=this.props,{featureSwitches:s,loggedInUserId:r}=this.context;return(0,W.rT)({loggedInUserId:r,featureSwitches:s,forwardPivotDisplayType:e,tweet:n,userCountry:i,userLanguage:o})||(0,W.V4)({loggedInUserId:r,featureSwitches:s,isNsfwUser:t,tweet:n,userCountry:i,userLanguage:o})}}xn.defaultProps={withRemoveFromBookmarks:!1},xn.contextType=X.rC;const An=(0,$.ZP)(yn(xn)),Zn=l.Z.create((e=>({overflowMenu:{display:"flex",flexDirection:"row",alignItems:"center"},dismissButton:{flexDirection:"row",alignItems:"center",marginTop:e.spaces.space8}})))},75455:(e,t,n)=>{n.d(t,{W:()=>a});var i=n(79404),o=n.n(i),s=n(63140);const r=o().ee87e71c,a={[s.ZP.SelfMuteError]:{toast:{text:r}},showToast:!0}},18013:(e,t,n)=>{n.d(t,{G:()=>a});var i=n(79404),o=n.n(i),s=n(63140);const r=o().ed428a76,a={[s.ZP.NotMutingTargetUser]:{toast:{text:r}},showToast:!0}},51231:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M15.24 4.31l-4.55 15.93-1.93-.55 4.55-15.93 1.93.55zm-8.33 3.6L3.33 12l3.58 4.09-1.5 1.32L.67 12l4.74-5.41 1.5 1.32zm11.68-1.32L23.33 12l-4.74 5.41-1.5-1.32L20.67 12l-3.58-4.09 1.5-1.32z"}))});r.metadata={width:24,height:24};const a=r},2359:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 200 200",children:i.createElement("g",null,i.createElement("circle",{cx:"100",cy:"100",fill:"#97E3FF",r:"100"}),i.createElement("path",{d:"M57.575 121.5h29.408l25.142 28.858h16.367s6.425-12.867 6.425-50.133H52.042c0 15.817 5.533 21.275 5.533 21.275z",fill:"#005FD1"}),i.createElement("path",{d:"M112.125 50.092L86.983 78.95H57.575s-5.533 5.458-5.533 21.275h82.875c0-37.267-6.425-50.133-6.425-50.133h-16.367z",fill:"#1DA1F2"}),i.createElement("ellipse",{cx:"123.283",cy:"100.225",fill:"#97E3FF",rx:"6.567",ry:"45.075"}),i.createElement("path",{d:"M147.408 146.8L48.225 59.867c-2.425-2.125-2.667-5.817-.542-8.242 2.125-2.425 5.817-2.667 8.242-.542l99.183 86.925c2.425 2.125 2.667 5.817.542 8.242-2.125 2.425-5.817 2.675-8.242.55z",fill:"#71C9F8"}),i.createElement("path",{d:"M94.275 100.225h-7.058l30.808 27c-.233-2.108-.433-4.35-.608-6.717l-23.142-20.283zm33.942 29.75c-.25 1.983-.533 3.808-.833 5.458l4.325 3.792c.324-1.592.65-3.375.957-5.35l-4.45-3.9zm-33.942-29.75L70 78.958h-7.058l24.275 21.267",fill:"#005FD1"}),i.createElement("path",{d:"M118.025 127.225l9.358 8.208c.3-1.65.575-3.475.833-5.458l-10.8-9.467c.176 2.367.376 4.617.61 6.717z",fill:"#1DA1F2"}))});r.metadata={width:200,height:200};const a=r},83410:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M19 14h2v6.5c0 1.379-1.122 2.5-2.5 2.5h-15C2.122 23 1 21.879 1 20.5v-15C1 4.121 2.122 3 3.5 3H10v2H3.5c-.276 0-.5.225-.5.5v15c0 .275.224.5.5.5h15c.276 0 .5-.225.5-.5V14zm5.1-8c0 3.363-2.736 6.1-6.1 6.1S11.9 9.364 11.9 6 14.636-.1 18-.1s6.1 2.736 6.1 6.1zm-2 0c0-2.261-1.839-4.1-4.1-4.1S13.9 3.739 13.9 6s1.839 4.1 4.1 4.1 4.1-1.839 4.1-4.1zM19 5V3h-2v2h-2v2h2v2h2V7h2V5h-2zM6 14h7v-2H6v2zm5 2H6v2h5v-2zm-5-6h4V8H6v2z"}))});r.metadata={width:24,height:24};const a=r},57596:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M19 16h2.6c-.23-1.2-.66-2.12-1.2-2.77-.67-.8-1.55-1.23-2.65-1.23-.51 0-.96.09-1.36.26l-.78-1.84c.67-.28 1.38-.42 2.14-.42 1.7 0 3.14.7 4.19 1.95 1.03 1.24 1.63 2.95 1.81 4.96l.09 1.09H19v-2zM5 16H2.4c.23-1.2.66-2.12 1.2-2.77.67-.8 1.55-1.23 2.65-1.23.51 0 .96.09 1.36.26l.78-1.84c-.67-.28-1.38-.42-2.14-.42-1.7 0-3.14.7-4.19 1.95C1.032 13.19.433 14.9.254 16.91L.157 18H5v-2zM15.5 6c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3zm2 0c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm-12-3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6.5 6.5c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm0-2c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 3c1.78 0 3.29.75 4.37 2.1 1.07 1.32 1.69 3.15 1.88 5.31l.09 1.09H5.66l.09-1.09c.19-2.16.81-3.99 1.88-5.31 1.08-1.35 2.59-2.1 4.37-2.1zm-2.82 3.35c-.59.74-1.05 1.79-1.29 3.15h8.22c-.24-1.36-.7-2.41-1.29-3.15-.72-.88-1.66-1.35-2.82-1.35s-2.1.47-2.82 1.35z"}))});r.metadata={width:24,height:24};const a=r},40685:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M10 4c-1.105 0-2 .9-2 2s.895 2 2 2 2-.9 2-2-.895-2-2-2zM6 6c0-2.21 1.791-4 4-4s4 1.79 4 4-1.791 4-4 4-4-1.79-4-4zM3.651 19h12.698c-.337-1.8-1.023-3.21-1.945-4.19C13.318 13.65 11.838 13 10 13s-3.317.65-4.404 1.81c-.922.98-1.608 2.39-1.945 4.19zm.486-5.56C5.627 11.85 7.648 11 10 11s4.373.85 5.863 2.44c1.477 1.58 2.366 3.8 2.632 6.46l.11 1.1H1.395l.11-1.1c.266-2.66 1.155-4.88 2.632-6.46zm19.75-7.22l-4.141 6.21L16.1 9.7l1.2-1.6 1.954 1.47 2.969-4.46 1.664 1.11z"}))});r.metadata={width:24,height:24};const a=r},7394:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M21.04 1.54L17.5 5.09c-.04-.02-.08-.03-.13-.04L14.3 3H9.7l-3 2H5C3.62 5 2.5 6.12 2.5 7.5v11c0 .46.12.88.34 1.25l-1.3 1.29 1.42 1.42 19.5-19.5-1.42-1.42zM13.7 5l2.33 1.56-2 1.99C13.44 8.2 12.74 8 12 8c-2.21 0-4 1.79-4 4 0 .74.2 1.44.55 2.03L4.5 18.09V7.5c0-.28.22-.5.5-.5h2.3l3-2h3.4zM12 10c.18 0 .35.02.52.07l-2.45 2.45c-.05-.17-.07-.34-.07-.52 0-1.1.9-2 2-2zm7 11H7.24l2-2H19c.28 0 .5-.22.5-.5V9h2v9.5c0 1.38-1.12 2.5-2.5 2.5z"}))});r.metadata={width:24,height:24};const a=r},4716:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M17.896 11.553L20.12 16H13v5l-1 2-1-2v-3.752L14.248 14h2.636l-.776-1.553 1.789-.895zm3.813-7.843l-17.999 18-.707-.707-.707-.707L6.592 16H3.88L7 9.76V4.5C7 3.121 8.122 2 9.5 2h5C15.878 2 17 3.121 17 4.5v1.092l3.296-3.296.707.707.707.707zm-6.71 3.882V4.5c0-.275-.224-.5-.5-.5h-5c-.276 0-.5.225-.5.5v5.732L7.115 14h1.476l6.408-6.408z"}))});r.metadata={width:24,height:24};const a=r},38267:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M21.503 6.745c.475 1.032.748 2.176.748 3.385 0 2.955-1.608 5.68-4.196 7.11l-8.054 4.459v-3.452l2-2v2.06l5.086-2.816c1.952-1.079 3.164-3.133 3.164-5.36 0-.644-.101-1.264-.286-1.847l1.538-1.538zM3.71 21.71l-1.414-1.414 3.401-3.401C3.34 15.5 1.751 12.935 1.751 10c0-4.411 3.591-8 8.005-8h4.366c1.818 0 3.494.608 4.849 1.62l1.325-1.325 1.414 1.414-18 18.001zm3.462-6.29L17.545 5.047C16.567 4.386 15.389 4 14.123 4H9.757c-3.311 0-6.005 2.691-6.005 6 0 2.389 1.401 4.451 3.421 5.42z"}))});r.metadata={width:24,height:24};const a=r},46874:(e,t,n)=>{n.d(t,{Z:()=>a});var i=n(2784),o=n(90601),s=n(73569);const r=(e={})=>(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[s.Z.root,e.style],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M16 6V4.5C16 3.12 14.88 2 13.5 2h-3C9.11 2 8 3.12 8 4.5V6H3v2h1.06l.81 11.21C4.98 20.78 6.28 22 7.86 22h8.27c1.58 0 2.88-1.22 3-2.79L19.93 8H21V6h-5zm-6-1.5c0-.28.22-.5.5-.5h3c.27 0 .5.22.5.5V6h-4V4.5zm7.13 14.57c-.04.52-.47.93-1 .93H7.86c-.53 0-.96-.41-1-.93L6.07 8h11.85l-.79 11.07zM9 17v-6h2v6H9zm4 0v-6h2v6h-2z"}))});r.metadata={width:24,height:24};const a=r},20845:(e,t,n)=>{n.d(t,{Z:()=>l});var i=n(2784),o=n(90601),s=n(93987),r=n(73569);const a=(e={})=>{const t=i.useContext(s.Z);return(0,o.Z)("svg",{...e,accessibilityRole:e.accessibilityLabel?e.accessibilityRole||"img":void 0,accessibilityHidden:void 0===e.accessibilityLabel,style:[r.Z.root,e.style,t&&r.Z.iconRTL],viewBox:"0 0 24 24",children:i.createElement("g",null,i.createElement("path",{d:"M14.23 2.854c.98-.977 2.56-.977 3.54 0l3.38 3.378c.97.977.97 2.559 0 3.536L9.91 21H3v-6.914L14.23 2.854zm2.12 1.414c-.19-.195-.51-.195-.7 0L5 14.914V19h4.09L19.73 8.354c.2-.196.2-.512 0-.708l-3.38-3.378zM14.75 19l-2 2H21v-2h-6.25z"}))})};a.metadata={width:24,height:24};const l=a},4326:(e,t,n)=>{n.d(t,{R:()=>o});n(6886);var i=n(2784);function o(e,t={}){const[n,o]=i.useState(!1),s="IntersectionObserver"in window,{root:r=null,rootMargin:a="0%",threshold:l=0}=t,c=i.useCallback((e=>{o(e.some((e=>e.isIntersecting)))}),[]),d=s?new IntersectionObserver(c,{root:r,rootMargin:a,threshold:l}):void 0;return i.useEffect((()=>(requestAnimationFrame((()=>{const t=null==e?void 0:e.current;d&&t&&d.observe(t)})),()=>{d&&d.disconnect()})),[e,r,a,JSON.stringify(l)]),n}}}]);
  2. //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/loader.TweetCurationActionMenu.b2c7a23a.js.map