From 72e3d2b02402a617ebed349bc4eb94048476e891 Mon Sep 17 00:00:00 2001 From: trevor hobenshield Date: Sun, 16 Apr 2023 17:44:13 -0700 Subject: [PATCH] formatting/remove js files --- info/endpoints/endpoints.AaProxy.8577b5ba.js | 305 - info/endpoints/endpoints.Account.cd57e96a.js | 22 - .../endpoints.AccountTaxonomy.27bb991a.js | 780 -- .../endpoints.AccountVerification.8eac276a.js | 42 - info/endpoints/endpoints.Ads.c4fc22ea.js | 22 - .../endpoints.ArticleDomains.3b7fc81a.js | 28 - .../endpoints.AudioSpaces.4551fcfa.js | 385 - .../endpoints.AudioSpacesPresence.40fa84ca.js | 87 - .../endpoints.BadgeCount.bb77295a.js | 17 - .../endpoints/endpoints.Birdwatch.ae95011a.js | 536 -- .../endpoints.BizProfiles.1e307eda.js | 39 - .../endpoints.BonusFollows.255992da.js | 16 - .../endpoints/endpoints.Bookmarks.cdbe2e6a.js | 307 - .../endpoints.BounceOcfFlow.3a4f94ea.js | 22 - info/endpoints/endpoints.Branch.1e28b37a.js | 22 - .../endpoints.Broadcasts.0956aa1a.js | 94 - ...endpoints.ClientEducationFlags.03a9d05a.js | 35 - .../endpoints.Collections.6dd079ca.js | 51 - info/endpoints/endpoints.Commerce.a4648afa.js | 72 - .../endpoints.Communities.9d2541ba.js | 8275 ----------------- .../endpoints.CommunitiesTools.2de2665a.js | 310 - info/endpoints/endpoints.Contacts.1131c5aa.js | 383 - .../endpoints.Conversation.f200f18a.js | 101 - info/endpoints/endpoints.Devices.422f010a.js | 43 - ...ndpoints.DirectMessagesGraphQL.3a87188a.js | 764 -- ...nts.DismissRitoSuggestedAction.f5afb42a.js | 45 - info/endpoints/endpoints.Drafts.2aa71e7a.js | 118 - ...ints.EmailNotificationSettings.b07029ca.js | 56 - info/endpoints/endpoints.Explore.9b2e28ea.js | 78 - .../endpoints.FeatureSwitch.1373e1ea.js | 19 - .../endpoints.Friendships.48d5d37a.js | 38 - .../endpoints/endpoints.GifSearch.d5998b3a.js | 19 - .../endpoints.GraphQLErrors.aaf12c0a.js | 24 - info/endpoints/endpoints.Graphql.997f355a.js | 724 -- info/endpoints/endpoints.Guest.4193f5aa.js | 24 - info/endpoints/endpoints.Home.f3e5f1aa.js | 224 - info/endpoints/endpoints.Jot.5281b88a.js | 18 - .../endpoints.KeyRegistry.c9073cea.js | 53 - ...ndpoints.LegacyAndUnifiedCards.2c74e4fa.js | 101 - info/endpoints/endpoints.Lists.530c138a.js | 1829 ---- .../endpoints/endpoints.LiveEvent.6258c53a.js | 67 - .../endpoints.LivePipeline.24e2d3fa.js | 19 - ...dpoints.LoggedOutNotifications.ab7dbbea.js | 756 -- info/endpoints/endpoints.Media.43a166aa.js | 39 - info/endpoints/endpoints.Moments.bc1ed29a.js | 137 - .../endpoints.MuteKeywordSettings.8b3eee2a.js | 20 - ...endpoints.NotificationSettings.0fd1aafa.js | 73 - info/endpoints/endpoints.OAuth.e9a32f5a.js | 15 - info/endpoints/endpoints.Ocf.9b63375a.js | 95 - .../endpoints.Personalization.4e57acea.js | 35 - .../endpoints.PinnedReplies.ae3eac6a.js | 59 - info/endpoints/endpoints.Places.1cc954ca.js | 49 - info/endpoints/endpoints.Prerolls.7cbb2cea.js | 36 - .../endpoints.ProfileTimelines.99bc18ca.js | 1345 --- .../endpoints.PromotedContent.5193e53a.js | 20 - .../endpoints.QuickPromote.f9840a2a.js | 356 - .../endpoints.Recommendations.e61abcea.js | 34 - .../endpoints.ReportFlow.c6789fea.js | 22 - .../endpoints.RitoActionedTweets.38eab9fa.js | 96 - .../endpoints.RitoFlaggedAccounts.7c9ceb5a.js | 92 - .../endpoints.RitoFlaggedTweets.8586e06a.js | 96 - ...endpoints.RitoSuggestedActions.9ec7c11a.js | 40 - ...s.RitoSuggestedActionsFacePile.8cdec91a.js | 58 - .../endpoints.SafeSearch.ce1a9f9a.js | 34 - .../endpoints.SavedSearches.3aded56a.js | 17 - .../endpoints.Scheduling.a63742fa.js | 126 - info/endpoints/endpoints.Settings.266bdcaa.js | 223 - .../endpoints.SettingsGraphQL.8a5300fa.js | 301 - .../endpoints.Subscription.00cc311a.js | 42 - ...endpoints.SubscriptionPayments.340b00ca.js | 76 - ...ts.SubscriptionProductFeatures.1745034a.js | 55 - .../endpoints.TopArticles.8517a34a.js | 147 - info/endpoints/endpoints.Topics.01d7cc0a.js | 1311 --- .../endpoints.TrustedFriends.18a5636a.js | 57 - .../endpoints.TweetActivity.7e0afbaa.js | 199 - .../endpoints.TweetStats.4c3b05da.js | 768 -- .../endpoints.TwitterArticles.993c8cea.js | 406 - .../endpoints/endpoints.Typeahead.da6cc00a.js | 311 - info/endpoints/endpoints.URT.cf027bba.js | 415 - info/endpoints/endpoints.UserData.4a13bf3a.js | 29 - .../endpoints.UsersGraphQL.ddb7a1da.js | 2033 ---- info/endpoints/endpoints.Validity.82b4706a.js | 63 - readme.md | 2 - 83 files changed, 26302 deletions(-) delete mode 100644 info/endpoints/endpoints.AaProxy.8577b5ba.js delete mode 100644 info/endpoints/endpoints.Account.cd57e96a.js delete mode 100644 info/endpoints/endpoints.AccountTaxonomy.27bb991a.js delete mode 100644 info/endpoints/endpoints.AccountVerification.8eac276a.js delete mode 100644 info/endpoints/endpoints.Ads.c4fc22ea.js delete mode 100644 info/endpoints/endpoints.ArticleDomains.3b7fc81a.js delete mode 100644 info/endpoints/endpoints.AudioSpaces.4551fcfa.js delete mode 100644 info/endpoints/endpoints.AudioSpacesPresence.40fa84ca.js delete mode 100644 info/endpoints/endpoints.BadgeCount.bb77295a.js delete mode 100644 info/endpoints/endpoints.Birdwatch.ae95011a.js delete mode 100644 info/endpoints/endpoints.BizProfiles.1e307eda.js delete mode 100644 info/endpoints/endpoints.BonusFollows.255992da.js delete mode 100644 info/endpoints/endpoints.Bookmarks.cdbe2e6a.js delete mode 100644 info/endpoints/endpoints.BounceOcfFlow.3a4f94ea.js delete mode 100644 info/endpoints/endpoints.Branch.1e28b37a.js delete mode 100644 info/endpoints/endpoints.Broadcasts.0956aa1a.js delete mode 100644 info/endpoints/endpoints.ClientEducationFlags.03a9d05a.js delete mode 100644 info/endpoints/endpoints.Collections.6dd079ca.js delete mode 100644 info/endpoints/endpoints.Commerce.a4648afa.js delete mode 100644 info/endpoints/endpoints.Communities.9d2541ba.js delete mode 100644 info/endpoints/endpoints.CommunitiesTools.2de2665a.js delete mode 100644 info/endpoints/endpoints.Contacts.1131c5aa.js delete mode 100644 info/endpoints/endpoints.Conversation.f200f18a.js delete mode 100644 info/endpoints/endpoints.Devices.422f010a.js delete mode 100644 info/endpoints/endpoints.DirectMessagesGraphQL.3a87188a.js delete mode 100644 info/endpoints/endpoints.DismissRitoSuggestedAction.f5afb42a.js delete mode 100644 info/endpoints/endpoints.Drafts.2aa71e7a.js delete mode 100644 info/endpoints/endpoints.EmailNotificationSettings.b07029ca.js delete mode 100644 info/endpoints/endpoints.Explore.9b2e28ea.js delete mode 100644 info/endpoints/endpoints.FeatureSwitch.1373e1ea.js delete mode 100644 info/endpoints/endpoints.Friendships.48d5d37a.js delete mode 100644 info/endpoints/endpoints.GifSearch.d5998b3a.js delete mode 100644 info/endpoints/endpoints.GraphQLErrors.aaf12c0a.js delete mode 100644 info/endpoints/endpoints.Graphql.997f355a.js delete mode 100644 info/endpoints/endpoints.Guest.4193f5aa.js delete mode 100644 info/endpoints/endpoints.Home.f3e5f1aa.js delete mode 100644 info/endpoints/endpoints.Jot.5281b88a.js delete mode 100644 info/endpoints/endpoints.KeyRegistry.c9073cea.js delete mode 100644 info/endpoints/endpoints.LegacyAndUnifiedCards.2c74e4fa.js delete mode 100644 info/endpoints/endpoints.Lists.530c138a.js delete mode 100644 info/endpoints/endpoints.LiveEvent.6258c53a.js delete mode 100644 info/endpoints/endpoints.LivePipeline.24e2d3fa.js delete mode 100644 info/endpoints/endpoints.LoggedOutNotifications.ab7dbbea.js delete mode 100644 info/endpoints/endpoints.Media.43a166aa.js delete mode 100644 info/endpoints/endpoints.Moments.bc1ed29a.js delete mode 100644 info/endpoints/endpoints.MuteKeywordSettings.8b3eee2a.js delete mode 100644 info/endpoints/endpoints.NotificationSettings.0fd1aafa.js delete mode 100644 info/endpoints/endpoints.OAuth.e9a32f5a.js delete mode 100644 info/endpoints/endpoints.Ocf.9b63375a.js delete mode 100644 info/endpoints/endpoints.Personalization.4e57acea.js delete mode 100644 info/endpoints/endpoints.PinnedReplies.ae3eac6a.js delete mode 100644 info/endpoints/endpoints.Places.1cc954ca.js delete mode 100644 info/endpoints/endpoints.Prerolls.7cbb2cea.js delete mode 100644 info/endpoints/endpoints.ProfileTimelines.99bc18ca.js delete mode 100644 info/endpoints/endpoints.PromotedContent.5193e53a.js delete mode 100644 info/endpoints/endpoints.QuickPromote.f9840a2a.js delete mode 100644 info/endpoints/endpoints.Recommendations.e61abcea.js delete mode 100644 info/endpoints/endpoints.ReportFlow.c6789fea.js delete mode 100644 info/endpoints/endpoints.RitoActionedTweets.38eab9fa.js delete mode 100644 info/endpoints/endpoints.RitoFlaggedAccounts.7c9ceb5a.js delete mode 100644 info/endpoints/endpoints.RitoFlaggedTweets.8586e06a.js delete mode 100644 info/endpoints/endpoints.RitoSuggestedActions.9ec7c11a.js delete mode 100644 info/endpoints/endpoints.RitoSuggestedActionsFacePile.8cdec91a.js delete mode 100644 info/endpoints/endpoints.SafeSearch.ce1a9f9a.js delete mode 100644 info/endpoints/endpoints.SavedSearches.3aded56a.js delete mode 100644 info/endpoints/endpoints.Scheduling.a63742fa.js delete mode 100644 info/endpoints/endpoints.Settings.266bdcaa.js delete mode 100644 info/endpoints/endpoints.SettingsGraphQL.8a5300fa.js delete mode 100644 info/endpoints/endpoints.Subscription.00cc311a.js delete mode 100644 info/endpoints/endpoints.SubscriptionPayments.340b00ca.js delete mode 100644 info/endpoints/endpoints.SubscriptionProductFeatures.1745034a.js delete mode 100644 info/endpoints/endpoints.TopArticles.8517a34a.js delete mode 100644 info/endpoints/endpoints.Topics.01d7cc0a.js delete mode 100644 info/endpoints/endpoints.TrustedFriends.18a5636a.js delete mode 100644 info/endpoints/endpoints.TweetActivity.7e0afbaa.js delete mode 100644 info/endpoints/endpoints.TweetStats.4c3b05da.js delete mode 100644 info/endpoints/endpoints.TwitterArticles.993c8cea.js delete mode 100644 info/endpoints/endpoints.Typeahead.da6cc00a.js delete mode 100644 info/endpoints/endpoints.URT.cf027bba.js delete mode 100644 info/endpoints/endpoints.UserData.4a13bf3a.js delete mode 100644 info/endpoints/endpoints.UsersGraphQL.ddb7a1da.js delete mode 100644 info/endpoints/endpoints.Validity.82b4706a.js diff --git a/info/endpoints/endpoints.AaProxy.8577b5ba.js b/info/endpoints/endpoints.AaProxy.8577b5ba.js deleted file mode 100644 index 4b407f2..0000000 --- a/info/endpoints/endpoints.AaProxy.8577b5ba.js +++ /dev/null @@ -1,305 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.AaProxy"], - { - 94529: (t, e, n) => { - n.r(e), n.d(e, { default: () => r }); - n(6886); - var o = n(18619); - const a = (0, n(58955).Z)([ - "US", - "IE", - "GB", - "CA", - "ZA", - "IL", - "ES", - "FR", - "JP", - "BE", - "LU", - "NL", - "IT", - "AR", - "CL", - "CO", - "EC", - "GT", - "MX", - "PE", - "AU", - "NZ", - "SG", - "PA", - "DK", - "FI", - "NO", - "SE", - "DE", - "AT", - "CH", - "LI", - "ID", - "BR", - "AF", - "AL", - "DZ", - "AS", - "AD", - "AO", - "AI", - "AQ", - "AG", - "AM", - "AW", - "AZ", - "BS", - "BH", - "BD", - "BB", - "BY", - "BZ", - "BJ", - "BM", - "BT", - "BQ", - "IO", - "VG", - "BN", - "BG", - "BF", - "BI", - "KH", - "CM", - "CV", - "KY", - "CF", - "TD", - "CX", - "CC", - "KM", - "CK", - "CR", - "CI", - "HR", - "CW", - "CY", - "CZ", - "CD", - "DM", - "DO", - "EG", - "SV", - "ER", - "EE", - "ET", - "FK", - "FO", - "FJ", - "GF", - "TF", - "GA", - "GM", - "GE", - "GI", - "GR", - "GL", - "GD", - "GP", - "GU", - "GG", - "GN", - "GW", - "GY", - "HT", - "HM", - "HN", - "HK", - "HU", - "IS", - "IN", - "IQ", - "IM", - "JM", - "JE", - "JO", - "KZ", - "KE", - "KI", - "KW", - "LA", - "LV", - "LB", - "LR", - "LY", - "LI", - "LT", - "MO", - "MK", - "MG", - "MW", - "MY", - "MV", - "ML", - "MT", - "MH", - "MQ", - "MR", - "YT", - "MD", - "MC", - "MN", - "ME", - "MS", - "MZ", - "NA", - "NR", - "NP", - "NC", - "NI", - "NE", - "NG", - "NU", - "NF", - "MP", - "PK", - "PW", - "PS", - "PG", - "PY", - "PH", - "PN", - "PL", - "PT", - "QA", - "CG", - "RE", - "RO", - "RW", - "BL", - "SH", - "KN", - "LC", - "PM", - "VC", - "WS", - "SM", - "ST", - "SA", - "SN", - "RS", - "SC", - "SL", - "SB", - "SO", - "GS", - "LK", - "SR", - "SJ", - "SZ", - "TJ", - "TZ", - "TH", - "TL", - "TG", - "TK", - "TO", - "TT", - "TR", - "TM", - "TC", - "TV", - "UG", - "UA", - "AE", - "UM", - "UY", - "UZ", - "VU", - "VA", - "VE", - "VI", - "WF", - "EH", - "YE", - "ZM", - "ZW", - ]), - i = "https://aa.twitter.com", - r = ({ apiClient: t, featureSwitches: e }) => ({ - getTargetableLocations: ({ - countryCode: e, - lang: n, - locationType: r, - }) => - t - .getUnversioned( - "/12/targeting_criteria/locations", - { location_type: r, lang: (0, o.Z)(n), country_code: e }, - {}, - i - ) - .then((t) => t.data) - .then((t) => t.filter((t) => a.has(t.country_code))), - getQueriedTargetableLocations: ({ - countryCode: e, - lang: n, - locationType: r, - query: c, - }) => - t - .getUnversioned( - "/12/targeting_criteria/locations", - { q: c, location_type: r, lang: (0, o.Z)(n), country_code: e }, - {}, - i - ) - .then((t) => t.data) - .then(([t]) => [ - { - ...t, - locations: t.locations.filter((t) => a.has(t.country_code)), - }, - ]), - }); - }, - 18619: (t, e, n) => { - n.d(e, { Z: () => i, d: () => o }); - const o = (t, e) => ({ - REQUEST: `${t}/${e}/REQUEST`, - SUCCESS: `${t}/${e}/SUCCESS`, - FAILURE: `${t}/${e}/FAILURE`, - }), - a = [ - "ar", - "da", - "de", - "en", - "es", - "fi", - "fil", - "fr", - "id", - "it", - "ja", - "ko", - "nl", - "no", - "pt", - "ru", - "sv", - "th", - "tr", - "zh-cn", - "zh-tw", - ]; - function i(t) { - const e = t.toLowerCase(); - if (a.includes(e)) return e; - return a.find((t) => t.includes(e) || e.includes(t)) || "en"; - } - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AaProxy.8577b5ba.js.map diff --git a/info/endpoints/endpoints.Account.cd57e96a.js b/info/endpoints/endpoints.Account.cd57e96a.js deleted file mode 100644 index d9baa7d..0000000 --- a/info/endpoints/endpoints.Account.cd57e96a.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Account"], - { - 14287: (t, e, s) => { - s.r(e), s.d(e, { default: () => a }); - const a = ({ apiClient: t, featureSwitches: e }) => ({ - disassociateAccount: (e = {}, s = {}) => - t.post( - "account/not_my_account/disassociate", - e, - {}, - { ...s, "content-type": "application/json" } - ), - getMaskedData: (e = {}, s = {}) => - t.get("account/not_my_account/get_masked_data", e, s), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Account.cd57e96a.js.map diff --git a/info/endpoints/endpoints.AccountTaxonomy.27bb991a.js b/info/endpoints/endpoints.AccountTaxonomy.27bb991a.js deleted file mode 100644 index 1d4384b..0000000 --- a/info/endpoints/endpoints.AccountTaxonomy.27bb991a.js +++ /dev/null @@ -1,780 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.AccountTaxonomy", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 29297: (e) => { - e.exports = { - queryId: "_ckHEj05gan2VfNHG6thBA", - operationName: "DisableUserAccountLabel", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 51659: (e) => { - e.exports = { - queryId: "rD5gLxVmMvtdtYU1UHWlFQ", - operationName: "UserAccountLabel", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 95901: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => b, - isDisableUserAccountLabelFail: () => p, - isFetchFail: () => d, - }); - var n = t(72599), - i = t(17360), - a = t(29297), - r = t.n(a), - l = t(51659), - o = t.n(l), - s = t(97534); - const d = (e, _) => { - var t; - return ( - (null == _ || null == (t = _.user) ? void 0 : t.result) || - (0, n.ZP)( - "GQL AccountTaxonomy: Failed to load User Account Label", - { extra: (0, s.errorBreadcrumb)(e) } - ), - (0, i.jB)(e) - ); - }, - p = (e, _) => ( - (null == _ ? void 0 : _.disable_user_account_label) || - (0, n.ZP)( - "GQL AccountTaxonomy: Failed to load Disable User Account Status", - { extra: (0, s.errorBreadcrumb)(e) } - ), - (0, i.jB)(e) - ), - b = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchUserAccountLabel: ({ userId: _ }) => - e.graphQL(o(), { rest_id: _ }, d), - disableUserAccountLabel: () => e.graphQL(r(), {}, p), - }); - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => M, - errorBreadcrumb: () => Z, - isFatalGenericTimelineError: () => V, - isFatalModeratedTimelineError: () => j, - isFatalTeamsResponseError: () => E, - isFatalUserScopedFollowTimelineError: () => N, - isFatalViewerScopedFollowTimelineError: () => C, - parseUserScopedTimeline: () => z, - parseViewerScopedTimeline: () => P, - }); - var n = t(58955), - i = t(79363), - a = t(72599), - r = t(32091), - l = t(17360), - o = t(83175), - s = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let n; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - n = t; - } - return { user: n, ..._ }; - }); - return (0, s.Fv)(_, d.Z); - }; - var b = t(29848), - c = t.n(b), - u = t(57274), - w = t.n(u), - m = t(2216), - h = t.n(m), - v = t(41839), - f = t.n(v), - g = t(97621), - y = t.n(g), - q = t(87669), - x = t.n(q), - A = t(75840), - k = t.n(A), - T = t(50931), - B = t.n(T), - F = t(59113), - I = t.n(F), - L = t(26491), - G = t.n(L), - Q = t(16221), - S = t.n(Q), - U = t(82249); - const z = (e) => { - var _; - let t = U.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) ? void 0 : n.timeline) || - U.cY); - return t; - }, - Z = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - P = (e) => { - let _ = U.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || U.cY); - return _; - }, - E = (e) => - Array.isArray(e) && - !(0, i.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - N = (e, _) => { - var t, n; - const i = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && _.user.result.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Follow timeline", { - extra: Z(e), - }), - !i && (0, l.jB)(e) - ); - }, - C = (e, _) => { - var t; - const n = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: Z(e), - }), - !n && (0, l.jB)(e) - ); - }, - Y = (e, _) => { - var t, n; - const i = - null == _ || - null == (t = _.viewer) || - null == (n = t.muting_timeline) - ? void 0 - : n.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Muting timeline", { - extra: Z(e), - }), - !i && (0, l.jB)(e) - ); - }, - j = (e, _) => { - var t, n; - const i = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (n = _.tweet.result.timeline_response) - ? void 0 - : n.timeline); - return ( - i || - (0, a.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: Z(e) } - ), - !i && (0, l.jB)(e) - ); - }, - V = (e, _) => { - var t; - const n = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: Z(e), - }), - !n && (0, l.jB)(e) - ); - }; - function H(e, _, t) { - let n; - function i(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (n = e === r.kH.Imported ? h() : e === r.kH.AutoBlock ? w() : c()), - ({ count: r, cursor: s }) => - _.graphQL( - n, - { - count: r, - cursor: s, - includePromotedContent: !1, - ...(0, o.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const n = i(t); - return ( - n || - (0, a.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: Z(_) } - ), - !n && (0, l.jB)(_) - ); - } - ).then((e) => i(e) || U.cY) - ); - } - const M = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: H(r.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: H(r.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: H(r.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - f(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - N - ) - .then(z), - fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - y(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - N - ) - .then(z), - fetchFollowing: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - x(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - N - ) - .then(z), - fetchSuperFollowers: ({ count: t, cursor: n }) => - e - .graphQL( - G(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - C - ) - .then(P), - fetchViewerTeams: () => - e - .graphQLFullResponse(S(), { ...(0, o.S)(_) }, E) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - i = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return i; - const a = (0, n.Z)(_.map((e) => e.path && e.path[3])); - return i.filter((e, _) => !a.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: n, rootTweetId: i }) => - e - .graphQL( - B(), - { - rootTweetId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - j - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, n; - return ( - (null == (t = e.tweet.result) || - null == (n = t.timeline_response) - ? void 0 - : n.timeline) || U.cY - ); - } - return U.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: n }) => - e - .graphQL( - I(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - Y - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || U.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: n, timelineId: i }) => - e - .graphQL( - k(), - { - timelineId: i, - count: t, - cursor: n, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, o.d)(_), - }, - V - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || U.cY; - }), - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => r, Z: () => l }); - var n = t(6899), - i = t(46395), - a = t(90650); - const r = new n.fK.Entity( - "teams", - { user: a.Z }, - { - idAttribute: ({ user: e }) => e[a.Z.idAttribute] || e, - processStrategy: i.Z, - } - ), - l = new n.fK.Array(r); - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => o, ZH: () => s, kH: () => l }); - var n = t(78772), - i = t(52612), - a = t(57659), - r = t(62104); - const l = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - o = (e) => - (0, r.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === l.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === l.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: n.Z, - }), - s = (e) => (_, t) => { - const n = t(); - _( - e - .selectEntries(n) - .filter((e) => { - if (!e.content || e.type !== i.ZP.User) return !1; - const _ = e.content.id, - t = a.ZP.select(n, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AccountTaxonomy.27bb991a.js.map diff --git a/info/endpoints/endpoints.AccountVerification.8eac276a.js b/info/endpoints/endpoints.AccountVerification.8eac276a.js deleted file mode 100644 index 309eec0..0000000 --- a/info/endpoints/endpoints.AccountVerification.8eac276a.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.AccountVerification"], - { - 91976: (e, t, n) => { - n.r(t), n.d(t, { default: () => i }); - const i = ({ apiClient: e, featureSwitches: t }) => ({ - fetchAccess: (t = {}, n = {}) => - e.getUnversioned("/verify/1.0/access", t, n), - fetchAccountEligibility: (t = {}, n = {}) => - e.getUnversioned("/verify/1.0/account-eligibility", t, n), - fetchAccountViolations: (t = {}, n = {}) => - e.getUnversioned("/verify/1.0/badge-violation/violations", t, n), - fetchAuthenticationResult: (t = {}, n = {}) => - e.getUnversioned("/verify/1.0/id-document", t, n), - fetchBadgeViolations: (t = {}, n = {}) => - e.getUnversioned("/verify/1.0/badge-violation", t, n), - fetchDocumentFormats: (t = {}, n = {}) => - e.getUnversioned("/verify/1.0/document-formats", t, n), - verifyAccount: (t, n = {}) => - e.postUnversioned("/verify/1.0/intake", t, { - ...n, - "content-type": "application/json", - }), - verifyIdDocument(t, n = {}) { - const i = { ...n, "content-type": "multipart/form-data" }, - { backImage: o, country: c, frontImage: r, idType: a } = t, - s = new FormData(); - return ( - a && s.append("id_type", a), - c && s.append("country", c), - o && s.append("back", o), - r && s.append("front", r), - e.postUnversioned("/verify/1.0/id-document", s, i) - ); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AccountVerification.8eac276a.js.map diff --git a/info/endpoints/endpoints.Ads.c4fc22ea.js b/info/endpoints/endpoints.Ads.c4fc22ea.js deleted file mode 100644 index 1eeb94f..0000000 --- a/info/endpoints/endpoints.Ads.c4fc22ea.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Ads"], - { - 9060: (e, t, s) => { - s.r(t), s.d(t, { default: () => a }); - const a = ({ apiClient: e, featureSwitches: t }) => ({ - createLocalId: (t) => - e - .postUnversioned( - "/12/measurement/dcm_local_id", - t, - {}, - "https://ads-api.twitter.com" - ) - .then((e) => e.data), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Ads.c4fc22ea.js.map diff --git a/info/endpoints/endpoints.ArticleDomains.3b7fc81a.js b/info/endpoints/endpoints.ArticleDomains.3b7fc81a.js deleted file mode 100644 index db63ec0..0000000 --- a/info/endpoints/endpoints.ArticleDomains.3b7fc81a.js +++ /dev/null @@ -1,28 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.ArticleDomains"], - { - 79676: (e) => { - e.exports = { - queryId: "88Bu08U2ddaVVjKmmXjVYg", - operationName: "articleNudgeDomains", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 65660: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => n }); - var a = r(79676), - i = r.n(a); - const n = ({ apiClient: e, featureSwitches: t }) => ({ - fetchArticleDomainsGraphQL: () => - e.graphQL(i(), {}).then((e) => { - var t; - return null == (t = e.viewer) ? void 0 : t.article_nudge_domains; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.ArticleDomains.3b7fc81a.js.map diff --git a/info/endpoints/endpoints.AudioSpaces.4551fcfa.js b/info/endpoints/endpoints.AudioSpaces.4551fcfa.js deleted file mode 100644 index b70149a..0000000 --- a/info/endpoints/endpoints.AudioSpaces.4551fcfa.js +++ /dev/null @@ -1,385 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.AudioSpaces"], - { - 78111: (e) => { - e.exports = { - queryId: "QB5okPsUwVP3TefHBFItnw", - operationName: "AudioSpaceById", - operationType: "query", - metadata: { - featureSwitches: [ - "spaces_2022_h2_clipping", - "spaces_2022_h2_spaces_communities", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 52546: (e) => { - e.exports = { - queryId: "NTq79TuSz6fHj8lQaferJw", - operationName: "AudioSpaceSearch", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 28119: (e) => { - e.exports = { - queryId: "Sxn4YOlaAwEKjnjWV0h7Mw", - operationName: "SubscribeToScheduledSpace", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 88997: (e) => { - e.exports = { - queryId: "Zevhh76Msw574ZSs2NQHGQ", - operationName: "UnsubscribeFromScheduledSpace", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 27260: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => I }); - r(71372), r(6886); - var s = r(72599), - i = r(83175), - n = (r(36728), r(14983)), - a = r.n(n), - o = r(59124), - l = r(90968), - u = r(36002), - _ = r(38269), - c = r(26178), - d = r(12006); - function p(e) { - var t, r, s, i; - a()(e, "audioSpace is required"); - const { metadata: n, participants: l, sharings: d, ...p } = e; - a()(n, "metadata is required"); - const { rest_id: f, state: b } = n; - a()(f, "rest_id is required"), a()(b, "state is required"); - const y = (function (e) { - if (e && e.result && "Community" === e.result.__typename) { - const { __typename: t, rest_id: r, ...s } = e.result, - { custom_theme: i, default_theme: n, name: a } = s, - l = o.Z.getCommunityTheme(i || n), - u = o.Z.getCommunityBackgroundColor(l), - c = (0, _.Wb)(s), - d = (0, _.TB)(s), - p = c || d; - return { - rest_id: r, - color: u, - name: a, - image_url: null == p ? void 0 : p.url, - }; - } - })(n.community_results), - v = (function (e, t) { - const r = null == e ? void 0 : e.total, - s = h(null == e ? void 0 : e.admins, t), - i = h(null == e ? void 0 : e.speakers, t), - n = h(null == e ? void 0 : e.listeners, t); - return { total: r, admins: s, speakers: i, listeners: n }; - })(l, y), - w = (function (e) { - if (!e) return []; - return e.items - .map((e) => { - var t; - const r = m(null == (t = e.user_results) ? void 0 : t.result), - s = e.shared_item; - if ("AudioSpaceSharedTweet" === s.__typename) { - var i, n; - if ( - "Tweet" === - (null == (i = s.tweet_results) || null == (n = i.result) - ? void 0 - : n.__typename) - ) { - var a; - const { __typename: t, ...i } = - (null == (a = s.tweet_results) ? void 0 : a.result) || - {}, - n = (0, c.y9)(i); - if (n) { - const { cards: t, tweets: s, users: i } = n.entities, - a = (0, u.F)(s, t, i, n.result); - if (a) return { id: e.sharing_id, user: r, tweet: a }; - } - } - return null; - } - return null; - }) - .filter(Boolean); - })(d), - g = m(null == (t = n.creator_results) ? void 0 : t.result), - S = null == g ? void 0 : g.screen_name, - q = - null == g || null == (r = g.profile_image_extensions_media_color) - ? void 0 - : r.palette, - { cohosts: T, host: I } = (function (e, t) { - let r; - const s = []; - t - ? e.admins.forEach((e) => { - e.twitter_screen_name === t ? (r = e) : s.push(e); - }) - : (r = e.admins[0]); - return { host: r, cohosts: s }; - })(v, S); - return ( - a()(I, "host is required"), - { - ...p, - ...n, - rest_id: f, - state: b, - host: I, - hostPalette: q, - cohosts: T, - participants: v, - sharings: w, - ended_at: n.ended_at ? parseInt(n.ended_at, 10) : void 0, - total_live_listeners: null != (s = n.total_live_listeners) ? s : 0, - total_replay_watched: null != (i = n.total_replay_watched) ? i : 0, - community: y, - } - ); - } - function h(e, t) { - return e - ? e.map(({ user_results: e, ...r }) => { - const s = { - ...r, - user_id: null == e ? void 0 : e.rest_id, - community: void 0, - has_nft_avatar: void 0, - is_blue_verified: void 0, - verified_type: void 0, - highlightedLabel: void 0, - }; - if (t) { - const e = t.color, - i = Boolean( - r.community_role && r.community_role !== l.WW.NonMember - ); - s.community = { color: e, isMember: i }; - } - var i, n; - null != e && - e.result && - "User" === e.result.__typename && - ((s.is_blue_verified = e.result.is_blue_verified), - (s.has_nft_avatar = e.result.has_nft_avatar), - (s.is_blue_verified = e.result.is_blue_verified), - (s.verified_type = - null == (i = e.result.legacy) ? void 0 : i.verified_type), - (s.highlightedLabel = (0, d.H)( - null == - (n = e.result.identity_profile_labels_highlighted_label) - ? void 0 - : n.label - ))); - return s; - }) - : []; - } - function m(e) { - if (e && "User" === e.__typename) { - const { __typename: t, ...r } = e, - s = (0, c.Hy)(r); - if (s) return s.entities.users[s.result]; - } - return null; - } - var f = r(78111), - b = r.n(f), - y = r(52546), - v = r.n(y), - w = r(28119), - g = r.n(w), - S = r(88997), - q = r.n(S), - T = r(67560); - const I = ({ apiClient: e, featureSwitches: t }) => ({ - spacebar: () => - e.getUnversioned("/fleets/v1/fleetline", { only_spaces: !0 }, {}), - byId(r, s = {}) { - const n = "byId", - a = s.isMetatagsQuery || !1; - return e - .graphQL( - b(), - { - id: r, - isMetatagsQuery: a, - ...(0, i.d)(t), - withReplays: t.isTrue("voice_rooms_replay_consumption"), - }, - Q(n, r, () => !0) - ) - .catch((e) => { - if ( - !(function (e) { - if (!e) return !1; - const [t] = e.errors || []; - return ( - (null == t ? void 0 : t.code) === T.Z.DuplicateRequest - ); - })(e) - ) - throw e; - }) - .then((e) => { - if (e) - try { - return p(null == e ? void 0 : e.audioSpace); - } catch (e) { - throw new Error(L(n, e.message)); - } - }); - }, - subscribeToScheduledSpaceById(t) { - const r = "subscribeToScheduledSpaceById"; - return e.graphQL(g(), { id: t }, Q(r, t)).catch(x(r)).then(A(r)); - }, - unsubscribeFromScheduledSpaceById(t) { - const r = "unsubscribeFromScheduledSpaceById"; - return e.graphQL(q(), { id: t }, Q(r, t)).catch(x(r)).then(A(r)); - }, - search(t, r) { - const s = "spacesSearch"; - return e - .graphQL(v(), { query: t, filter: r }, Q(s, t)) - .catch(x(s)) - .then((e) => { - var t, r; - return null != e && - null != (t = e.search_by_raw_query) && - t.audio_spaces_grouped_by_section - ? (function (e) { - if (!Array.isArray(e.sections)) return { sections: [] }; - const t = { sections: [] }; - return ( - e.sections.forEach((e) => { - const { destination: r, name: s } = e; - if (Array.isArray(e.items)) { - const i = []; - e.items.forEach((e) => { - var t; - null != e && - null != (t = e.space) && - t.rest_id && - i.push(e.space.rest_id); - }), - s && - r && - t.sections.push({ - name: s, - destination: r, - items: i, - }); - } - }), - t - ); - })( - null == e || null == (r = e.search_by_raw_query) - ? void 0 - : r.audio_spaces_grouped_by_section - ) - : { sections: [] }; - }); - }, - }), - L = (e, t) => `GQL: AudioSpaces.${e} [${t}]`; - function x(e) { - return (t) => { - if (t) throw new Error(L(e, t.message)); - }; - } - function A(e) { - return (t) => { - if (t) return t; - throw new Error(L(e, "404")); - }; - } - const B = (e, t) => !1; - function Q(e, t, r = B) { - return function (i, n) { - let a = !1; - if (i.length) { - const [r] = i, - { code: n, message: o, path: l } = r; - let u; - const _ = C.find(({ matches: e }) => e(o)); - if (null != _ && _.message) u = L(e, _.message); - else if (Array.isArray(l)) { - const t = l.map(k).join("."); - u = L(e, t); - } else u = L(e, o || "isFatalError"); - (0, s.ZP)(u, { extra: { code: n, id: t, message: o, path: l } }), - (a = !0); - } - return !r(i, n) && a; - }; - } - function k(e) { - return "number" == typeof e ? "#" : e; - } - const C = ["Overcapacity: Unspecified", "Timeout: Unspecified"].map( - (e) => ({ - matches: (t) => t && e.toLowerCase() === t.toLowerCase(), - message: e, - }) - ); - }, - 12006: (e, t, r) => { - "use strict"; - r.d(t, { H: () => i }); - var s = r(3760); - function i(e) { - if (!e) return; - const { - badge: t, - description: r, - url: i, - userLabelDisplayType: n, - userLabelType: a, - } = e; - return { - badge: t, - description: r, - userLabelType: a, - userLabelDisplayType: n, - url: i && (0, s.Z)(i), - }; - } - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AudioSpaces.4551fcfa.js.map diff --git a/info/endpoints/endpoints.AudioSpacesPresence.40fa84ca.js b/info/endpoints/endpoints.AudioSpacesPresence.40fa84ca.js deleted file mode 100644 index 2dad4eb..0000000 --- a/info/endpoints/endpoints.AudioSpacesPresence.40fa84ca.js +++ /dev/null @@ -1,87 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - [ - "endpoints.AudioSpacesPresence", - "shared~loader.Typeahead~loader.AppModules~bundle.Birdwatch~bundle.Communities~bundle.Compose~bundle.Settings~", - ], - { - 18484: (e, s, t) => { - t.r(s), t.d(s, { default: () => a }); - var n = t(49461), - r = t(86928); - const a = ({ apiClient: e, featureSwitches: s }) => ({ - fetchPresence: (s, t = {}) => { - const { userIds: a } = s, - c = { user_ids: a.join(","), only_spaces: !0 }; - return e - .getUnversioned("/fleets/v1/avatar_content", c, t) - .then((e) => { - const { users: s, refresh_delay_secs: t = r.vj } = e, - c = 0 === t ? r.vj : t, - i = Date.now() + 1e3 * c, - o = Object.fromEntries( - a.map((e) => [ - e, - { expiry: i, spaces: void 0, refresh_delay_secs: c }, - ]) - ), - d = - s && - (0, n.Z)(s, (e, s) => ({ - ...e, - expiry: i, - refresh_delay_secs: c, - })); - return (d || o) && { entities: { userPresence: { ...o, ...d } } }; - }); - }, - }); - }, - 86928: (e, s, t) => { - t.d(s, { ZP: () => _, cY: () => u, vj: () => c }); - t(6886), t(36728), t(2784), t(92028); - var n = t(94668), - r = t(29122), - a = t(91191); - const c = 30, - i = (0, r.ZP)({ - namespace: "userPresence", - entityIsComplete: (e) => e.expiry > Date.now(), - }), - o = (0, r.tb)(i, { - context: "FETCH_USER_PRESENCE", - endpoint: (e) => e.AudioSpacesPresence.fetchPresence, - params: (e) => ({ userIds: e }), - }), - d = (0, r.Nr)(i, { - context: "FETCH_USER_PRESENCE", - endpoint: (e) => e.AudioSpacesPresence.fetchPresence, - params: (e) => ({ userIds: e }), - }), - p = { ...i, ...o, ...d }, - u = (e, s) => { - const t = p.select(e, s), - r = t ? t.spaces : void 0; - return ( - r && { - presenceRingType: "space", - link: { - pathname: (0, n.e)(r.live_content.audiospace.broadcast_id), - state: { origin: "audiospace_ring" }, - }, - spaceId: r.live_content.audiospace.broadcast_id, - } - ); - }; - const _ = a.Z.register(p); - }, - 94668: (e, s, t) => { - function n(e) { - return `/i/spaces/${e}/peek`; - } - t.d(s, { e: () => n }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AudioSpacesPresence.40fa84ca.js.map diff --git a/info/endpoints/endpoints.BadgeCount.bb77295a.js b/info/endpoints/endpoints.BadgeCount.bb77295a.js deleted file mode 100644 index 2f2be9a..0000000 --- a/info/endpoints/endpoints.BadgeCount.bb77295a.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.BadgeCount"], - { - 21918: (e, t, n) => { - n.r(t), n.d(t, { default: () => i }); - const s = { supports_ntab_urt: 1 }, - u = { "x-twitter-polling": "true" }, - i = ({ apiClient: e, featureSwitches: t }) => ({ - fetchBadgeCount: (t, n) => - e.getURT("badge_count/badge_count", { ...s, ...t }, { ...u, ...n }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.BadgeCount.bb77295a.js.map diff --git a/info/endpoints/endpoints.Birdwatch.ae95011a.js b/info/endpoints/endpoints.Birdwatch.ae95011a.js deleted file mode 100644 index c781ffc..0000000 --- a/info/endpoints/endpoints.Birdwatch.ae95011a.js +++ /dev/null @@ -1,536 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Birdwatch"], - { - 4733: (e) => { - e.exports = { - queryId: "3ss48WFwGokBH_gj8t_8aQ", - operationName: "BirdwatchAliasSelect", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 59070: (e) => { - e.exports = { - queryId: "t6r3Wq7wripUW9gB3FQNBw", - operationName: "BirdwatchFetchContributorNotesSlice", - operationType: "query", - metadata: { - featureSwitches: [ - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 47266: (e) => { - e.exports = { - queryId: "TKdL0YFsX4DMOpMKeneLvA", - operationName: "BirdwatchCreateAppeal", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 46222: (e) => { - e.exports = { - queryId: "36EUZZyaciVmNrq4CRZcmw", - operationName: "BirdwatchCreateNote", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_graphql_timeline_navigation_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - ], - }, - }; - }, - 64544: (e) => { - e.exports = { - queryId: "bD3AEK9BMCSpRods_ng2fA", - operationName: "BirdwatchCreateRating", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 68885: (e) => { - e.exports = { - queryId: "IKS_qrShkDyor6Ri1ahd9g", - operationName: "BirdwatchDeleteNote", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 43142: (e) => { - e.exports = { - queryId: "OpvCOyOoQClUND66zDzrnA", - operationName: "BirdwatchDeleteRating", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 46294: (e) => { - e.exports = { - queryId: "FLgLReVIssXjB_ui3wcrRQ", - operationName: "BirdwatchEditNotificationSettings", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 83101: (e) => { - e.exports = { - queryId: "szoXMke8AZOErso908iglw", - operationName: "BirdwatchFetchAliasSelfSelectOptions", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 65655: (e) => { - e.exports = { - queryId: "LUEdtkcpBlGktUtms4BvwA", - operationName: "BirdwatchFetchAliasSelfSelectStatus", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 39406: (e) => { - e.exports = { - queryId: "pMbW6Y4LuS5MzlSOEqERJQ", - operationName: "BirdwatchFetchAuthenticatedUserProfile", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 5963: (e) => { - e.exports = { - queryId: "btgGtchypc3D491MJ7XXWA", - operationName: "BirdwatchFetchBirdwatchProfile", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 74535: (e) => { - e.exports = { - queryId: "L3LftPt6fhYqoQ5Vnxm7UQ", - operationName: "BirdwatchFetchGlobalTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 69499: (e) => { - e.exports = { - queryId: "ZGMhf1M7kPKMOhEk1nz0Yw", - operationName: "BirdwatchFetchNotes", - operationType: "query", - metadata: { - featureSwitches: [ - "responsive_web_graphql_timeline_navigation_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - ], - }, - }; - }, - 39452: (e) => { - e.exports = { - queryId: "GO8BR2MM2WZB63cdOoC7lw", - operationName: "BirdwatchFetchOneNote", - operationType: "query", - metadata: { - featureSwitches: [ - "responsive_web_graphql_timeline_navigation_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - ], - }, - }; - }, - 79758: (e) => { - e.exports = { - queryId: "9bDdJ6AL26RLkcUShEcF-A", - operationName: "BirdwatchFetchPublicData", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 99759: (e) => { - e.exports = { - queryId: "cED9wJy8Nd1kZCCYuIq9zQ", - operationName: "BirdwatchProfileAcknowledgeEarnOut", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 10695: (e, t, a) => { - "use strict"; - a.r(t), - a.d(t, { - default: () => te, - isFatalBirdwatchGlobalTimelineError: () => H, - }); - var i = a(6899), - r = a(69114), - n = a(72599), - _ = a(17360), - o = a(83175), - s = a(46395), - l = a(28962), - d = a(30669), - c = a(85364); - const p = (e, t, a) => { - if (null == t || !t.data_v1) return null; - const i = t.data_v1.summary, - { tweet_results: r, ...n } = t; - return { - ...n, - data_v1: { ...n.data_v1, summary: i && (0, l.Z)(e, i) }, - tombstone: t.tombstone && (0, l.Z)(e, t.tombstone), - tweet: null == r ? void 0 : r.result, - tweetId: a, - }; - }, - h = new i.fK.Entity( - "birdwatchNotes", - {}, - { - idAttribute: (e) => e.tweet_id, - processStrategy: (e) => { - const t = (0, d.$)(), - a = {}; - if (e.misleading_birdwatch_notes) { - const i = e.misleading_birdwatch_notes.notes.map((e) => - p(t, e) - ); - a.misleading_ids = i.filter(Boolean); - } - if (e.not_misleading_birdwatch_notes) { - const i = e.not_misleading_birdwatch_notes.notes.map((e) => - p(t, e) - ); - a.not_misleading_ids = i.filter(Boolean); - } - return ( - e.self_birdwatch_note && - (a.ownNoteId = e.self_birdwatch_note.rest_id), - a - ); - }, - } - ), - u = new i.fK.Entity( - "birdwatchNotes", - {}, - { - idAttribute: (e) => e.alias, - processStrategy: (e) => { - const t = (0, d.$)(), - { notes_slice: a, ...i } = e; - return ( - a && (i.notes = a.notes.map((e) => p(t, e)).filter(Boolean)), i - ); - }, - } - ), - b = new i.fK.Entity( - "birdwatchContributorNotes", - {}, - { - idAttribute: "rest_id", - processStrategy: (e, t, a) => { - var i, r; - const { tweet_results: n, ..._ } = e, - o = { ..._ }, - l = (0, d.$)(), - c = - null != n && null != (i = n.result) && i.tweet - ? null == n || null == (r = n.result) - ? void 0 - : r.tweet - : null == n - ? void 0 - : n.result, - h = p(l, o, c) || {}; - return (0, s.Z)(h, t, a); - }, - } - ); - b.define({ tweetId: c.Z }); - const w = new i.fK.Entity( - "birdwatchNotes", - {}, - { - idAttribute: (e) => e.rest_id, - processStrategy: (e) => p((0, d.$)(), e), - } - ); - var f = a(4733), - m = a.n(f), - v = a(59070), - g = a.n(v), - y = a(47266), - q = a.n(y), - S = a(46222), - B = a.n(S), - N = a(64544), - x = a.n(N), - L = a(68885), - Q = a.n(L), - A = a(43142), - F = a.n(A), - I = a(46294), - T = a.n(I), - k = a(83101), - E = a.n(k), - C = a(65655), - O = a.n(C), - D = a(39406), - R = a.n(D), - Z = a(5963), - G = a.n(Z), - M = a(74535), - P = a.n(M), - z = a(69499), - U = a.n(z), - K = a(39452), - W = a.n(K), - j = a(79758), - X = a.n(j), - Y = a(99759), - J = a.n(Y), - $ = a(82249); - const V = { result: [], entities: {}, slice_info: {} }, - H = (e, t) => { - var a, i; - const r = - null == t || - null == (a = t.viewer) || - null == (i = a.birdwatch_home_page) - ? void 0 - : i.body; - return ( - r || - (0, n.ZP)("GQL URT: Failed to render Birdwatch Global timeline"), - !r && (0, _.jB)(e) - ); - }, - ee = (e, t) => - e.graphQL(E(), {}).then((a) => { - const { options: i, retry_in_millis: n } = - a.authenticated_user_birdwatch_alias_self_select_options || {}; - return n && t < 5 ? (0, r.Z)(n).then(() => ee(e, t + 1)) : i; - }), - te = ({ apiClient: e, featureSwitches: t }) => ({ - acknowledgeEarnOut: () => e.graphQL(J(), {}), - createAppeal: (t) => e.graphQL(q(), { note_id: t.note_id }), - createNote: (a) => - e - .graphQL(B(), { - tweet_id: a.tweet_id, - is_media_note: a.is_media_note, - data_v1: a.data, - ...(0, o.S)(t), - }) - .then((e) => { - var t, a, r; - if ( - "BirdwatchError" === - (null == (t = e.birdwatchnote_create_v2) ? void 0 : t.type) - ) - return { - error: "BirdwatchError", - reason: - null == (a = e.birdwatchnote_create_v2) - ? void 0 - : a.reason, - error_code: - null == (r = e.birdwatchnote_create_v2) - ? void 0 - : r.error_code, - }; - const n = { ...e.birdwatchnote_create_v2 }; - return n && (0, i.Fv)(n, w); - }), - createRating(a) { - const { data: i, note_id: r, tweet_id: n } = a, - _ = t.isTrue("responsive_web_birdwatch_ratings_v2_enabled") - ? { note_id: r, tweet_id: n, data_v2: i } - : { note_id: r, data_v1: i }; - return e.graphQL(x(), _).then((e) => { - var t, a; - return "BirdwatchError" === - (null == (t = e.birdwatchnote_rate_v3) ? void 0 : t.type) - ? { - error: "BirdwatchError", - error_code: - null == (a = e.birdwatchnote_rate_v3) - ? void 0 - : a.error_code, - } - : { ...e.birdwatchnote_rate_v3 }; - }); - }, - deleteNote: (t) => e.graphQL(Q(), { note_id: t.note_id }), - deleteRating: (t) => e.graphQL(F(), { note_id: t.note_id }), - editNotificationSettings: (t) => - e.graphQL(T(), { settings: t.settings }), - fetchOneNote: (a) => - e.graphQL(W(), { note_id: a.note_id, ...(0, o.S)(t) }).then((e) => { - const t = { ...e.birdwatch_note_by_rest_id }; - return t && (0, i.Fv)(t, w); - }), - fetchNotes(a) { - const { tweet_id: r } = a; - return e.graphQL(U(), { tweet_id: r, ...(0, o.S)(t) }).then((e) => { - const t = e.tweet_result_by_rest_id.result, - a = { ...(null != t && t.tweet ? t.tweet : t), tweet_id: r }; - return a && (0, i.Fv)(a, h); - }); - }, - fetchBirdwatchProfile: (t) => - e.graphQL(G(), { alias: t.alias }).then((e) => { - const t = { ...e.birdwatch_profile_by_alias }; - return t && (0, i.Fv)(t, u); - }), - fetchBirdwatchContributorNotesSlice: (a) => - a - ? e - .graphQL( - g(), - { count: 10, ...a, ...(0, o.S)(t) }, - (0, _.kj)((e) => { - var t; - return !( - null != e && - null != (t = e.birdwatch_profile_by_alias) && - t.notes_slice - ); - }, "GQL Birdwatch: Failed to fetch Contributor Notes Slice") - ) - .then((e) => { - var t; - const a = - null == e || null == (t = e.birdwatch_profile_by_alias) - ? void 0 - : t.notes_slice; - if (a) { - const { entities: e, result: t } = (0, i.Fv)(a.notes, [ - b, - ]); - return { - result: t, - entities: e, - slice_info: a.slice_info, - }; - } - return V; - }) - : Promise.resolve(V), - fetchBirdwatchContributorDeletedNotesSlice: (a) => - a - ? e - .graphQL( - g(), - { count: 10, ...a, ...(0, o.S)(t) }, - (0, _.kj)((e) => { - var t; - return !( - null != e && - null != (t = e.birdwatch_profile_by_alias) && - t.deleted_notes_slice - ); - }, "GQL Birdwatch: Failed to fetch Contributor Notes Slice") - ) - .then((e) => { - var t; - const a = - null == e || null == (t = e.birdwatch_profile_by_alias) - ? void 0 - : t.deleted_notes_slice; - if (a) { - const { entities: e, result: t } = (0, i.Fv)(a.notes, [ - b, - ]); - return { - result: t, - entities: e, - slice_info: a.slice_info, - }; - } - return V; - }) - : Promise.resolve(V), - fetchAuthenticatedUserProfile: () => - e - .graphQL(R(), {}) - .then((e) => e.authenticated_user_birdwatch_profile), - fetchAliasSelfSelectStatus: () => - e - .graphQL(O(), {}) - .then( - (e) => e.authenticated_user_birdwatch_alias_self_select_status - ), - fetchAliasSelfSelectOptions: () => ee(e, 0), - selectAlias: (t) => e.graphQL(m(), { alias: t.alias }), - fetchPublicData: () => - e - .graphQL(X(), {}) - .then((e) => ({ ...e.birdwatch_latest_public_data_file_bundle })), - fetchGlobalTimeline: () => - e.graphQL(P(), { ...(0, o.d)(t) }, H).then((e) => { - var t; - const a = - null == e || null == (t = e.viewer) - ? void 0 - : t.birdwatch_home_page; - return null != a && a.body ? a : $.ln; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Birdwatch.ae95011a.js.map diff --git a/info/endpoints/endpoints.BizProfiles.1e307eda.js b/info/endpoints/endpoints.BizProfiles.1e307eda.js deleted file mode 100644 index 8b90eb7..0000000 --- a/info/endpoints/endpoints.BizProfiles.1e307eda.js +++ /dev/null @@ -1,39 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.BizProfiles"], - { - 64256: (e) => { - e.exports = { - queryId: "6OFpJ3TH3p8JpwOSgfgyhg", - operationName: "BizProfileFetchUser", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 48342: (e, s, r) => { - "use strict"; - r.r(s), r.d(s, { default: () => u }); - var t = r(64256), - i = r.n(t); - const u = ({ apiClient: e, featureSwitches: s }) => ({ - fetchUserBizProfile: (s) => - e.graphQL(i(), { rest_id: s.rest_id }).then((e) => { - var s, r, t, i; - return { - business: - (null == (s = e.user_result_by_rest_id) || - null == (r = s.result) - ? void 0 - : r.business) || void 0, - professional: - (null == (t = e.user_result_by_rest_id) || - null == (i = t.result) - ? void 0 - : i.professional) || void 0, - }; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.BizProfiles.1e307eda.js.map diff --git a/info/endpoints/endpoints.BonusFollows.255992da.js b/info/endpoints/endpoints.BonusFollows.255992da.js deleted file mode 100644 index 05ab8ea..0000000 --- a/info/endpoints/endpoints.BonusFollows.255992da.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.BonusFollows"], - { - 49935: (e, t, s) => { - s.r(t), s.d(t, { default: () => l }); - const o = { user_id: "", template_name: "bonus_follow" }, - l = ({ apiClient: e, featureSwitches: t }) => ({ - fetch: (t = o, s = {}) => - e.get("people_discovery/profile_follow", t, s), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.BonusFollows.255992da.js.map diff --git a/info/endpoints/endpoints.Bookmarks.cdbe2e6a.js b/info/endpoints/endpoints.Bookmarks.cdbe2e6a.js deleted file mode 100644 index 852438e..0000000 --- a/info/endpoints/endpoints.Bookmarks.cdbe2e6a.js +++ /dev/null @@ -1,307 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Bookmarks"], - { - 60992: (e) => { - e.exports = { - queryId: "13H7EUATwethsj-XxX5ohw", - operationName: "BookmarkFolderTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 17305: (e) => { - e.exports = { - queryId: "i78YDd0Tza-dV4SYs58kRg", - operationName: "BookmarkFoldersSlice", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 85419: (e) => { - e.exports = { - queryId: "4KHZvvNbHNf07bsgnL9gWA", - operationName: "bookmarkTweetToFolder", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 2061: (e) => { - e.exports = { - queryId: "tmd4ifV8RHltzn8ymGg1aw", - operationName: "Bookmarks", - operationType: "query", - metadata: { - featureSwitches: [ - "graphql_timeline_v2_bookmark_timeline", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 5509: (e) => { - e.exports = { - queryId: "6Xxqpq8TM_CREYiuof_h5w", - operationName: "createBookmarkFolder", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 1258: (e) => { - e.exports = { - queryId: "skiACZKC1GDYli-M8RzEPQ", - operationName: "BookmarksAllDelete", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 86558: (e) => { - e.exports = { - queryId: "2UTTsO-6zs93XqlEUZPsSg", - operationName: "DeleteBookmarkFolder", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 51792: (e) => { - e.exports = { - queryId: "a6kPp1cS1Dgbsjhapz1PNw", - operationName: "EditBookmarkFolder", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 68831: (e) => { - e.exports = { - queryId: "2Qbj9XZvtUvyJB4gFwWfaA", - operationName: "RemoveTweetFromBookmarkFolder", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 5929: (e, o, t) => { - "use strict"; - t.r(o), t.d(o, { default: () => I, isFatalBookmarksAllDelete: () => Q }); - var r = t(6899), - a = t(72599), - i = t(17360), - n = t(83175); - const l = new r.fK.Entity("bookmarkFolders", {}); - var _ = t(17305), - s = t.n(_), - d = t(60992), - m = t.n(d), - k = t(2061), - p = t.n(k), - u = t(85419), - b = t.n(u), - c = t(5509), - w = t.n(c), - v = t(1258), - h = t.n(v), - f = t(86558), - g = t.n(f), - y = t(51792), - F = t.n(y), - B = t(68831), - q = t.n(B), - T = t(82249); - const x = { result: [], entities: {}, slice_info: {} }, - Q = (e, o) => { - const t = "Done" === (null == o ? void 0 : o.bookmark_all_delete); - return ( - t || (0, a.ZP)("GQL Bookmarks: Failed to delete all bookmarks"), - (0, i.jB)(e) || !t - ); - }, - L = (e, o) => { - var t, r, n; - const l = - null == o || - null == (t = o.viewer) || - null == (r = t.user_results) - ? void 0 - : r.result, - _ = "User" === (null == l ? void 0 : l.__typename) ? l : void 0, - s = - null == _ || null == (n = _.bookmark_collections_slice) - ? void 0 - : n.items; - return ( - s || - (0, a.ZP)( - "GQL Bookmark Folders: Failed to render Bookmark Folders timeline" - ), - !s && (0, i.jB)(e) - ); - }, - S = (e, o) => { - var t; - const r = - null == o || null == (t = o.bookmark_collection_timeline) - ? void 0 - : t.timeline; - return ( - r || - (0, a.ZP)( - "GQL Bookmark Folders: Failed to render Bookmark Folders timeline" - ), - !r && (0, i.jB)(e) - ); - }, - I = ({ apiClient: e, featureSwitches: o }) => ({ - bookmarkTweetToFolder: (o) => - e.graphQL( - b(), - { ...o }, - (0, i.kj)( - (e) => !e.bookmark_collection_tweet_put, - "GQL Bookmark Folders: failed to Add Tweet to Bookmark Folder" - ) - ), - createBookmarkFolder: (o) => - e.graphQL( - w(), - { ...o }, - (0, i.kj)( - (e) => !e.bookmark_collection_create, - "GQL Bookmark Folders: failed to Create Bookmark Folder" - ) - ), - deleteAll: () => e.graphQL(h(), {}, Q).then((e) => e), - deleteBookmarkFolder(o) { - const { bookmarkFolderId: t } = o; - return e.graphQL(g(), { bookmark_collection_id: t }); - }, - editBookmarkFolder(o) { - const { bookmarkFolderId: t, name: r } = o; - return e.graphQL(F(), { bookmark_collection_id: t, name: r }); - }, - removeTweetFromBookmarkFolder(o) { - const { bookmarkFolderId: t, tweetId: r } = o; - return e.graphQL(q(), { bookmark_collection_id: t, tweet_id: r }); - }, - fetchBookmarksTimeline: ({ count: t, cursor: r }) => - e - .graphQL( - p(), - { - count: t, - cursor: r, - includePromotedContent: !0, - ...(0, n.d)(o), - }, - (e, o) => { - var t, r; - return !( - (null != o && - null != (t = o.bookmark_timeline) && - t.timeline) || - (null != o && - null != (r = o.bookmark_timeline_v2) && - r.timeline) - ); - } - ) - .then((e) => { - var o, t; - return ( - (null == e || null == (o = e.bookmark_timeline_v2) - ? void 0 - : o.timeline) || - (null == e || null == (t = e.bookmark_timeline) - ? void 0 - : t.timeline) || - T.cY - ); - }), - fetchBookmarkFolderTimeline: ({ - bookmark_collection_id: t, - cursor: r, - }) => - e - .graphQL( - m(), - { - bookmark_collection_id: t, - cursor: r, - includePromotedContent: !0, - ...(0, n.d)(o), - }, - S - ) - .then((e) => { - var o; - return ( - (null == e || null == (o = e.bookmark_collection_timeline) - ? void 0 - : o.timeline) || T.cY - ); - }), - fetchBookmarkFoldersSlice: (o) => - o - ? e.graphQL(s(), o, L).then((e) => { - var o, t; - const a = - null == e || - null == (o = e.viewer) || - null == (t = o.user_results) - ? void 0 - : t.result, - i = - "User" === (null == a ? void 0 : a.__typename) - ? a - : void 0, - n = null == i ? void 0 : i.bookmark_collections_slice; - if (n) { - const { entities: e, result: o } = (0, r.Fv)(n.items, [l]); - return { entities: e, result: o, slice_info: n.slice_info }; - } - return x; - }) - : Promise.resolve(x), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Bookmarks.cdbe2e6a.js.map diff --git a/info/endpoints/endpoints.BounceOcfFlow.3a4f94ea.js b/info/endpoints/endpoints.BounceOcfFlow.3a4f94ea.js deleted file mode 100644 index c31d99f..0000000 --- a/info/endpoints/endpoints.BounceOcfFlow.3a4f94ea.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.BounceOcfFlow"], - { - 25449: (e, t, n) => { - n.r(t), n.d(t, { default: () => o }); - const o = ({ apiClient: e, featureSwitches: t }) => ({ - task(t, n) { - const { flow_name: o, test_country_code: s, ...c } = t; - return e.post( - "onboarding/bounce", - c, - { flow_name: o, test_country_code: s }, - { ...n, "content-type": "application/json" } - ); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.BounceOcfFlow.3a4f94ea.js.map diff --git a/info/endpoints/endpoints.Branch.1e28b37a.js b/info/endpoints/endpoints.Branch.1e28b37a.js deleted file mode 100644 index 35f8dd2..0000000 --- a/info/endpoints/endpoints.Branch.1e28b37a.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Branch"], - { - 65237: (t, e, n) => { - n.r(e), n.d(e, { default: () => i }); - const i = ({ apiClient: t, featureSwitches: e }) => ({ - initSdk: () => - t.post("branch/init", {}, {}, { "content-type": "application/json" }), - callback: (e) => - t.post( - "branch/callback", - { cross_platform_id: e }, - {}, - { "content-type": "application/json" } - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Branch.1e28b37a.js.map diff --git a/info/endpoints/endpoints.Broadcasts.0956aa1a.js b/info/endpoints/endpoints.Broadcasts.0956aa1a.js deleted file mode 100644 index 72d8ede..0000000 --- a/info/endpoints/endpoints.Broadcasts.0956aa1a.js +++ /dev/null @@ -1,94 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Broadcasts"], - { - 45205: (s, e, t) => { - t.r(e), t.d(e, { default: () => i }); - var a = t(6899), - r = t(88701), - o = t(63174), - n = t(63140); - const c = { include_events: !0 }, - i = ({ apiClient: s, featureSwitches: e }) => ({ - fetchBroadcast: (e, t = {}) => { - const i = { ...c, ...e, ids: e.ids.join(",") }; - return s.get("broadcasts/show", i, t).then((s) => { - const { entities: c, result: i } = (0, a.Fv)(s, r.j); - if ( - e.ids.every( - (s) => - !( - c.broadcasts && - c.broadcasts[s] && - c.broadcasts[s].broadcast_id - ) - ) - ) - return Promise.reject( - new o.Z( - "fetchBroadcast URL", - 404, - s.headers, - [{ code: n.ZP.GenericNotFound }], - t - ) - ); - const d = { - result: { broadcasts: i.broadcasts }, - entities: { broadcasts: { ...c.broadcasts } }, - }; - if ( - (i.events && - d.result.broadcasts.forEach((s) => { - const e = i.events && i.events[s], - t = d.entities.broadcasts[s]; - if (e && t) { - const s = e.map((s) => c.liveEvents[s]); - t.liveEvents = s; - } - }), - "object" == typeof e.broadcastVersionMap) - ) - for (const s in e.broadcastVersionMap) { - var b; - const t = e.broadcastVersionMap[s]; - (null == (b = d.entities.broadcasts[s]) - ? void 0 - : b.version) <= t && - ((d.result.broadcasts = d.result.broadcasts.filter( - (e) => e !== s - )), - delete d.entities.broadcasts[s]); - } - return d; - }); - }, - }); - }, - 88701: (s, e, t) => { - t.d(e, { j: () => l, u: () => v }); - var a = t(6899), - r = t(50445), - o = t(13239), - n = t(46395); - const c = new a.fK.Entity("broadcasts", {}, { processStrategy: n.Z }), - i = new a.fK.Entity("audiospaces", {}, { processStrategy: n.Z }), - d = new a.fK.Entity("liveEvents", {}, { processStrategy: n.Z }), - b = new a.fK.Entity("slates", {}, { processStrategy: n.Z }), - u = new a.fK.Values([d]), - v = new a.fK.Object({ - twitter_objects: { - audiospaces: [i], - broadcasts: [c], - live_events: [d], - slates: [b], - tweets: [r.Z], - users: [o.Z], - }, - }), - l = new a.fK.Object({ broadcasts: [c], events: u }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Broadcasts.0956aa1a.js.map diff --git a/info/endpoints/endpoints.ClientEducationFlags.03a9d05a.js b/info/endpoints/endpoints.ClientEducationFlags.03a9d05a.js deleted file mode 100644 index a6f57a8..0000000 --- a/info/endpoints/endpoints.ClientEducationFlags.03a9d05a.js +++ /dev/null @@ -1,35 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.ClientEducationFlags"], - { - 27824: (t) => { - t.exports = { - queryId: "IjQ-egg0uPkY11NyPMfRMQ", - operationName: "PutClientEducationFlag", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 68877: (t, e, a) => { - "use strict"; - a.r(e), a.d(e, { default: () => s, isFatal: () => o }); - var i = a(72599), - n = a(17360), - l = a(27824), - u = a.n(l); - const o = (t, e) => { - const a = - "Done" === (null == e ? void 0 : e.add_client_education_flag_put); - return ( - a || (0, i.ZP)("GQL Client Education Flag: Failed to add"), - !a && (0, n.jB)(t) - ); - }, - s = ({ apiClient: t, featureSwitches: e }) => ({ - putClientEducationFlag: ({ flag: e }) => - t.graphQL(u(), { flag: e }, o), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.ClientEducationFlags.03a9d05a.js.map diff --git a/info/endpoints/endpoints.Collections.6dd079ca.js b/info/endpoints/endpoints.Collections.6dd079ca.js deleted file mode 100644 index e52f782..0000000 --- a/info/endpoints/endpoints.Collections.6dd079ca.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Collections"], - { - 53225: (e, t, s) => { - s.r(t), s.d(t, { default: () => f }); - var n = s(6899), - l = (s(85940), s(50445)), - i = s(13239), - c = s(46395); - const o = /^[^-]+-/, - a = new n.fK.Entity( - "collections", - {}, - { idAttribute: (e, t, s) => s.replace(o, ""), processStrategy: c.Z } - ), - r = { - objects: { - timelines: new n.fK.Values(a), - tweets: new n.fK.Values(l.Z), - users: new n.fK.Values(i.Z), - }, - }; - var u = s(87233), - w = s(55371); - const f = ({ apiClient: e, featureSwitches: t }) => ({ - fetchCollection(s, l = {}) { - const { id: i } = s; - return e - .get( - "collections/entries", - Object.assign( - {}, - ((e) => ({ - ...w.getGlobalDefaults(e), - ...u.getGlobalDefaults(e), - count: 5, - }))(t), - s, - { id: `custom-${i}` } - ), - l - ) - .then((e) => (0, n.Fv)(e, r)); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Collections.6dd079ca.js.map diff --git a/info/endpoints/endpoints.Commerce.a4648afa.js b/info/endpoints/endpoints.Commerce.a4648afa.js deleted file mode 100644 index 856514b..0000000 --- a/info/endpoints/endpoints.Commerce.a4648afa.js +++ /dev/null @@ -1,72 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Commerce"], - { - 99313: (e) => { - e.exports = { - queryId: "-lnNX56S2YrZYrLzbccFAQ", - operationName: "LiveCommerceItemsSlice", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 54556: (e, t, i) => { - "use strict"; - i.r(t), i.d(t, { default: () => m, isFatal: () => _ }); - var r = i(6899), - s = i(72599), - c = i(17360); - const n = new r.fK.Entity( - "commerceItems", - {}, - { - idAttribute: (e) => { - var t, i; - return null != - (t = - null == (i = e.product_core_data) - ? void 0 - : i.product_metadata.product_key) - ? t - : ""; - }, - } - ); - var o = i(99313), - l = i.n(o); - const _ = (e, t) => { - var i; - const r = - null == t || null == (i = t.live_event_by_rest_id) - ? void 0 - : i.shop_grid_commerce_item_slice; - return ( - r || - (0, s.ZP)( - "GQL Live Commerce: Failed to fetch Live Commerce Slice" - ), - !r && (0, c.jB)(e) - ); - }, - a = { result: [], entities: {}, slice_info: {} }, - m = ({ apiClient: e, featureSwitches: t }) => ({ - fetchLiveCommerceItemsSlice: (t) => - t - ? e.graphQL(l(), t, _).then((e) => { - var t; - const i = - null == e || null == (t = e.live_event_by_rest_id) - ? void 0 - : t.shop_grid_commerce_item_slice; - if (i) { - const { entities: e, result: t } = (0, r.Fv)(i.items, [n]); - return { result: t, entities: e, slice_info: i.slice_info }; - } - return a; - }) - : Promise.resolve(a), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Commerce.a4648afa.js.map diff --git a/info/endpoints/endpoints.Communities.9d2541ba.js b/info/endpoints/endpoints.Communities.9d2541ba.js deleted file mode 100644 index 1c50464..0000000 --- a/info/endpoints/endpoints.Communities.9d2541ba.js +++ /dev/null @@ -1,8275 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Communities", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 94507: (e) => { - e.exports = { - queryId: "8UB2fhB8TiYIW2M6vbBFXg", - operationName: "CommunitiesMainDiscoveryModule", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 42178: (e) => { - e.exports = { - queryId: "DzcxPzkGYVQk-BD0pqAcZw", - operationName: "CommunitiesMainPageTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 62604: (e) => { - e.exports = { - queryId: "s8-oxdVsoJ3w2CFD0nFt9g", - operationName: "CommunitiesMembershipsSlice", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 95404: (e) => { - e.exports = { - queryId: "QXo-eKTsvhpCyFotNz2u6g", - operationName: "CommunitiesMembershipsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50962: (e) => { - e.exports = { - queryId: "plOgdpBzpVVQbTOEVuRc_A", - operationName: "CommunityAboutTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 43594: (e) => { - e.exports = { - queryId: "lRjZKTRcWuqwtYwCWGy9_w", - operationName: "CreateCommunity", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 49546: (e) => { - e.exports = { - queryId: "b3rceNUXWRyo5mSwVZF74Q", - operationName: "CommunityDiscoveryTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 47197: (e) => { - e.exports = { - queryId: "bCVwRBDPi15jrdJQ7NCENQ", - operationName: "CommunityByRestId", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 69861: (e) => { - e.exports = { - queryId: "hril1TsnshopHbmnjdUmhQ", - operationName: "CommunityHashtagsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 40901: (e) => { - e.exports = { - queryId: "PXO-mA1KfmLqB9I6R-lOng", - operationName: "JoinCommunity", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 29890: (e) => { - e.exports = { - queryId: "AtiTdhEyRN8ruNFW069ewQ", - operationName: "LeaveCommunity", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 94105: (e) => { - e.exports = { - queryId: "f_YqrHSCc1mPlG-aB7pFRw", - operationName: "CommunityModerationKeepTweet", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 59569: (e) => { - e.exports = { - queryId: "V-iC7tjWOlzBJ44SanqGzw", - operationName: "CommunityModerationTweetCasesSlice", - operationType: "query", - metadata: { - featureSwitches: [ - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 14981: (e) => { - e.exports = { - queryId: "6G66cW5zuxPXmHOeBOjF2w", - operationName: "RequestToJoinCommunity", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 20387: (e) => { - e.exports = { - queryId: "P38EspBBPhAfSKPP74-s2Q", - operationName: "CommunityTweetsRankedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 78668: (e) => { - e.exports = { - queryId: "2JgHOlqfeLusxAT0yGQJjg", - operationName: "CommunityTweetsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 18072: (e) => { - e.exports = { - queryId: "5eq76kkUqfdCzInCtcxQOA", - operationName: "CommunityUpdateRole", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 28218: (e) => { - e.exports = { - queryId: "x8hUNaBCOV2tSalqB9cwWQ", - operationName: "CommunityUserInvite", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 32549: (e) => { - "use strict"; - var l, - n, - i, - a, - s, - t, - r, - u, - o, - _, - d, - c, - m, - p, - y, - g, - b, - k, - h, - v, - w, - F, - f, - K, - T, - R, - q, - L, - S, - C, - x, - I, - U, - A, - O, - H, - W, - M, - Q, - E, - P, - j, - z, - B, - G, - D, - N, - Z, - V, - J, - Y, - X, - $, - ee, - le, - ne, - ie, - ae, - se, - te, - re, - ue, - oe, - _e, - de, - ce, - me, - pe, - ye, - ge, - be, - ke, - he, - ve, - we, - Fe, - fe, - Ke, - Te, - Re, - qe, - Le, - Se, - Ce, - xe, - Ie, - Ue, - Ae, - Oe, - He, - We, - Me, - Qe, - Ee, - Pe, - je, - ze, - Be, - Ge, - De, - Ne, - Ze, - Ve, - Je, - Ye, - Xe, - $e, - el, - ll, - nl, - il, - al, - sl, - tl, - rl, - ul, - ol, - _l, - dl, - cl, - ml, - pl, - yl, - gl, - bl, - kl, - hl, - vl, - wl, - Fl, - fl, - Kl, - Tl, - Rl, - ql, - Ll, - Sl, - Cl, - xl, - Il, - Ul, - Al, - Ol = { - fragment: { - argumentDefinitions: (l = [ - { - defaultValue: null, - kind: "LocalArgument", - name: "communityId", - }, - { defaultValue: !1, kind: "LocalArgument", name: "withDmMuting" }, - { - defaultValue: !1, - kind: "LocalArgument", - name: "withSafetyModeUserFields", - }, - ]), - kind: "Fragment", - metadata: null, - name: "CommunitiesFetchOneQuery", - selections: [ - { - alias: "communityResults", - args: (n = [ - { - kind: "Variable", - name: "rest_id", - variableName: "communityId", - }, - { kind: "Literal", name: "s", value: "1452" }, - ]), - concreteType: "CommunityResults", - kind: "LinkedField", - name: "community_results_by_rest_id", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - (i = { - alias: null, - args: null, - kind: "ScalarField", - name: "__typename", - storageKey: null, - }), - { - kind: "InlineFragment", - selections: [ - (a = { - alias: "id_str", - args: null, - kind: "ScalarField", - name: "rest_id", - storageKey: null, - }), - (s = { - alias: null, - args: null, - kind: "ScalarField", - name: "name", - storageKey: null, - }), - (t = { - alias: null, - args: null, - kind: "ScalarField", - name: "description", - storageKey: null, - }), - (r = { - alias: null, - args: null, - kind: "ScalarField", - name: "created_at", - storageKey: null, - }), - (u = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_theme", - storageKey: null, - }), - (o = { - alias: null, - args: null, - kind: "ScalarField", - name: "custom_theme", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "CommunityActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "delete_action_result", - plural: !1, - selections: [ - i, - (c = { - kind: "InlineFragment", - selections: (d = [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "reason", - storageKey: null, - }, - (_ = { - alias: null, - args: null, - kind: "ScalarField", - name: "message", - storageKey: null, - }), - ]), - type: "CommunityDeleteActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_action_result", - plural: !1, - selections: [ - i, - (m = { - kind: "InlineFragment", - selections: d, - type: "CommunityJoinActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "leave_action_result", - plural: !1, - selections: [ - i, - (p = { - kind: "InlineFragment", - selections: d, - type: "CommunityLeaveActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "pin_action_result", - plural: !1, - selections: [i], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "admin_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - (y = { - alias: null, - args: null, - kind: "ScalarField", - name: "id", - storageKey: null, - }), - (g = { - alias: null, - args: null, - kind: "ScalarField", - name: "rest_id", - storageKey: null, - }), - (P = { - alias: "affiliates_highlighted_label", - args: null, - concreteType: - "HighlightedUserLabelResponse", - kind: "LinkedField", - name: "identity_profile_labels_highlighted_label", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "HighlightedUserLabel", - kind: "LinkedField", - name: "label", - plural: !1, - selections: [ - (h = { - alias: null, - args: null, - concreteType: "TimelineUrl", - kind: "LinkedField", - name: "url", - plural: !1, - selections: (k = [ - (b = { - alias: null, - args: null, - kind: "ScalarField", - name: "url", - storageKey: null, - }), - { - alias: "urlType", - args: null, - kind: "ScalarField", - name: "url_type", - storageKey: null, - }, - { - alias: "urtEndpointOptions", - args: null, - concreteType: - "TimelineUrtEndpointOptions", - kind: "LinkedField", - name: "urt_endpoint_options", - plural: !1, - selections: [ - { - alias: "cacheId", - args: null, - kind: "ScalarField", - name: "cache_id", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "subtitle", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "title", - storageKey: null, - }, - { - alias: "requestParams", - args: null, - concreteType: - "RequestParamsEntry", - kind: "LinkedField", - name: "request_params", - plural: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "key", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "value", - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "Timeline", - kind: "LinkedField", - name: "timeline", - plural: !1, - selections: [y], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }), - (v = { - alias: null, - args: null, - concreteType: "BadgeInfo", - kind: "LinkedField", - name: "badge", - plural: !1, - selections: [b], - storageKey: null, - }), - t, - { - alias: "longDescription", - args: null, - concreteType: - "TimelineRichText", - kind: "LinkedField", - name: "long_description", - plural: !1, - selections: (M = [ - (w = { - alias: null, - args: null, - kind: "ScalarField", - name: "alignment", - storageKey: null, - }), - (F = { - alias: null, - args: null, - kind: "ScalarField", - name: "rtl", - storageKey: null, - }), - (f = { - alias: null, - args: null, - kind: "ScalarField", - name: "text", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: - "TimelineRichTextEntity", - kind: "LinkedField", - name: "entities", - plural: !0, - selections: [ - (K = { - alias: "fromIndex", - args: null, - kind: "ScalarField", - name: "from_index", - storageKey: null, - }), - (T = { - alias: "toIndex", - args: null, - kind: "ScalarField", - name: "to_index", - storageKey: null, - }), - (R = { - alias: null, - args: null, - kind: "ScalarField", - name: "format", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "ref", - plural: !1, - selections: [ - (q = { - alias: "type", - args: null, - kind: "ScalarField", - name: "__typename", - storageKey: null, - }), - (S = { - kind: "InlineFragment", - selections: (L = [ - f, - ]), - type: "TimelineRichTextCashtag", - abstractKey: null, - }), - (C = { - kind: "InlineFragment", - selections: [y, b], - type: "TimelineRichTextList", - abstractKey: null, - }), - (x = { - kind: "InlineFragment", - selections: L, - type: "TimelineRichTextHashtag", - abstractKey: null, - }), - (I = { - kind: "InlineFragment", - selections: k, - type: "TimelineUrl", - abstractKey: null, - }), - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: (W = - [ - { - alias: - null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "result", - plural: - !1, - selections: - [ - i, - { - kind: "InlineFragment", - selections: - [ - (A = - { - alias: - null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: - !1, - selections: - [ - (U = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "screen_name", - storageKey: - null, - }), - ], - storageKey: - null, - }), - g, - ], - type: "User", - abstractKey: - null, - }, - (H = { - kind: "InlineFragment", - selections: - [ - (O = - { - alias: - "reason", - args: null, - kind: "ScalarField", - name: "unavailable_reason", - storageKey: - null, - }), - _, - ], - type: "UserUnavailable", - abstractKey: - null, - }), - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }, - ], - type: "TimelineRichTextUser", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - U, - { - alias: - "mention_results", - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: W, - storageKey: - null, - }, - ], - type: "TimelineRichTextMention", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - (Q = { - alias: "userLabelType", - args: null, - kind: "ScalarField", - name: "user_label_type", - storageKey: null, - }), - (E = { - alias: "userLabelDisplayType", - args: null, - kind: "ScalarField", - name: "user_label_display_type", - storageKey: null, - }), - ], - storageKey: null, - }, - ], - storageKey: null, - }), - (j = { - condition: "withDmMuting", - kind: "Condition", - passingValue: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "dm_muting", - storageKey: null, - }, - ], - }), - (z = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_graduated_access", - storageKey: null, - }), - (B = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_blue_verified", - storageKey: null, - }), - (G = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_image_shape", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (N = { - kind: "RequiredField", - field: (D = { - alias: null, - args: null, - kind: "ScalarField", - name: "blocked_by", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.blocked_by", - }), - (V = { - kind: "RequiredField", - field: (Z = { - alias: null, - args: null, - kind: "ScalarField", - name: "blocking", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.blocking", - }), - (Y = { - kind: "RequiredField", - field: (J = { - alias: null, - args: null, - kind: "ScalarField", - name: "follow_request_sent", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.follow_request_sent", - }), - ($ = { - kind: "RequiredField", - field: (X = { - alias: null, - args: null, - kind: "ScalarField", - name: "followed_by", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.followed_by", - }), - (le = { - kind: "RequiredField", - field: (ee = { - alias: null, - args: null, - kind: "ScalarField", - name: "following", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.following", - }), - (ne = { - alias: null, - args: null, - kind: "ScalarField", - name: "muting", - storageKey: null, - }), - (ie = { - alias: null, - args: null, - kind: "ScalarField", - name: "notifications", - storageKey: null, - }), - (se = { - kind: "RequiredField", - field: (ae = { - alias: null, - args: null, - kind: "ScalarField", - name: "protected", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.protected", - }), - N, - V, - Y, - $, - le, - ne, - ie, - se, - (te = { - alias: null, - args: null, - kind: "ScalarField", - name: "can_dm", - storageKey: null, - }), - (re = { - alias: null, - args: null, - kind: "ScalarField", - name: "can_media_tag", - storageKey: null, - }), - r, - (ue = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_profile", - storageKey: null, - }), - (oe = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_profile_image", - storageKey: null, - }), - t, - (ce = { - alias: null, - args: null, - concreteType: "UserEntities", - kind: "LinkedField", - name: "entities", - plural: !1, - selections: (de = [ - { - alias: null, - args: null, - concreteType: "EntitySet", - kind: "LinkedField", - name: "description", - plural: !1, - selections: (_e = [ - { - alias: null, - args: null, - concreteType: "UrlsEntity", - kind: "LinkedField", - name: "urls", - plural: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "display_url", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "expanded_url", - storageKey: null, - }, - b, - { - alias: null, - args: null, - kind: "ScalarField", - name: "indices", - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "EntitySet", - kind: "LinkedField", - name: "url", - plural: !1, - selections: _e, - storageKey: null, - }, - ]), - storageKey: null, - }), - (me = { - alias: null, - args: null, - kind: "ScalarField", - name: "fast_followers_count", - storageKey: null, - }), - { - kind: "RequiredField", - field: (pe = { - alias: null, - args: null, - kind: "ScalarField", - name: "favourites_count", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.favourites_count", - }, - (ye = { - alias: null, - args: null, - kind: "ScalarField", - name: "follow_request_received", - storageKey: null, - }), - { - kind: "RequiredField", - field: (ge = { - alias: null, - args: null, - kind: "ScalarField", - name: "followers_count", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: (be = { - alias: null, - args: null, - kind: "ScalarField", - name: "friends_count", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.friends_count", - }, - (ke = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_custom_timelines", - storageKey: null, - }), - (he = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_translator", - storageKey: null, - }), - (ve = { - alias: null, - args: null, - kind: "ScalarField", - name: "listed_count", - storageKey: null, - }), - (we = { - alias: null, - args: null, - kind: "ScalarField", - name: "location", - storageKey: null, - }), - { - kind: "RequiredField", - field: (Fe = { - alias: null, - args: null, - kind: "ScalarField", - name: "media_count", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.media_count", - }, - s, - (fe = { - alias: null, - args: null, - kind: "ScalarField", - name: "needs_phone_verification", - storageKey: null, - }), - (Ke = { - alias: null, - args: null, - kind: "ScalarField", - name: "normal_followers_count", - storageKey: null, - }), - (Te = { - alias: null, - args: null, - kind: "ScalarField", - name: "pinned_tweet_ids_str", - storageKey: null, - }), - (Re = { - alias: null, - args: null, - kind: "ScalarField", - name: "possibly_sensitive", - storageKey: null, - }), - (Ie = { - alias: null, - args: null, - concreteType: "ApiMediaExtensions", - kind: "LinkedField", - name: "profile_banner_extensions", - plural: !1, - selections: (xe = [ - { - alias: null, - args: null, - concreteType: - "ApiMediaColorExtension", - kind: "LinkedField", - name: "mediaColor", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "ApiMediaColorExtensionR", - kind: "LinkedField", - name: "r", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "ApiMediaEntityColorPalette", - kind: "LinkedField", - name: "ok", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "ApiMediaEntityColorPaletteColor", - kind: "LinkedField", - name: "palette", - plural: !0, - selections: [ - (qe = { - alias: null, - args: null, - kind: "ScalarField", - name: "percentage", - storageKey: - null, - }), - { - alias: null, - args: null, - concreteType: - "ApiMediaEntityColor", - kind: "LinkedField", - name: "rgb", - plural: !1, - selections: [ - (Le = { - alias: null, - args: null, - kind: "ScalarField", - name: "blue", - storageKey: - null, - }), - (Se = { - alias: null, - args: null, - kind: "ScalarField", - name: "green", - storageKey: - null, - }), - (Ce = { - alias: null, - args: null, - kind: "ScalarField", - name: "red", - storageKey: - null, - }), - ], - storageKey: - null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }), - (Ue = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_banner_url", - storageKey: null, - }), - (Ae = { - alias: null, - args: null, - concreteType: "ApiMediaExtensions", - kind: "LinkedField", - name: "profile_image_extensions", - plural: !1, - selections: xe, - storageKey: null, - }), - (Oe = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_image_url_https", - storageKey: null, - }), - (He = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_interstitial_type", - storageKey: null, - }), - U, - { - kind: "RequiredField", - field: (We = { - alias: null, - args: null, - kind: "ScalarField", - name: "statuses_count", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.statuses_count", - }, - (Me = { - alias: null, - args: null, - kind: "ScalarField", - name: "time_zone", - storageKey: null, - }), - (Qe = { - alias: null, - args: null, - kind: "ScalarField", - name: "translator_type", - storageKey: null, - }), - b, - (Ee = { - alias: null, - args: null, - kind: "ScalarField", - name: "utc_offset", - storageKey: null, - }), - { - kind: "RequiredField", - field: (Pe = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified", - storageKey: null, - }), - action: "THROW", - path: "communityResults.result.admin_results.result.legacy.verified", - }, - (je = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified_type", - storageKey: null, - }), - (ze = { - alias: null, - args: null, - kind: "ScalarField", - name: "want_retweets", - storageKey: null, - }), - (Be = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_description", - storageKey: null, - }), - (Ge = { - alias: null, - args: null, - concreteType: "UserEntities", - kind: "LinkedField", - name: "withheld_entities", - plural: !1, - selections: de, - storageKey: null, - }), - (De = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_in_countries", - storageKey: null, - }), - (Ne = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_scope", - storageKey: null, - }), - ], - storageKey: null, - }, - (Je = { - alias: null, - args: null, - concreteType: "Professional", - kind: "LinkedField", - name: "professional", - plural: !1, - selections: [ - g, - (Ze = { - alias: null, - args: null, - kind: "ScalarField", - name: "professional_type", - storageKey: null, - }), - (Ve = { - alias: null, - args: null, - concreteType: "BusinessCategory", - kind: "LinkedField", - name: "category", - plural: !0, - selections: [ - y, - s, - { - alias: null, - args: null, - kind: "ScalarField", - name: "display", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "icon_name", - storageKey: null, - }, - ], - storageKey: null, - }), - ], - storageKey: null, - }), - (Ye = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_nft_avatar", - storageKey: null, - }), - (Xe = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_follow_eligible", - storageKey: null, - }), - ($e = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_followed_by", - storageKey: null, - }), - (el = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_following", - storageKey: null, - }), - Ye, - Xe, - $e, - el, - (ll = { - condition: "withSafetyModeUserFields", - kind: "Condition", - passingValue: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocked_by", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocking", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocking_expiration", - storageKey: null, - }, - ], - }), - (nl = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified_phone_status", - storageKey: null, - }), - ], - type: "User", - abstractKey: null, - }, - (il = { - kind: "InlineFragment", - selections: [ - _, - { - alias: null, - args: null, - concreteType: "TimelineRichText", - kind: "LinkedField", - name: "unavailable_message", - plural: !1, - selections: M, - storageKey: null, - }, - O, - ], - type: "UserUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "creator_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - y, - g, - P, - j, - z, - B, - G, - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (al = { - kind: "RequiredField", - field: D, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.blocked_by", - }), - (sl = { - kind: "RequiredField", - field: Z, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.blocking", - }), - (tl = { - kind: "RequiredField", - field: J, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.follow_request_sent", - }), - (rl = { - kind: "RequiredField", - field: X, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.followed_by", - }), - (ul = { - kind: "RequiredField", - field: ee, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.following", - }), - ne, - ie, - (ol = { - kind: "RequiredField", - field: ae, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.protected", - }), - al, - sl, - tl, - rl, - ul, - ne, - ie, - ol, - te, - re, - r, - ue, - oe, - t, - ce, - me, - { - kind: "RequiredField", - field: pe, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.favourites_count", - }, - ye, - { - kind: "RequiredField", - field: ge, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: be, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.friends_count", - }, - ke, - he, - ve, - we, - { - kind: "RequiredField", - field: Fe, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.media_count", - }, - s, - fe, - Ke, - Te, - Re, - Ie, - Ue, - Ae, - Oe, - He, - U, - { - kind: "RequiredField", - field: We, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.statuses_count", - }, - Me, - Qe, - b, - Ee, - { - kind: "RequiredField", - field: Pe, - action: "THROW", - path: "communityResults.result.creator_results.result.legacy.verified", - }, - je, - ze, - Be, - Ge, - De, - Ne, - ], - storageKey: null, - }, - Je, - Ye, - Xe, - $e, - el, - Ye, - Xe, - $e, - el, - ll, - nl, - ], - type: "User", - abstractKey: null, - }, - il, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "invites_result", - plural: !1, - selections: [ - i, - (_l = { - kind: "InlineFragment", - selections: d, - type: "CommunityInvitesUnavailable", - abstractKey: null, - }), - { - kind: "InlineFragment", - selections: [ - (dl = { - alias: null, - args: null, - kind: "ScalarField", - name: "remaining_invite_count", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipSlice", - kind: "LinkedField", - name: "users_to_invite_slice", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationship", - kind: "LinkedField", - name: "items", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: "CommunityResults", - kind: "LinkedField", - name: "community_results", - plural: !1, - selections: [g], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "invite_action_result", - plural: !1, - selections: [ - i, - (cl = { - kind: "InlineFragment", - selections: d, - type: "UserCommunityInviteActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - B, - g, - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - Oe, - te, - re, - { - kind: "RequiredField", - field: ae, - action: "THROW", - path: "communityResults.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.protected", - }, - { - kind: "RequiredField", - field: Pe, - action: "THROW", - path: "communityResults.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.verified", - }, - s, - U, - ], - storageKey: null, - }, - ], - type: "User", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - (ml = { - alias: null, - args: null, - concreteType: "SliceInfo", - kind: "LinkedField", - name: "slice_info", - plural: !1, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "next_cursor", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "previous_cursor", - storageKey: null, - }, - ], - storageKey: null, - }), - ], - storageKey: null, - }, - ], - type: "CommunityInvites", - abstractKey: null, - }, - ], - storageKey: null, - }, - (pl = { - alias: null, - args: null, - kind: "ScalarField", - name: "join_policy", - storageKey: null, - }), - (yl = { - alias: null, - args: null, - kind: "ScalarField", - name: "invites_policy", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "members_facepile_results", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - y, - g, - P, - j, - z, - B, - G, - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (gl = { - kind: "RequiredField", - field: D, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.blocked_by", - }), - (bl = { - kind: "RequiredField", - field: Z, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.blocking", - }), - (kl = { - kind: "RequiredField", - field: J, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.follow_request_sent", - }), - (hl = { - kind: "RequiredField", - field: X, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.followed_by", - }), - (vl = { - kind: "RequiredField", - field: ee, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.following", - }), - ne, - ie, - (wl = { - kind: "RequiredField", - field: ae, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.protected", - }), - gl, - bl, - kl, - hl, - vl, - ne, - ie, - wl, - te, - re, - r, - ue, - oe, - t, - ce, - me, - { - kind: "RequiredField", - field: pe, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.favourites_count", - }, - ye, - { - kind: "RequiredField", - field: ge, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: be, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.friends_count", - }, - ke, - he, - ve, - we, - { - kind: "RequiredField", - field: Fe, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.media_count", - }, - s, - fe, - Ke, - Te, - Re, - Ie, - Ue, - Ae, - Oe, - He, - U, - { - kind: "RequiredField", - field: We, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.statuses_count", - }, - Me, - Qe, - b, - Ee, - { - kind: "RequiredField", - field: Pe, - action: "THROW", - path: "communityResults.result.members_facepile_results.result.legacy.verified", - }, - je, - ze, - Be, - Ge, - De, - Ne, - ], - storageKey: null, - }, - Je, - Ye, - Xe, - $e, - el, - Ye, - Xe, - $e, - el, - ll, - nl, - ], - type: "User", - abstractKey: null, - }, - il, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - (Fl = { - alias: null, - args: null, - kind: "ScalarField", - name: "moderator_count", - storageKey: null, - }), - (fl = { - alias: null, - args: null, - kind: "ScalarField", - name: "member_count", - storageKey: null, - }), - (Kl = { - alias: null, - args: null, - kind: "ScalarField", - name: "role", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "CommunityRule", - kind: "LinkedField", - name: "rules", - plural: !0, - selections: (Tl = [g, s, t]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "custom_banner_media", - plural: !1, - selections: (ql = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "media_info", - plural: !1, - selections: [ - (Rl = { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: "MediaColorInfo", - kind: "LinkedField", - name: "color_info", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "MediaColorPaletteItem", - kind: "LinkedField", - name: "palette", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: "MediaColor", - kind: "LinkedField", - name: "rgb", - plural: !1, - selections: [Ce, Se, Le], - storageKey: null, - }, - qe, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "original_img_url", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "original_img_width", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "original_img_height", - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMediaRect", - kind: "LinkedField", - name: "salient_rect", - plural: !1, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "left", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "top", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "width", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "height", - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: "ApiImage", - abstractKey: null, - }), - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "default_banner_media", - plural: !1, - selections: ql, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserCommunityRelationship", - kind: "LinkedField", - name: "viewer_relationship", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "moderation_state", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: "CommunityRule", - kind: "LinkedField", - name: "rule", - plural: !1, - selections: Tl, - storageKey: null, - }, - ], - type: "CommunityUserRemovedModerationState", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_requests_result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - (Ll = { - alias: null, - args: null, - kind: "ScalarField", - name: "pending_join_request_count", - storageKey: null, - }), - ], - type: "CommunityJoinRequests", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - type: "Community", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: "Query", - abstractKey: null, - }, - kind: "Request", - operation: { - argumentDefinitions: l, - kind: "Operation", - name: "CommunitiesFetchOneQuery", - selections: [ - { - alias: "communityResults", - args: n, - concreteType: "CommunityResults", - kind: "LinkedField", - name: "community_results_by_rest_id", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - a, - s, - t, - r, - u, - o, - { - alias: null, - args: null, - concreteType: "CommunityActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "delete_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityDeleteActionResult", - }, - c, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityJoinActionResult", - }, - m, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "leave_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityLeaveActionResult", - }, - p, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "pin_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityTweetPinActionResult", - }, - ], - storageKey: null, - }, - y, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "admin_results", - plural: !1, - selections: (Il = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - y, - g, - { - alias: "affiliates_highlighted_label", - args: null, - concreteType: - "HighlightedUserLabelResponse", - kind: "LinkedField", - name: "identity_profile_labels_highlighted_label", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "HighlightedUserLabel", - kind: "LinkedField", - name: "label", - plural: !1, - selections: [ - h, - v, - t, - { - alias: "longDescription", - args: null, - concreteType: - "TimelineRichText", - kind: "LinkedField", - name: "long_description", - plural: !1, - selections: (xl = [ - w, - F, - f, - { - alias: null, - args: null, - concreteType: - "TimelineRichTextEntity", - kind: "LinkedField", - name: "entities", - plural: !0, - selections: [ - K, - T, - R, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "ref", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isTimelineReferenceObject", - }, - q, - S, - C, - x, - I, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: - (Cl = [ - { - alias: - null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "result", - plural: - !1, - selections: - [ - i, - { - kind: "InlineFragment", - selections: - [ - A, - (Sl = - { - alias: - null, - args: null, - filters: - null, - handle: - "defaultScalars", - key: "", - kind: "LinkedHandle", - name: "legacy", - }), - g, - y, - ], - type: "User", - abstractKey: - null, - }, - H, - ], - storageKey: - null, - }, - y, - ]), - storageKey: - null, - }, - ], - type: "TimelineRichTextUser", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - U, - { - alias: - "mention_results", - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: Cl, - storageKey: - null, - }, - ], - type: "TimelineRichTextMention", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - Q, - E, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - j, - z, - B, - G, - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - D, - Z, - J, - X, - ee, - ne, - ie, - ae, - D, - Z, - J, - X, - ee, - ne, - ie, - ae, - te, - re, - r, - ue, - oe, - t, - ce, - me, - pe, - ye, - ge, - be, - ke, - he, - ve, - we, - Fe, - s, - fe, - Ke, - Te, - Re, - Ie, - Ue, - Ae, - Oe, - He, - U, - We, - Me, - Qe, - b, - Ee, - Pe, - je, - ze, - Be, - Ge, - De, - Ne, - ], - storageKey: null, - }, - Sl, - { - alias: null, - args: null, - concreteType: "Professional", - kind: "LinkedField", - name: "professional", - plural: !1, - selections: [g, Ze, Ve, y], - storageKey: null, - }, - Ye, - Xe, - $e, - el, - Ye, - Xe, - $e, - el, - ll, - nl, - ], - type: "User", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - _, - { - alias: null, - args: null, - concreteType: "TimelineRichText", - kind: "LinkedField", - name: "unavailable_message", - plural: !1, - selections: xl, - storageKey: null, - }, - O, - ], - type: "UserUnavailable", - abstractKey: null, - }, - ], - storageKey: null, - }, - y, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "creator_results", - plural: !1, - selections: Il, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "invites_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: "__isCommunityInvitesResult", - }, - _l, - { - kind: "InlineFragment", - selections: [ - dl, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipSlice", - kind: "LinkedField", - name: "users_to_invite_slice", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationship", - kind: "LinkedField", - name: "items", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: "CommunityResults", - kind: "LinkedField", - name: "community_results", - plural: !1, - selections: [g, y], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "invite_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isUserCommunityInviteActionResult", - }, - cl, - ], - storageKey: null, - }, - y, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - B, - g, - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - Oe, - te, - re, - ae, - Pe, - s, - U, - ], - storageKey: null, - }, - Sl, - y, - ], - type: "User", - abstractKey: null, - }, - ], - storageKey: null, - }, - y, - ], - storageKey: null, - }, - y, - ], - storageKey: null, - }, - ml, - ], - storageKey: null, - }, - y, - ], - type: "CommunityInvites", - abstractKey: null, - }, - ], - storageKey: null, - }, - pl, - yl, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "members_facepile_results", - plural: !0, - selections: Il, - storageKey: null, - }, - Fl, - fl, - Kl, - { - alias: null, - args: null, - concreteType: "CommunityRule", - kind: "LinkedField", - name: "rules", - plural: !0, - selections: (Ul = [g, s, t, y]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "custom_banner_media", - plural: !1, - selections: (Al = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "media_info", - plural: !1, - selections: [i, Rl], - storageKey: null, - }, - y, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "default_banner_media", - plural: !1, - selections: Al, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserCommunityRelationship", - kind: "LinkedField", - name: "viewer_relationship", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "moderation_state", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: "CommunityRule", - kind: "LinkedField", - name: "rule", - plural: !1, - selections: Ul, - storageKey: null, - }, - ], - type: "CommunityUserRemovedModerationState", - abstractKey: null, - }, - ], - storageKey: null, - }, - y, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_requests_result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [Ll, y], - type: "CommunityJoinRequests", - abstractKey: null, - }, - ], - storageKey: null, - }, - y, - ], - type: "Community", - abstractKey: null, - }, - ], - storageKey: null, - }, - y, - ], - storageKey: null, - }, - ], - }, - params: { - id: "bC3Saf4niY6YuzJWV2oUGg", - metadata: { - features: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "verified_phone_label_enabled", - ], - }, - name: "CommunitiesFetchOneQuery", - operationKind: "query", - text: null, - }, - }; - (Ol.hash = "91b005df3d8a55ee7dd4c840e2a3458e"), (e.exports = Ol); - }, - 51520: (e) => { - "use strict"; - var l, - n, - i, - a, - s, - t, - r, - u, - o, - _, - d, - c, - m, - p, - y, - g, - b, - k, - h, - v, - w, - F, - f, - K, - T, - R, - q, - L, - S, - C, - x, - I, - U, - A, - O, - H, - W, - M, - Q, - E, - P, - j, - z, - B, - G, - D, - N, - Z, - V, - J, - Y, - X, - $, - ee, - le, - ne, - ie, - ae, - se, - te, - re, - ue, - oe, - _e, - de, - ce, - me, - pe, - ye, - ge, - be, - ke, - he, - ve, - we, - Fe, - fe, - Ke, - Te, - Re, - qe, - Le, - Se, - Ce, - xe, - Ie, - Ue, - Ae, - Oe, - He, - We, - Me, - Qe, - Ee, - Pe, - je, - ze, - Be, - Ge, - De, - Ne, - Ze, - Ve, - Je, - Ye, - Xe, - $e, - el, - ll, - nl, - il, - al, - sl, - tl, - rl, - ul, - ol, - _l, - dl, - cl, - ml, - pl, - yl, - gl, - bl, - kl, - hl, - vl, - wl, - Fl, - fl, - Kl, - Tl, - Rl, - ql, - Ll, - Sl, - Cl, - xl, - Il, - Ul, - Al, - Ol, - Hl = { - fragment: { - argumentDefinitions: (l = [ - { defaultValue: !1, kind: "LocalArgument", name: "withDmMuting" }, - { - defaultValue: !1, - kind: "LocalArgument", - name: "withSafetyModeUserFields", - }, - ]), - kind: "Fragment", - metadata: null, - name: "CommunitiesMembershipsRecentQuery", - selections: [ - { - alias: "viewer", - args: (n = [{ kind: "Literal", name: "s", value: "1452" }]), - concreteType: "Viewer", - kind: "LinkedField", - name: "viewer_v2", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - (i = { - alias: null, - args: null, - kind: "ScalarField", - name: "__typename", - storageKey: null, - }), - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: (a = [ - { kind: "Literal", name: "count", value: 20 }, - ]), - concreteType: "CommunitySlice", - kind: "LinkedField", - name: "community_memberships_slice", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "CommunityResults", - kind: "LinkedField", - name: "items_results", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - (s = { - alias: "id_str", - args: null, - kind: "ScalarField", - name: "rest_id", - storageKey: null, - }), - (t = { - alias: null, - args: null, - kind: "ScalarField", - name: "name", - storageKey: null, - }), - (r = { - alias: null, - args: null, - kind: "ScalarField", - name: "description", - storageKey: null, - }), - (u = { - alias: null, - args: null, - kind: "ScalarField", - name: "created_at", - storageKey: null, - }), - (o = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_theme", - storageKey: null, - }), - (_ = { - alias: null, - args: null, - kind: "ScalarField", - name: "custom_theme", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: - "CommunityActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "delete_action_result", - plural: !1, - selections: [ - i, - (m = { - kind: "InlineFragment", - selections: (c = [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "reason", - storageKey: null, - }, - (d = { - alias: null, - args: null, - kind: "ScalarField", - name: "message", - storageKey: null, - }), - ]), - type: "CommunityDeleteActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_action_result", - plural: !1, - selections: [ - i, - (p = { - kind: "InlineFragment", - selections: c, - type: "CommunityJoinActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "leave_action_result", - plural: !1, - selections: [ - i, - (y = { - kind: "InlineFragment", - selections: c, - type: "CommunityLeaveActionUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "pin_action_result", - plural: !1, - selections: [i], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "admin_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - (g = { - alias: null, - args: null, - kind: "ScalarField", - name: "id", - storageKey: null, - }), - (b = { - alias: null, - args: null, - kind: "ScalarField", - name: "rest_id", - storageKey: null, - }), - (j = { - alias: - "affiliates_highlighted_label", - args: null, - concreteType: - "HighlightedUserLabelResponse", - kind: "LinkedField", - name: "identity_profile_labels_highlighted_label", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "HighlightedUserLabel", - kind: "LinkedField", - name: "label", - plural: !1, - selections: [ - (v = { - alias: null, - args: null, - concreteType: - "TimelineUrl", - kind: "LinkedField", - name: "url", - plural: !1, - selections: - (h = [ - (k = { - alias: - null, - args: null, - kind: "ScalarField", - name: "url", - storageKey: - null, - }), - { - alias: - "urlType", - args: null, - kind: "ScalarField", - name: "url_type", - storageKey: - null, - }, - { - alias: - "urtEndpointOptions", - args: null, - concreteType: - "TimelineUrtEndpointOptions", - kind: "LinkedField", - name: "urt_endpoint_options", - plural: - !1, - selections: - [ - { - alias: - "cacheId", - args: null, - kind: "ScalarField", - name: "cache_id", - storageKey: - null, - }, - { - alias: - null, - args: null, - kind: "ScalarField", - name: "subtitle", - storageKey: - null, - }, - { - alias: - null, - args: null, - kind: "ScalarField", - name: "title", - storageKey: - null, - }, - { - alias: - "requestParams", - args: null, - concreteType: - "RequestParamsEntry", - kind: "LinkedField", - name: "request_params", - plural: - !0, - selections: - [ - { - alias: - null, - args: null, - kind: "ScalarField", - name: "key", - storageKey: - null, - }, - { - alias: - null, - args: null, - kind: "ScalarField", - name: "value", - storageKey: - null, - }, - ], - storageKey: - null, - }, - { - alias: - null, - args: null, - concreteType: - "Timeline", - kind: "LinkedField", - name: "timeline", - plural: - !1, - selections: - [ - g, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }), - (w = { - alias: null, - args: null, - concreteType: - "BadgeInfo", - kind: "LinkedField", - name: "badge", - plural: !1, - selections: - [k], - storageKey: - null, - }), - r, - { - alias: - "longDescription", - args: null, - concreteType: - "TimelineRichText", - kind: "LinkedField", - name: "long_description", - plural: !1, - selections: - (Q = [ - (F = { - alias: - null, - args: null, - kind: "ScalarField", - name: "alignment", - storageKey: - null, - }), - (f = { - alias: - null, - args: null, - kind: "ScalarField", - name: "rtl", - storageKey: - null, - }), - (K = { - alias: - null, - args: null, - kind: "ScalarField", - name: "text", - storageKey: - null, - }), - { - alias: - null, - args: null, - concreteType: - "TimelineRichTextEntity", - kind: "LinkedField", - name: "entities", - plural: - !0, - selections: - [ - (T = - { - alias: - "fromIndex", - args: null, - kind: "ScalarField", - name: "from_index", - storageKey: - null, - }), - (R = - { - alias: - "toIndex", - args: null, - kind: "ScalarField", - name: "to_index", - storageKey: - null, - }), - (q = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "format", - storageKey: - null, - }), - { - alias: - null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "ref", - plural: - !1, - selections: - [ - (L = - { - alias: - "type", - args: null, - kind: "ScalarField", - name: "__typename", - storageKey: - null, - }), - (C = - { - kind: "InlineFragment", - selections: - (S = - [ - K, - ]), - type: "TimelineRichTextCashtag", - abstractKey: - null, - }), - (x = - { - kind: "InlineFragment", - selections: - [ - g, - k, - ], - type: "TimelineRichTextList", - abstractKey: - null, - }), - (I = - { - kind: "InlineFragment", - selections: - S, - type: "TimelineRichTextHashtag", - abstractKey: - null, - }), - (U = - { - kind: "InlineFragment", - selections: - h, - type: "TimelineUrl", - abstractKey: - null, - }), - { - kind: "InlineFragment", - selections: - [ - { - alias: - null, - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: - !1, - selections: - (M = - [ - { - alias: - null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "result", - plural: - !1, - selections: - [ - i, - { - kind: "InlineFragment", - selections: - [ - (O = - { - alias: - null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: - !1, - selections: - [ - (A = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "screen_name", - storageKey: - null, - }), - ], - storageKey: - null, - }), - b, - ], - type: "User", - abstractKey: - null, - }, - (W = - { - kind: "InlineFragment", - selections: - [ - (H = - { - alias: - "reason", - args: null, - kind: "ScalarField", - name: "unavailable_reason", - storageKey: - null, - }), - d, - ], - type: "UserUnavailable", - abstractKey: - null, - }), - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }, - ], - type: "TimelineRichTextUser", - abstractKey: - null, - }, - { - kind: "InlineFragment", - selections: - [ - A, - { - alias: - "mention_results", - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: - !1, - selections: - M, - storageKey: - null, - }, - ], - type: "TimelineRichTextMention", - abstractKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }, - (E = { - alias: - "userLabelType", - args: null, - kind: "ScalarField", - name: "user_label_type", - storageKey: - null, - }), - (P = { - alias: - "userLabelDisplayType", - args: null, - kind: "ScalarField", - name: "user_label_display_type", - storageKey: - null, - }), - ], - storageKey: - null, - }, - ], - storageKey: null, - }), - (z = { - condition: - "withDmMuting", - kind: "Condition", - passingValue: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "dm_muting", - storageKey: - null, - }, - ], - }), - (B = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_graduated_access", - storageKey: null, - }), - (G = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_blue_verified", - storageKey: null, - }), - (D = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_image_shape", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (Z = { - kind: "RequiredField", - field: (N = { - alias: null, - args: null, - kind: "ScalarField", - name: "blocked_by", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.blocked_by", - }), - (J = { - kind: "RequiredField", - field: (V = { - alias: null, - args: null, - kind: "ScalarField", - name: "blocking", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.blocking", - }), - (X = { - kind: "RequiredField", - field: (Y = { - alias: null, - args: null, - kind: "ScalarField", - name: "follow_request_sent", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.follow_request_sent", - }), - (ee = { - kind: "RequiredField", - field: ($ = { - alias: null, - args: null, - kind: "ScalarField", - name: "followed_by", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.followed_by", - }), - (ne = { - kind: "RequiredField", - field: (le = { - alias: null, - args: null, - kind: "ScalarField", - name: "following", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.following", - }), - (ie = { - alias: null, - args: null, - kind: "ScalarField", - name: "muting", - storageKey: - null, - }), - (ae = { - alias: null, - args: null, - kind: "ScalarField", - name: "notifications", - storageKey: - null, - }), - (te = { - kind: "RequiredField", - field: (se = { - alias: null, - args: null, - kind: "ScalarField", - name: "protected", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.protected", - }), - Z, - J, - X, - ee, - ne, - ie, - ae, - te, - (re = { - alias: null, - args: null, - kind: "ScalarField", - name: "can_dm", - storageKey: - null, - }), - (ue = { - alias: null, - args: null, - kind: "ScalarField", - name: "can_media_tag", - storageKey: - null, - }), - u, - (oe = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_profile", - storageKey: - null, - }), - (_e = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_profile_image", - storageKey: - null, - }), - r, - (me = { - alias: null, - args: null, - concreteType: - "UserEntities", - kind: "LinkedField", - name: "entities", - plural: !1, - selections: - (ce = [ - { - alias: - null, - args: null, - concreteType: - "EntitySet", - kind: "LinkedField", - name: "description", - plural: - !1, - selections: - (de = [ - { - alias: - null, - args: null, - concreteType: - "UrlsEntity", - kind: "LinkedField", - name: "urls", - plural: - !0, - selections: - [ - { - alias: - null, - args: null, - kind: "ScalarField", - name: "display_url", - storageKey: - null, - }, - { - alias: - null, - args: null, - kind: "ScalarField", - name: "expanded_url", - storageKey: - null, - }, - k, - { - alias: - null, - args: null, - kind: "ScalarField", - name: "indices", - storageKey: - null, - }, - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }, - { - alias: - null, - args: null, - concreteType: - "EntitySet", - kind: "LinkedField", - name: "url", - plural: - !1, - selections: - de, - storageKey: - null, - }, - ]), - storageKey: - null, - }), - (pe = { - alias: null, - args: null, - kind: "ScalarField", - name: "fast_followers_count", - storageKey: - null, - }), - { - kind: "RequiredField", - field: (ye = { - alias: null, - args: null, - kind: "ScalarField", - name: "favourites_count", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.favourites_count", - }, - (ge = { - alias: null, - args: null, - kind: "ScalarField", - name: "follow_request_received", - storageKey: - null, - }), - { - kind: "RequiredField", - field: (be = { - alias: null, - args: null, - kind: "ScalarField", - name: "followers_count", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: (ke = { - alias: null, - args: null, - kind: "ScalarField", - name: "friends_count", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.friends_count", - }, - (he = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_custom_timelines", - storageKey: - null, - }), - (ve = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_translator", - storageKey: - null, - }), - (we = { - alias: null, - args: null, - kind: "ScalarField", - name: "listed_count", - storageKey: - null, - }), - (Fe = { - alias: null, - args: null, - kind: "ScalarField", - name: "location", - storageKey: - null, - }), - { - kind: "RequiredField", - field: (fe = { - alias: null, - args: null, - kind: "ScalarField", - name: "media_count", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.media_count", - }, - t, - (Ke = { - alias: null, - args: null, - kind: "ScalarField", - name: "needs_phone_verification", - storageKey: - null, - }), - (Te = { - alias: null, - args: null, - kind: "ScalarField", - name: "normal_followers_count", - storageKey: - null, - }), - (Re = { - alias: null, - args: null, - kind: "ScalarField", - name: "pinned_tweet_ids_str", - storageKey: - null, - }), - (qe = { - alias: null, - args: null, - kind: "ScalarField", - name: "possibly_sensitive", - storageKey: - null, - }), - (Ue = { - alias: null, - args: null, - concreteType: - "ApiMediaExtensions", - kind: "LinkedField", - name: "profile_banner_extensions", - plural: !1, - selections: - (Ie = [ - { - alias: - null, - args: null, - concreteType: - "ApiMediaColorExtension", - kind: "LinkedField", - name: "mediaColor", - plural: - !1, - selections: - [ - { - alias: - null, - args: null, - concreteType: - "ApiMediaColorExtensionR", - kind: "LinkedField", - name: "r", - plural: - !1, - selections: - [ - { - alias: - null, - args: null, - concreteType: - "ApiMediaEntityColorPalette", - kind: "LinkedField", - name: "ok", - plural: - !1, - selections: - [ - { - alias: - null, - args: null, - concreteType: - "ApiMediaEntityColorPaletteColor", - kind: "LinkedField", - name: "palette", - plural: - !0, - selections: - [ - (Le = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "percentage", - storageKey: - null, - }), - { - alias: - null, - args: null, - concreteType: - "ApiMediaEntityColor", - kind: "LinkedField", - name: "rgb", - plural: - !1, - selections: - [ - (Se = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "blue", - storageKey: - null, - }), - (Ce = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "green", - storageKey: - null, - }), - (xe = - { - alias: - null, - args: null, - kind: "ScalarField", - name: "red", - storageKey: - null, - }), - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }), - (Ae = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_banner_url", - storageKey: - null, - }), - (Oe = { - alias: null, - args: null, - concreteType: - "ApiMediaExtensions", - kind: "LinkedField", - name: "profile_image_extensions", - plural: !1, - selections: Ie, - storageKey: - null, - }), - (He = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_image_url_https", - storageKey: - null, - }), - (We = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_interstitial_type", - storageKey: - null, - }), - A, - { - kind: "RequiredField", - field: (Me = { - alias: null, - args: null, - kind: "ScalarField", - name: "statuses_count", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.statuses_count", - }, - (Qe = { - alias: null, - args: null, - kind: "ScalarField", - name: "time_zone", - storageKey: - null, - }), - (Ee = { - alias: null, - args: null, - kind: "ScalarField", - name: "translator_type", - storageKey: - null, - }), - k, - (Pe = { - alias: null, - args: null, - kind: "ScalarField", - name: "utc_offset", - storageKey: - null, - }), - { - kind: "RequiredField", - field: (je = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified", - storageKey: - null, - }), - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.verified", - }, - (ze = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified_type", - storageKey: - null, - }), - (Be = { - alias: null, - args: null, - kind: "ScalarField", - name: "want_retweets", - storageKey: - null, - }), - (Ge = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_description", - storageKey: - null, - }), - (De = { - alias: null, - args: null, - concreteType: - "UserEntities", - kind: "LinkedField", - name: "withheld_entities", - plural: !1, - selections: ce, - storageKey: - null, - }), - (Ne = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_in_countries", - storageKey: - null, - }), - (Ze = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_scope", - storageKey: - null, - }), - ], - storageKey: null, - }, - (Ye = { - alias: null, - args: null, - concreteType: - "Professional", - kind: "LinkedField", - name: "professional", - plural: !1, - selections: [ - b, - (Ve = { - alias: null, - args: null, - kind: "ScalarField", - name: "professional_type", - storageKey: - null, - }), - (Je = { - alias: null, - args: null, - concreteType: - "BusinessCategory", - kind: "LinkedField", - name: "category", - plural: !0, - selections: [ - g, - t, - { - alias: null, - args: null, - kind: "ScalarField", - name: "display", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "icon_name", - storageKey: - null, - }, - ], - storageKey: - null, - }), - ], - storageKey: null, - }), - (Xe = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_nft_avatar", - storageKey: null, - }), - ($e = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_follow_eligible", - storageKey: null, - }), - (el = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_followed_by", - storageKey: null, - }), - (ll = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_following", - storageKey: null, - }), - Xe, - $e, - el, - ll, - (nl = { - condition: - "withSafetyModeUserFields", - kind: "Condition", - passingValue: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocked_by", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocking", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocking_expiration", - storageKey: - null, - }, - ], - }), - (il = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified_phone_status", - storageKey: null, - }), - ], - type: "User", - abstractKey: null, - }, - (al = { - kind: "InlineFragment", - selections: [ - d, - { - alias: null, - args: null, - concreteType: - "TimelineRichText", - kind: "LinkedField", - name: "unavailable_message", - plural: !1, - selections: Q, - storageKey: null, - }, - H, - ], - type: "UserUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "creator_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - g, - b, - j, - z, - B, - G, - D, - { - alias: null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (sl = { - kind: "RequiredField", - field: N, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.blocked_by", - }), - (tl = { - kind: "RequiredField", - field: V, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.blocking", - }), - (rl = { - kind: "RequiredField", - field: Y, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.follow_request_sent", - }), - (ul = { - kind: "RequiredField", - field: $, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.followed_by", - }), - (ol = { - kind: "RequiredField", - field: le, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.following", - }), - ie, - ae, - (_l = { - kind: "RequiredField", - field: se, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.protected", - }), - sl, - tl, - rl, - ul, - ol, - ie, - ae, - _l, - re, - ue, - u, - oe, - _e, - r, - me, - pe, - { - kind: "RequiredField", - field: ye, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.favourites_count", - }, - ge, - { - kind: "RequiredField", - field: be, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: ke, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.friends_count", - }, - he, - ve, - we, - Fe, - { - kind: "RequiredField", - field: fe, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.media_count", - }, - t, - Ke, - Te, - Re, - qe, - Ue, - Ae, - Oe, - He, - We, - A, - { - kind: "RequiredField", - field: Me, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.statuses_count", - }, - Qe, - Ee, - k, - Pe, - { - kind: "RequiredField", - field: je, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.verified", - }, - ze, - Be, - Ge, - De, - Ne, - Ze, - ], - storageKey: null, - }, - Ye, - Xe, - $e, - el, - ll, - Xe, - $e, - el, - ll, - nl, - il, - ], - type: "User", - abstractKey: null, - }, - al, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "invites_result", - plural: !1, - selections: [ - i, - (dl = { - kind: "InlineFragment", - selections: c, - type: "CommunityInvitesUnavailable", - abstractKey: null, - }), - { - kind: "InlineFragment", - selections: [ - (cl = { - alias: null, - args: null, - kind: "ScalarField", - name: "remaining_invite_count", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipSlice", - kind: "LinkedField", - name: "users_to_invite_slice", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationship", - kind: "LinkedField", - name: "items", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: - "CommunityResults", - kind: "LinkedField", - name: "community_results", - plural: !1, - selections: [b], - storageKey: - null, - }, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "invite_action_result", - plural: !1, - selections: - [ - i, - (ml = { - kind: "InlineFragment", - selections: - c, - type: "UserCommunityInviteActionUnavailable", - abstractKey: - null, - }), - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - { - alias: null, - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: - [ - i, - { - kind: "InlineFragment", - selections: - [ - G, - b, - { - alias: - null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: - !1, - selections: - [ - He, - re, - ue, - { - kind: "RequiredField", - field: - se, - action: - "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.protected", - }, - { - kind: "RequiredField", - field: - je, - action: - "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.verified", - }, - t, - A, - ], - storageKey: - null, - }, - ], - type: "User", - abstractKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: null, - }, - (pl = { - alias: null, - args: null, - concreteType: - "SliceInfo", - kind: "LinkedField", - name: "slice_info", - plural: !1, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "next_cursor", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "previous_cursor", - storageKey: - null, - }, - ], - storageKey: null, - }), - ], - storageKey: null, - }, - ], - type: "CommunityInvites", - abstractKey: null, - }, - ], - storageKey: null, - }, - (yl = { - alias: null, - args: null, - kind: "ScalarField", - name: "join_policy", - storageKey: null, - }), - (gl = { - alias: null, - args: null, - kind: "ScalarField", - name: "invites_policy", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "members_facepile_results", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - g, - b, - j, - z, - B, - G, - D, - { - alias: null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (bl = { - kind: "RequiredField", - field: N, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.blocked_by", - }), - (kl = { - kind: "RequiredField", - field: V, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.blocking", - }), - (hl = { - kind: "RequiredField", - field: Y, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.follow_request_sent", - }), - (vl = { - kind: "RequiredField", - field: $, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.followed_by", - }), - (wl = { - kind: "RequiredField", - field: le, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.following", - }), - ie, - ae, - (Fl = { - kind: "RequiredField", - field: se, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.protected", - }), - bl, - kl, - hl, - vl, - wl, - ie, - ae, - Fl, - re, - ue, - u, - oe, - _e, - r, - me, - pe, - { - kind: "RequiredField", - field: ye, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.favourites_count", - }, - ge, - { - kind: "RequiredField", - field: be, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: ke, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.friends_count", - }, - he, - ve, - we, - Fe, - { - kind: "RequiredField", - field: fe, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.media_count", - }, - t, - Ke, - Te, - Re, - qe, - Ue, - Ae, - Oe, - He, - We, - A, - { - kind: "RequiredField", - field: Me, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.statuses_count", - }, - Qe, - Ee, - k, - Pe, - { - kind: "RequiredField", - field: je, - action: "THROW", - path: "viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.verified", - }, - ze, - Be, - Ge, - De, - Ne, - Ze, - ], - storageKey: null, - }, - Ye, - Xe, - $e, - el, - ll, - Xe, - $e, - el, - ll, - nl, - il, - ], - type: "User", - abstractKey: null, - }, - al, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - (fl = { - alias: null, - args: null, - kind: "ScalarField", - name: "moderator_count", - storageKey: null, - }), - (Kl = { - alias: null, - args: null, - kind: "ScalarField", - name: "member_count", - storageKey: null, - }), - (Tl = { - alias: null, - args: null, - kind: "ScalarField", - name: "role", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "CommunityRule", - kind: "LinkedField", - name: "rules", - plural: !0, - selections: (Rl = [b, t, r]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "custom_banner_media", - plural: !1, - selections: (Ll = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "media_info", - plural: !1, - selections: [ - (ql = { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: - "MediaColorInfo", - kind: "LinkedField", - name: "color_info", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "MediaColorPaletteItem", - kind: "LinkedField", - name: "palette", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: - "MediaColor", - kind: "LinkedField", - name: "rgb", - plural: !1, - selections: - [ - xe, - Ce, - Se, - ], - storageKey: - null, - }, - Le, - ], - storageKey: - null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "original_img_url", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "original_img_width", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "original_img_height", - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "ApiMediaRect", - kind: "LinkedField", - name: "salient_rect", - plural: !1, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "left", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "top", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "width", - storageKey: - null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "height", - storageKey: - null, - }, - ], - storageKey: null, - }, - ], - type: "ApiImage", - abstractKey: null, - }), - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "default_banner_media", - plural: !1, - selections: Ll, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationship", - kind: "LinkedField", - name: "viewer_relationship", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "moderation_state", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: - "CommunityRule", - kind: "LinkedField", - name: "rule", - plural: !1, - selections: Rl, - storageKey: null, - }, - ], - type: "CommunityUserRemovedModerationState", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_requests_result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - (Sl = { - alias: null, - args: null, - kind: "ScalarField", - name: "pending_join_request_count", - storageKey: null, - }), - ], - type: "CommunityJoinRequests", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - type: "Community", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: - "community_memberships_slice(count:20)", - }, - ], - type: "User", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'viewer_v2(s:"1452")', - }, - ], - type: "Query", - abstractKey: null, - }, - kind: "Request", - operation: { - argumentDefinitions: l, - kind: "Operation", - name: "CommunitiesMembershipsRecentQuery", - selections: [ - { - alias: "viewer", - args: n, - concreteType: "Viewer", - kind: "LinkedField", - name: "viewer_v2", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: a, - concreteType: "CommunitySlice", - kind: "LinkedField", - name: "community_memberships_slice", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "CommunityResults", - kind: "LinkedField", - name: "items_results", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - s, - t, - r, - u, - o, - _, - { - alias: null, - args: null, - concreteType: - "CommunityActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "delete_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityDeleteActionResult", - }, - m, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityJoinActionResult", - }, - p, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "leave_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityLeaveActionResult", - }, - y, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "pin_action_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityTweetPinActionResult", - }, - ], - storageKey: null, - }, - g, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "admin_results", - plural: !1, - selections: (Ul = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - g, - b, - { - alias: - "affiliates_highlighted_label", - args: null, - concreteType: - "HighlightedUserLabelResponse", - kind: "LinkedField", - name: "identity_profile_labels_highlighted_label", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "HighlightedUserLabel", - kind: "LinkedField", - name: "label", - plural: !1, - selections: [ - v, - w, - r, - { - alias: - "longDescription", - args: null, - concreteType: - "TimelineRichText", - kind: "LinkedField", - name: "long_description", - plural: !1, - selections: - (Il = [ - F, - f, - K, - { - alias: - null, - args: null, - concreteType: - "TimelineRichTextEntity", - kind: "LinkedField", - name: "entities", - plural: - !0, - selections: - [ - T, - R, - q, - { - alias: - null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "ref", - plural: - !1, - selections: - [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isTimelineReferenceObject", - }, - L, - C, - x, - I, - U, - { - kind: "InlineFragment", - selections: - [ - { - alias: - null, - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: - !1, - selections: - (xl = - [ - { - alias: - null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "result", - plural: - !1, - selections: - [ - i, - { - kind: "InlineFragment", - selections: - [ - O, - (Cl = - { - alias: - null, - args: null, - filters: - null, - handle: - "defaultScalars", - key: "", - kind: "LinkedHandle", - name: "legacy", - }), - b, - g, - ], - type: "User", - abstractKey: - null, - }, - W, - ], - storageKey: - null, - }, - g, - ]), - storageKey: - null, - }, - ], - type: "TimelineRichTextUser", - abstractKey: - null, - }, - { - kind: "InlineFragment", - selections: - [ - A, - { - alias: - "mention_results", - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: - !1, - selections: - xl, - storageKey: - null, - }, - ], - type: "TimelineRichTextMention", - abstractKey: - null, - }, - ], - storageKey: - null, - }, - ], - storageKey: - null, - }, - ]), - storageKey: - null, - }, - E, - P, - ], - storageKey: - null, - }, - ], - storageKey: null, - }, - z, - B, - G, - D, - { - alias: null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - N, - V, - Y, - $, - le, - ie, - ae, - se, - N, - V, - Y, - $, - le, - ie, - ae, - se, - re, - ue, - u, - oe, - _e, - r, - me, - pe, - ye, - ge, - be, - ke, - he, - ve, - we, - Fe, - fe, - t, - Ke, - Te, - Re, - qe, - Ue, - Ae, - Oe, - He, - We, - A, - Me, - Qe, - Ee, - k, - Pe, - je, - ze, - Be, - Ge, - De, - Ne, - Ze, - ], - storageKey: null, - }, - Cl, - { - alias: null, - args: null, - concreteType: - "Professional", - kind: "LinkedField", - name: "professional", - plural: !1, - selections: [ - b, - Ve, - Je, - g, - ], - storageKey: null, - }, - Xe, - $e, - el, - ll, - Xe, - $e, - el, - ll, - nl, - il, - ], - type: "User", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - d, - { - alias: null, - args: null, - concreteType: - "TimelineRichText", - kind: "LinkedField", - name: "unavailable_message", - plural: !1, - selections: Il, - storageKey: null, - }, - H, - ], - type: "UserUnavailable", - abstractKey: null, - }, - ], - storageKey: null, - }, - g, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "creator_results", - plural: !1, - selections: Ul, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "invites_result", - plural: !1, - selections: [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isCommunityInvitesResult", - }, - dl, - { - kind: "InlineFragment", - selections: [ - cl, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipSlice", - kind: "LinkedField", - name: "users_to_invite_slice", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationship", - kind: "LinkedField", - name: "items", - plural: !0, - selections: [ - { - alias: null, - args: null, - concreteType: - "CommunityResults", - kind: "LinkedField", - name: "community_results", - plural: !1, - selections: [ - b, - g, - ], - storageKey: - null, - }, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationshipActions", - kind: "LinkedField", - name: "actions", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "invite_action_result", - plural: !1, - selections: - [ - i, - { - kind: "TypeDiscriminator", - abstractKey: - "__isUserCommunityInviteActionResult", - }, - ml, - ], - storageKey: - null, - }, - g, - ], - storageKey: - null, - }, - { - alias: null, - args: null, - concreteType: - "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: - [ - i, - { - kind: "InlineFragment", - selections: - [ - G, - b, - { - alias: - null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: - !1, - selections: - [ - He, - re, - ue, - se, - je, - t, - A, - ], - storageKey: - null, - }, - Cl, - g, - ], - type: "User", - abstractKey: - null, - }, - ], - storageKey: - null, - }, - g, - ], - storageKey: - null, - }, - g, - ], - storageKey: null, - }, - pl, - ], - storageKey: null, - }, - g, - ], - type: "CommunityInvites", - abstractKey: null, - }, - ], - storageKey: null, - }, - yl, - gl, - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "members_facepile_results", - plural: !0, - selections: Ul, - storageKey: null, - }, - fl, - Kl, - Tl, - { - alias: null, - args: null, - concreteType: "CommunityRule", - kind: "LinkedField", - name: "rules", - plural: !0, - selections: (Al = [b, t, r, g]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "custom_banner_media", - plural: !1, - selections: (Ol = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "media_info", - plural: !1, - selections: [i, ql], - storageKey: null, - }, - g, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "ApiMedia", - kind: "LinkedField", - name: "default_banner_media", - plural: !1, - selections: Ol, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "UserCommunityRelationship", - kind: "LinkedField", - name: "viewer_relationship", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "moderation_state", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: - "CommunityRule", - kind: "LinkedField", - name: "rule", - plural: !1, - selections: Al, - storageKey: null, - }, - ], - type: "CommunityUserRemovedModerationState", - abstractKey: null, - }, - ], - storageKey: null, - }, - g, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "join_requests_result", - plural: !1, - selections: [ - i, - { - kind: "InlineFragment", - selections: [Sl, g], - type: "CommunityJoinRequests", - abstractKey: null, - }, - ], - storageKey: null, - }, - g, - ], - type: "Community", - abstractKey: null, - }, - ], - storageKey: null, - }, - g, - ], - storageKey: null, - }, - ], - storageKey: - "community_memberships_slice(count:20)", - }, - g, - ], - type: "User", - abstractKey: null, - }, - ], - storageKey: null, - }, - g, - ], - storageKey: null, - }, - ], - storageKey: 'viewer_v2(s:"1452")', - }, - ], - }, - params: { - id: "bTZFMvlXj45yFKlQVU8e1Q", - metadata: { - features: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "verified_phone_label_enabled", - ], - }, - name: "CommunitiesMembershipsRecentQuery", - operationKind: "query", - text: null, - }, - }; - (Hl.hash = "b3ed912f8236b1bf9d8e0643c06ad3e2"), (e.exports = Hl); - }, - 87109: (e, l, n) => { - "use strict"; - n.r(l), - n.d(l, { EMPTY_MODERATION_RESPONSE: () => se, default: () => ue }); - var i = n(6899), - a = (n(85488), n(17360)), - s = n(83175), - t = n(38269), - r = n(46395), - u = n(85364), - o = n(90650); - const _ = new i.fK.Entity( - "communityReports", - {}, - { idAttribute: "id_str", processStrategy: r.Z } - ); - _.define({ user: o.Z, community: t.ZP }); - const d = new i.fK.Entity( - "communityCases", - {}, - { - idAttribute: "tweet_id_str", - processStrategy: (e, l, n) => { - const { reports_slice: i, tweet_results: a, ...s } = e, - t = { ...s }, - u = a.result; - return ( - (t.tweet = - "Tweet" === (null == u ? void 0 : u.__typename) ? u : u.tweet), - null != i && - i.items && - (t.reports = i.items.map((l) => { - var n, i; - const a = {}, - { created_at: s, reporter_relationship: t, rule: r } = l; - if ( - ((a.rule = r), - (a.created_at = s), - "User" === - (null == t || null == (n = t.user_results) - ? void 0 - : n.result.__typename)) - ) { - var u; - const { __typename: l, ...n } = - (null == t || null == (u = t.user_results) - ? void 0 - : u.result) || {}; - (a.user = n), (a.id_str = `${e.caseId}-${s}-${n.rest_id}`); - } - const o = null == t ? void 0 : t.community_results, - _ = - "Community" === - (null == o || null == (i = o.result) - ? void 0 - : i.__typename) && o.result; - return _ && (a.community = _), a; - })), - (0, r.Z)(t, l, n) - ); - }, - } - ); - d.define({ tweet: u.Z, reports: [_] }); - const c = d; - var m, - p, - y = n(95212), - g = n(94507), - b = n.n(g), - k = n(42178), - h = n.n(k), - v = n(62604), - w = n.n(v), - F = n(95404), - f = n.n(F), - K = n(50962), - T = n.n(K), - R = n(43594), - q = n.n(R), - L = n(49546), - S = n.n(L), - C = n(47197), - x = n.n(C), - I = n(69861), - U = n.n(I), - A = n(40901), - O = n.n(A), - H = n(29890), - W = n.n(H), - M = n(94105), - Q = n.n(M), - E = n(59569), - P = n.n(E), - j = n(14981), - z = n.n(j), - B = n(20387), - G = n.n(B), - D = n(78668), - N = n.n(D), - Z = n(18072), - V = n.n(Z), - J = n(28218), - Y = n.n(J), - X = n(63174), - $ = n(63140), - ee = n(8893), - le = n(82249), - ne = n(97534); - const ie = { result: [], entities: {}, slice_info: {} }, - ae = { result: [], entities: {} }, - se = { id_str: "", tweet_case_count: 0, pending_join_request_count: 0 }, - te = "GQL Communities: Failed to Create Community", - re = void 0 !== m ? m : (m = n(32549)), - ue = ({ apiClient: e, featureSwitches: l, relayEnvironment: r }) => ({ - createCommunity(n) { - const { - description: r, - invitesPolicy: u, - joinPolicy: o, - name: _, - } = n; - return e - .graphQL( - q(), - { - name: _, - description: r, - joinPolicy: o, - invitesPolicy: u, - ...(0, s.S)(l), - }, - (0, a.kj)((e) => { - var l; - return ![ - "Community", - "CommunityCreateActionUnavailable", - "CommunityCreateError", - ].includes( - null == (l = e.community_create_v2) ? void 0 : l.__typename - ); - }, te) - ) - .then((e) => { - var l; - switch ( - null == (l = e.community_create_v2) ? void 0 : l.__typename - ) { - case "Community": - return { - type: "Community", - normalized: (0, i.Fv)(e.community_create_v2, t.ZP), - }; - case "CommunityCreateActionUnavailable": - var n; - return { - type: "CreateError", - reason: e.community_create_v2.unavailableReason, - error: - null != (n = e.community_create_v2.unavailableMessage) - ? n - : "", - }; - case "CommunityCreateError": - var a; - return { - type: "CreateError", - reason: e.community_create_v2.createReason, - error: - null != (a = e.community_create_v2.createError) - ? a - : "", - }; - default: - return { type: "CreateError", error: te, reason: "" }; - } - }); - }, - fetchCommunity: (e) => - (0, ee.s)(r, re, { - communityId: e.communityId, - ...(0, s.S)(l), - }).then((e) => { - var l; - if ( - "Community" === - (null == e || null == (l = e.communityResults.result) - ? void 0 - : l.__typename) - ) - return (0, i.Fv)(e.communityResults.result, t.ZP); - { - const e = new X.Z("communityResultsByRestId", 401, {}, [ - { code: $.ZP.CommunityNotFound }, - ]); - return Promise.reject(e); - } - }), - fetchCommunityWithoutRelay: (n) => - e - .graphQL( - x(), - { communityId: n.communityId, ...(0, s.S)(l) }, - (0, a.kj)( - (e) => !(null != e && e.communityResults), - "GQL Communities: Failed to fetch a Community result" - ) - ) - .then((e) => { - var l; - if ( - "Community" === - (null == e || null == (l = e.communityResults.result) - ? void 0 - : l.__typename) - ) - return (0, i.Fv)(e.communityResults.result, t.ZP); - { - const e = new X.Z("communityResultsByRestId", 401, {}, [ - { code: $.ZP.CommunityNotFound }, - ]); - return Promise.reject(e); - } - }), - fetchAboutTimeline: (n) => - e - .graphQL( - T(), - { - ...n, - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.d)(l), - }, - (0, a.kj)((e) => { - var l, n, i, a, s; - return ( - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && - !( - null != e && - null != (i = e.communityResults) && - null != (a = i.result) && - null != (s = a.about_timeline) && - s.timeline - ) - ); - }, "GQL Communities: Failed to render Community About timeline") - ) - .then((e) => { - var l, n, i; - const a = - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && e.communityResults.result; - return ( - (a && - (null == a || null == (i = a.about_timeline) - ? void 0 - : i.timeline)) || - le.cY - ); - }), - fetchCommunityTweets: (n) => - e - .graphQL( - N(), - { - ...n, - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.d)(l), - }, - (0, a.kj)((e) => { - var l, n, i, a, s; - return ( - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && - !( - null != e && - null != (i = e.communityResults) && - null != (a = i.result) && - null != (s = a.community_timeline) && - s.timeline - ) - ); - }, "GQL Communities: Failed to render Community Tweets timeline") - ) - .then((e) => { - var l, n, i; - const a = - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && e.communityResults.result; - return ( - (a && - (null == a || null == (i = a.community_timeline) - ? void 0 - : i.timeline)) || - le.cY - ); - }), - fetchCommunityRankedTweets: (n) => - e - .graphQL( - G(), - { - ...n, - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.d)(l), - }, - (0, a.kj)((e) => { - var l, n, i, a, s; - return ( - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && - !( - null != e && - null != (i = e.communityResults) && - null != (a = i.result) && - null != (s = a.ranked_community_timeline) && - s.timeline - ) - ); - }, "GQL Communities: Failed to render Ranked Community Tweets timeline") - ) - .then((e) => { - var l, n, i; - const a = - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && e.communityResults.result; - return ( - (a && - (null == a || null == (i = a.ranked_community_timeline) - ? void 0 - : i.timeline)) || - le.cY - ); - }), - fetchCommunityMemberships: (n) => - e - .graphQL( - f(), - { - ...n, - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.d)(l), - }, - (0, a.kj)((e) => { - var l, n; - const i = - null == e || null == (l = e.user) ? void 0 : l.result; - return ( - "User" !== (null == i ? void 0 : i.__typename) || - !(null != i && null != (n = i.timeline) && n.timeline) - ); - }, "GQL Communities: Failed to render Memberships timeline") - ) - .then(ne.parseUserScopedTimeline), - fetchRecentCommunityMemberships: () => - (0, ee.s)( - r, - void 0 !== p ? p : (p = n(51520)), - { ...(0, s.S)(l) }, - (0, a.kj)((e) => { - var l, n, i; - const a = - "User" === - (null == (l = e.viewer) || - null == (n = l.user_results) || - null == (i = n.result) - ? void 0 - : i.__typename) && e.viewer.user_results.result; - return !(a && a.community_memberships_slice.items_results); - }, "GQL Communities: Failed to fetch Community Recent Memberships data") - ).then((e) => { - var l, n, a, s; - const r = - "User" === - (null == e || - null == (l = e.viewer) || - null == (n = l.user_results) || - null == (a = n.result) - ? void 0 - : a.__typename) - ? e.viewer.user_results.result - : void 0, - u = ( - null != - (s = - null == r - ? void 0 - : r.community_memberships_slice.items_results) - ? s - : [] - ) - .map((e) => e.result) - .filter( - (e) => "Community" === (null == e ? void 0 : e.__typename) - ); - return u ? (0, i.Fv)(u, [t.ZP]) : ae; - }), - fetchCommunitiesMembershipsSlice: (n) => - e - .graphQL( - w(), - { ...(0, s.S)(l), ...n }, - (0, a.kj)((e) => { - var l, n; - const i = - null == e || - null == (l = e.viewer) || - null == (n = l.user_results) - ? void 0 - : n.result, - a = - "User" === (null == i ? void 0 : i.__typename) - ? i - : void 0; - return !(null != a && a.community_memberships_slice); - }, "GQL Communities: Failed to fetch Memberships Slice") - ) - .then((e) => { - var l, n; - const a = - null == e || - null == (l = e.viewer) || - null == (n = l.user_results) - ? void 0 - : n.result, - s = - "User" === (null == a ? void 0 : a.__typename) ? a : void 0, - r = null == s ? void 0 : s.community_memberships_slice; - if (r) { - const e = r.items_results - .map((e) => e.result) - .filter( - (e) => "Community" === (null == e ? void 0 : e.__typename) - ); - if (!e.length) return ie; - const { entities: l, result: n } = (0, i.Fv)(e, [t.ZP]); - return { result: n, entities: l, slice_info: r.slice_info }; - } - return ie; - }), - fetchModerationCasesSlice: (n) => - n - ? e - .graphQL( - P(), - { - ...n, - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.S)(l), - }, - (0, a.kj)((e) => { - var l, n, i, a, s; - return ( - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && - !( - null != e && - null != (i = e.communityResults) && - null != (a = i.result) && - null != (s = a.moderation) && - s.tweet_cases_slice - ) - ); - }, "GQL Communities: Failed to fetch Moderation Cases Slice") - ) - .then((e) => { - var l, n, a; - const s = - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && e.communityResults.result; - if (!s) return ie; - const t = - null == (a = s.moderation) ? void 0 : a.tweet_cases_slice; - if (t) { - const { entities: e, result: l } = (0, i.Fv)(t.items, [ - c, - ]); - return { - result: l, - entities: e, - slice_info: t.slice_info, - }; - } - return ie; - }) - : Promise.resolve(ie), - fetchCommunitiesMainDiscoveryModule: (n) => - e - .graphQL( - b(), - { ...n, withCommunity: !0, ...(0, s.d)(l) }, - (0, a.kj)((e) => { - var l, n; - return !( - null != e && - null != (l = e.communities_viewer) && - null != (n = l.community_discovery_module) && - n.timeline - ); - }, "GQL Communities: Failed to render Communities Main Discovery module") - ) - .then((e) => { - var l, n; - return ( - (null == (l = e.communities_viewer) || - null == (n = l.community_discovery_module) - ? void 0 - : n.timeline) || le.cY - ); - }), - fetchCommunitiesMainTimeline: (n) => - e - .graphQL( - h(), - { - ...n, - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.d)(l), - }, - (0, a.kj)((e) => { - var l, n; - return !( - null != e && - null != (l = e.viewer) && - null != (n = l.communities_timeline) && - n.timeline - ); - }, "GQL Communities: Failed to render Main Communities timeline") - ) - .then((e) => { - var l, n; - return ( - (null == (l = e.viewer) || - null == (n = l.communities_timeline) - ? void 0 - : n.timeline) || le.cY - ); - }), - fetchCommunityHashtagsTimeline: (n) => - e - .graphQL( - U(), - { - withCommunity: l.isTrue("c9s_enabled"), - ...(0, s.d)(l), - ...n, - }, - (0, a.kj)((e) => { - var l, n, i, a, s; - return ( - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && - !( - null != e && - null != (i = e.communityResults) && - null != (a = i.result) && - null != (s = a.community_filtered_timeline) && - s.timeline - ) - ); - }, "GQL Communities: Failed to render Community Hashtags timeline") - ) - .then((e) => { - var l, n, i; - const a = - "Community" === - (null == e || - null == (l = e.communityResults) || - null == (n = l.result) - ? void 0 - : n.__typename) && e.communityResults.result; - return ( - (a && - (null == a || null == (i = a.community_filtered_timeline) - ? void 0 - : i.timeline)) || - le.cY - ); - }), - fetchCommunityDiscoveryTimeline: (n) => - e - .graphQL( - S(), - { withCommunity: l.isTrue("c9s_enabled"), ...(0, s.d)(l) }, - (0, a.kj)((e) => { - var l, n; - return !( - null != e && - null != (l = e.viewer) && - null != (n = l.community_discovery_timeline) && - n.timeline - ); - }, "GQL Communities: Failed to render Community Discovery timeline") - ) - .then((e) => { - var l, n; - return ( - (null == (l = e.viewer) || - null == (n = l.community_discovery_timeline) - ? void 0 - : n.timeline) || le.cY - ); - }), - keepCommunityTweet: (n) => - e - .graphQL( - Q(), - { tweetId: n.tweetId, ...(0, s.S)(l) }, - (0, a.kj)( - (e) => !(null != e && e.community_tweet_keep), - "GQL Communities: Failed to keep a Community tweet" - ) - ) - .then((e) => (0, i.Fv)(e.community_tweet_keep, t.ZP)), - joinCommunity: (n) => - e - .graphQL( - O(), - { communityId: n.communityId, ...(0, s.S)(l) }, - (0, a.kj)( - (e) => !(null != e && e.community_join), - "GQL Communities: Failed to Join Community" - ) - ) - .then((e) => (0, i.Fv)(e.community_join, t.ZP)), - requestToJoinCommunity: (n) => - e - .graphQL( - z(), - { communityId: n.communityId, ...(0, s.S)(l) }, - (0, a.kj)( - (e) => !(null != e && e.community_join_request_create), - "GQL Communities: Failed to Request to Join Community" - ) - ) - .then((e) => { - const { community_join_request_create: l } = e; - switch (null == l ? void 0 : l.__typename) { - case "CommunityJoinRequest": { - var n; - const e = l.user_relationship.community_results, - a = - "Community" === - (null == (n = e.result) ? void 0 : n.__typename) && - e.result; - return { - type: "CommunityJoinRequest", - normalized: a ? (0, i.Fv)(a, t.ZP) : null, - }; - } - case "CommunityJoinRequestCreateError": - return { type: "CommunityJoinRequestCreateError" }; - case "CommunityJoinRequestCreateActionUnavailable": - return { - type: "CommunityJoinRequestCreateActionUnavailable", - }; - default: - return; - } - }), - leaveCommunity: (n) => - e - .graphQL( - W(), - { communityId: n.communityId, ...(0, s.S)(l) }, - (0, a.kj)( - (e) => !(null != e && e.community_leave), - "GQL Communities: Failed to Leave Community" - ) - ) - .then((e) => (0, i.Fv)(e.community_leave, t.ZP)), - inviteToCommunity: (l) => - e - .graphQL( - Y(), - { communityId: l.communityId, userId: l.userId }, - (0, a.kj)( - (e) => !(null != e && e.user_community_invite), - "GQL Communities: Failed to Invite To Community" - ) - ) - .then((e) => { - const { user_community_invite: l } = e; - switch (null == l ? void 0 : l.__typename) { - case "UserCommunityRelationship": { - var n; - const { __typename: e, community_update: a, ...s } = l, - t = - "Community" === - (null == (n = a.result) ? void 0 : n.__typename) && - a.result.invites_result, - r = - (t && - "CommunityInvites" === t.__typename && - t.remaining_invite_count) || - 0, - u = (0, y.W)(s); - return { - type: e, - remainingInviteCount: r, - normalized: (0, i.Fv)(u, y.Z), - }; - } - case "UserCommunityInviteMutationError": - return { - type: "UserCommunityInviteMutationError", - reason: l.mutationErrorReason, - message: l.message, - }; - case "UserCommunityInviteActionUnavailable": - return { - type: "UserCommunityInviteActionUnavailable", - reason: l.actionUnavailableReason, - message: l.message, - }; - default: - return; - } - }), - updateCommunityRole: (n) => - e - .graphQL( - V(), - { ...n, ...(0, s.S)(l) }, - (0, a.kj)( - (e) => !(null != e && e.community_role_put), - "GQL Communities: Failed to Update role in Community" - ) - ) - .then((e) => (0, i.Fv)(e.community_role_put, t.ZP)), - }); - }, - 97534: (e, l, n) => { - "use strict"; - n.r(l), - n.d(l, { - default: () => G, - errorBreadcrumb: () => H, - isFatalGenericTimelineError: () => z, - isFatalModeratedTimelineError: () => j, - isFatalTeamsResponseError: () => M, - isFatalUserScopedFollowTimelineError: () => Q, - isFatalViewerScopedFollowTimelineError: () => E, - parseUserScopedTimeline: () => O, - parseViewerScopedTimeline: () => W, - }); - var i = n(58955), - a = n(79363), - s = n(72599), - t = n(32091), - r = n(17360), - u = n(83175), - o = n(6899), - _ = n(49890); - const d = (e = []) => { - const l = e.map(({ user_results: e, ...l }) => { - var n; - let i; - if ( - "User" === - (null == e || null == (n = e.result) ? void 0 : n.__typename) - ) { - const { __typename: l, ...n } = e.result; - i = n; - } - return { user: i, ...l }; - }); - return (0, o.Fv)(l, _.Z); - }; - var c = n(29848), - m = n.n(c), - p = n(57274), - y = n.n(p), - g = n(2216), - b = n.n(g), - k = n(41839), - h = n.n(k), - v = n(97621), - w = n.n(v), - F = n(87669), - f = n.n(F), - K = n(75840), - T = n.n(K), - R = n(50931), - q = n.n(R), - L = n(59113), - S = n.n(L), - C = n(26491), - x = n.n(C), - I = n(16221), - U = n.n(I), - A = n(82249); - const O = (e) => { - var l; - let n = A.cY; - var i; - null != e && - null != (l = e.user) && - l.result && - "User" === e.user.result.__typename && - (n = - (null == (i = e.user.result.timeline) ? void 0 : i.timeline) || - A.cY); - return n; - }, - H = (e) => { - var l; - return { code: null == (l = e[0]) ? void 0 : l.code }; - }, - W = (e) => { - let l = A.cY; - var n; - null != e && - e.viewer && - (l = - (null == (n = e.viewer.timeline) ? void 0 : n.timeline) || A.cY); - return l; - }, - M = (e) => - Array.isArray(e) && - !(0, a.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - Q = (e, l) => { - var n, i; - const a = - "User" === - (null == l || null == (n = l.user) || null == (i = n.result) - ? void 0 - : i.__typename) && l.user.result.timeline; - return ( - a || - (0, s.ZP)("GQL URT: Failed to render Follow timeline", { - extra: H(e), - }), - !a && (0, r.jB)(e) - ); - }, - E = (e, l) => { - var n; - const i = null == l || null == (n = l.viewer) ? void 0 : n.timeline; - return ( - i || - (0, s.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: H(e), - }), - !i && (0, r.jB)(e) - ); - }, - P = (e, l) => { - var n, i; - const a = - null == l || - null == (n = l.viewer) || - null == (i = n.muting_timeline) - ? void 0 - : i.timeline; - return ( - a || - (0, s.ZP)("GQL URT: Failed to render Muting timeline", { - extra: H(e), - }), - !a && (0, r.jB)(e) - ); - }, - j = (e, l) => { - var n, i; - const a = - "Tweet" === - (null == l || null == (n = l.tweet.result) - ? void 0 - : n.__typename) && - (null == (i = l.tweet.result.timeline_response) - ? void 0 - : i.timeline); - return ( - a || - (0, s.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: H(e) } - ), - !a && (0, r.jB)(e) - ); - }, - z = (e, l) => { - var n; - const i = null == l || null == (n = l.timeline) ? void 0 : n.timeline; - return ( - i || - (0, s.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: H(e), - }), - !i && (0, r.jB)(e) - ); - }; - function B(e, l, n) { - let i; - function a(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (i = e === t.kH.Imported ? b() : e === t.kH.AutoBlock ? y() : m()), - ({ count: t, cursor: o }) => - l - .graphQL( - i, - { - count: t, - cursor: o, - includePromotedContent: !1, - ...(0, u.d)(n), - withSafetyModeUserFields: n.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (l, n) => { - const i = a(n); - return ( - i || - (0, s.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: H(l) } - ), - !i && (0, r.jB)(l) - ); - } - ) - .then((e) => a(e) || A.cY) - ); - } - const G = ({ apiClient: e, featureSwitches: l }) => ({ - fetchBlockedAccountsImportedGraphql: B(t.kH.Imported, e, l), - fetchBlockedAccountsAllGraphql: B(t.kH.All, e, l), - fetchBlockedAccountsAutoBlockGraphql: B(t.kH.AutoBlock, e, l), - fetchFollowers: ({ count: n, cursor: i, userId: a }) => - e - .graphQL( - h(), - { - userId: a, - count: n, - cursor: i, - includePromotedContent: !1, - ...(0, u.d)(l), - }, - Q - ) - .then(O), - fetchFollowersYouKnow: ({ count: n, cursor: i, userId: a }) => - e - .graphQL( - w(), - { - userId: a, - count: n, - cursor: i, - includePromotedContent: !1, - ...(0, u.d)(l), - }, - Q - ) - .then(O), - fetchFollowing: ({ count: n, cursor: i, userId: a }) => - e - .graphQL( - f(), - { - userId: a, - count: n, - cursor: i, - includePromotedContent: !1, - ...(0, u.d)(l), - }, - Q - ) - .then(O), - fetchSuperFollowers: ({ count: n, cursor: i }) => - e - .graphQL( - x(), - { - count: n, - cursor: i, - includePromotedContent: !1, - ...(0, u.d)(l), - }, - E - ) - .then(W), - fetchViewerTeams: () => - e - .graphQLFullResponse(U(), { ...(0, u.S)(l) }, M) - .then(({ data: e, errors: l }) => { - const { viewer: n } = e, - a = (n && n.teams && n.teams.act_as) || []; - if (!l || !l.length) return a; - const s = (0, i.Z)(l.map((e) => e.path && e.path[3])); - return a.filter((e, l) => !s.has(l)); - }) - .then(d), - fetchModeratedTimeline: ({ count: n, cursor: i, rootTweetId: a }) => - e - .graphQL( - q(), - { - rootTweetId: a, - count: n, - cursor: i, - includePromotedContent: !1, - ...(0, u.d)(l), - }, - j - ) - .then((e) => { - var l; - if ( - "Tweet" === - (null == (l = e.tweet.result) ? void 0 : l.__typename) - ) { - var n, i; - return ( - (null == (n = e.tweet.result) || - null == (i = n.timeline_response) - ? void 0 - : i.timeline) || A.cY - ); - } - return A.cY; - }), - fetchMutedAccounts: ({ count: n, cursor: i }) => - e - .graphQL( - S(), - { - count: n, - cursor: i, - includePromotedContent: !1, - ...(0, u.d)(l), - }, - P - ) - .then((e) => { - var l, n; - return ( - (null == (l = e.viewer) || null == (n = l.muting_timeline) - ? void 0 - : n.timeline) || A.cY - ); - }), - fetchGenericTimelineById: ({ count: n, cursor: i, timelineId: a }) => - e - .graphQL( - T(), - { - timelineId: a, - count: n, - cursor: i, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, u.d)(l), - }, - z - ) - .then((e) => { - var l; - return (null == (l = e.timeline) ? void 0 : l.timeline) || A.cY; - }), - }); - }, - 49890: (e, l, n) => { - "use strict"; - n.d(l, { B: () => t, Z: () => r }); - var i = n(6899), - a = n(46395), - s = n(90650); - const t = new i.fK.Entity( - "teams", - { user: s.Z }, - { - idAttribute: ({ user: e }) => e[s.Z.idAttribute] || e, - processStrategy: a.Z, - } - ), - r = new i.fK.Array(t); - }, - 8893: (e, l, n) => { - "use strict"; - n.d(l, { s: () => s }); - var i = n(10622), - a = n.n(i); - function s(e, l, n, i) { - return a()( - e, - l, - n, - i ? { networkCacheConfig: { metadata: { isFatalError: i } } } : void 0 - ).toPromise(); - } - }, - 32091: (e, l, n) => { - "use strict"; - n.d(l, { Gm: () => u, ZH: () => o, kH: () => r }); - var i = n(78772), - a = n(52612), - s = n(57659), - t = n(62104); - const r = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - u = (e) => - (0, t.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (l) => - e === r.Imported - ? l.Graphql.fetchBlockedAccountsImportedGraphql - : e === r.AutoBlock - ? l.Graphql.fetchBlockedAccountsAutoBlockGraphql - : l.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: l }) => ({ - count: e, - cursor: "string" == typeof l ? l : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: i.Z, - }), - o = (e) => (l, n) => { - const i = n(); - l( - e - .selectEntries(i) - .filter((e) => { - if (!e.content || e.type !== a.ZP.User) return !1; - const l = e.content.id, - n = s.ZP.select(i, l); - return n && !n.blocking; - }) - .map((l) => e.removeEntry(l.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Communities.9d2541ba.js.map diff --git a/info/endpoints/endpoints.CommunitiesTools.2de2665a.js b/info/endpoints/endpoints.CommunitiesTools.2de2665a.js deleted file mode 100644 index a0bbb52..0000000 --- a/info/endpoints/endpoints.CommunitiesTools.2de2665a.js +++ /dev/null @@ -1,310 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.CommunitiesTools"], - { - 98515: (e) => { - e.exports = { - queryId: "dShPoN6voXRusgxC1uvGog", - operationName: "CommunityCreateRule", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 84551: (e) => { - e.exports = { - queryId: "KVkZwp8Q6xy6iyhlQE5d7Q", - operationName: "CommunityEditBannerMedia", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 28753: (e) => { - e.exports = { - queryId: "SKToKhvm3Z4Rir8ENCJ3YQ", - operationName: "CommunityEditName", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 54185: (e) => { - e.exports = { - queryId: "eMat-u2kx6KocreGTAt-hA", - operationName: "CommunityEditPurpose", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 42624: (e) => { - e.exports = { - queryId: "9nEl5bNcdteuPGbGCdvEFA", - operationName: "CommunityEditRule", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 9758: (e) => { - e.exports = { - queryId: "4OhW6gWJwiu-JTAgBPsU1w", - operationName: "CommunityEditTheme", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 43103: (e) => { - e.exports = { - queryId: "lSdK1v30qVhm37rDTgHq0Q", - operationName: "CommunityRemoveBannerMedia", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 99812: (e) => { - e.exports = { - queryId: "EI_g43Ss_Ixg0EC4K7nzlQ", - operationName: "CommunityRemoveRule", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 56299: (e) => { - e.exports = { - queryId: "VwluNMGnl5uaNZ3LnlCQ_A", - operationName: "CommunityReorderRules", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 40873: (e, i, n) => { - "use strict"; - n.r(i), n.d(i, { default: () => x }); - var _ = n(6899), - t = n(17360), - a = n(83175), - o = n(38269), - m = n(98515), - r = n.n(m), - u = n(84551), - l = n.n(u), - s = n(28753), - d = n.n(s), - p = n(54185), - b = n.n(p), - c = n(42624), - h = n.n(c), - v = n(9758), - y = n.n(v), - g = n(43103), - w = n.n(g), - f = n(99812), - q = n.n(f), - C = n(56299), - I = n.n(C); - const x = ({ apiClient: e, featureSwitches: i }) => ({ - editCommunityName: (n) => - e - .graphQL( - d(), - { communityId: n.communityId, name: n.name, ...(0, a.S)(i) }, - (0, t.kj)((e) => { - var i; - return !(null != (i = e.community_name_put) && i.name); - }, "GQL Communities: Failed to edit community name") - ) - .then((e) => (0, _.Fv)(e.community_name_put, o.ZP)), - editCommunityPurpose: (n) => - e - .graphQL( - b(), - { - communityId: n.communityId, - description: n.purpose, - ...(0, a.S)(i), - }, - (0, t.kj)((e) => { - var i; - return !( - null != (i = e.community_description_put) && i.description - ); - }, "GQL Communities: Failed to edit community purpose") - ) - .then((e) => (0, _.Fv)(e.community_description_put, o.ZP)), - editCommunityTheme: (n) => - e - .graphQL( - y(), - { communityId: n.communityId, theme: n.theme, ...(0, a.S)(i) }, - (0, t.kj)((e) => { - var i; - return !( - null != (i = e.community_custom_theme_put) && i.custom_theme - ); - }, "GQL Communities: Failed to edit community theme") - ) - .then((e) => (0, _.Fv)(e.community_custom_theme_put, o.ZP)), - editCommunityRule: (n) => - e - .graphQL( - h(), - { - communityId: n.communityId, - ruleId: n.ruleId, - name: n.name, - description: n.description, - ...(0, a.S)(i), - }, - (0, t.kj)( - (e) => !(null != e && e.community_rule_update), - "GQL Communities: Failed to edit community rule" - ) - ) - .then((e) => (0, _.Fv)(e.community_rule_update, o.ZP)), - createCommunityRule: (n) => - e - .graphQL( - r(), - { - communityId: n.communityId, - name: n.name, - description: n.description, - ...(0, a.S)(i), - }, - (0, t.kj)( - (e) => !(null != e && e.community_rule_create), - "GQL Communities: Failed to create community rule" - ) - ) - .then((e) => (0, _.Fv)(e.community_rule_create, o.ZP)), - removeCommunityRule: (n) => - e - .graphQL( - q(), - { communityId: n.communityId, ruleId: n.ruleId, ...(0, a.S)(i) }, - (0, t.kj)( - (e) => !(null != e && e.community_rule_remove), - "GQL Communities: Failed to remove community rule" - ) - ) - .then((e) => (0, _.Fv)(e.community_rule_remove, o.ZP)), - reorderCommunityRules: (n) => - e - .graphQL( - I(), - { - communityId: n.communityId, - ruleIds: n.ruleIds, - ...(0, a.S)(i), - }, - (0, t.kj)( - (e) => !(null != e && e.community_rules_reorder), - "GQL Communities: Failed to reorder community rules" - ) - ) - .then((e) => (0, _.Fv)(e.community_rules_reorder, o.ZP)), - editCommunityBannerMedia: (n) => - e - .graphQL( - l(), - { - communityId: n.communityId, - mediaId: n.mediaId, - ...(0, a.S)(i), - }, - (0, t.kj)((e) => { - var i; - return !( - null != (i = e.community_custom_banner_media_put) && - i.custom_banner_media - ); - }, "GQL Communities: Failed to edit community banner media") - ) - .then((e) => (0, _.Fv)(e.community_custom_banner_media_put, o.ZP)), - removeCommunityBannerMedia: (n) => - e - .graphQL( - w(), - { communityId: n.communityId, ...(0, a.S)(i) }, - (0, t.kj)( - (e) => !e.community_custom_banner_media_delete, - "GQL Communities: Failed to remove community banner media" - ) - ) - .then((e) => - (0, _.Fv)(e.community_custom_banner_media_delete, o.ZP) - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.CommunitiesTools.2de2665a.js.map diff --git a/info/endpoints/endpoints.Contacts.1131c5aa.js b/info/endpoints/endpoints.Contacts.1131c5aa.js deleted file mode 100644 index 5571e4f..0000000 --- a/info/endpoints/endpoints.Contacts.1131c5aa.js +++ /dev/null @@ -1,383 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Contacts"], - { - 78527: (t, r, e) => { - "use strict"; - e.r(r), e.d(r, { default: () => c }); - e(36728), e(6886); - var n = e(6899), - s = e(65188), - i = e(44171), - o = e.n(i), - a = e(46395); - const u = (t, r, e) => { - const n = (0, a.Z)(t, r, e); - if (t && "string" == typeof n.vcard) { - const t = o().parse(n.vcard), - r = (t && t[0]) || null; - return { ...n, vcard: r }; - } - return n; - }, - h = new n.fK.Entity( - "vcards", - {}, - { - idAttribute: (t) => ((0, s.Z)(t.id) ? t.id : t.id_str), - processStrategy: u, - } - ), - p = { count: 100 }, - c = ({ apiClient: t, featureSwitches: r }) => ({ - fetchAddressBook: (r, e = {}) => - t - .get("contacts/addressbook", { ...p, ...r }, e) - .then((t) => (0, n.Fv)(t, { contacts: [h] })), - uploadAddressBook(r, e) { - const { contacts: n, ...s } = r, - i = []; - for (let t = 0; t < n.length; t += 100) i.push(n.slice(t, t + 100)); - return Promise.all( - i.map((r) => - t.post( - "contacts/upload_v2", - { ...s, contacts: r }, - {}, - { ...e, "content-type": "application/json" } - ) - ) - ); - }, - }); - }, - 49874: (t) => { - t.exports = function (t, r, e) { - if (((t = t.replace(/\r?\n/g, "")), null != r && r < 5)) - throw new Error("Maximum length must not be less than 5"); - if (((r = null != r ? r : 78), t.length <= r)) return t; - r -= 4; - var n = [], - s = t.length, - i = 0, - o = 0; - if (!e) - for (; ~(i = t.lastIndexOf(" ", r + o)) && !(i <= o); ) - t.slice(o).length > r - ? (n.push((o ? " " : "") + t.slice(o, i)), (o = i + 1)) - : (n.push((o ? " " : "") + t.slice(o)), (o = s)); - for (r++; o < s; ) n.push(t.slice(o, (o += r))); - return n.join("\r\n "); - }; - }, - 19858: (t, r, e) => { - var n = e(91925), - s = e(21681); - function i(t, r, e) { - Array.isArray(t[r]) - ? t[r].push(e) - : null != t[r] - ? (t[r] = [t[r], e]) - : (t[r] = e); - } - function o(t, r) { - var e = r.split("="), - s = n(e[0]), - o = e[1]; - return ( - (null != o && "" !== o) || ((o = e[0]), (s = "type")), - "type" === s - ? (o - .toLowerCase() - .split(",") - .forEach(function (r) { - i(t, s, r); - }), - t) - : (i(t, s, o), t) - ); - } - t.exports = function (t) { - for ( - var r = {}, - e = null, - a = /^([^;:]+)((?:;(?:[^;:]+))*)(?:\:(.+))?$/i, - u = t.length - 1, - h = 1; - h < u; - h++ - ) { - e = t[h]; - var p = a.exec(e); - if (p) { - var c = p[1].split("."), - l = c.pop(), - d = c.pop(), - f = p[3], - v = (p[2] ? p[2].replace(/^;|;$/g, "").split(";") : []).reduce( - o, - d ? { group: d } : {} - ), - y = n(l); - i(r, y, new s(y, f, v)); - } - } - return r; - }; - }, - 21681: (t) => { - function r(t, e, n) { - if (!(this instanceof r)) return new r(e); - null != n && Object.assign(this, n), - (this._field = t), - (this._data = e), - Object.defineProperty(this, "_field", { enumerable: !1 }), - Object.defineProperty(this, "_data", { enumerable: !1 }); - } - function e(t) { - return t.replace(/([A-Z])/g, "-$1").toUpperCase(); - } - (r.fromJSON = function (t) { - var e = t[0], - n = t[1]; - return ( - /text/i.test(t[2]) || (n.value = t[2]), - new r(e, Array.isArray(t[3]) ? t[3].join(";") : t[3], n) - ); - }), - (r.prototype = { - constructor: r, - is: function (t) { - return ( - (t = (t + "").toLowerCase()), - Array.isArray(this.type) ? this.type.indexOf(t) : this.type === t - ); - }, - isEmpty: function () { - return null == this._data && 0 === Object.keys(this).length; - }, - clone: function () { - return new r(this._field, this._data, this); - }, - toString: function (t) { - for ( - var r = (this.group ? this.group + "." : "") + e(this._field), - n = Object.keys(this), - s = [], - i = 0; - i < n.length; - i++ - ) - "group" !== n[i] && s.push(e(n[i]) + "=" + this[n[i]]); - return ( - r + - (s.length ? ";" + s.join(";") : s) + - ":" + - (Array.isArray(this._data) ? this._data.join(";") : this._data) - ); - }, - valueOf: function () { - return this._data; - }, - toJSON: function () { - var t = Object.assign({}, this); - "text" === t.value && ((t.value = void 0), delete t.value); - var r = [this._field, t, this.value || "text"]; - switch (this._field) { - default: - r.push(this._data); - break; - case "adr": - case "n": - r.push(this._data.split(";")); - } - return r; - }, - }), - (t.exports = r); - }, - 44171: (t, r, e) => { - function n() { - if (!(this instanceof n)) return new n(); - (this.version = n.versions[n.versions.length - 1]), (this.data = {}); - } - (n.mimeType = "text/vcard"), - (n.extension = ".vcf"), - (n.versions = ["2.1", "3.0", "4.0"]), - (n.foldLine = e(49874)), - (n.normalize = function (t) { - return (t + "") - .replace(/^[\s\r\n]+|[\s\r\n]+$/g, "") - .replace(/(\r?\n)\s*(\r?\n)|$/g, "$1") - .replace(/\r?\n[\x20\x09]+/g, ""); - }), - (n.isSupported = function (t) { - return /^\d\.\d$/.test(t) && -1 !== n.versions.indexOf(t); - }), - (n.parse = function (t) { - for ( - var r = (t + "").split(/(?=BEGIN\:VCARD)/gi), e = [], s = 0; - s < r.length; - s++ - ) - e.push(new n().parse(r[s])); - return e; - }), - (n.parseLines = e(19858)), - (n.fromJSON = function (t) { - if ( - null == (t = "string" == typeof t ? JSON.parse(t) : t) || - !Array.isArray(t) - ) - return new n(); - if (!/vcard/i.test(t[0])) - throw new Error("Object not in jCard format"); - var r = new n(); - return ( - t[1].forEach(function (t) { - r.addProperty(n.Property.fromJSON(t)); - }), - r - ); - }), - (n.format = function (t, r) { - if ( - ((r = r || t.version || n.versions[n.versions.length - 1]), - !n.isSupported(r)) - ) - throw new Error('Unsupported vCard version "' + r + '"'); - var e = []; - e.push("BEGIN:VCARD"), e.push("VERSION:" + r); - for (var s = Object.keys(t.data), i = "", o = 0; o < s.length; o++) - if ("version" !== s[o]) - if (((i = t.data[s[o]]), Array.isArray(i))) - for (var a = 0; a < i.length; a++) - i[a].isEmpty() || e.push(n.foldLine(i[a].toString(r), 75)); - else i.isEmpty() || e.push(n.foldLine(i.toString(r), 75)); - return e.push("END:VCARD"), e.join("\n"); - }), - (n.Property = e(21681)), - (n.prototype = { - constructor: n, - get: function (t) { - return null == this.data[t] - ? this.data[t] - : Array.isArray(this.data[t]) - ? this.data[t].map(function (t) { - return t.clone(); - }) - : this.data[t].clone(); - }, - set: function (t, r, e) { - return this.setProperty(new n.Property(t, r, e)); - }, - add: function (t, r, e) { - var s = new n.Property(t, r, e); - return this.addProperty(s), this; - }, - setProperty: function (t) { - return (this.data[t._field] = t), this; - }, - addProperty: function (t) { - var r = t._field; - return ( - Array.isArray(this.data[r]) - ? this.data[r].push(t) - : null != this.data[r] - ? (this.data[r] = [this.data[r], t]) - : (this.data[r] = t), - this - ); - }, - parse: function (t) { - var r = n.normalize(t).split(/\r?\n/g), - e = r[0], - s = r[1], - i = r[r.length - 1]; - if (!/BEGIN:VCARD/i.test(e)) - throw new SyntaxError( - 'Invalid vCard: Expected "BEGIN:VCARD" but found "' + e + '"' - ); - if (!/END:VCARD/i.test(i)) - throw new SyntaxError( - 'Invalid vCard: Expected "END:VCARD" but found "' + i + '"' - ); - if (!/VERSION:\d\.\d/i.test(s)) - throw new SyntaxError( - 'Invalid vCard: Expected "VERSION:\\d.\\d" but found "' + - s + - '"' - ); - if ( - ((this.version = s.substring(8, 11)), - !n.isSupported(this.version)) - ) - throw new Error('Unsupported version "' + this.version + '"'); - return (this.data = n.parseLines(r)), this; - }, - toString: function (t, r) { - return (t = t || this.version), n.format(this, t); - }, - toJCard: function (t) { - t = t || "4.0"; - for ( - var r = Object.keys(this.data), - e = [["version", {}, "text", t]], - n = null, - s = 0; - s < r.length; - s++ - ) - if ("version" !== r[s]) - if (((n = this.data[r[s]]), Array.isArray(n))) - for (var i = 0; i < n.length; i++) e.push(n[i].toJSON()); - else e.push(n.toJSON()); - return ["vcard", e]; - }, - toJSON: function () { - return this.toJCard(this.version); - }, - }), - (t.exports = n); - }, - 91925: (t) => { - "use strict"; - function r(t) { - for (var r = !1, e = 0; e < t.length; e++) { - var n = t.charAt(e); - r && /[a-zA-Z]/.test(n) && n.toUpperCase() === n - ? ((t = t.substr(0, e) + "-" + t.substr(e)), (r = !1), e++) - : (r = n.toLowerCase() === n); - } - return t; - } - t.exports = function () { - var t = [].map - .call(arguments, function (t) { - return t.trim(); - }) - .filter(function (t) { - return t.length; - }) - .join("-"); - return t.length - ? 1 === t.length - ? t.toLowerCase() - : /[_.\- ]+/.test(t) - ? (t = r(t)) - .replace(/^[_.\- ]+/, "") - .toLowerCase() - .replace(/[_.\- ]+(\w|$)/g, function (t, r) { - return r.toUpperCase(); - }) - : t === t.toUpperCase() - ? t.toLowerCase() - : t[0] !== t[0].toLowerCase() - ? t[0].toLowerCase() + t.slice(1) - : t - : ""; - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Contacts.1131c5aa.js.map diff --git a/info/endpoints/endpoints.Conversation.f200f18a.js b/info/endpoints/endpoints.Conversation.f200f18a.js deleted file mode 100644 index 281f01c..0000000 --- a/info/endpoints/endpoints.Conversation.f200f18a.js +++ /dev/null @@ -1,101 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Conversation"], - { - 77561: (e) => { - e.exports = { - queryId: "wNNG8DBB8EaXw1lq4vFWGA", - operationName: "TweetDetail", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 33071: (e, t, i) => { - "use strict"; - i.r(t), - i.d(t, { default: () => c, isFatalTweetDetailTimelineError: () => d }); - var _ = i(72599), - n = i(17360), - r = i(83175), - a = i(77561), - o = i.n(a), - s = i(63140), - l = i(82249); - const d = (e, t) => { - const i = - !(null == t || !t.threaded_conversation_with_injections) || - !(null == t || !t.threaded_conversation_with_injections_v2); - if (!i) { - (1 === e.length && e[0].code === s.ZP.StatusNotFound) || - (0, _.ZP)("GQL URT: Failed to render TweetDetail timeline"); - } - return !i && (0, n.jB)(e); - }, - c = ({ apiClient: e, featureSwitches: t }) => ({ - fetchTweetDetail: ({ - controller_data: i, - cursor: _, - focalTweetId: n, - isReaderMode: a, - referrer: s, - rux_context: c, - with_rux_injections: w, - }) => - e - .graphQL( - o(), - { - focalTweetId: n, - cursor: _, - referrer: s, - controller_data: i, - rux_context: c, - with_rux_injections: w, - includePromotedContent: !0, - withCommunity: t.isTrue("c9s_enabled"), - withQuickPromoteEligibilityTweetFields: !0, - withBirdwatchNotes: t.isTrue( - "responsive_web_birdwatch_consumption_enabled" - ), - ...(0, r.d)(t), - withVoice: t.isTrue("voice_consumption_enabled"), - withV2Timeline: t.isTrue( - "graphql_timeline_v2_query_threaded_conversation_with_injections" - ), - isReaderMode: a, - }, - d - ) - .then( - (e) => - e.threaded_conversation_with_injections || - e.threaded_conversation_with_injections_v2 || - l.cY - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Conversation.f200f18a.js.map diff --git a/info/endpoints/endpoints.Devices.422f010a.js b/info/endpoints/endpoints.Devices.422f010a.js deleted file mode 100644 index ebb9a5d..0000000 --- a/info/endpoints/endpoints.Devices.422f010a.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Devices"], - { - 47876: (e, s, t) => { - t.r(s), t.d(s, { default: () => n }); - const n = ({ apiClient: e, featureSwitches: s }) => ({ - fetchDevicePermissionsState(s) { - const { deviceId: t, permissionName: n, userId: o, ...i } = s; - return o - ? e.get( - `strato/column/None/${o},${encodeURIComponent( - t - )},${n}/clients/permissionsState`, - i, - { "content-type": "application/json" }, - "" - ) - : Promise.resolve(new Response()); - }, - fetchInfo: (s) => e.get("users/email_phone_info", s, {}), - resendConfirmationEmail: () => - e.post("account/resend_confirmation_email", {}, {}, {}), - removeDevice: (s) => e.post("device/unregister", s, {}, {}), - updateDevicePermissionsState(s) { - const { deviceId: t, permissionName: n, userId: o } = s; - return o - ? e.put( - `strato/column/None/${o},${encodeURIComponent( - t - )},${n}/clients/permissionsState`, - s, - { "content-type": "application/json" }, - "" - ) - : Promise.resolve(new Response()); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Devices.422f010a.js.map diff --git a/info/endpoints/endpoints.DirectMessagesGraphQL.3a87188a.js b/info/endpoints/endpoints.DirectMessagesGraphQL.3a87188a.js deleted file mode 100644 index 2dbaf27..0000000 --- a/info/endpoints/endpoints.DirectMessagesGraphQL.3a87188a.js +++ /dev/null @@ -1,764 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.DirectMessagesGraphQL"], - { - 23221: (e) => { - e.exports = { - queryId: "9qd2xqJkMURKSyXVJ33xBw", - operationName: "DmAllSearchSlice", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 52864: (e) => { - e.exports = { - queryId: "5zpY1dCR-8NyxQJS_CFJoQ", - operationName: "DmGroupSearchSlice", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 74907: (e) => { - e.exports = { - queryId: "lrcWa13oyrQc7L33wRdLAQ", - operationName: "DmMutedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 10776: (e) => { - e.exports = { - queryId: "xYSm8m5kJnzm_gFCn5GH-w", - operationName: "DmPeopleSearchSlice", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 30310: (e, i, t) => { - "use strict"; - t.r(i), t.d(i, { default: () => f, isFatalDMSearchError: () => h }); - var n = t(6899), - l = t(17360), - r = t(83175), - a = t(5189), - _ = t(23221), - s = t.n(_), - o = t(52864), - d = t.n(o), - u = t(74907), - c = t.n(u), - m = t(10776), - v = t.n(m), - g = t(82249); - const h = (e, i) => { - let t = !1; - var n, r; - if (null != i && i.dmPeopleSearchSlice) - t = !( - null == i || - null == (n = i.dmPeopleSearchSlice) || - null == (r = n.items) || - !r.length - ); - else if (null != i && i.dmGroupSearchSlice) { - var a, _; - t = !( - null == i || - null == (a = i.dmGroupSearchSlice) || - null == (_ = a.items) || - !_.length - ); - } else if (null != i && i.dmMessageSearchSlice) { - if ( - "DMMessageSlice" !== - (null == i ? void 0 : i.dmMessageSearchSlice.__typename) - ) - return !0; - var s, o; - t = !( - null == i || - null == (s = i.dmMessageSearchSlice) || - null == (o = s.items) || - !o.length - ); - } - return !t && (0, l.jB)(e); - }, - p = (e) => { - var i; - const t = - null == (i = e.items) - ? void 0 - : i.map((e) => (null == e ? void 0 : e.dm_convo_search)); - return (0, n.Fv)(t, [a.ZP]); - }, - f = ({ apiClient: e, featureSwitches: i }) => ({ - fetchDMAllSearch: (t) => - t - ? e - .graphQL( - s(), - { - count: null == t ? void 0 : t.count, - query: t.query, - withAttachments: - i.isTrue( - "dm_inbox_search_message_attachment_previews_enabled" - ) && - i.isTrue("dm_inbox_search_message_results_enabled") && - i.isTrue("direct_messages_incremental_holdback_2022h1"), - withConversationQueryHighlights: - i.isTrue( - "dm_inbox_search_query_highlighting_conversation_results_enabled" - ) && - i.isTrue("direct_messages_incremental_holdback_2022h1"), - withMessageQueryHighlights: - i.isTrue( - "dm_inbox_search_query_highlighting_message_results_enabled" - ) && - i.isTrue("dm_inbox_search_message_results_enabled") && - i.isTrue("direct_messages_incremental_holdback_2022h1"), - withMessages: - i.isTrue("dm_inbox_search_message_results_enabled") && - i.isTrue("direct_messages_incremental_holdback_2022h1"), - withSafetyModeUserFields: i.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - h - ) - .then((e) => { - const i = null == e ? void 0 : e.dmGroupSearchSlice, - t = null == e ? void 0 : e.dmMessageSearchSlice, - l = null == e ? void 0 : e.dmPeopleSearchSlice; - let r = g.d; - if (i) { - var _, s, o; - const { entities: e, result: t } = p(i), - n = - (null == (_ = i.items) - ? void 0 - : _.find((e) => { - var i; - return null == e || null == (i = e.highlighting) - ? void 0 - : i.query_tokens; - })) && - (null == (s = i.items) - ? void 0 - : s.map((e) => { - var i; - return null == e || null == (i = e.highlighting) - ? void 0 - : i.query_tokens; - })); - r = { - result: - null == (o = r) - ? void 0 - : o.result.concat({ - groupData: { result: t, highlightingTokens: n }, - }), - entities: e, - }; - } - if (l) { - var d, u, c, m; - const { entities: e, result: i } = p(l), - t = - (null == (d = l.items) - ? void 0 - : d.find((e) => { - var i; - return null == e || null == (i = e.highlighting) - ? void 0 - : i.query_tokens; - })) && - (null == (u = l.items) - ? void 0 - : u.map((e) => { - var i; - return null == e || null == (i = e.highlighting) - ? void 0 - : i.query_tokens; - })); - r = { - ...r, - result: - null == (c = r) - ? void 0 - : c.result.concat({ - peopleData: { - result: i, - highlightingTokens: t, - }, - }), - entities: { - ...(null == (m = r) ? void 0 : m.entities), - ...e, - }, - }; - } - if ( - t && - "DMMessageSlice" === (null == t ? void 0 : t.__typename) - ) { - var v, h, f, b; - const e = null == t ? void 0 : t.items, - i = (0, n.Fv)(e, [a.JJ]), - l = - null == e - ? void 0 - : e.map((e) => { - var i, t; - return null == e || - null == (i = e.dm_event) || - null == (t = i.legacy) - ? void 0 - : t.conversation; - }), - _ = - (null == e - ? void 0 - : e.find((e) => { - var i; - return null == e || null == (i = e.highlighting) - ? void 0 - : i.query_tokens; - })) && - (null == e - ? void 0 - : e.map((e) => { - var i; - return null == e || null == (i = e.highlighting) - ? void 0 - : i.query_tokens; - })), - { entities: s, result: o } = (0, n.Fv)(l, [a.ZP]); - r = { - ...r, - result: - null == (v = r) || null == (h = v.result) - ? void 0 - : h.concat({ - messageData: { - conversationIds: o, - entryIds: null == i ? void 0 : i.result, - highlightingTokens: _, - }, - }), - entities: { - ...(null == i ? void 0 : i.entities), - conversations: { - ...(null == (f = r) || null == (b = f.entities) - ? void 0 - : b.conversations), - ...(null == s ? void 0 : s.conversations), - }, - }, - }; - } - return r; - }) - : Promise.resolve(g.d), - fetchDMGroupSearch: (t) => - t - ? e - .graphQL( - d(), - { - ...t, - withConversationQueryHighlights: - i.isTrue( - "dm_inbox_search_query_highlighting_conversation_results_enabled" - ) && - i.isTrue("direct_messages_incremental_holdback_2022h1"), - }, - h - ) - .then((e) => { - const i = null == e ? void 0 : e.dmGroupSearchSlice; - if (i) { - const { entities: e, result: t } = p(i); - return { - result: t, - entities: e, - slice_info: i.sliceInfo, - }; - } - return g.d; - }) - : Promise.resolve(g.d), - fetchDMPeopleSearch: (t) => - t - ? e - .graphQL( - v(), - { - ...t, - withConversationQueryHighlights: - i.isTrue( - "dm_inbox_search_query_highlighting_conversation_results_enabled" - ) && - i.isTrue("direct_messages_incremental_holdback_2022h1"), - }, - h - ) - .then((e) => { - const i = null == e ? void 0 : e.dmPeopleSearchSlice; - if (i) { - const { entities: e, result: t } = p(i); - return { - result: t, - entities: e, - slice_info: i.sliceInfo, - }; - } - return g.d; - }) - : Promise.resolve(g.d), - fetchDMMutedUsers: ({ count: t, cursor: n }) => - e - .graphQL( - c(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, r.d)(i), - }, - (0, l.kj)((e) => { - var i, t; - return !( - null != e && - null != (i = e.viewer) && - null != (t = i.dm_muting_timeline) && - t.timeline - ); - }, "GQL URT: Failed to render DM Muting timeline") - ) - .then((e) => { - var i, t; - return ( - (null == (i = e.viewer) || null == (t = i.dm_muting_timeline) - ? void 0 - : t.timeline) || g.cY - ); - }), - }); - }, - 5189: (e, i, t) => { - "use strict"; - t.d(i, { JJ: () => u, ZP: () => m }); - t(6886), t(36728); - var n = t(6899), - l = t(29086), - r = t(22167), - a = t(46395), - _ = t(15804), - s = t(85364); - const o = Object.freeze({ - GROUP: "GroupDm", - ONE_TO_ONE: "OneToOneDm", - UNKNOWN: "Unknown", - }), - d = Object.freeze({ - MessageCreate: r.Cr.MESSAGE, - ParticipantsJoin: r.Cr.PARTICIPANTS_JOIN, - ParticipantsLeave: r.Cr.PARTICIPANTS_LEAVE, - ConversationNameUpdate: r.Cr.CONVERSATION_NAME_UPDATE, - JoinConversation: r.Cr.JOIN_CONVERSATION, - }), - u = new n.fK.Entity( - "entries", - { - message_data: { attachment: { card: _.Z, tweet: { status: s.Z } } }, - }, - { - processStrategy: (e, i, t) => { - var n, r, _, s, o, u, c; - const { legacy: m, rest_id: v } = - (null == e ? void 0 : e.dm_event) || {}, - g = null == m ? void 0 : m.event_type, - { affects_sort: h, request_id: p } = m || {}; - let f, - b, - y = "Unknown"; - g in d && (y = d[g]); - const S = - null == m || null == (n = m.conversation) - ? void 0 - : n.rest_id, - E = null == m || null == (r = m.event_detail) ? void 0 : r.dm, - A = null == m ? void 0 : m.created_at_millis, - { - card: T, - media: N, - tweet_results: O, - urls_entity: w, - } = (null == E || null == (_ = E.attachments) - ? void 0 - : _[0]) || {}; - if ( - (null != T && T.legacy && (f = { card: T }), - null != w && - w.length && - E.text && - w.forEach((e) => { - null != e && - e.indices[0] && - (b = E.text - .slice(0, null == e ? void 0 : e.indices[0]) - .concat(E.text.slice(e.indices[1]))); - }), - "Tweet" === - (null == O || null == (s = O.result) ? void 0 : s.__typename)) - ) { - var I, x, D, M, R, C, P, k, q; - const e = - null == O || null == (I = O.result) || null == (x = I.legacy) - ? void 0 - : x.entities; - let i; - null != e && null != (D = e.media) && D.length - ? (i = null == e ? void 0 : e.media[0]) - : null != e && - null != (M = e.urls) && - M.length && - (i = null == e ? void 0 : e.urls[0]); - const { - display_url: t, - expanded_url: n, - id_str: l, - indices: r, - url: a, - } = i || {}, - { extended_entities: _ } = - (null == O || null == (R = O.result) ? void 0 : R.legacy) || - {}, - s = - null == _ || null == (C = _.media) - ? void 0 - : C.map((e) => { - if (null != e && e.video_info) { - var i; - const t = - null == e || null == (i = e.video_info) - ? void 0 - : i.variants; - return { - ...e, - video_info: { - ...(null == e ? void 0 : e.video_info), - variants: t, - }, - }; - } - return e; - }), - o = { - ...(null == O || - null == (P = O.result) || - null == (k = P.legacy) - ? void 0 - : k.extended_entities), - media: s, - }; - f = { - tweet: { - status: { - ...(null == O ? void 0 : O.result), - legacy: { - ...(null == O || null == (q = O.result) - ? void 0 - : q.legacy), - extended_entities: o, - }, - }, - display_url: t, - expanded_url: n, - indices: r, - url: a, - id: l, - }, - }; - } - const G = N ? (0, l.m)(N) : null; - G && - G.type && - ("photo" === G.type - ? (f = { photo: G }) - : "video" === G.type - ? (f = { video: G }) - : "animated_gif" === G.type && (f = { animated_gif: G })); - const L = { - affects_sort: h, - request_id: p, - time: A, - type: y, - conversation_id: S, - message_data: { - id: v, - text: b || (null == E ? void 0 : E.text), - entities: null == E ? void 0 : E.entities, - recipient_id: - null == E || - null == (o = E.recipient_results) || - null == (u = o.result) - ? void 0 - : u.rest_id, - sender_id: - null == E || null == (c = E.sender_results) - ? void 0 - : c.result.rest_id, - attachment: f, - }, - id: v, - }; - return (0, a.Z)(L, i, t); - }, - idAttribute: (e) => { - var i; - return null == e || null == (i = e.dm_event) ? void 0 : i.rest_id; - }, - } - ), - c = new n.fK.Entity( - "conversations", - {}, - { - processStrategy: (e, i, t) => { - var n, l, _; - const { - id: s, - labels: d, - legacy: u, - perspectival_conversation_metadata: c, - rest_id: m, - } = e || {}, - v = {}, - g = []; - for (const e of (null == u ? void 0 : u.participants_metadata) || - []) { - var h; - const i = - null == e || null == (h = e.user_results) ? void 0 : h.result; - if (!i || !i.legacy) continue; - const t = { - description: i.legacy.description, - id_str: i.legacy.id_str, - name: i.legacy.name, - profile_image_url_https: - i.legacy.profile_image_url_https || "", - screen_name: i.legacy.screen_name, - }; - (v[i.rest_id] = t), g.push({ user: t, user_id: i.rest_id }); - } - let p = null == u || null == (n = u.metadata) ? void 0 : n.avatar; - const f = null == (l = p) ? void 0 : l.media_info, - b = null == e ? void 0 : e.last_readable_event_id; - if (f) { - const { - original_img_height: e, - original_img_url: i, - original_img_width: t, - } = f || {}; - p = { - image: { original_info: { height: e, width: t, url: i } }, - }; - } - const y = - (null == u || null == (_ = u.metadata) - ? void 0 - : _.conversation_type) === o.GROUP - ? r.eD.GROUP - : r.eD.ONE_TO_ONE, - S = { - ...(null == u - ? void 0 - : u.perspectival_conversation_metadata), - ...(null == u ? void 0 : u.metadata), - ...c, - id: s, - conversation_id: m, - avatar: p, - labels: d, - last_readable_event_id: b, - type: y, - participants: g, - users: v, - }; - return (0, a.Z)(S, i, t); - }, - idAttribute: (e) => { - var i; - return null == e || null == (i = e.legacy) - ? void 0 - : i.conversation_id; - }, - } - ); - c.define({ entities: u }); - const m = c; - }, - 29086: (e, i, t) => { - "use strict"; - t.d(i, { m: () => n }); - const n = (e) => { - const i = null == e ? void 0 : e.media_info; - if ("ApiImage" === (null == i ? void 0 : i.__typename)) { - var t; - return { - altText: i.alt_text, - display_url: i.original_img_url, - expanded_url: i.original_img_url, - ext_alt_text: i.alt_text, - ...((null == (t = i.color_info) ? void 0 : t.palette) && { - ext_media_color: { palette: i.color_info.palette }, - }), - id: r(e.media_id), - id_str: e.media_id || "", - media_key: e.media_key, - media_url: i.original_img_url, - media_url_https: i.original_img_url, - original_info: { - height: i.original_img_height, - width: i.original_img_width, - }, - sizes: { - original: { - h: i.original_img_height, - resize: "fit", - w: i.original_img_width, - }, - }, - type: "photo", - }; - } - if ("ApiVideo" === (null == i ? void 0 : i.__typename)) { - const { __typename: t, ...n } = i; - return l(n, e.media_id, null == i ? void 0 : i.__typename); - } - if ("ApiGif" === (null == i ? void 0 : i.__typename)) { - const { __typename: t, ...n } = i; - return l(n, e.media_id, null == i ? void 0 : i.__typename); - } - }, - l = (e, i, t) => { - var n; - const l = "ApiGif" === t ? "animated_gif" : "video", - a = e.preview_image; - return { - type: l, - id: r(i), - id_str: i || "", - ext_alt_text: null == a ? void 0 : a.alt_text, - ext_media_color: { - palette: - (null == a || null == (n = a.color_info) - ? void 0 - : n.palette) || [], - }, - media_url: (null == a ? void 0 : a.original_img_url) || "", - media_url_https: (null == a ? void 0 : a.original_img_url) || "", - url: (null == a ? void 0 : a.original_img_url) || "", - display_url: (null == a ? void 0 : a.original_img_url) || "", - expanded_url: (null == a ? void 0 : a.original_img_url) || "", - original_info: { - height: (null == a ? void 0 : a.original_img_height) || 0, - width: (null == a ? void 0 : a.original_img_width) || 0, - }, - sizes: { - original: { - h: (null == a ? void 0 : a.original_img_height) || 0, - resize: "fit", - w: (null == a ? void 0 : a.original_img_width) || 0, - }, - }, - video_info: { - aspect_ratio: [ - e.aspect_ratio.numerator, - e.aspect_ratio.denominator, - ], - ...(e.duration_millis && { duration_millis: e.duration_millis }), - variants: e.variants.map((e) => ({ - bitrate: e.bit_rate, - content_type: e.content_type, - url: e.url, - })), - }, - }; - }, - r = (e) => { - const i = parseInt(e, 10); - return Number.isNaN(i) ? 0 : i; - }; - }, - 22167: (e, i, t) => { - "use strict"; - t.d(i, { Cr: () => r, To: () => l, UN: () => a, eD: () => n }); - const n = Object.freeze({ ONE_TO_ONE: "ONE_TO_ONE", GROUP: "GROUP_DM" }), - l = Object.freeze({ AT_END: "AT_END", HAS_MORE: "HAS_MORE" }), - r = Object.freeze({ - CONVERSATION_AVATAR_UPDATE: "conversation_avatar_update", - CONVERSATION_NAME_UPDATE: "conversation_name_update", - CONVERSATION_PROFILE_INFO_HEADER: "conversation_profile_info_header", - CONVERSATION_READ: "conversation_read", - CONVO_METADATA_UPDATE: "convo_metadata_update", - DELEGATE_ALERT_BANNER: "delegate_alert_banner", - DISABLE_NOTIFICATIONS: "disable_notifications", - ENABLE_NOTIFICATIONS: "enable_notifications", - JOIN_CONVERSATION: "join_conversation", - LOADING_INDICATOR: "loading_indicator", - MARK_ALL_AS_READ: "mark_all_as_read", - MENTION_NOTIFICATIONS_UPDATE: "mention_notifications_setting_update", - MESSAGE: "message", - MESSAGE_DELETE: "message_delete", - MESSAGE_MARK_AS_NOT_SPAM: "message_unmark_as_spam", - MESSAGE_MARK_AS_SPAM: "message_mark_as_spam", - NEW_MESSAGES_DIVIDER: "new_messages_divider", - PARTICIPANTS_JOIN: "participants_join", - PARTICIPANTS_LEAVE: "participants_leave", - REACTION_CREATE: "reaction_create", - REACTION_DELETE: "reaction_delete", - READ_ONLY_INDICATOR: "read_only_indicator", - REMOVE_CONVERSATION: "remove_conversation", - TRUST_CONVERSATION: "trust_conversation", - TYPING_INDICATOR: "typing_indicator", - WELCOME_MESSAGE: "welcome_message_create", - }), - a = Object.freeze({ MUTUAL_FRIENDS: "mutual_friends" }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.DirectMessagesGraphQL.3a87188a.js.map diff --git a/info/endpoints/endpoints.DismissRitoSuggestedAction.f5afb42a.js b/info/endpoints/endpoints.DismissRitoSuggestedAction.f5afb42a.js deleted file mode 100644 index 09daa2d..0000000 --- a/info/endpoints/endpoints.DismissRitoSuggestedAction.f5afb42a.js +++ /dev/null @@ -1,45 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.DismissRitoSuggestedAction"], - { - 5737: (e) => { - e.exports = { - queryId: "jYvwa61cv3NwNP24iUru6g", - operationName: "DismissRitoSuggestedAction", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 4913: (e, t, s) => { - "use strict"; - s.r(t), - s.d(t, { - default: () => a, - isFatalDismissRitoSuggestedAction: () => u, - }); - var i = s(72599), - o = s(17360), - n = s(5737), - r = s.n(n); - const u = (e, t) => { - const s = - "Done" === - (null == t ? void 0 : t.user_dismiss_rito_suggested_action); - return ( - s || - (0, i.ZP)( - "GQL DismissRitoSuggestedAction: Failed to remove flagged account" - ), - !s && (0, o.jB)(e) - ); - }, - a = ({ apiClient: e, featureSwitches: t }) => ({ - dismissRitoSuggestedAction(t) { - const { userId: s } = t; - return e.graphQL(r(), { userId: s }, u); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.DismissRitoSuggestedAction.f5afb42a.js.map diff --git a/info/endpoints/endpoints.Drafts.2aa71e7a.js b/info/endpoints/endpoints.Drafts.2aa71e7a.js deleted file mode 100644 index 2105220..0000000 --- a/info/endpoints/endpoints.Drafts.2aa71e7a.js +++ /dev/null @@ -1,118 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Drafts"], - { - 12632: (e) => { - e.exports = { - queryId: "cH9HZWz_EW9gnswvA4ZRiQ", - operationName: "CreateDraftTweet", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 71173: (e) => { - e.exports = { - queryId: "bkh9G3FGgTldS9iTKWWYYw", - operationName: "DeleteDraftTweet", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 81539: (e) => { - e.exports = { - queryId: "JIeXE-I6BZXHfxsgOkyHYQ", - operationName: "EditDraftTweet", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 66043: (e) => { - e.exports = { - queryId: "ZkqIq_xRhiUme0PBJNpRtg", - operationName: "FetchDraftTweets", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 49498: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => _ }); - var a = r(12632), - i = r.n(a), - s = r(71173), - d = r.n(s), - n = r(81539), - o = r.n(n), - u = r(66043), - w = r.n(u), - p = r(98671); - const _ = ({ apiClient: e, featureSwitches: t }) => ({ - createDraftTweet: (t) => - e.graphQL(i(), { post_tweet_request: (0, p.y)(t) }).then((e) => { - var t; - return null == (t = e.tweet) ? void 0 : t.rest_id; - }), - deleteDraftTweet(t) { - const { draftTweetId: r } = t; - return e.graphQL(d(), { draft_tweet_id: r }); - }, - editDraftTweet(t) { - const { draftTweetId: r, ...a } = t; - return e - .graphQL(o(), { - draft_tweet_id: r, - post_tweet_request: (0, p.y)(a), - }) - .then(() => r); - }, - fetchDraftTweets(t) { - const r = { - ascending: !1, - limit: void 0, - max_id: void 0, - min_id: void 0, - }; - return e.graphQL(w(), { ...r, ...t }, (0, p.F)("Draft")).then((e) => { - var t, r; - return ( - (null == (t = e.viewer) || null == (r = t.draft_list) - ? void 0 - : r.response_data) || [] - ); - }); - }, - }); - }, - 98671: (e, t, r) => { - "use strict"; - r.d(t, { F: () => d, y: () => s }); - var a = r(72599), - i = r(17360); - function s({ exclude_reply_user_ids: e, media_ids: t, ...r }) { - return { - ...r, - exclude_reply_user_ids: e ? e.split(",") : [], - media_ids: t ? t.split(",") : [], - }; - } - const d = (e) => (t, r) => { - const s = - r && - r.viewer && - r.viewer.draft_list && - r.viewer.draft_list.response_data, - d = - r && - r.viewer && - !!r.viewer.scheduled_tweet_list && - r.viewer.scheduled_tweet_list; - return ( - !s && - !d && - ((0, a.ZP)(`GQL: Failed to render ${e} Tweets List`), (0, i.jB)(t)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Drafts.2aa71e7a.js.map diff --git a/info/endpoints/endpoints.EmailNotificationSettings.b07029ca.js b/info/endpoints/endpoints.EmailNotificationSettings.b07029ca.js deleted file mode 100644 index 47c14ef..0000000 --- a/info/endpoints/endpoints.EmailNotificationSettings.b07029ca.js +++ /dev/null @@ -1,56 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.EmailNotificationSettings"], - { - 88900: (e) => { - e.exports = { - queryId: "2qKKYFQift8p5-J1k6kqxQ", - operationName: "WriteEmailNotificationSettings", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 44408: (e) => { - e.exports = { - queryId: "JpjlNgn4sLGvS6tgpTzYBg", - operationName: "ViewerEmailSettings", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 6382: (e, t, i) => { - "use strict"; - i.r(t), i.d(t, { default: () => u }); - var n = i(72599), - r = i(88900), - s = i.n(r), - a = i(44408), - o = i.n(a); - const u = ({ apiClient: e, featureSwitches: t }) => ({ - fetch: () => - e.graphQL(o(), {}).then((e) => { - let t; - if (e.viewer) { - var i; - const { user_results: n } = e.viewer; - "User" === - (null == n || null == (i = n.result) ? void 0 : i.__typename) && - (t = n.result.notifications_email_notifications); - } - return ( - t || - (0, n.ZP)( - "GraphQL email notification settings query returned no settings object." - ), - t || {} - ); - }), - update(t) { - const { settings: i, userId: n } = t; - return e.graphQL(s(), { userId: n, settings: i }); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.EmailNotificationSettings.b07029ca.js.map diff --git a/info/endpoints/endpoints.Explore.9b2e28ea.js b/info/endpoints/endpoints.Explore.9b2e28ea.js deleted file mode 100644 index c9cc473..0000000 --- a/info/endpoints/endpoints.Explore.9b2e28ea.js +++ /dev/null @@ -1,78 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Explore"], - { - 52055: (e) => { - e.exports = { - queryId: "UGQD_VslAJBJ4XzigsBYAA", - operationName: "ImmersiveMedia", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 93490: (e, _, i) => { - "use strict"; - i.r(_), - i.d(_, { default: () => o, isImmersiveMediaTimelineError: () => d }); - var n = i(72599), - t = i(17360), - a = i(83175), - r = i(52055), - s = i.n(r), - l = i(82249); - const d = (e, _) => { - var i; - const a = - null == _ || null == (i = _.immersiveMedia) ? void 0 : i.timeline; - return ( - a || (0, n.ZP)("GQL failed to query for Immersive Media timeline"), - !a && (0, t.jB)(e) - ); - }, - o = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchImmersiveMedia: (i) => - e - .graphQL( - s(), - { - pinned_tweet_id: null == i ? void 0 : i.pinned_tweet_id, - page_name: null == i ? void 0 : i.page_name, - ...(0, a.d)(_), - }, - d - ) - .then((e) => { - var _; - return ( - (null == e || null == (_ = e.immersiveMedia) - ? void 0 - : _.timeline) || l.cY - ); - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Explore.9b2e28ea.js.map diff --git a/info/endpoints/endpoints.FeatureSwitch.1373e1ea.js b/info/endpoints/endpoints.FeatureSwitch.1373e1ea.js deleted file mode 100644 index 4e51d2f..0000000 --- a/info/endpoints/endpoints.FeatureSwitch.1373e1ea.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.FeatureSwitch"], - { - 36162: (e, t, s) => { - s.r(t), - s.d(t, { REQUEST_FEATURE_SWITCHES_PATH: () => i, default: () => a }); - const i = "help/settings", - n = { include_zero_rate: !0 }, - a = ({ apiClient: e, featureSwitches: t }) => ({ - fetch: (t, s = {}) => e.get(i, { ...n, ...t }, s), - fetchLanguages: (t, s = {}) => - e.get("help/languages", { ...n, ...t }, s), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.FeatureSwitch.1373e1ea.js.map diff --git a/info/endpoints/endpoints.Friendships.48d5d37a.js b/info/endpoints/endpoints.Friendships.48d5d37a.js deleted file mode 100644 index ebf8de9..0000000 --- a/info/endpoints/endpoints.Friendships.48d5d37a.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Friendships"], - { - 31149: (e, s, t) => { - t.r(s), t.d(s, { default: () => d }); - var i = t(6899); - const n = { users: [t(13239).Z] }; - var r = t(55371); - const o = (e) => ({ ...r.getGlobalDefaults(e), cursor: -1 }), - l = (e) => (0, i.Fv)(e, n), - d = ({ apiClient: e, featureSwitches: s }) => ({ - fetchFollowersYouFollow: (t, i) => - e.get("friends/following/list", { ...o(s), ...t }, i || {}).then(l), - fetchPendingFollowers(t, i) { - const n = { ...o(s), ...t, stringify_ids: !0, count: 100 }; - return e.get("friendships/incoming", n, i || {}).then(l); - }, - fetchFollowing(t, i) { - const n = Array.isArray(t) ? void 0 : t; - return e.get("friends/list", { ...o(s), ...n }, i || {}).then(l); - }, - acceptPendingFollower: (t, i) => - e.post("friendships/accept", { ...o(s), ...t }, {}, i || {}), - declinePendingFollower: (t, i) => - e.post("friendships/deny", { ...o(s), ...t }, {}, i || {}), - updateFriendship: (t, i) => - e.post("friendships/update", { ...o(s), ...t }, {}, i || {}), - createAllFriendships: (t, i) => - e.post("friendships/create_all", { ...o(s), ...t }, {}, i || {}), - destroyAllFriendships: (t, i) => - e.post("friendships/destroy_all", { ...o(s), ...t }, {}, i || {}), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Friendships.48d5d37a.js.map diff --git a/info/endpoints/endpoints.GifSearch.d5998b3a.js b/info/endpoints/endpoints.GifSearch.d5998b3a.js deleted file mode 100644 index 289f3d8..0000000 --- a/info/endpoints/endpoints.GifSearch.d5998b3a.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.GifSearch"], - { - 95264: (e, t, s) => { - s.r(t), s.d(t, { default: () => r }); - const r = ({ apiClient: e, featureSwitches: t }) => ({ - categories: (t, s) => e.get("foundmedia/categories", t, s), - category(t, s) { - const { category: r, ...a } = t; - return e.get(`foundmedia/categories/${r}`, a, s); - }, - search: (t, s) => e.get("foundmedia/search", t, s), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.GifSearch.d5998b3a.js.map diff --git a/info/endpoints/endpoints.GraphQLErrors.aaf12c0a.js b/info/endpoints/endpoints.GraphQLErrors.aaf12c0a.js deleted file mode 100644 index 9c1932f..0000000 --- a/info/endpoints/endpoints.GraphQLErrors.aaf12c0a.js +++ /dev/null @@ -1,24 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.GraphQLErrors"], - { - 91121: (e) => { - e.exports = { - queryId: "2V2W3HIBuMW83vEMtfo_Rg", - operationName: "GraphQLError", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 54143: (e, r, t) => { - "use strict"; - t.r(r), t.d(r, { default: () => o }); - var a = t(91121), - s = t.n(a); - const o = ({ apiClient: e, featureSwitches: r }) => ({ - throwError: () => e.graphQL(s(), {}), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.GraphQLErrors.aaf12c0a.js.map diff --git a/info/endpoints/endpoints.Graphql.997f355a.js b/info/endpoints/endpoints.Graphql.997f355a.js deleted file mode 100644 index 7ce6dfe..0000000 --- a/info/endpoints/endpoints.Graphql.997f355a.js +++ /dev/null @@ -1,724 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => V, - errorBreadcrumb: () => P, - isFatalGenericTimelineError: () => M, - isFatalModeratedTimelineError: () => j, - isFatalTeamsResponseError: () => C, - isFatalUserScopedFollowTimelineError: () => N, - isFatalViewerScopedFollowTimelineError: () => U, - parseUserScopedTimeline: () => Z, - parseViewerScopedTimeline: () => E, - }); - var n = t(58955), - i = t(79363), - r = t(72599), - a = t(32091), - l = t(17360), - o = t(83175), - s = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let n; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - n = t; - } - return { user: n, ..._ }; - }); - return (0, s.Fv)(_, d.Z); - }; - var b = t(29848), - c = t.n(b), - u = t(57274), - w = t.n(u), - m = t(2216), - v = t.n(m), - h = t(41839), - f = t.n(h), - g = t(97621), - y = t.n(g), - q = t(87669), - x = t.n(q), - k = t(75840), - T = t.n(k), - A = t(50931), - I = t.n(A), - B = t(59113), - F = t.n(B), - G = t(26491), - S = t.n(G), - Q = t(16221), - z = t.n(Q), - L = t(82249); - const Z = (e) => { - var _; - let t = L.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) ? void 0 : n.timeline) || - L.cY); - return t; - }, - P = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - E = (e) => { - let _ = L.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || L.cY); - return _; - }, - C = (e) => - Array.isArray(e) && - !(0, i.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - N = (e, _) => { - var t, n; - const i = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && _.user.result.timeline; - return ( - i || - (0, r.ZP)("GQL URT: Failed to render Follow timeline", { - extra: P(e), - }), - !i && (0, l.jB)(e) - ); - }, - U = (e, _) => { - var t; - const n = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - n || - (0, r.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: P(e), - }), - !n && (0, l.jB)(e) - ); - }, - Y = (e, _) => { - var t, n; - const i = - null == _ || - null == (t = _.viewer) || - null == (n = t.muting_timeline) - ? void 0 - : n.timeline; - return ( - i || - (0, r.ZP)("GQL URT: Failed to render Muting timeline", { - extra: P(e), - }), - !i && (0, l.jB)(e) - ); - }, - j = (e, _) => { - var t, n; - const i = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (n = _.tweet.result.timeline_response) - ? void 0 - : n.timeline); - return ( - i || - (0, r.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: P(e) } - ), - !i && (0, l.jB)(e) - ); - }, - M = (e, _) => { - var t; - const n = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - n || - (0, r.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: P(e), - }), - !n && (0, l.jB)(e) - ); - }; - function R(e, _, t) { - let n; - function i(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (n = e === a.kH.Imported ? v() : e === a.kH.AutoBlock ? w() : c()), - ({ count: a, cursor: s }) => - _.graphQL( - n, - { - count: a, - cursor: s, - includePromotedContent: !1, - ...(0, o.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const n = i(t); - return ( - n || - (0, r.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: P(_) } - ), - !n && (0, l.jB)(_) - ); - } - ).then((e) => i(e) || L.cY) - ); - } - const V = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: R(a.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: R(a.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: R(a.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - f(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - N - ) - .then(Z), - fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - y(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - N - ) - .then(Z), - fetchFollowing: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - x(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - N - ) - .then(Z), - fetchSuperFollowers: ({ count: t, cursor: n }) => - e - .graphQL( - S(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - U - ) - .then(E), - fetchViewerTeams: () => - e - .graphQLFullResponse(z(), { ...(0, o.S)(_) }, C) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - i = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return i; - const r = (0, n.Z)(_.map((e) => e.path && e.path[3])); - return i.filter((e, _) => !r.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: n, rootTweetId: i }) => - e - .graphQL( - I(), - { - rootTweetId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - j - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, n; - return ( - (null == (t = e.tweet.result) || - null == (n = t.timeline_response) - ? void 0 - : n.timeline) || L.cY - ); - } - return L.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: n }) => - e - .graphQL( - F(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - Y - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || L.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: n, timelineId: i }) => - e - .graphQL( - T(), - { - timelineId: i, - count: t, - cursor: n, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, o.d)(_), - }, - M - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || L.cY; - }), - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => a, Z: () => l }); - var n = t(6899), - i = t(46395), - r = t(90650); - const a = new n.fK.Entity( - "teams", - { user: r.Z }, - { - idAttribute: ({ user: e }) => e[r.Z.idAttribute] || e, - processStrategy: i.Z, - } - ), - l = new n.fK.Array(a); - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => o, ZH: () => s, kH: () => l }); - var n = t(78772), - i = t(52612), - r = t(57659), - a = t(62104); - const l = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - o = (e) => - (0, a.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === l.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === l.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: n.Z, - }), - s = (e) => (_, t) => { - const n = t(); - _( - e - .selectEntries(n) - .filter((e) => { - if (!e.content || e.type !== i.ZP.User) return !1; - const _ = e.content.id, - t = r.ZP.select(n, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Graphql.997f355a.js.map diff --git a/info/endpoints/endpoints.Guest.4193f5aa.js b/info/endpoints/endpoints.Guest.4193f5aa.js deleted file mode 100644 index b09fffd..0000000 --- a/info/endpoints/endpoints.Guest.4193f5aa.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Guest"], - { - 61041: (e, t, s) => { - s.r(t), s.d(t, { default: () => n }); - const n = ({ apiClient: e, featureSwitches: t }) => ({ - fetchGuestSegment(s, n = {}) { - const r = t.getValueWithoutScribeImpression( - "responsive_web_logged_out_gating_non_impressing_member_segments" - ); - return Array.isArray(r) && r.length > 0 - ? e.get("rux/logged_out/segmentations", s, n).then( - (e) => e.segmentation, - (e) => {} - ) - : Promise.resolve(); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Guest.4193f5aa.js.map diff --git a/info/endpoints/endpoints.Home.f3e5f1aa.js b/info/endpoints/endpoints.Home.f3e5f1aa.js deleted file mode 100644 index cf4f310..0000000 --- a/info/endpoints/endpoints.Home.f3e5f1aa.js +++ /dev/null @@ -1,224 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Home"], - { - 85302: (e) => { - e.exports = { - queryId: "zhX91JE87mWvfprhYE97xA", - operationName: "HomeLatestTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 74612: (e) => { - e.exports = { - queryId: "HCosKfLNW1AcOo3la3mMgg", - operationName: "HomeTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 27602: (e, t, n) => { - "use strict"; - n.r(t), n.d(t, { default: () => p, isFatalHomeTimelineError: () => u }); - var _ = n(72599), - i = n(51573), - o = n(27479), - r = n(17360), - s = n(83175), - a = n(85302), - l = n.n(a), - d = n(74612), - c = n.n(d), - m = n(82249); - const u = (e, t) => { - var n; - const i = - null == t || null == (n = t.home) ? void 0 : n.home_timeline_urt; - return ( - i || (0, _.ZP)("GQL Home: Failed to query for Home timeline"), - !i && (0, r.jB)(e) - ); - }, - p = ({ apiClient: e, featureSwitches: t }) => ({ - fetchHome: ({ count: n, cursor: _, requestContext: r, timeout: a }) => - (0, i.o)("homeTimeline", () => { - const i = o.m.get(), - l = !!(i && i.getTweets().length > 0), - d = { - count: n, - cursor: _, - includePromotedContent: !0, - latestControlAvailable: !0, - requestContext: r, - withCommunity: t.isTrue("c9s_enabled"), - ...(0, s.d)(t), - }; - return e - .graphQL( - c(), - l ? { ...d, seenTweetIds: l ? i && i.getTweets() : [] } : d, - u, - { forcePost: l, timeout: a } - ) - .then((e) => { - var t; - l && i && i.clearTweets(); - return ( - (null == e || null == (t = e.home) - ? void 0 - : t.home_timeline_urt) || m.cY - ); - }); - }), - fetchHomeLatest: ({ - count: n, - cursor: _, - requestContext: r, - timeout: a, - }) => - (0, i.o)("homeLatestTimeline", () => { - const i = o.m.getLatest(), - d = !!(i && i.getTweets().length > 0), - c = { - count: n, - cursor: _, - includePromotedContent: !0, - latestControlAvailable: !0, - requestContext: r, - ...(0, s.d)(t), - }; - return e - .graphQL( - l(), - d ? { ...c, seenTweetIds: d ? i && i.getTweets() : [] } : c, - u, - { forcePost: d, timeout: a } - ) - .then((e) => { - var t; - d && i && i.clearTweets(); - return ( - (null == e || null == (t = e.home) - ? void 0 - : t.home_timeline_urt) || m.cY - ); - }); - }), - }); - }, - 51573: (e, t, n) => { - "use strict"; - n.d(t, { o: () => l }); - n(21515), n(6886); - var _ = n(72599); - const i = new (class { - constructor() { - this.promise = new Promise((e, t) => { - (this.reject = t), (this.resolve = e); - }); - } - })(), - o = i.promise; - if ("undefined" != typeof document) { - let e; - document.addEventListener("DOMContentLoaded", () => { - i.resolve(), null != e && clearTimeout(e); - }); - const t = () => { - "loading" !== document.readyState - ? i.resolve() - : (e = setTimeout(() => { - t(); - }, 500)); - }; - t(); - } - var r = n(86916), - s = n(79150), - a = n(25943); - function l(e, t, n) { - const i = - "undefined" != typeof window ? window.__PREFETCH_DATA__ : void 0; - if (!i) return t(); - const l = Date.now(), - d = i.timestamp || l; - if (Math.max(0, l - d) >= 3e5) - return delete window.__PREFETCH_DATA__, t(); - const c = i.items[e]; - if (!c) return t(); - return (n ? n(c.meta) : Promise.resolve(!0)).then( - (n) => - n - ? ((a.q.didPrefetch[e] = !0), - Promise.race([c.promise, o]) - .then( - (n) => - n - ? r.i(n, s.AK) - : ((0, _.ZP)( - `DOM loaded but prefetch data was not present for ${e}` - ), - t()), - () => ((a.q.prefetchPromiseRejected[e] = !0), t()) - ) - .finally(() => { - delete i.items[e]; - })) - : t(), - () => t() - ); - } - }, - 25943: (e, t, n) => { - "use strict"; - n.d(t, { q: () => _ }); - const _ = { didPrefetch: {}, prefetchPromiseRejected: {} }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Home.f3e5f1aa.js.map diff --git a/info/endpoints/endpoints.Jot.5281b88a.js b/info/endpoints/endpoints.Jot.5281b88a.js deleted file mode 100644 index bd9d46a..0000000 --- a/info/endpoints/endpoints.Jot.5281b88a.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Jot"], - { - 49135: (e, t, r) => { - r.r(t), r.d(t, { default: () => o }); - const o = ({ apiClient: e, featureSwitches: t }) => ({ - clientEvent: (t, r = !1, o = {}) => - e.post("jot/client_event", t, { keepalive: r }, o, ".json"), - errorLog: (t, r = {}) => e.post("jot/error_log", t, {}, r, ".json"), - externalReferer: (t, r = {}) => - e.post("jot/external_referer", t, {}, r, ".json"), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Jot.5281b88a.js.map diff --git a/info/endpoints/endpoints.KeyRegistry.c9073cea.js b/info/endpoints/endpoints.KeyRegistry.c9073cea.js deleted file mode 100644 index e15e238..0000000 --- a/info/endpoints/endpoints.KeyRegistry.c9073cea.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.KeyRegistry"], - { - 98420: (e, t, s) => { - s.r(t), s.d(t, { default: () => i }); - s(6886), s(67694); - const i = ({ apiClient: e, featureSwitches: t }) => ({ - register: ({ device_id: s, ...i }) => - e.post( - "keyregistry/register", - i, - { - dm_secret_conversations_enabled: t.isTrue( - "dm_secret_conversations_enabled" - ), - krs_registration_enabled: t.isTrue("krs_registration_enabled"), - }, - { "X-Client-UUID": s, "content-type": "application/json" }, - "" - ), - extractPublicKeys: (s = []) => - Promise.all( - s.map((s) => - e - .get( - `keyregistry/extract_public_keys/${s}`, - { - dm_secret_conversations_enabled: t.isTrue( - "dm_secret_conversations_enabled" - ), - krs_registration_enabled: t.isTrue( - "krs_registration_enabled" - ), - }, - {}, - "" - ) - .then(({ public_keys: e = [] }) => - e.map(({ identity_key: e, ...t }) => ({ - user_id: s, - identity_key: e, - ...t, - })) - ) - ) - ).then((e) => e.flat()), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.KeyRegistry.c9073cea.js.map diff --git a/info/endpoints/endpoints.LegacyAndUnifiedCards.2c74e4fa.js b/info/endpoints/endpoints.LegacyAndUnifiedCards.2c74e4fa.js deleted file mode 100644 index cde2bc2..0000000 --- a/info/endpoints/endpoints.LegacyAndUnifiedCards.2c74e4fa.js +++ /dev/null @@ -1,101 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.LegacyAndUnifiedCards"], - { - 6123: (e) => { - e.exports = { - queryId: "jnwTSDR-Eo_HWlSkXPcMGA", - operationName: "CardPreviewByTweetText", - operationType: "query", - metadata: { - featureSwitches: [ - "responsive_web_enhance_cards_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 50269: (e, r, a) => { - "use strict"; - a.r(r), a.d(r, { default: () => u }); - a(71372); - var t = a(6899), - i = a(69114), - n = a(62707), - d = a(46395), - s = a(15804), - _ = a(90650); - const c = new t.fK.Entity( - "legacyAndUnifiedCards", - {}, - { - processStrategy: (e, r, a) => { - var t, i; - const _ = {}; - if ( - ("HasCard" === - (null == (t = e.unified_card) ? void 0 : t.card_fetch_state) && - (_.unifiedCard = (0, d.Z)(e.unified_card, r, a)), - null != (i = e.card) && i.legacy) - ) { - const t = (0, s.n)(e.card.legacy); - _.legacyCard = (0, n.Z)(t, r, a); - } - return _; - }, - idAttribute: "id", - } - ); - c.define({ users: new t.fK.Values(_.Z) }); - const o = c; - var l = a(6123), - p = a.n(l); - function w(e, r, a, n) { - const { url: d } = r, - { retryDelay: s, retryMax: _ } = n; - return a >= _ - ? Promise.reject( - new Error( - `retry limit of ${_} reached when fetching card preview for ${d} from graphql` - ) - ) - : e - .graphQL(p(), { tweetText: d }) - .then((_) => - _.card_preview - ? "Crawling" === _.card_preview.state - ? (0, i.Z)(s).then(() => w(e, r, a + 1, n)) - : "CardNotFound" === _.card_preview.state - ? Promise.resolve({ result: !1 }) - : _.card_preview.state - ? Promise.reject( - new Error( - `received state of ${_.card_preview.state} when fetching card preview for ${d}` - ) - ) - : (0, t.Fv)({ ..._.card_preview, id: d }, o) - : Promise.reject( - new Error( - `received undefined card_preview payload when fetching a card preview for ${d}` - ) - ) - ); - } - const u = ({ apiClient: e, featureSwitches: r }) => ({ - fetchCardPreview: (a, t) => - w(e, a, 0, { - retryDelay: r.getNumberValue( - "card_compose_preview_retry_after_ms", - 3e3 - ), - retryMax: r.getNumberValue("card_compose_preview_retry_max", 5), - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LegacyAndUnifiedCards.2c74e4fa.js.map diff --git a/info/endpoints/endpoints.Lists.530c138a.js b/info/endpoints/endpoints.Lists.530c138a.js deleted file mode 100644 index 71dba1a..0000000 --- a/info/endpoints/endpoints.Lists.530c138a.js +++ /dev/null @@ -1,1829 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Lists", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 31354: (e) => { - e.exports = { - queryId: "rIxum3avpCu7APi7mxTNjw", - operationName: "CombinedLists", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 89490: (e) => { - e.exports = { - queryId: "x0smnIS1jLLXToRYg70g4Q", - operationName: "ListAddMember", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 42215: (e) => { - e.exports = { - queryId: "ViELuwiz1VV_ep2CYihyXg", - operationName: "DeleteListBanner", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 4705: (e) => { - e.exports = { - queryId: "xZ95Tpp6rCLceQpUAdDI9w", - operationName: "EditListBanner", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 46405: (e) => { - e.exports = { - queryId: "3-E3eSWorCv24kYkK3CCiQ", - operationName: "ListBySlug", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 3180: (e) => { - e.exports = { - queryId: "0B4NLGtRfBGgRgn9bOV8iw", - operationName: "CreateList", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 73825: (e) => { - e.exports = { - queryId: "Zf8ZwG57EKtss-rPlryIqg", - operationName: "ListCreationRecommendedUsers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 5574: (e) => { - e.exports = { - queryId: "UnN9Th1BDbeLjpgjGSpL3Q", - operationName: "DeleteList", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 67264: (e) => { - e.exports = { - queryId: "-F4wsOirYNXjjg-ZjccQpQ", - operationName: "ListEditRecommendedUsers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 4904: (e) => { - e.exports = { - queryId: "2TemLyqrMpTeAmysdbnVqw", - operationName: "ListLatestTweetsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 77705: (e) => { - e.exports = { - queryId: "vA952kfgGw6hh8KatWnbqw", - operationName: "ListMembers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 89234: (e) => { - e.exports = { - queryId: "BlEXXdARdSeL_0KyKHHvvg", - operationName: "ListMemberships", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 27196: (e) => { - e.exports = { - queryId: "ZYyanJsskNUcltu9bliMLA", - operationName: "MuteList", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 67833: (e) => { - e.exports = { - queryId: "wQcOSjSQ8NtgxIwvYl1lMg", - operationName: "ListOwnerships", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 60935: (e) => { - e.exports = { - queryId: "2pYlo-kjdXoNOZJoLzI6KA", - operationName: "ListPinOne", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 39610: (e) => { - e.exports = { - queryId: "J0JOhmi8HSsle8LfSWv0cw", - operationName: "ListPins", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 18542: (e) => { - e.exports = { - queryId: "wXzyA5vM_aVkBL9G8Vp3kw", - operationName: "ListByRestId", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 29773: (e) => { - e.exports = { - queryId: "07lytXX9oG9uCld1RY4b0w", - operationName: "ListRankedTweetsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 34105: (e) => { - e.exports = { - queryId: "sJ8Ed8uLMyGqm_nwkbkSjg", - operationName: "ListRemoveMember", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 33309: (e) => { - e.exports = { - queryId: "FjvrQI3k-97JIUbEE6Gxcw", - operationName: "ListSubscribe", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 17392: (e) => { - e.exports = { - queryId: "e57wIELAAe0fYt4Hmqsk6g", - operationName: "ListSubscribers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 40465: (e) => { - e.exports = { - queryId: "pMZrHRNsmEkXgbn3tOyr7Q", - operationName: "UnmuteList", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 46425: (e) => { - e.exports = { - queryId: "c4ce-hzx6V4heV5IzdeBkA", - operationName: "ListUnpinOne", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 49007: (e) => { - e.exports = { - queryId: "bXyvW9HoS_Omy4ADhexj8A", - operationName: "ListUnsubscribe", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 88309: (e) => { - e.exports = { - queryId: "IhUXC6k6zD_h5r6fA9CcsQ", - operationName: "UpdateList", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 19227: (e) => { - e.exports = { - queryId: "ehnzbxPHA69pyaV2EydN1g", - operationName: "ListsDiscovery", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 63884: (e) => { - e.exports = { - queryId: "nhYp4n09Hi5n2hQWseQztg", - operationName: "ListsManagementPageTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 86526: (e) => { - e.exports = { - queryId: "On_1j-t3ywYc_qIGgU-xtw", - operationName: "ListsPinMany", - operationType: "mutation", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => O, - errorBreadcrumb: () => N, - isFatalGenericTimelineError: () => Y, - isFatalModeratedTimelineError: () => C, - isFatalTeamsResponseError: () => E, - isFatalUserScopedFollowTimelineError: () => j, - isFatalViewerScopedFollowTimelineError: () => U, - parseUserScopedTimeline: () => Z, - parseViewerScopedTimeline: () => z, - }); - var i = t(58955), - n = t(79363), - a = t(72599), - r = t(32091), - s = t(17360), - l = t(83175), - o = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let i; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - i = t; - } - return { user: i, ..._ }; - }); - return (0, o.Fv)(_, d.Z); - }; - var b = t(29848), - u = t.n(b), - c = t(57274), - m = t.n(c), - w = t(2216), - h = t.n(w), - v = t(41839), - g = t.n(v), - f = t(97621), - y = t.n(f), - q = t(87669), - x = t.n(q), - L = t(75840), - I = t.n(L), - T = t(50931), - S = t.n(T), - k = t(59113), - F = t.n(k), - Q = t(26491), - B = t.n(Q), - G = t(16221), - A = t.n(G), - P = t(82249); - const Z = (e) => { - var _; - let t = P.cY; - var i; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (i = e.user.result.timeline) ? void 0 : i.timeline) || - P.cY); - return t; - }, - N = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - z = (e) => { - let _ = P.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || P.cY); - return _; - }, - E = (e) => - Array.isArray(e) && - !(0, n.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - j = (e, _) => { - var t, i; - const n = - "User" === - (null == _ || null == (t = _.user) || null == (i = t.result) - ? void 0 - : i.__typename) && _.user.result.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render Follow timeline", { - extra: N(e), - }), - !n && (0, s.jB)(e) - ); - }, - U = (e, _) => { - var t; - const i = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: N(e), - }), - !i && (0, s.jB)(e) - ); - }, - M = (e, _) => { - var t, i; - const n = - null == _ || - null == (t = _.viewer) || - null == (i = t.muting_timeline) - ? void 0 - : i.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render Muting timeline", { - extra: N(e), - }), - !n && (0, s.jB)(e) - ); - }, - C = (e, _) => { - var t, i; - const n = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (i = _.tweet.result.timeline_response) - ? void 0 - : i.timeline); - return ( - n || - (0, a.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: N(e) } - ), - !n && (0, s.jB)(e) - ); - }, - Y = (e, _) => { - var t; - const i = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: N(e), - }), - !i && (0, s.jB)(e) - ); - }; - function R(e, _, t) { - let i; - function n(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (i = e === r.kH.Imported ? h() : e === r.kH.AutoBlock ? m() : u()), - ({ count: r, cursor: o }) => - _.graphQL( - i, - { - count: r, - cursor: o, - includePromotedContent: !1, - ...(0, l.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const i = n(t); - return ( - i || - (0, a.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: N(_) } - ), - !i && (0, s.jB)(_) - ); - } - ).then((e) => n(e) || P.cY) - ); - } - const O = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: R(r.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: R(r.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: R(r.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: i, userId: n }) => - e - .graphQL( - g(), - { - userId: n, - count: t, - cursor: i, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - j - ) - .then(Z), - fetchFollowersYouKnow: ({ count: t, cursor: i, userId: n }) => - e - .graphQL( - y(), - { - userId: n, - count: t, - cursor: i, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - j - ) - .then(Z), - fetchFollowing: ({ count: t, cursor: i, userId: n }) => - e - .graphQL( - x(), - { - userId: n, - count: t, - cursor: i, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - j - ) - .then(Z), - fetchSuperFollowers: ({ count: t, cursor: i }) => - e - .graphQL( - B(), - { - count: t, - cursor: i, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - U - ) - .then(z), - fetchViewerTeams: () => - e - .graphQLFullResponse(A(), { ...(0, l.S)(_) }, E) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - n = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return n; - const a = (0, i.Z)(_.map((e) => e.path && e.path[3])); - return n.filter((e, _) => !a.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: i, rootTweetId: n }) => - e - .graphQL( - S(), - { - rootTweetId: n, - count: t, - cursor: i, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - C - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, i; - return ( - (null == (t = e.tweet.result) || - null == (i = t.timeline_response) - ? void 0 - : i.timeline) || P.cY - ); - } - return P.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: i }) => - e - .graphQL( - F(), - { - count: t, - cursor: i, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - M - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || P.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: i, timelineId: n }) => - e - .graphQL( - I(), - { - timelineId: n, - count: t, - cursor: i, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, l.d)(_), - }, - Y - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || P.cY; - }), - }); - }, - 55873: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => Pe, - isFatalAddMemberError: () => qe, - isFatalFetchListByIdError: () => Se, - isFatalFetchListBySlugError: () => ke, - isFatalFetchMembersTimelineError: () => Be, - isFatalFetchPinsError: () => Ae, - isFatalFetchRecommendedUsersTimelineError: () => Ge, - isFatalFetchSubscribersTimelineError: () => Qe, - isFatalFetchTweetsTimelineError: () => Fe, - isFatalListsDiscoveryTimelineError: () => ve, - isFatalListsManagementTimelineError: () => ge, - isFatalListsTimelineError: () => he, - isFatalPinManyLists: () => Ie, - isFatalPinOneList: () => Le, - isFatalRemoveMemberError: () => xe, - isFatalSubscribeError: () => fe, - isFatalUnpinOneList: () => Te, - isFatalUnsubscribeError: () => ye, - }); - t(71372); - var i = t(6899), - n = t(72599), - a = t(52630), - r = t(17360), - s = t(83175), - l = t(20383), - o = t(31354), - d = t.n(o), - p = t(89490), - b = t.n(p), - u = t(42215), - c = t.n(u), - m = t(4705), - w = t.n(m), - h = t(46405), - v = t.n(h), - g = t(3180), - f = t.n(g), - y = t(73825), - q = t.n(y), - x = t(5574), - L = t.n(x), - I = t(67264), - T = t.n(I), - S = t(4904), - k = t.n(S), - F = t(77705), - Q = t.n(F), - B = t(89234), - G = t.n(B), - A = t(27196), - P = t.n(A), - Z = t(67833), - N = t.n(Z), - z = t(60935), - E = t.n(z), - j = t(39610), - U = t.n(j), - M = t(18542), - C = t.n(M), - Y = t(29773), - R = t.n(Y), - O = t(34105), - V = t.n(O), - D = t(19227), - H = t.n(D), - X = t(63884), - K = t.n(X), - J = t(86526), - W = t.n(J), - $ = t(33309), - ee = t.n($), - _e = t(17392), - te = t.n(_e), - ie = t(40465), - ne = t.n(ie), - ae = t(46425), - re = t.n(ae), - se = t(49007), - le = t.n(se), - oe = t(88309), - de = t.n(oe), - pe = t(31008), - be = t(82249), - ue = t(97534), - ce = t(87233), - me = t(55371); - const we = (e) => ({ - ...me.getGlobalDefaults(e), - ...ce.getGlobalDefaults(e), - cursor: -1, - }), - he = (e, _) => { - var t, i, a, s; - const l = - "User" === - (null == _ || null == (t = _.user) || null == (i = t.result) - ? void 0 - : i.__typename) && - (null == _ || null == (a = _.user) || null == (s = a.result) - ? void 0 - : s.timeline); - return ( - l || - (0, n.ZP)("GQL URT: Failed to render Lists timeline", { - extra: (0, ue.errorBreadcrumb)(e), - }), - !l && (0, r.jB)(e) - ); - }, - ve = (e, _) => { - var t, i; - const a = - null == _ || - null == (t = _.viewer) || - null == (i = t.list_discovery_timeline) - ? void 0 - : i.timeline; - return ( - a || - (0, n.ZP)("GQL URT: Failed to render Lists Discovery timeline"), - !a && (0, r.jB)(e) - ); - }, - ge = (e, _) => { - var t, i; - const a = - null == _ || - null == (t = _.viewer) || - null == (i = t.list_management_timeline) - ? void 0 - : i.timeline; - return ( - a || - (0, n.ZP)("GQL URT: Failed to render Lists Management timeline"), - !a && (0, r.jB)(e) - ); - }, - fe = (e, _) => { - const t = null == _ ? void 0 : _.list_subscribe_v2; - return ( - t || (0, n.ZP)("GQL List: Failed to subscribe"), !t && (0, r.jB)(e) - ); - }, - ye = (e, _) => { - const t = null == _ ? void 0 : _.list; - return ( - t || (0, n.ZP)("GQL List: Failed to unsubcribe"), !t && (0, r.jB)(e) - ); - }, - qe = (e, _) => { - const t = null == _ ? void 0 : _.list; - return ( - t || (0, n.ZP)("GQL List: Failed to add member"), !t && (0, r.jB)(e) - ); - }, - xe = (e, _) => { - const t = null == _ ? void 0 : _.list; - return ( - t || (0, n.ZP)("GQL List: Failed to remove member"), - !t && (0, r.jB)(e) - ); - }, - Le = (e, _) => { - const t = null == _ ? void 0 : _.list; - return ( - t || (0, n.ZP)("GQL List: Failed to pin the list"), - !t && (0, r.jB)(e) - ); - }, - Ie = (e, _) => { - const t = null == _ ? void 0 : _.pinned_lists_put_v2; - return ( - t || (0, n.ZP)("GQL List: Failed to pin many lists"), - !t && (0, r.jB)(e) - ); - }, - Te = (e, _) => { - const t = null == _ ? void 0 : _.list; - return ( - t || (0, n.ZP)("GQL List: Failed to unpin the list"), - !t && (0, r.jB)(e) - ); - }, - Se = (e, _) => { - const t = null == _ ? void 0 : _.list; - return ( - t || (0, n.ZP)("GQL List: Failed to fetch list by id"), - !t && (0, r.jB)(e) - ); - }, - ke = (e, _) => { - var t; - const i = - null == _ || null == (t = _.user_by_screen_name) ? void 0 : t.list; - return ( - i || (0, n.ZP)("GQL List: Failed to fetch list by slug"), - !i && (0, r.jB)(e) - ); - }, - Fe = (e, _) => { - var t, i; - const a = - null == _ || null == (t = _.list) || null == (i = t.tweets_timeline) - ? void 0 - : i.timeline; - return ( - a || (0, n.ZP)("GQL URT: Failed to fetch list Tweets timeline"), - !a && (0, r.jB)(e) - ); - }, - Qe = (e, _) => { - var t, i; - const a = - null == _ || - null == (t = _.list) || - null == (i = t.subscribers_timeline) - ? void 0 - : i.timeline; - return ( - a || (0, n.ZP)("GQL List: Failed to fetch Subscribers timeline"), - !a && (0, r.jB)(e) - ); - }, - Be = (e, _) => { - var t, i; - const a = - null == _ || - null == (t = _.list) || - null == (i = t.members_timeline) - ? void 0 - : i.timeline; - return ( - a || (0, n.ZP)("GQL List: Failed to fetch Members timeline"), - !a && (0, r.jB)(e) - ); - }, - Ge = (e, _) => { - var t, i; - const a = - null == _ || - null == (t = _.list) || - null == (i = t.recommended_users) - ? void 0 - : i.timeline; - return ( - a || - (0, n.ZP)("GQL List: Failed to fetch Recommended Users timeline"), - !a && (0, r.jB)(e) - ); - }, - Ae = (e, _) => { - const t = null == _ ? void 0 : _.viewer; - return ( - t || (0, n.ZP)("GQL List: Failed to fetch List Pins"), - !t && (0, r.jB)(e) - ); - }, - Pe = ({ apiClient: e, featureSwitches: _ }) => ({ - addToList(t, n) { - const { list_id: a, user_id: r } = t; - return e - .graphQL(b(), { listId: a, userId: r, ...(0, s.S)(_) }, qe) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - createList(t, n) { - const { description: a, mode: r, name: o } = t; - return e - .graphQL(f(), { - isPrivate: "private" === r.toLowerCase(), - name: o, - description: a, - ...(0, s.S)(_), - }) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - editBannerImage(t, n) { - const { listId: a, mediaId: r } = t; - return e - .graphQL(w(), { listId: a, mediaId: r, ...(0, s.S)(_) }) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - deleteList(_, t) { - const { list_id: i } = _; - return e.graphQL(L(), { listId: i }); - }, - deleteBannerImage(t, n) { - const { listId: a } = t; - return e - .graphQL(c(), { listId: a, ...(0, s.S)(_) }) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - fetchList(t, n) { - if (t.list_id) - return e - .graphQL(C(), { listId: t.list_id, ...(0, s.S)(_) }, Se) - .then((e) => (0, i.Fv)(e.list, l.Z)); - if (t.slug) { - const { owner_screen_name: n, slug: a } = t; - return e - .graphQL( - v(), - { screenName: n, listSlug: a, ...(0, s.S)(_) }, - ke - ) - .then((e) => { - var _; - return (0, i.Fv)( - { - ...(null == (_ = e.user_by_screen_name) - ? void 0 - : _.list), - slug: a, - }, - l.Z - ); - }); - } - return Promise.reject( - new Error("listId or screenName and slug required to fetch list") - ); - }, - fetchCombinedLists: ({ count: t, cursor: i, userId: n }) => - e - .graphQL( - d(), - { userId: n, count: t, cursor: i, ...(0, s.d)(_) }, - he - ) - .then(ue.parseUserScopedTimeline), - fetchListsManagementPageTimeline: ({ count: t, cursor: i }) => - e - .graphQL(K(), { count: t, cursor: i, ...(0, s.d)(_) }, ge) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || - null == (t = _.list_management_timeline) - ? void 0 - : t.timeline) || be.cY - ); - }), - fetchTweetsGraphQL(t, i) { - const { count: n, cursor: a, listId: r, useRanked: l } = t, - o = l ? R() : k(), - d = { listId: r, count: n, cursor: a, ...(0, s.d)(_) }; - return e.graphQL(o, d, Fe).then((e) => { - var _; - return ( - (null == (_ = e.list.tweets_timeline) ? void 0 : _.timeline) || - be.cY - ); - }); - }, - fetchMembersGraphQL(t, i) { - const { count: n, cursor: a, listId: r } = t; - return e - .graphQL( - Q(), - { - listId: r, - count: n, - cursor: a, - ...(0, s.d)(_), - withSafetyModeUserFields: _.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - Be - ) - .then((e) => { - var _; - return ( - (null == (_ = e.list.members_timeline) - ? void 0 - : _.timeline) || be.cY - ); - }); - }, - fetchRecommendedUsersGraphQL(t, i) { - const { count: n, cursor: r, displayLocation: l, listId: o } = t, - d = l === a.O.Creation ? q() : T(), - p = { listId: o, count: n, cursor: r, ...(0, s.d)(_) }; - return e.graphQL(d, p, Ge).then((e) => { - var _; - return ( - (null == (_ = e.list.recommended_users) - ? void 0 - : _.timeline) || be.cY - ); - }); - }, - fetchPins: () => - e.graphQL(U(), { ...(0, s.S)(_) }, Ae).then((e) => { - var _; - const t = - null == e || null == (_ = e.viewer) ? void 0 : _.pinned_lists; - return t ? (0, i.Fv)(t, [l.Z]) : void 0; - }), - fetchSubscribersGraphQL(t, i) { - const { count: n, cursor: a, listId: r } = t; - return e - .graphQL( - te(), - { listId: r, count: n, cursor: a, ...(0, s.d)(_) }, - Qe - ) - .then((e) => { - var _; - return ( - (null == (_ = e.list.subscribers_timeline) - ? void 0 - : _.timeline) || be.cY - ); - }); - }, - fetchSuggestedLists: ({ count: t, cursor: i }) => - e - .graphQL(H(), { count: t, cursor: i, ...(0, s.d)(_) }, ve) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || - null == (t = _.list_discovery_timeline) - ? void 0 - : t.timeline) || be.cY - ); - }), - fetchOwnershipsGraphQL(t, i) { - const { count: n, cursor: a, targetUserId: r, userId: l } = t; - return e - .graphQL( - N(), - { - userId: l, - isListMemberTargetUserId: r, - count: n, - cursor: a, - ...(0, s.d)(_), - }, - he - ) - .then(ue.parseUserScopedTimeline); - }, - fetchMemberships: (t, n) => - e - .get("lists/memberships", { ...we(_), ...t }, n || {}) - .then((e) => (0, i.Fv)(e, pe.kD)), - fetchMembershipsGraphQL(t, i) { - const { count: n, cursor: a, userId: r } = t; - return e - .graphQL( - G(), - { userId: r, count: n, cursor: a, ...(0, s.d)(_) }, - he - ) - .then(ue.parseUserScopedTimeline); - }, - removeFromList(t, n) { - const { list_id: a, user_id: r } = t; - return e - .graphQL(V(), { listId: a, userId: r, ...(0, s.S)(_) }, xe) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - togglePinList(t) { - const { isPinned: i, listId: n } = t, - a = (0, s.S)(_); - return i - ? e.graphQL(re(), { listId: n, ...a }, Te) - : e.graphQL(E(), { listId: n, ...a }, Le); - }, - pinManyLists(t) { - const { listIds: n } = t; - return e - .graphQL(W(), { listIds: n, ...(0, s.S)(_) }, Ie) - .then((e) => { - const _ = null == e ? void 0 : e.pinned_lists_put_v2; - return (0, i.Fv)(_, [l.Z]); - }); - }, - createSubscribers(t, n) { - const { list_id: a } = t; - return e - .graphQL(ee(), { listId: a, ...(0, s.S)(_) }, fe) - .then((e) => (0, i.Fv)(e.list_subscribe_v2, l.Z)); - }, - destroySubscribers(t, n) { - const { list_id: a } = t; - return e - .graphQL(le(), { listId: a, ...(0, s.S)(_) }, ye) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - toggleMute(_, t) { - const { listId: i, mute: n } = _; - return n - ? e.graphQL(P(), { listId: i }) - : e.graphQL(ne(), { listId: i }); - }, - editList(t, n) { - const { description: a, list_id: r, mode: o, name: d } = t; - return e - .graphQL(de(), { - listId: r, - isPrivate: "private" === o.toLowerCase(), - description: a, - name: d, - ...(0, s.S)(_), - }) - .then((e) => (0, i.Fv)(e.list, l.Z)); - }, - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => r, Z: () => s }); - var i = t(6899), - n = t(46395), - a = t(90650); - const r = new i.fK.Entity( - "teams", - { user: a.Z }, - { - idAttribute: ({ user: e }) => e[a.Z.idAttribute] || e, - processStrategy: n.Z, - } - ), - s = new i.fK.Array(r); - }, - 52630: (e, _, t) => { - "use strict"; - t.d(_, { O: () => n, P: () => i }); - const i = Object.freeze({ - List: "List", - ListTile: "ListTile", - ListWithPin: "ListWithPin", - ListWithSubscribe: "ListWithSubscribe", - }), - n = Object.freeze({ Creation: "list_creation", Edit: "list_edit" }); - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => l, ZH: () => o, kH: () => s }); - var i = t(78772), - n = t(52612), - a = t(57659), - r = t(62104); - const s = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - l = (e) => - (0, r.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === s.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === s.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: i.Z, - }), - o = (e) => (_, t) => { - const i = t(); - _( - e - .selectEntries(i) - .filter((e) => { - if (!e.content || e.type !== n.ZP.User) return !1; - const _ = e.content.id, - t = a.ZP.select(i, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Lists.530c138a.js.map diff --git a/info/endpoints/endpoints.LiveEvent.6258c53a.js b/info/endpoints/endpoints.LiveEvent.6258c53a.js deleted file mode 100644 index 3a61ce9..0000000 --- a/info/endpoints/endpoints.LiveEvent.6258c53a.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.LiveEvent"], - { - 98930: (e, t, s) => { - s.r(t), s.d(t, { default: () => v }); - var n = s(6899), - a = s(93333), - r = s(88701), - i = s(6623), - c = s(87233), - o = s(55371); - const u = (e) => ({ - ...o.getGlobalDefaults(e), - ...c.getGlobalDefaults(e), - }), - v = ({ apiClient: e, featureSwitches: t }) => ({ - fetchLiveEventMetadata(s, c) { - const { eventId: o, teamUserId: v } = s, - l = Object.assign({}, c, (0, i.c)(), (0, a.Z)(v)); - return e - .get( - `live_event/1/${o}/timeline`, - { ...u(t), count: 0, urt: !0, ext: "mediaColor" }, - l - ) - .then((e) => (0, n.Fv)(e, r.u)); - }, - updateRemindMeSubscription(t, s) { - const { eventId: n, params: a } = t; - return e.post(`live_event/1/${n}/subscription`, {}, a, s); - }, - }); - }, - 88701: (e, t, s) => { - s.d(t, { j: () => p, u: () => d }); - var n = s(6899), - a = s(50445), - r = s(13239), - i = s(46395); - const c = new n.fK.Entity("broadcasts", {}, { processStrategy: i.Z }), - o = new n.fK.Entity("audiospaces", {}, { processStrategy: i.Z }), - u = new n.fK.Entity("liveEvents", {}, { processStrategy: i.Z }), - v = new n.fK.Entity("slates", {}, { processStrategy: i.Z }), - l = new n.fK.Values([u]), - d = new n.fK.Object({ - twitter_objects: { - audiospaces: [o], - broadcasts: [c], - live_events: [u], - slates: [v], - tweets: [a.Z], - users: [r.Z], - }, - }), - p = new n.fK.Object({ broadcasts: [c], events: l }); - }, - 93333: (e, t, s) => { - function n(e) { - return e ? { "x-act-as-user-id": e } : {}; - } - s.d(t, { Z: () => n }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LiveEvent.6258c53a.js.map diff --git a/info/endpoints/endpoints.LivePipeline.24e2d3fa.js b/info/endpoints/endpoints.LivePipeline.24e2d3fa.js deleted file mode 100644 index fdb391e..0000000 --- a/info/endpoints/endpoints.LivePipeline.24e2d3fa.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.LivePipeline"], - { - 53346: (e, s, i) => { - i.r(s), i.d(s, { default: () => t }); - const t = ({ apiClient: e, featureSwitches: s }) => ({ - updateSubscriptions(s, i) { - const { sessionId: t, toSubscribe: n, toUnsubscribe: p } = s, - o = { sub_topics: n.join(","), unsub_topics: p.join(",") }, - u = { ...i, "LivePipeline-Session": t }; - return e.post("live_pipeline/update_subscriptions", o, {}, u, ""); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LivePipeline.24e2d3fa.js.map diff --git a/info/endpoints/endpoints.LoggedOutNotifications.ab7dbbea.js b/info/endpoints/endpoints.LoggedOutNotifications.ab7dbbea.js deleted file mode 100644 index bf291f4..0000000 --- a/info/endpoints/endpoints.LoggedOutNotifications.ab7dbbea.js +++ /dev/null @@ -1,756 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.LoggedOutNotifications", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 33823: (e) => { - e.exports = { - queryId: "BqIHKmwZKtiUBPi07jKctg", - operationName: "EnableLoggedOutWebNotifications", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => R, - errorBreadcrumb: () => Z, - isFatalGenericTimelineError: () => O, - isFatalModeratedTimelineError: () => j, - isFatalTeamsResponseError: () => P, - isFatalUserScopedFollowTimelineError: () => U, - isFatalViewerScopedFollowTimelineError: () => C, - parseUserScopedTimeline: () => z, - parseViewerScopedTimeline: () => E, - }); - var n = t(58955), - i = t(79363), - a = t(72599), - r = t(32091), - l = t(17360), - o = t(83175), - s = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let n; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - n = t; - } - return { user: n, ..._ }; - }); - return (0, s.Fv)(_, d.Z); - }; - var b = t(29848), - c = t.n(b), - u = t(57274), - w = t.n(u), - m = t(2216), - h = t.n(m), - v = t(41839), - g = t.n(v), - f = t(97621), - y = t.n(f), - q = t(87669), - x = t.n(q), - k = t(75840), - T = t.n(k), - A = t(50931), - B = t.n(A), - I = t(59113), - F = t.n(I), - L = t(26491), - G = t.n(L), - S = t(16221), - Q = t.n(S), - N = t(82249); - const z = (e) => { - var _; - let t = N.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) ? void 0 : n.timeline) || - N.cY); - return t; - }, - Z = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - E = (e) => { - let _ = N.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || N.cY); - return _; - }, - P = (e) => - Array.isArray(e) && - !(0, i.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - U = (e, _) => { - var t, n; - const i = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && _.user.result.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Follow timeline", { - extra: Z(e), - }), - !i && (0, l.jB)(e) - ); - }, - C = (e, _) => { - var t; - const n = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: Z(e), - }), - !n && (0, l.jB)(e) - ); - }, - Y = (e, _) => { - var t, n; - const i = - null == _ || - null == (t = _.viewer) || - null == (n = t.muting_timeline) - ? void 0 - : n.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Muting timeline", { - extra: Z(e), - }), - !i && (0, l.jB)(e) - ); - }, - j = (e, _) => { - var t, n; - const i = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (n = _.tweet.result.timeline_response) - ? void 0 - : n.timeline); - return ( - i || - (0, a.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: Z(e) } - ), - !i && (0, l.jB)(e) - ); - }, - O = (e, _) => { - var t; - const n = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: Z(e), - }), - !n && (0, l.jB)(e) - ); - }; - function M(e, _, t) { - let n; - function i(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (n = e === r.kH.Imported ? h() : e === r.kH.AutoBlock ? w() : c()), - ({ count: r, cursor: s }) => - _.graphQL( - n, - { - count: r, - cursor: s, - includePromotedContent: !1, - ...(0, o.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const n = i(t); - return ( - n || - (0, a.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: Z(_) } - ), - !n && (0, l.jB)(_) - ); - } - ).then((e) => i(e) || N.cY) - ); - } - const R = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: M(r.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: M(r.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: M(r.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - g(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - U - ) - .then(z), - fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - y(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - U - ) - .then(z), - fetchFollowing: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - x(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - U - ) - .then(z), - fetchSuperFollowers: ({ count: t, cursor: n }) => - e - .graphQL( - G(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - C - ) - .then(E), - fetchViewerTeams: () => - e - .graphQLFullResponse(Q(), { ...(0, o.S)(_) }, P) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - i = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return i; - const a = (0, n.Z)(_.map((e) => e.path && e.path[3])); - return i.filter((e, _) => !a.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: n, rootTweetId: i }) => - e - .graphQL( - B(), - { - rootTweetId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - j - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, n; - return ( - (null == (t = e.tweet.result) || - null == (n = t.timeline_response) - ? void 0 - : n.timeline) || N.cY - ); - } - return N.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: n }) => - e - .graphQL( - F(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, o.d)(_), - }, - Y - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || N.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: n, timelineId: i }) => - e - .graphQL( - T(), - { - timelineId: i, - count: t, - cursor: n, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, o.d)(_), - }, - O - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || N.cY; - }), - }); - }, - 54874: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => s, - isEnableLoggedOutWebUsersNotificationsFail: () => o, - }); - var n = t(72599), - i = t(17360), - a = t(33823), - r = t.n(a), - l = t(97534); - const o = (e, _) => ( - (null == _ ? void 0 : _.enable_logged_out_web_notifications) || - (0, n.ZP)( - "GQL LoggedOutNotifications: Failed to execute EnableLoggedOutWebNotifications", - { extra: (0, l.errorBreadcrumb)(e) } - ), - (0, i.jB)(e) - ), - s = ({ apiClient: e, featureSwitches: _ }) => ({ - enableLoggedOutWebNotifications: (_) => e.graphQL(r(), _, o), - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => r, Z: () => l }); - var n = t(6899), - i = t(46395), - a = t(90650); - const r = new n.fK.Entity( - "teams", - { user: a.Z }, - { - idAttribute: ({ user: e }) => e[a.Z.idAttribute] || e, - processStrategy: i.Z, - } - ), - l = new n.fK.Array(r); - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => o, ZH: () => s, kH: () => l }); - var n = t(78772), - i = t(52612), - a = t(57659), - r = t(62104); - const l = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - o = (e) => - (0, r.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === l.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === l.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: n.Z, - }), - s = (e) => (_, t) => { - const n = t(); - _( - e - .selectEntries(n) - .filter((e) => { - if (!e.content || e.type !== i.ZP.User) return !1; - const _ = e.content.id, - t = a.ZP.select(n, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LoggedOutNotifications.ab7dbbea.js.map diff --git a/info/endpoints/endpoints.Media.43a166aa.js b/info/endpoints/endpoints.Media.43a166aa.js deleted file mode 100644 index 30dc2b3..0000000 --- a/info/endpoints/endpoints.Media.43a166aa.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Media"], - { - 73114: (e, t, a) => { - a.r(t), a.d(t, { default: () => i }); - const i = ({ apiClient: e, featureSwitches: t }) => ({ - metadataCreate: (t, a) => - e.post( - "media/metadata/create", - t, - {}, - { ...a, "content-type": "application/json" } - ), - attachSubtitles: (t, a) => - e.post( - "media/subtitles/create", - { - media_id: t.videoMediaUploadId, - media_category: t.videoMediaCategory, - subtitle_info: { - subtitles: [ - { - media_id: t.subtitlesMediaUploadId, - language_code: t.subtitlesLang, - display_name: t.subtitlesDisplayName, - }, - ], - }, - }, - {}, - { ...a, "content-type": "application/json" } - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Media.43a166aa.js.map diff --git a/info/endpoints/endpoints.Moments.bc1ed29a.js b/info/endpoints/endpoints.Moments.bc1ed29a.js deleted file mode 100644 index 37c7d16..0000000 --- a/info/endpoints/endpoints.Moments.bc1ed29a.js +++ /dev/null @@ -1,137 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Moments"], - { - 61821: (e, t, n) => { - n.r(t), n.d(t, { default: () => p }); - var a = n(6899), - o = n(63752), - s = n(93333), - m = n(36364), - d = n(6623); - const p = ({ apiClient: e, featureSwitches: t }) => ({ - create: (t, n) => - e - .post( - "moments/create", - t, - {}, - { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - } - ) - .then((e) => e && e.created_moment && e.created_moment.moment), - updateMetadata: (t, n) => - e - .post( - `moments/update/${t.id}`, - t, - {}, - { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - } - ) - .then((e) => e && e.updated_moment && e.updated_moment.moment), - curateTimeline: (t, n) => - e - .post( - `moments/curate/${t.id}`, - t, - {}, - { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - } - ) - .then((e) => e && e.updated_moment && e.updated_moment.moment), - publish: (t, n) => - e - .post( - `moments/publish/${t.id}`, - {}, - {}, - { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - } - ) - .then((e) => e && e.updated_moment && e.updated_moment.moment), - delete: (t, n) => - e.post( - `moments/delete/${t.moment_id}`, - {}, - {}, - { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - } - ), - curateTweetMetadata(t, n) { - const a = { updates: [t.promotedMedia], use_staging_timeline: !0 }; - return e - .post( - `moments/curate_metadata/${t.id}`, - a, - {}, - { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - } - ) - .then((e) => { - var t; - return null == e || null == (t = e.updated_moment) - ? void 0 - : t.moment; - }); - }, - fetchMoment(t, n) { - const p = { - bypass_cache: !0, - cards_platform: o.i5, - dedupe_pages: !0, - get_annotations: !0, - hydration_count: 100, - include_cards: 1, - staging: !0, - tweet_mode: "extended", - v: 1473704494, - }; - return e - .get(`moments/capsule/${t.id}`, p, { - ...n, - ...(0, d.c)(), - ...(0, s.Z)(t.teamUserId), - "content-type": "application/json", - }) - .then((e) => { - const t = { ...e.moment, pages: e.pages, tweets: e.tweets }; - return (0, a.Fv)(t, m.Z); - }); - }, - }); - }, - 93333: (e, t, n) => { - function a(e) { - return e ? { "x-act-as-user-id": e } : {}; - } - n.d(t, { Z: () => a }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Moments.bc1ed29a.js.map diff --git a/info/endpoints/endpoints.MuteKeywordSettings.8b3eee2a.js b/info/endpoints/endpoints.MuteKeywordSettings.8b3eee2a.js deleted file mode 100644 index 4fc8bed..0000000 --- a/info/endpoints/endpoints.MuteKeywordSettings.8b3eee2a.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.MuteKeywordSettings"], - { - 64477: (e, t, s) => { - s.r(t), s.d(t, { default: () => d }); - const d = ({ apiClient: e, featureSwitches: t }) => ({ - fetchMutedKeywords: (t, s) => e.get("mutes/keywords/list", t, s), - fetchDiscouragedKeywords: (t, s) => - e.get("mutes/keywords/discouraged", t, s), - addMutedKeyword: (t, s) => e.post("mutes/keywords/create", t, {}, s), - deleteMutedKeyword: (t, s) => - e.post("mutes/keywords/destroy", t, {}, s), - updateMutedKeyword: (t, s) => e.post("mutes/keywords/update", t, {}, s), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.MuteKeywordSettings.8b3eee2a.js.map diff --git a/info/endpoints/endpoints.NotificationSettings.0fd1aafa.js b/info/endpoints/endpoints.NotificationSettings.0fd1aafa.js deleted file mode 100644 index 0f45a78..0000000 --- a/info/endpoints/endpoints.NotificationSettings.0fd1aafa.js +++ /dev/null @@ -1,73 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.NotificationSettings"], - { - 93886: (t, e, n) => { - n.r(e), n.d(e, { default: () => l }); - n(6886); - var i = n(60917), - o = n.n(i), - s = n(58314), - c = n(59975); - const a = { "content-type": "application/json" }, - p = () => { - const { clientAppId: t } = (0, s.Z)(); - return { client_application_id: parseInt(t, 10) }; - }, - r = ({ - locale: t, - subscription: e, - templateChecksum: n, - transport: i, - }) => { - const o = { - ...(0, c.lX)(), - checksum: n, - env: 3, - locale: t, - protocol_version: 1, - }; - return ( - e && - ((o.token = e.endpoint), - e.keys && - ((o.encryption_key1 = e.keys.p256dh), - (o.encryption_key2 = e.keys.auth))), - o - ); - }, - f = (t) => ({ - [`${t.transport}_device_info`]: r(t), - ...(window.apkInterface ? p() : o()), - }), - l = ({ apiClient: t, featureSwitches: e }) => ({ - getNotificationSettingsLogin: (e, n) => - t.post("notifications/settings/login", f(e), {}, { ...a, ...n }), - getNotificationSettings: (e, n) => - t.post("notifications/settings/checkin", f(e), {}, { ...a, ...n }), - updateNotificationSettings(e, n) { - const { settings: i, transport: o, ...s } = e, - c = f({ transport: o, ...s }); - return t.post( - "notifications/settings/save", - { - ...c, - [`${o}_device_info`]: { ...c[`${o}_device_info`], settings: i }, - }, - {}, - { ...a, ...n } - ); - }, - removePushDevices: (e, n) => - t.post( - "notifications/settings/logout", - { ...r(e), ...(window.apkInterface ? p() : o()) }, - {}, - { ...a, ...n } - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.NotificationSettings.0fd1aafa.js.map diff --git a/info/endpoints/endpoints.OAuth.e9a32f5a.js b/info/endpoints/endpoints.OAuth.e9a32f5a.js deleted file mode 100644 index d32853a..0000000 --- a/info/endpoints/endpoints.OAuth.e9a32f5a.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.OAuth"], - { - 96814: (e, t, s) => { - s.r(t), s.d(t, { default: () => i }); - const i = ({ apiClient: e, featureSwitches: t }) => ({ - fetch: (t, s = {}) => e.getUnversioned("/2/oauth2/authorize", t, s), - post: (t) => e.postUnversioned("/2/oauth2/authorize", t, {}), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.OAuth.e9a32f5a.js.map diff --git a/info/endpoints/endpoints.Ocf.9b63375a.js b/info/endpoints/endpoints.Ocf.9b63375a.js deleted file mode 100644 index 2d3b91b..0000000 --- a/info/endpoints/endpoints.Ocf.9b63375a.js +++ /dev/null @@ -1,95 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Ocf"], - { - 66660: (t, n, o) => { - o.r(n), o.d(n, { default: () => a }); - o(6886), o(14121), o(60523); - var e = o(56642); - const a = ({ apiClient: t, featureSwitches: n }) => ({ - task(n = {}, o = {}) { - const { flow_name: e, test_country_code: a, ...s } = n; - return t.post( - "onboarding/task", - s, - { flow_name: e, test_country_code: a }, - { ...o, "content-type": "application/json" } - ); - }, - syncContacts(n) { - const { callback_url: o, ...e } = n; - return t.post( - "onboarding/contacts_authorize", - { callback_url: o, import_params: e }, - {}, - { "content-type": "application/json" } - ); - }, - getContactsImportStatus: (n) => - t.get( - "onboarding/contacts_import_status", - { options: n }, - { "content-type": "application/json" } - ), - getVerificationStatus: (n) => - t.get("onboarding/verification_status", n, { - "content-type": "application/json", - }), - callInteractiveSpinnerPath: (n) => - t.get(`${n}`, {}, { "content-type": "application/json" }, ""), - callOnboardingPath(n, o) { - const a = new URL(n, "https://twitter.com"), - s = a.pathname.substring(1), - i = e.parse(a.searchParams.toString()); - return t.post( - `onboarding/${s}`, - { ...i, ...o }, - {}, - { "content-type": "application/json" }, - "" - ); - }, - referer: (n) => - t.post( - "onboarding/referrer", - n, - {}, - { "content-type": "application/json" } - ), - removeContacts: (n) => t.post("contacts/destroy/all", n, {}, {}), - setUserPwaLaunched(n) { - const { userId: o } = n; - return t.put( - `strato/column/User/${o}/onboarding/hasLaunchedPWA`, - "true", - { "content-type": "application/json" }, - "" - ); - }, - verifyUserIdentifier: (n) => - t.post( - "onboarding/begin_verification", - n, - {}, - { "content-type": "application/json" } - ), - verificationLink: (n = {}) => - t.post( - "onboarding/verify", - n, - {}, - { "content-type": "application/json" } - ), - getBrowsableNuxRecommendations: (n) => - t.post( - "onboarding/fetch_user_recommendations", - n, - {}, - { "content-type": "application/json" } - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Ocf.9b63375a.js.map diff --git a/info/endpoints/endpoints.Personalization.4e57acea.js b/info/endpoints/endpoints.Personalization.4e57acea.js deleted file mode 100644 index 449c45f..0000000 --- a/info/endpoints/endpoints.Personalization.4e57acea.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Personalization"], - { - 21721: (e, t, n) => { - n.r(t), n.d(t, { default: () => a }); - const a = ({ apiClient: e, featureSwitches: t }) => ({ - fetchPreferences: (t, n) => - e.get("account/personalization/p13n_preferences", t, n), - updatePreferences: (t, n) => - e.post( - "account/personalization/p13n_preferences", - t, - {}, - { ...n, "content-type": "application/json" } - ), - fetchData: (t, n) => e.get("account/personalization/p13n_data", t, n), - fetchTwitterInterests: (t, n) => - e.get("account/personalization/twitter_interests", t, n), - fetchPartnerInterests: (t, n) => - e.get("account/personalization/partner_interests", t, n), - createAudienceDownload: (t, n) => - e.post("account/personalization/email_advertiser_list", t, {}, n), - createDataDownload: (t, n) => - e.post("account/personalization/email_your_data", t, {}, n), - updateCookies: (t, n) => - e.get("account/personalization/set_optout_cookies", t, n), - syncSettings: (t, n) => - e.post("account/personalization/sync_optout_settings", t, {}, n), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Personalization.4e57acea.js.map diff --git a/info/endpoints/endpoints.PinnedReplies.ae3eac6a.js b/info/endpoints/endpoints.PinnedReplies.ae3eac6a.js deleted file mode 100644 index 1524623..0000000 --- a/info/endpoints/endpoints.PinnedReplies.ae3eac6a.js +++ /dev/null @@ -1,59 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.PinnedReplies"], - { - 33875: (e) => { - e.exports = { - queryId: "GA2_1uKP9b_GyR4MVAQXAw", - operationName: "PinReply", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 93563: (e) => { - e.exports = { - queryId: "iRe6ig5OV1EzOtldNIuGDQ", - operationName: "UnpinReply", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 45808: (e, t, n) => { - "use strict"; - n.r(t), n.d(t, { default: () => u }); - var i = n(33875), - s = n.n(i), - a = n(93563), - r = n.n(a); - const u = ({ apiClient: e, featureSwitches: t }) => ({ - pin: (t) => - e.graphQL(s(), t).then((e) => { - var t, n; - return { - success: - null != - (t = - null == e || - null == (n = e.create_conversation_pinned_tweet) - ? void 0 - : n.success) && t, - }; - }), - unpin: (t) => - e.graphQL(r(), t).then((e) => { - var t, n; - return { - success: - null != - (t = - null == e || - null == (n = e.delete_conversation_pinned_tweet) - ? void 0 - : n.success) && t, - }; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.PinnedReplies.ae3eac6a.js.map diff --git a/info/endpoints/endpoints.Places.1cc954ca.js b/info/endpoints/endpoints.Places.1cc954ca.js deleted file mode 100644 index d557e4f..0000000 --- a/info/endpoints/endpoints.Places.1cc954ca.js +++ /dev/null @@ -1,49 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Places"], - { - 90330: (e, t, s) => { - s.r(t), s.d(t, { default: () => c }); - s(6886); - var n = s(6899), - r = s(46395); - const a = new n.fK.Entity( - "places", - {}, - { - processStrategy: function (e, t, s) { - const { vendor_info: n, ...a } = (0, r.Z)(e, t, s); - if (n) { - const e = Object.keys(n)[0]; - a.vendor_info = { data: n[e], vendor: e }; - } - return a; - }, - } - ), - c = ({ apiClient: e, featureSwitches: t }) => ({ - fetchPlace: ({ id: t, ...s }, r = {}) => - e.get(`geo/id/${t}`, s, r).then((e) => (0, n.Fv)(e, a)), - search: (t, s = {}) => - e.get("geo/places", t, s).then((e) => { - var t; - const s = new Set(); - return ( - null == (t = e.attributions) || - t.forEach((e) => Object.keys(e).forEach((e) => s.add(e))), - { - ...e, - attributions: s, - places: e.places.map((t) => ({ - ...t, - geo_search_request_id: e.geo_search_request_id, - })), - } - ); - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Places.1cc954ca.js.map diff --git a/info/endpoints/endpoints.Prerolls.7cbb2cea.js b/info/endpoints/endpoints.Prerolls.7cbb2cea.js deleted file mode 100644 index d97c8dc..0000000 --- a/info/endpoints/endpoints.Prerolls.7cbb2cea.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Prerolls"], - { - 50591: (e, t, r) => { - r.r(t), r.d(t, { default: () => n }); - var i = r(48086); - function s(e) { - const t = { tweet_id: e.id_str }, - r = e.promoted_content && e.promoted_content.impression_id; - return ( - r && (t.impression_id = r), - e.card && - e.card.name === i.Z.CardNames.LIVE_EVENT && - (t.live_event_id = i.Z.getBindingValue( - e.card.binding_values, - "event_id" - )), - t - ); - } - const n = ({ apiClient: e, featureSwitches: t }) => ({ - fetch: (t) => { - const r = { tweets: t.eligibleTweets.map(s) }; - t.trigger_preroll && (r.trigger_preroll = t.trigger_preroll), - t.prerollDisplayLocation && - (r.display_location = t.prerollDisplayLocation); - const i = { tweets: JSON.stringify(r) }; - return e.post("videoads/v2/prerolls", i, {}, {}); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Prerolls.7cbb2cea.js.map diff --git a/info/endpoints/endpoints.ProfileTimelines.99bc18ca.js b/info/endpoints/endpoints.ProfileTimelines.99bc18ca.js deleted file mode 100644 index cc198cf..0000000 --- a/info/endpoints/endpoints.ProfileTimelines.99bc18ca.js +++ /dev/null @@ -1,1345 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.ProfileTimelines", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 9191: (e) => { - e.exports = { - queryId: "5fmEkRT-1AdHqEsbVgehMg", - operationName: "Likes", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 5568: (e) => { - e.exports = { - queryId: "dm7ReTFJoeU0qkiZCO1E1g", - operationName: "UserAboutTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57767: (e) => { - e.exports = { - queryId: "dq1eUCn3N8v0BywlP4nT7A", - operationName: "UserBusinessProfileTeamTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 77686: (e) => { - e.exports = { - queryId: "YqiE3JL1KNgf9nSljYdxaA", - operationName: "UserMedia", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 70816: (e) => { - e.exports = { - queryId: "jF-OgMv-9vAym3JaCPUnhQ", - operationName: "UserPromotableTweets", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 11497: (e) => { - e.exports = { - queryId: "1by3q8-AJWdNYhtltjlPTQ", - operationName: "UserSuperFollowTweets", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 28731: (e) => { - e.exports = { - queryId: "HuTx74BxAnezK1gWvYY7zg", - operationName: "UserTweets", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 53489: (e) => { - e.exports = { - queryId: "RIWc55YCNyUJ-U3HHGYkdg", - operationName: "UserTweetsAndReplies", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => M, - errorBreadcrumb: () => C, - isFatalGenericTimelineError: () => R, - isFatalModeratedTimelineError: () => Z, - isFatalTeamsResponseError: () => E, - isFatalUserScopedFollowTimelineError: () => N, - isFatalViewerScopedFollowTimelineError: () => G, - parseUserScopedTimeline: () => Q, - parseViewerScopedTimeline: () => L, - }); - var n = t(58955), - i = t(79363), - r = t(72599), - a = t(32091), - l = t(17360), - s = t(83175), - o = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let n; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - n = t; - } - return { user: n, ..._ }; - }); - return (0, o.Fv)(_, d.Z); - }; - var b = t(29848), - u = t.n(b), - c = t(57274), - w = t.n(c), - m = t(2216), - v = t.n(m), - h = t(41839), - f = t.n(h), - g = t(97621), - y = t.n(g), - q = t(87669), - x = t.n(q), - T = t(75840), - k = t.n(T), - I = t(50931), - A = t.n(I), - P = t(59113), - U = t.n(P), - B = t(26491), - z = t.n(B), - F = t(16221), - S = t.n(F), - Y = t(82249); - const Q = (e) => { - var _; - let t = Y.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) ? void 0 : n.timeline) || - Y.cY); - return t; - }, - C = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - L = (e) => { - let _ = Y.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || Y.cY); - return _; - }, - E = (e) => - Array.isArray(e) && - !(0, i.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - N = (e, _) => { - var t, n; - const i = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && _.user.result.timeline; - return ( - i || - (0, r.ZP)("GQL URT: Failed to render Follow timeline", { - extra: C(e), - }), - !i && (0, l.jB)(e) - ); - }, - G = (e, _) => { - var t; - const n = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - n || - (0, r.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: C(e), - }), - !n && (0, l.jB)(e) - ); - }, - V = (e, _) => { - var t, n; - const i = - null == _ || - null == (t = _.viewer) || - null == (n = t.muting_timeline) - ? void 0 - : n.timeline; - return ( - i || - (0, r.ZP)("GQL URT: Failed to render Muting timeline", { - extra: C(e), - }), - !i && (0, l.jB)(e) - ); - }, - Z = (e, _) => { - var t, n; - const i = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (n = _.tweet.result.timeline_response) - ? void 0 - : n.timeline); - return ( - i || - (0, r.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: C(e) } - ), - !i && (0, l.jB)(e) - ); - }, - R = (e, _) => { - var t; - const n = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - n || - (0, r.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: C(e), - }), - !n && (0, l.jB)(e) - ); - }; - function j(e, _, t) { - let n; - function i(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (n = e === a.kH.Imported ? v() : e === a.kH.AutoBlock ? w() : u()), - ({ count: a, cursor: o }) => - _.graphQL( - n, - { - count: a, - cursor: o, - includePromotedContent: !1, - ...(0, s.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const n = i(t); - return ( - n || - (0, r.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: C(_) } - ), - !n && (0, l.jB)(_) - ); - } - ).then((e) => i(e) || Y.cY) - ); - } - const M = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: j(a.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: j(a.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: j(a.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - f(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - N - ) - .then(Q), - fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - y(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - N - ) - .then(Q), - fetchFollowing: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - x(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - N - ) - .then(Q), - fetchSuperFollowers: ({ count: t, cursor: n }) => - e - .graphQL( - z(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - G - ) - .then(L), - fetchViewerTeams: () => - e - .graphQLFullResponse(S(), { ...(0, s.S)(_) }, E) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - i = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return i; - const r = (0, n.Z)(_.map((e) => e.path && e.path[3])); - return i.filter((e, _) => !r.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: n, rootTweetId: i }) => - e - .graphQL( - A(), - { - rootTweetId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - Z - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, n; - return ( - (null == (t = e.tweet.result) || - null == (n = t.timeline_response) - ? void 0 - : n.timeline) || Y.cY - ); - } - return Y.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: n }) => - e - .graphQL( - U(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - V - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || Y.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: n, timelineId: i }) => - e - .graphQL( - k(), - { - timelineId: i, - count: t, - cursor: n, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, s.d)(_), - }, - R - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || Y.cY; - }), - }); - }, - 75948: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { default: () => I, isFatalProfileTimelineError: () => k }); - var n = t(72599), - i = t(51573), - r = t(17360), - a = t(83175), - l = t(9191), - s = t.n(l), - o = t(5568), - d = t.n(o), - p = t(57767), - b = t.n(p), - u = t(77686), - c = t.n(u), - w = t(70816), - m = t.n(w), - v = t(11497), - h = t.n(v), - f = t(28731), - g = t.n(f), - y = t(53489), - q = t.n(y), - x = t(82249), - T = t(97534); - const k = (e, _) => { - var t; - const i = - (null == _ || null == (t = _.user) ? void 0 : t.result) && - "User" === _.user.result.__typename && - (_.user.result.timeline || - (void 0 !== _.user.result.timeline_v2 && - _.user.result.timeline_v2)); - return ( - i || - (0, n.ZP)("GQL URT: Failed to render Profile timeline", { - extra: (0, T.errorBreadcrumb)(e), - }), - !i && (0, r.jB)(e) - ); - }, - I = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchAbout: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - d(), - { - rest_id: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, a.d)(_), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || x.cY); - return t; - }), - fetchUserTweets: ({ count: t, cursor: n, userId: r }) => - (0, i.o)( - "userTweets", - () => - e - .graphQL( - g(), - { - userId: r, - count: t, - cursor: n, - includePromotedContent: !0, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, a.d)(_), - withVoice: _.isTrue("voice_consumption_enabled"), - withV2Timeline: _.isTrue( - "graphql_timeline_v2_user_profile_timeline" - ), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n, i; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || - (null == (i = e.user.result.timeline_v2) - ? void 0 - : i.timeline) || - x.cY); - return t; - }), - (e) => e.then((e) => e.userId === r) - ), - fetchUserTweetsAndReplies: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - q(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !0, - withCommunity: _.isTrue("c9s_enabled"), - ...(0, a.d)(_), - withVoice: _.isTrue("voice_consumption_enabled"), - withV2Timeline: _.isTrue( - "graphql_timeline_v2_user_profile_with_replies_timeline" - ), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n, i; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || - (null == (i = e.user.result.timeline_v2) - ? void 0 - : i.timeline) || - x.cY); - return t; - }), - fetchUserSuperFollowsTweets: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - h(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !0, - ...(0, a.d)(_), - withVoice: _.isTrue("voice_consumption_enabled"), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || x.cY); - return t; - }), - fetchUserPromotableTweets: ({ count: _, cursor: t, userId: n }) => - e - .graphQL( - m(), - { - userId: n, - count: _, - cursor: "string" == typeof t ? t : void 0, - includePromotedContent: !1, - withVoice: !1, - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.promotable_tweets_timeline) - ? void 0 - : n.timeline) || x.cY); - return t; - }), - fetchLikes: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - s(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, a.d)(_), - withClientEventToken: !1, - withBirdwatchNotes: !1, - withVoice: _.isTrue("voice_consumption_enabled"), - withV2Timeline: _.isTrue( - "graphql_timeline_v2_user_favorites_by_time_timeline" - ), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n, i; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || - (null == (i = e.user.result.timeline_v2) - ? void 0 - : i.timeline) || - x.cY); - return t; - }), - fetchUserMedia: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - c(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, a.d)(_), - withClientEventToken: !1, - withBirdwatchNotes: !1, - withVoice: _.isTrue("voice_consumption_enabled"), - withV2Timeline: _.isTrue( - "graphql_timeline_v2_user_media_timeline" - ), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n, i; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || - (null == (i = e.user.result.timeline_v2) - ? void 0 - : i.timeline) || - x.cY); - return t; - }), - fetchBusinessProfileTeam: ({ - count: t, - cursor: n, - teamName: i, - userId: r, - }) => - e - .graphQL( - b(), - { - userId: r, - count: t, - cursor: n, - teamName: i, - includePromotedContent: !1, - ...(0, a.d)(_), - withClientEventToken: !1, - withVoice: _.isTrue("voice_consumption_enabled"), - }, - k - ) - .then((e) => { - var _; - let t = x.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) - ? void 0 - : n.timeline) || x.cY); - return t; - }), - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => a, Z: () => l }); - var n = t(6899), - i = t(46395), - r = t(90650); - const a = new n.fK.Entity( - "teams", - { user: r.Z }, - { - idAttribute: ({ user: e }) => e[r.Z.idAttribute] || e, - processStrategy: i.Z, - } - ), - l = new n.fK.Array(a); - }, - 51573: (e, _, t) => { - "use strict"; - t.d(_, { o: () => o }); - t(21515), t(6886); - var n = t(72599); - const i = new (class { - constructor() { - this.promise = new Promise((e, _) => { - (this.reject = _), (this.resolve = e); - }); - } - })(), - r = i.promise; - if ("undefined" != typeof document) { - let e; - document.addEventListener("DOMContentLoaded", () => { - i.resolve(), null != e && clearTimeout(e); - }); - const _ = () => { - "loading" !== document.readyState - ? i.resolve() - : (e = setTimeout(() => { - _(); - }, 500)); - }; - _(); - } - var a = t(86916), - l = t(79150), - s = t(25943); - function o(e, _, t) { - const i = - "undefined" != typeof window ? window.__PREFETCH_DATA__ : void 0; - if (!i) return _(); - const o = Date.now(), - d = i.timestamp || o; - if (Math.max(0, o - d) >= 3e5) - return delete window.__PREFETCH_DATA__, _(); - const p = i.items[e]; - if (!p) return _(); - return (t ? t(p.meta) : Promise.resolve(!0)).then( - (t) => - t - ? ((s.q.didPrefetch[e] = !0), - Promise.race([p.promise, r]) - .then( - (t) => - t - ? a.i(t, l.AK) - : ((0, n.ZP)( - `DOM loaded but prefetch data was not present for ${e}` - ), - _()), - () => ((s.q.prefetchPromiseRejected[e] = !0), _()) - ) - .finally(() => { - delete i.items[e]; - })) - : _(), - () => _() - ); - } - }, - 25943: (e, _, t) => { - "use strict"; - t.d(_, { q: () => n }); - const n = { didPrefetch: {}, prefetchPromiseRejected: {} }; - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => s, ZH: () => o, kH: () => l }); - var n = t(78772), - i = t(52612), - r = t(57659), - a = t(62104); - const l = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - s = (e) => - (0, a.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === l.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === l.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: n.Z, - }), - o = (e) => (_, t) => { - const n = t(); - _( - e - .selectEntries(n) - .filter((e) => { - if (!e.content || e.type !== i.ZP.User) return !1; - const _ = e.content.id, - t = r.ZP.select(n, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.ProfileTimelines.99bc18ca.js.map diff --git a/info/endpoints/endpoints.PromotedContent.5193e53a.js b/info/endpoints/endpoints.PromotedContent.5193e53a.js deleted file mode 100644 index 9109650..0000000 --- a/info/endpoints/endpoints.PromotedContent.5193e53a.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.PromotedContent"], - { - 73842: (e, t, n) => { - n.r(t), n.d(t, { default: () => i }); - var s = n(85586), - o = n(63140); - const r = [o.ZP.CurrentUserSuspended, o.ZP.AccessDeniedByBouncer]; - function c(e) { - if (!(0, s.Z)(r, (t) => (0, o.VZ)(e, t))) throw e; - } - const i = ({ apiClient: e, featureSwitches: t }) => ({ - log: (t, n = {}) => e.post("promoted_content/log", t, {}, n).catch(c), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.PromotedContent.5193e53a.js.map diff --git a/info/endpoints/endpoints.QuickPromote.f9840a2a.js b/info/endpoints/endpoints.QuickPromote.f9840a2a.js deleted file mode 100644 index 2d6d3dd..0000000 --- a/info/endpoints/endpoints.QuickPromote.f9840a2a.js +++ /dev/null @@ -1,356 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.QuickPromote"], - { - 5093: (e) => { - e.exports = { - queryId: "QEMLEzEMzoPNbeauKCCLbg", - operationName: "SetDefault", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 35920: (e) => { - e.exports = { - queryId: "VaaLGwK5KNLoc7wsOmp4uw", - operationName: "DeletePaymentMethod", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 58257: (e) => { - e.exports = { - queryId: "mPF_G9okpbZuLcD6mN8K9g", - operationName: "PaymentMethods", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 1592: (e) => { - e.exports = { - queryId: "a8KxGfFQAmm3WxqemuqSRA", - operationName: "AdAccounts", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 21436: (e) => { - e.exports = { - queryId: "1LYVUabJBYkPlUAWRabB3g", - operationName: "AudienceEstimate", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 56628: (e) => { - e.exports = { - queryId: "mbK3oSQotwcJXyQIBE3uYw", - operationName: "Budgets", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 84700: (e) => { - e.exports = { - queryId: "R1h43jnAl2bsDoUkgZb7NQ", - operationName: "Coupons", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 74648: (e) => { - e.exports = { - queryId: "oDSoVgHhJxnd5IkckgPZdg", - operationName: "CreateQuickPromotion", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 95713: (e) => { - e.exports = { - queryId: "LtpCXh66W-uXh7u7XSRA8Q", - operationName: "QuickPromoteEligibility", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 54096: (e) => { - e.exports = { - queryId: "SOyGmNGaEXcvk15s5bqDrA", - operationName: "EnrollCoupon", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 81019: (e, t, o) => { - "use strict"; - o.r(t), o.d(t, { default: () => x }); - o(6886), o(36728); - var n = o(24797), - a = o(17360), - u = o(5093), - i = o.n(u), - l = o(35920), - r = o.n(l), - _ = o(58257), - d = o.n(_), - c = o(1592), - p = o.n(c), - s = o(21436), - m = o.n(s), - y = o(56628), - v = o.n(y), - g = o(84700), - b = o.n(g), - h = o(74648), - w = o.n(h), - f = o(95713), - k = o.n(f), - q = o(54096), - C = o.n(q); - const x = ({ apiClient: e, featureSwitches: t }) => ({ - getQuickPromoteEligibility: (t) => - e.graphQL(k(), t).then((e) => { - var t; - const o = - null == (t = e.tweet_result_by_rest_id) ? void 0 : t.result; - var n, a; - return "Tweet" === (null == o ? void 0 : o.__typename) - ? null == (n = o.quick_promote_eligibility) - ? void 0 - : n.eligibility - : "TweetWithVisibilityResults" === - (null == o ? void 0 : o.__typename) - ? null == (a = o.tweet.quick_promote_eligibility) - ? void 0 - : a.eligibility - : void 0; - }), - getCoupons: (t) => - e.graphQL(b(), t).then((e) => { - var t, o, n; - const a = - null == (t = e.viewer) || null == (o = t.user_results) - ? void 0 - : o.result, - u = - "User" === (null == a ? void 0 : a.__typename) - ? null == (n = a.professional) - ? void 0 - : n.quick_promote_coupons_v2 - : void 0, - i = (function (e) { - var t, o, n, a; - const u = - null == (t = e.viewer) || null == (o = t.user_results) - ? void 0 - : o.result, - i = - "User" === (null == u ? void 0 : u.__typename) - ? null == (n = u.professional) - ? void 0 - : n.quick_promote_coupons_v2 - : void 0; - let l; - if (null != i && i.eligible_coupon_v2) - switch (i.eligible_coupon_v2.__typename) { - case "QuickPromoteConditionalCoupon": - l = { - type: "ConditionalCoupon", - currency_code: i.eligible_coupon_v2.currency_code, - credit_amount: i.eligible_coupon_v2.credit_amount, - spend_amount: i.eligible_coupon_v2.spend_amount, - }; - break; - case "QuickPromoteStandardCoupon": - l = { - type: "StandardCoupon", - currency_code: i.eligible_coupon_v2.currency_code, - total_amount: i.eligible_coupon_v2.total_amount, - }; - break; - default: - i.eligible_coupon_v2.__typename; - } - else - null != i && - null != (a = i.eligible_coupon) && - a.total_amount && - null != i && - i.eligible_coupon.currency_code && - (l = { - type: "StandardCoupon", - currency_code: i.eligible_coupon.currency_code, - total_amount: i.eligible_coupon.total_amount, - }); - return l; - })(e), - l = (function (e) { - var t, o, n; - const a = - null == (t = e.viewer) || null == (o = t.user_results) - ? void 0 - : o.result, - u = - "User" === (null == a ? void 0 : a.__typename) - ? null == (n = a.professional) - ? void 0 - : n.quick_promote_coupons_v2 - : void 0, - i = - (null == u ? void 0 : u.pending_coupons) && - (null == u ? void 0 : u.pending_coupons[0]); - return ( - i && { - type: "ConditionalCoupon", - credit_amount: i.credit_amount, - spend_amount: i.spend_amount, - currency_code: i.currency_code, - } - ); - })(e); - null != i && - i.total_amount && - (i.total_amount = i.total_amount / 1e6), - null != i && - i.credit_amount && - (i.credit_amount = i.credit_amount / 1e6), - null != i && - i.spend_amount && - (i.spend_amount = i.spend_amount / 1e6), - null != l && - l.credit_amount && - (l.credit_amount = l.credit_amount / 1e6), - null != l && - l.spend_amount && - (l.spend_amount = l.spend_amount / 1e6), - null != u && - u.existing_balance && - (u.existing_balance = u.existing_balance.map( - ({ currency_code: e, total_amount: t }) => ({ - currency_code: e, - total_amount: t ? t / 1e6 : 0, - }) - )); - const r = - null != u && u.experiment_end_timestamp - ? new Date(u.experiment_end_timestamp) - : void 0; - return ( - u && { - eligible_coupon: i, - pending_coupon: l, - existing_balance: u.existing_balance, - eligible_coupon_experiment: u.eligible_coupon_experiment, - experiment_end_date: r, - } - ); - }), - getBudgets: (t) => - e.graphQL(v(), t).then((e) => { - var t; - const o = - null == (t = e.viewer) - ? void 0 - : t.quick_promote_budget_by_country; - return o - ? { - budgets: o.values.map((e) => parseInt(e, 10) / 1e6), - currencyCode: o.currency_code, - defaultBudget: parseInt(o.default_budget, 10) / 1e6, - } - : S; - }), - getAudienceEstimate: (t) => - e.graphQL(m(), t).then((e) => { - var t; - const o = - null == (t = e.quick_promote_audience_estimation_v2) - ? void 0 - : t.impressions; - return o && o.low && o.high - ? { - estimatedImpressions: { - low: parseInt(o.low, 10), - high: parseInt(o.high, 10), - }, - } - : { estimatedImpressions: void 0 }; - }), - getPaymentMethods: (t) => - e.graphQL(d(), t).then((e) => { - const t = e.payment_methods, - o = ["Active", "New", "Invalid"], - a = []; - return ( - null == t || - t.forEach((e) => { - "CreditCard" === e.payment_method_type && - !(0, n.Z)(e.details) && - e.details.card_status && - o.includes(e.details.card_status) && - a.push({ - id: e.id, - cardStatus: e.details.is_expired - ? "Expired" - : "Active" === e.details.card_status - ? "Active" - : "Invalid", - lastFourDigits: e.details.last_four_digits, - fullName: e.details.full_name, - isDefault: e.is_default, - imgSrcUrl: e.details.CreditCardImgSrcUrl, - }); - }), - a - ); - }), - deletePaymentMethod: (t) => e.graphQL(r(), t), - setDefaultPaymentMethod: (t) => e.graphQL(i(), t), - createPromotion: (t) => e.graphQL(w(), t), - enrollCoupon: (t) => - e.graphQL(C(), t).then((e) => { - const t = e.quick_promote_enroll_coupons; - return ( - null != t && - t.available_balance && - (t.available_balance = t.available_balance.map( - ({ currency_code: e, total_amount: t }) => ({ - currency_code: e, - total_amount: t ? t / 1e6 : 0, - }) - )), - null != t && - t.enrolled_coupon && - t.enrolled_coupon.total_amount && - (t.enrolled_coupon.total_amount = - t.enrolled_coupon.total_amount / 1e6), - null != t && - t.enrolled_coupon_v2 && - t.enrolled_coupon_v2.spend_amount && - (t.enrolled_coupon_v2.spend_amount = - t.enrolled_coupon_v2.spend_amount / 1e6), - null != t && - t.enrolled_coupon_v2 && - t.enrolled_coupon_v2.credit_amount && - (t.enrolled_coupon_v2.credit_amount = - t.enrolled_coupon_v2.credit_amount / 1e6), - e - ); - }), - getAdAccounts: (t) => - e.graphQL( - p(), - t, - (0, a.kj)(() => !1, "GQL AdAccounts: Failed to fetch ad accounts") - ), - }), - S = { - budgets: [50, 100, 250, 500, 1e3, 2500, 5e3], - currencyCode: "USD", - defaultBudget: 100, - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.QuickPromote.f9840a2a.js.map diff --git a/info/endpoints/endpoints.Recommendations.e61abcea.js b/info/endpoints/endpoints.Recommendations.e61abcea.js deleted file mode 100644 index 330e238..0000000 --- a/info/endpoints/endpoints.Recommendations.e61abcea.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Recommendations"], - { - 40886: (e, t, s) => { - s.r(t), s.d(t, { default: () => c }); - var n = s(6899), - r = s(13239); - const i = new n.fK.Entity( - "recommendations", - { user: r.Z }, - { - idAttribute: (e) => { - var t; - return null == (t = e.user) ? void 0 : t.id_str; - }, - } - ); - var u = s(6623), - o = s(55371); - const a = (e) => ({ ...o.getGlobalDefaults(e), excluded: [], pc: !0 }), - c = ({ apiClient: e, featureSwitches: t }) => ({ - fetch(s, r = {}) { - const o = { ...a(t), ...s, ...(0, u.Y)(t) }; - return e - .get("users/recommendations", o, r) - .then((e) => (0, n.Fv)(e, [i])); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Recommendations.e61abcea.js.map diff --git a/info/endpoints/endpoints.ReportFlow.c6789fea.js b/info/endpoints/endpoints.ReportFlow.c6789fea.js deleted file mode 100644 index ec47bd3..0000000 --- a/info/endpoints/endpoints.ReportFlow.c6789fea.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.ReportFlow"], - { - 67151: (e, t, o) => { - o.r(t), o.d(t, { default: () => n }); - const n = ({ apiClient: e, featureSwitches: t }) => ({ - task(t, o) { - const { flow_name: n, test_country_code: s, ...r } = t; - return e.post( - "report/flow", - r, - { flow_name: n, test_country_code: s }, - { ...o, "content-type": "application/json" } - ); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.ReportFlow.c6789fea.js.map diff --git a/info/endpoints/endpoints.RitoActionedTweets.38eab9fa.js b/info/endpoints/endpoints.RitoActionedTweets.38eab9fa.js deleted file mode 100644 index 862d74f..0000000 --- a/info/endpoints/endpoints.RitoActionedTweets.38eab9fa.js +++ /dev/null @@ -1,96 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.RitoActionedTweets"], - { - 69108: (e) => { - e.exports = { - queryId: "px9Zbs48D-YdQPEROK6-nA", - operationName: "RitoActionedTweetsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 56563: (e, t, _) => { - "use strict"; - _.r(t), - _.d(t, { - default: () => d, - isFatalRitoActionedTweetsTimelineError: () => o, - }); - var i = _(72599), - n = _(17360), - s = _(83175), - r = _(69108), - a = _.n(r), - l = _(82249); - const o = (e, t) => { - var _; - const s = - null == t || null == (_ = t.user_result_by_rest_id) - ? void 0 - : _.result; - return ( - s || - (0, i.ZP)( - "GQL RitoActionedTweets: Failed to query for Rito Actioned Tweets timeline" - ), - !s && (0, n.jB)(e) - ); - }, - d = ({ apiClient: e, featureSwitches: t }) => ({ - fetchRitoActionedTweets: ({ cursor: _, userId: i }) => - e - .graphQL( - a(), - { - cursor: _, - rest_id: i, - ...(0, s.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - o - ) - .then((e) => { - var t; - const _ = - null == e || null == (t = e.user_result_by_rest_id) - ? void 0 - : t.result; - let i = l.cY; - var n; - "User" === (null == _ ? void 0 : _.__typename) && - (i = - null == (n = _.rito_actioned_tweets_timeline) - ? void 0 - : n.timeline); - return i || l.cY; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoActionedTweets.38eab9fa.js.map diff --git a/info/endpoints/endpoints.RitoFlaggedAccounts.7c9ceb5a.js b/info/endpoints/endpoints.RitoFlaggedAccounts.7c9ceb5a.js deleted file mode 100644 index eea2748..0000000 --- a/info/endpoints/endpoints.RitoFlaggedAccounts.7c9ceb5a.js +++ /dev/null @@ -1,92 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.RitoFlaggedAccounts"], - { - 81396: (e) => { - e.exports = { - queryId: "lMzaBZHIbD6GuPqJJQubMg", - operationName: "RitoFlaggedAccountsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 88466: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => d, - isFatalRitoFlaggedAccountsTimelineError: () => o, - }); - var i = t(72599), - n = t(17360), - a = t(83175), - l = t(81396), - r = t.n(l), - s = t(82249); - const o = (e, _) => { - var t, a; - const l = - null == _ || - null == (t = _.viewer_v2) || - null == (a = t.rito_flagged_accounts_timeline) - ? void 0 - : a.timeline; - return ( - l || - (0, i.ZP)( - "GQL RitoFlaggedAccounts: Failed to query for Rito Flagged Accounts timeline" - ), - !l && (0, n.jB)(e) - ); - }, - d = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchRitoFlaggedAccounts: ({ cursor: t }) => - e - .graphQL( - r(), - { - cursor: t, - ...(0, a.d)(_), - withSafetyModeUserFields: _.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - o - ) - .then((e) => { - var _, t; - return ( - (null == e || - null == (_ = e.viewer_v2) || - null == (t = _.rito_flagged_accounts_timeline) - ? void 0 - : t.timeline) || s.cY - ); - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoFlaggedAccounts.7c9ceb5a.js.map diff --git a/info/endpoints/endpoints.RitoFlaggedTweets.8586e06a.js b/info/endpoints/endpoints.RitoFlaggedTweets.8586e06a.js deleted file mode 100644 index 9d27083..0000000 --- a/info/endpoints/endpoints.RitoFlaggedTweets.8586e06a.js +++ /dev/null @@ -1,96 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.RitoFlaggedTweets"], - { - 4149: (e) => { - e.exports = { - queryId: "iCuXMibh6yj9AelyjKXDeA", - operationName: "RitoFlaggedTweetsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 89910: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => d, - isFatalRitoFlaggedTweetsTimelineError: () => o, - }); - var i = t(72599), - n = t(17360), - r = t(83175), - s = t(4149), - a = t.n(s), - l = t(82249); - const o = (e, _) => { - var t; - const r = - null == _ || null == (t = _.user_result_by_rest_id) - ? void 0 - : t.result; - return ( - r || - (0, i.ZP)( - "GQL RitoFlaggedTweets: Failed to query for Rito Flagged Tweets timeline" - ), - !r && (0, n.jB)(e) - ); - }, - d = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchRitoFlaggedTweets: ({ cursor: t, userId: i }) => - e - .graphQL( - a(), - { - cursor: t, - rest_id: i, - ...(0, r.d)(_), - withSafetyModeUserFields: _.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - o - ) - .then((e) => { - var _; - const t = - null == e || null == (_ = e.user_result_by_rest_id) - ? void 0 - : _.result; - let i = l.cY; - var n; - "User" === (null == t ? void 0 : t.__typename) && - (i = - null == (n = t.rito_flagged_tweets_timeline) - ? void 0 - : n.timeline); - return i || l.cY; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoFlaggedTweets.8586e06a.js.map diff --git a/info/endpoints/endpoints.RitoSuggestedActions.9ec7c11a.js b/info/endpoints/endpoints.RitoSuggestedActions.9ec7c11a.js deleted file mode 100644 index 6438e97..0000000 --- a/info/endpoints/endpoints.RitoSuggestedActions.9ec7c11a.js +++ /dev/null @@ -1,40 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.RitoSuggestedActions"], - { - 22276: (t) => { - t.exports = { - queryId: "2njnYoE69O2jdUM7KMEnDw", - operationName: "ConvertRitoSuggestedActions", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 95885: (t, e, o) => { - "use strict"; - o.r(e), - o.d(e, { - default: () => u, - isFatalConvertRitoSuggestedActionsError: () => a, - }); - var n = o(72599), - s = o(17360), - i = o(22276), - r = o.n(i); - const a = (t, e) => { - const o = null == e ? void 0 : e.convert_rito_suggested_actions; - return ( - o || - (0, n.ZP)( - "GQL ConvertRitoSuggestedActions: Failed to query for Convert Rito Suggested Actions" - ), - !o && (0, s.jB)(t) - ); - }, - u = ({ apiClient: t, featureSwitches: e }) => ({ - callConvertRitoSuggestedActions: (e) => t.graphQL(r(), { ...e }, a), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoSuggestedActions.9ec7c11a.js.map diff --git a/info/endpoints/endpoints.RitoSuggestedActionsFacePile.8cdec91a.js b/info/endpoints/endpoints.RitoSuggestedActionsFacePile.8cdec91a.js deleted file mode 100644 index 4dfa608..0000000 --- a/info/endpoints/endpoints.RitoSuggestedActionsFacePile.8cdec91a.js +++ /dev/null @@ -1,58 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.RitoSuggestedActionsFacePile"], - { - 90159: (e) => { - e.exports = { - queryId: "GnQKeEdL1LyeK3dTQCS1yw", - operationName: "RitoSuggestedActionsFacePile", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 55104: (e, t, i) => { - "use strict"; - i.r(t), - i.d(t, { - default: () => n, - isFatalRitoSuggestedActionsFacePileError: () => l, - }); - var s = i(72599), - r = i(17360), - u = i(90159), - o = i.n(u); - const l = (e, t) => { - var i, u; - const o = - (null == t || null == (i = t.user.result) - ? void 0 - : i.rito_suggested_actions_face_pile) && - (null == t || null == (u = t.user.result) - ? void 0 - : u.rito_suggested_actions_face_pile); - return ( - o || - (0, s.ZP)( - "GQL RitoSuggestedActionsFacePile: Failed to query for Rito Suggested Actions facepile" - ), - !o && (0, r.jB)(e) - ); - }, - n = ({ apiClient: e, featureSwitches: t }) => ({ - fetchRitoSuggestedActionsFacePile: (t) => - e.graphQL(o(), { ...t }, l).then((e) => { - var t, i; - return ( - (null == e || null == (t = e.user.result) - ? void 0 - : t.rito_suggested_actions_face_pile) && - (null == e || null == (i = e.user.result) - ? void 0 - : i.rito_suggested_actions_face_pile) - ); - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoSuggestedActionsFacePile.8cdec91a.js.map diff --git a/info/endpoints/endpoints.SafeSearch.ce1a9f9a.js b/info/endpoints/endpoints.SafeSearch.ce1a9f9a.js deleted file mode 100644 index a650f17..0000000 --- a/info/endpoints/endpoints.SafeSearch.ce1a9f9a.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.SafeSearch"], - { - 98178: (e, t, s) => { - s.r(t), s.d(t, { default: () => a }); - var r = s(60917), - n = s.n(r); - const a = ({ apiClient: e, featureSwitches: t }) => ({ - fetch(t, s = {}) { - const { userId: r } = t; - return e.get( - `strato/column/User/${r}/search/searchSafetyReadonly`, - n(), - s, - "" - ); - }, - set(t, s = {}) { - const { userId: r, ...a } = t; - return e.post( - `strato/column/User/${r}/search/searchSafety`, - a, - n(), - { ...s, "content-type": "application/json" }, - "" - ); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.SafeSearch.ce1a9f9a.js.map diff --git a/info/endpoints/endpoints.SavedSearches.3aded56a.js b/info/endpoints/endpoints.SavedSearches.3aded56a.js deleted file mode 100644 index b457541..0000000 --- a/info/endpoints/endpoints.SavedSearches.3aded56a.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.SavedSearches"], - { - 41517: (e, s, t) => { - t.r(s), t.d(s, { default: () => a }); - const a = ({ apiClient: e, featureSwitches: s }) => ({ - fetch: (s = {}, t = {}) => e.get("saved_searches/list", s, t), - create: (s, t = {}) => e.post("saved_searches/create", s, {}, t), - destroy: (s, t = {}) => - e.post(`saved_searches/destroy/${s.id}`, s, {}, t), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.SavedSearches.3aded56a.js.map diff --git a/info/endpoints/endpoints.Scheduling.a63742fa.js b/info/endpoints/endpoints.Scheduling.a63742fa.js deleted file mode 100644 index 3dc0f37..0000000 --- a/info/endpoints/endpoints.Scheduling.a63742fa.js +++ /dev/null @@ -1,126 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Scheduling"], - { - 97475: (e) => { - e.exports = { - queryId: "LCVzRQGxOaGnOnYH01NQXg", - operationName: "CreateScheduledTweet", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 6107: (e) => { - e.exports = { - queryId: "CTOVqej0JBXAZSwkp1US0g", - operationName: "DeleteScheduledTweet", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 8735: (e) => { - e.exports = { - queryId: "_mHkQ5LHpRRjSXKOcG6eZw", - operationName: "EditScheduledTweet", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 66150: (e) => { - e.exports = { - queryId: "ITtjAzvlZni2wWXwf295Qg", - operationName: "FetchScheduledTweets", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 3754: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => _ }); - const d = (e) => { - var t; - return ( - (null == e || null == (t = e.viewer) - ? void 0 - : t.scheduled_tweet_list) || [] - ); - }; - var i = r(97475), - s = r.n(i), - a = r(6107), - u = r.n(a), - n = r(8735), - o = r.n(n), - c = r(66150), - l = r.n(c), - w = r(98671); - function p(e) { - return Math.floor(e.getTime() / 1e3); - } - const _ = ({ apiClient: e, featureSwitches: t }) => ({ - scheduleTweet(t) { - const { executeAt: r, ...d } = t, - i = (0, w.y)(d); - return e - .graphQL(s(), { post_tweet_request: i, execute_at: p(r) }) - .then((e) => { - var t; - return null == (t = e.tweet) ? void 0 : t.rest_id; - }); - }, - fetchScheduledTweets(t) { - const r = { - ascending: !0, - limit: void 0, - max_id: void 0, - min_id: void 0, - }; - return e.graphQL(l(), { ...r, ...t }, (0, w.F)("Scheduled")).then(d); - }, - deleteScheduledTweet: (t) => e.graphQL(u(), t), - editScheduledTweet(t) { - const { executeAt: r, scheduledTweetId: d, ...i } = t, - s = (0, w.y)(i); - return e - .graphQL(o(), { - scheduled_tweet_id: d, - post_tweet_request: s, - execute_at: p(r), - }) - .then(() => d); - }, - }); - }, - 98671: (e, t, r) => { - "use strict"; - r.d(t, { F: () => a, y: () => s }); - var d = r(72599), - i = r(17360); - function s({ exclude_reply_user_ids: e, media_ids: t, ...r }) { - return { - ...r, - exclude_reply_user_ids: e ? e.split(",") : [], - media_ids: t ? t.split(",") : [], - }; - } - const a = (e) => (t, r) => { - const s = - r && - r.viewer && - r.viewer.draft_list && - r.viewer.draft_list.response_data, - a = - r && - r.viewer && - !!r.viewer.scheduled_tweet_list && - r.viewer.scheduled_tweet_list; - return ( - !s && - !a && - ((0, d.ZP)(`GQL: Failed to render ${e} Tweets List`), (0, i.jB)(t)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Scheduling.a63742fa.js.map diff --git a/info/endpoints/endpoints.Settings.266bdcaa.js b/info/endpoints/endpoints.Settings.266bdcaa.js deleted file mode 100644 index 4bcbfb6..0000000 --- a/info/endpoints/endpoints.Settings.266bdcaa.js +++ /dev/null @@ -1,223 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Settings"], - { - 22001: (e) => { - e.exports = { - queryId: "g2m0pAOamawNtVIfjXNMJg", - operationName: "DisableVerifiedPhoneLabel", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 67065: (e) => { - e.exports = { - queryId: "C3RJFfMsb_KcEytpKmRRkw", - operationName: "EnableVerifiedPhoneLabel", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 19874: (e) => { - e.exports = { - queryId: "5kUWP8C1hcd6omvg6HXXTQ", - operationName: "ProfileUserPhoneState", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 58043: (e) => { - e.exports = { - queryId: "vJ-XatpmQSG8bDch8-t9Jw", - operationName: "UserSessionsList", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 98084: (e, t, o) => { - "use strict"; - o.r(t), o.d(t, { default: () => g }); - var a = o(6899), - s = o(22001), - n = o.n(s), - i = o(67065), - r = o.n(i), - c = o(19874), - l = o.n(c), - u = o(58043), - p = o.n(u); - const _ = new a.fK.Entity("applications", {}, { idAttribute: "token" }); - var d = o(13239), - f = o(55371); - const h = { - include_mention_filter: !0, - include_nsfw_user_flag: !0, - include_nsfw_admin_flag: !0, - include_ranked_timeline: !0, - include_alt_text_compose: !0, - }, - g = ({ apiClient: e, featureSwitches: t }) => ({ - fetch(o, a) { - const s = t.isTrue( - "voice_rooms_sharing_listening_data_with_followers_setting_enabled" - ) - ? { - include_ext_sharing_audiospaces_listening_data_with_followers: - !0, - } - : {}, - n = t.isTrue("toxic_reply_filter_inline_callout_enabled") - ? { include_ext_reply_filter_setting: !0 } - : {}, - i = { - ext: "ssoConnections", - include_country_code: !0, - include_ext_dm_nsfw_media_filter: !0, - }, - r = Object.assign({}, h, i, s, n, o); - return e.get("account/settings", r, a); - }, - fetchRateLimits: (t, o) => - e.get("application/rate_limit_status", t, o || {}), - fetchHashflags: () => e.get("hashflags", {}, {}), - update(t, o) { - const a = Object.assign({}, h, t); - return e.post("account/settings", a, {}, o); - }, - deleteSSOConnection(t, o) { - const { ssoProvider: a } = t; - return e.post( - "sso/delete_connection", - { sso_provider: a }, - {}, - o, - "" - ); - }, - deleteLocationData: (t, o) => - e.post("geo/delete_location_data", t, {}, o), - deleteContacts: (t, o) => e.post("contacts/destroy/all", t, {}, o), - fetchNotificationFilters: (t, o) => - e.get("mutes/advanced_filters", t, o || {}), - updateNotificationFilters: (t, o) => - e.post("mutes/advanced_filters", t, {}, o || {}), - updateProfile: (t, o) => - e - .post("account/update_profile", t, {}, o) - .then((e) => (0, a.Fv)(e, d.Z)), - removeProfileBanner(o, a) { - const s = Object.assign( - {}, - f.getGlobalDefaults(t), - { return_user: !0 }, - o - ); - return e.post("account/remove_profile_banner", s, {}, a); - }, - updateProfileAvatar(o, a) { - const s = Object.assign( - {}, - f.getGlobalDefaults(t), - { return_user: !0 }, - o - ); - return e.post("account/update_profile_image", s, {}, a); - }, - updateProfileBanner(o, a) { - const s = Object.assign( - {}, - f.getGlobalDefaults(t), - { return_user: !0 }, - o - ); - return e.post("account/update_profile_banner", s, {}, a); - }, - fetchPlaceTrendSettings: (t, o) => - e.getURT("guide/get_explore_settings", t, o || {}), - updatePlaceTrendSettings: (t, o) => - e.postURT("guide/set_explore_settings", { ...t }, {}, o || {}), - usernameAvailable: (t, o) => - e.dispatch({ - path: "/i/users/username_available.json", - method: "GET", - params: t, - headers: o || {}, - }), - fetchApplications: (t, o) => - e - .get("oauth/list", t, o) - .then((e) => (0, a.Fv)(e, { applications: [_] })), - revokeApplication: (t, o) => e.post("oauth/revoke", t, {}, o), - revokeOauth2Token: (t, o) => - e.postUnversioned("/2/oauth2/revoke_token_hash", t, o), - changePassword: (t, o) => - e.postI("account/change_password", t, o || {}), - deactivate(t, o) { - const { deactivation_timespan: a, password: s } = t; - return e.post( - "account/deactivate", - { current_password: s, deactivation_timespan: a }, - {}, - o - ); - }, - fetchWoeTrendsLocations: (t, o) => - e.get("trends/available", t, o || {}), - fetchPlaceTrendsLocations: (t, o) => - e.getURT("guide/explore_locations_with_auto_complete", t, o || {}), - fetchLoginVerificationSettings(t, o) { - const { userId: a, ...s } = t; - return a - ? e.get( - `strato/column/User/${a}/account-security/twoFactorAuthSettings2`, - s, - o || {}, - "" - ) - : Promise.resolve(new Response()); - }, - fetchBackupCode: (t, o) => e.get("account/backup_code", t, o || {}), - fetchNewBackupCode: (t, o) => - e.post("account/backup_code", t, {}, o || {}), - fetchTemporaryPassword: (t, o) => - e.post( - "account/login_verification/temporary_password", - t, - {}, - o || {} - ), - fetchSessions: (t, o) => e.graphQL(p(), {}), - enableVerifiedPhoneLabel: () => - t.isTrue("verified_phone_label_enabled") - ? e.graphQL(r(), {}) - : Promise.resolve(), - disableVerifiedPhoneLabel: (o, a) => - t.isTrue("verified_phone_label_enabled") - ? e.graphQL(n(), {}) - : Promise.resolve(), - fetchUserProfilePhoneState: (t, o) => e.graphQL(l(), {}), - revokeSession: (t, o) => - e.postUnversioned("/account/sessions/revoke", t, o), - revokeAllSessions: (t, o) => - e.postUnversioned("/account/sessions/revoke_all", t, o), - enrollIn2FA: (t, o) => e.post("bouncer/opt_in", t, {}, o || {}), - disable2FA: (t, o) => - e.delete("account/login_verification_enrollment", t, o || {}), - disable2FAMethod: (t, o) => - e.post("account/login_verification/remove_method", t, {}, o || {}), - rename2FASecurityKey: (t, o) => - e.post( - "account/login_verification/rename_security_key_method", - t, - {}, - o - ), - verifyPassword(t, o) { - const { password: a } = t; - return e.post("account/verify_password", { password: a }, {}, o); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Settings.266bdcaa.js.map diff --git a/info/endpoints/endpoints.SettingsGraphQL.8a5300fa.js b/info/endpoints/endpoints.SettingsGraphQL.8a5300fa.js deleted file mode 100644 index 41c0cda..0000000 --- a/info/endpoints/endpoints.SettingsGraphQL.8a5300fa.js +++ /dev/null @@ -1,301 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.SettingsGraphQL"], - { - 33816: (e) => { - e.exports = { - queryId: "PFIxTk8owMoZgiMccP0r4g", - operationName: "getAltTextPromptPreference", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 41264: (e) => { - e.exports = { - queryId: "aQKrduk_DA46XfOQDkcEng", - operationName: "updateAltTextPromptPreference", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 95915: (e) => { - e.exports = { - queryId: "BwgMOGpOViDS0ri7VUgglg", - operationName: "getCaptionsAlwaysDisplayPreference", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 22502: (e) => { - e.exports = { - queryId: "uCUQhvZ5sJ9qHinRp6CFlQ", - operationName: "updateCaptionsAlwaysDisplayPreference", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 65769: (e) => { - e.exports = { - queryId: "xF6sXnKJfS2AOylzxRjf6A", - operationName: "DataSaverMode", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 35032: (e) => { - e.exports = { - queryId: "H03etWvZGz41YASxAU2YPg", - operationName: "WriteDataSaverPreferences", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 76389: (e) => { - e.exports = { - queryId: "of_N6O33zfyD4qsFJMYFxA", - operationName: "DmNsfwMediaFilterUpdate", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 78985: (e) => { - e.exports = { - queryId: "AhxTX0lkbIos4WG53xwzSA", - operationName: "GetSafetyModeSettings", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 34628: (e) => { - e.exports = { - queryId: "qSJIPIpf4gA7Wn21bT3D4w", - operationName: "SetSafetyModeSettings", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 68408: (e) => { - e.exports = { - queryId: "5h0kNbk3ii97rmfY6CdgAA", - operationName: "SharingAudiospacesListeningDataWithFollowersUpdate", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 88541: (e, t, a) => { - "use strict"; - a.r(t), - a.d(t, { - default: () => M, - isFatalSafetyModeSettingsPutError: () => q, - }); - var r = a(10264), - s = a(35494), - n = a(72599), - o = a(51573), - i = a(17360), - d = a(33816), - p = a.n(d), - u = a(41264), - c = a.n(u), - l = a(95915), - f = a.n(l), - m = a(22502), - y = a.n(m), - h = a(65769), - g = a.n(h), - w = a(35032), - _ = a.n(w), - S = a(76389), - v = a.n(S), - P = a(78985), - A = a.n(P), - T = a(34628), - N = a.n(T), - x = a(68408), - D = a.n(x), - I = a(63140); - const q = (e, t) => { - const a = null == t ? void 0 : t.user_safety_mode_settings_put; - if (!a) { - 1 === e.length && - e[0].code === I.ZP.GenericAccessDenied && - (0, n.ZP)( - "GQL Safety Mode Settings Update: user does not have access to Safety Mode" - ); - } - return !a && (0, i.jB)(e); - }, - M = ({ apiClient: e, featureSwitches: t }) => ({ - fetchAltTextPromptPreference: () => - e - .graphQL(p(), {}) - .then(({ authenticated_user_alt_text_prompt_preference: e }) => { - const t = e || r.f.None; - return { altTextNudgeType: r.f[t] }; - }), - updateAltTextPromptPreference({ altTextNudgeType: t }) { - const a = t || r.f.None; - return e.graphQL(c(), { promptType: a }); - }, - fetchCaptionsAlwaysDisplayPreference: () => - e - .graphQL(f(), {}) - .then( - ({ - authenticated_user_captions_always_display_preference: e, - }) => { - const t = e || s.P.None; - return { displayType: s.P[t] }; - } - ), - updateCaptionsAlwaysDisplayPreference({ displayType: t }) { - const a = t || s.P.None; - return e.graphQL(y(), { displayPreference: a }); - }, - fetchDataUsageSettings: ({ deviceId: t }) => - (0, o.o)("dataUsageSettings", () => - e.graphQL(g(), { device_id: t }, void 0).then((e) => { - var t; - return null != (t = e.viewer) && t.dataUsageSettings - ? e.viewer.dataUsageSettings - : { dataSaverMode: !1, videoAutoplay: void 0 }; - }) - ), - updateDataUsageSettings: ({ - dataSaverMode: t, - deviceId: a, - videoAutoplay: r, - }) => - e.graphQL(_(), { - dataSaverEnabled: t, - deviceId: a, - videoAutoplay: r, - }), - updateDmNsfwMediaFilter: ({ dmNsfwMediaFilter: t, userId: a }) => - e.graphQL(v(), { userId: a, dmNsfwMediaFilter: t }), - updateSharingAudiospacesListeningDataWithFollowers: ({ - sharingAudiospacesListeningDataWithFollowers: t, - userId: a, - }) => - e.graphQL(D(), { - userId: a, - sharingAudiospacesListeningDataWithFollowers: t, - }), - fetchSafetyModeSettings: () => - e.graphQL(A(), {}).then((e) => { - var t, a, r; - return null != (t = e.viewer) && - null != (a = t.user_results) && - null != (r = a.result) && - r.safety_mode_settings - ? { - enabled: - e.viewer.user_results.result.safety_mode_settings.enabled, - duration: - e.viewer.user_results.result.safety_mode_settings - .duration || "none", - expiration: - e.viewer.user_results.result.safety_mode_settings - .expiration, - } - : Object.freeze({}); - }), - updateSafetyModeSettings: ({ duration: t, userId: a }) => - e.graphQL( - N(), - { - userId: a, - enabled: "none" !== t, - duration: "none" === t ? void 0 : t, - }, - q - ), - }); - }, - 10264: (e, t, a) => { - "use strict"; - a.d(t, { f: () => r }); - const r = Object.freeze({ - None: "None", - Nudge: "Nudge", - Prompt: "Prompt", - Require: "Require", - }); - }, - 35494: (e, t, a) => { - "use strict"; - a.d(t, { P: () => r }); - const r = Object.freeze({ Enabled: "Enabled", None: "None" }); - }, - 51573: (e, t, a) => { - "use strict"; - a.d(t, { o: () => p }); - a(21515), a(6886); - var r = a(72599); - const s = new (class { - constructor() { - this.promise = new Promise((e, t) => { - (this.reject = t), (this.resolve = e); - }); - } - })(), - n = s.promise; - if ("undefined" != typeof document) { - let e; - document.addEventListener("DOMContentLoaded", () => { - s.resolve(), null != e && clearTimeout(e); - }); - const t = () => { - "loading" !== document.readyState - ? s.resolve() - : (e = setTimeout(() => { - t(); - }, 500)); - }; - t(); - } - var o = a(86916), - i = a(79150), - d = a(25943); - function p(e, t, a) { - const s = - "undefined" != typeof window ? window.__PREFETCH_DATA__ : void 0; - if (!s) return t(); - const p = Date.now(), - u = s.timestamp || p; - if (Math.max(0, p - u) >= 3e5) - return delete window.__PREFETCH_DATA__, t(); - const c = s.items[e]; - if (!c) return t(); - return (a ? a(c.meta) : Promise.resolve(!0)).then( - (a) => - a - ? ((d.q.didPrefetch[e] = !0), - Promise.race([c.promise, n]) - .then( - (a) => - a - ? o.i(a, i.AK) - : ((0, r.ZP)( - `DOM loaded but prefetch data was not present for ${e}` - ), - t()), - () => ((d.q.prefetchPromiseRejected[e] = !0), t()) - ) - .finally(() => { - delete s.items[e]; - })) - : t(), - () => t() - ); - } - }, - 25943: (e, t, a) => { - "use strict"; - a.d(t, { q: () => r }); - const r = { didPrefetch: {}, prefetchPromiseRejected: {} }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.SettingsGraphQL.8a5300fa.js.map diff --git a/info/endpoints/endpoints.Subscription.00cc311a.js b/info/endpoints/endpoints.Subscription.00cc311a.js deleted file mode 100644 index 6931964..0000000 --- a/info/endpoints/endpoints.Subscription.00cc311a.js +++ /dev/null @@ -1,42 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Subscription"], - { - 61827: (e) => { - e.exports = { - queryId: "lFi3xnx0auUUnyG4YwpCNw", - operationName: "GetUserClaims", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 14424: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => n }); - r(53985); - const s = (e) => { - var t, r, s; - return { - userClaims: (null != - (t = - null == e || null == (r = e.viewer_v2) || null == (s = r.claims) - ? void 0 - : s.flatMap(({ resources: e }) => (null != e ? e : []))) - ? t - : [] - ) - .map(({ rest_id: e }) => { - if (e) return { rest_id: e }; - }) - .filter(Boolean), - }; - }; - var i = r(61827), - a = r.n(i); - const n = ({ apiClient: e, featureSwitches: t }) => ({ - fetchUserClaims: () => e.graphQL(a(), {}).then(s), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Subscription.00cc311a.js.map diff --git a/info/endpoints/endpoints.SubscriptionPayments.340b00ca.js b/info/endpoints/endpoints.SubscriptionPayments.340b00ca.js deleted file mode 100644 index d91c651..0000000 --- a/info/endpoints/endpoints.SubscriptionPayments.340b00ca.js +++ /dev/null @@ -1,76 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.SubscriptionPayments"], - { - 67033: (e) => { - e.exports = { - queryId: "2LHXrd1uYeaMWhciZgPZFw", - operationName: "CreateCustomerPortalSession", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 35161: (e) => { - e.exports = { - queryId: "wwdBYgScze0_Jnan79jEUw", - operationName: "ListProductSubscriptions", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 53145: (e) => { - e.exports = { - queryId: "hKfOOObQr5JmfmxW0YtPvg", - operationName: "SubscriptionCheckoutUrlWithEligibility", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 92966: (e) => { - e.exports = { - queryId: "f0dExZDmFWFSWMCPQSAemQ", - operationName: "SubscriptionProductDetails", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 15404: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => d }); - var i = r(67033), - o = r.n(i), - s = r(35161), - a = r.n(s), - u = r(53145), - n = r.n(u), - c = r(92966), - p = r.n(c); - const d = ({ apiClient: e, featureSwitches: t }) => ({ - fetchSubscriptionProductDetails: (t) => - e.graphQL(p(), t).then((e) => e.web_subscription_product_details), - fetchSubscriptionProductCheckoutUrl: (t) => - e.graphQL(n(), t).then((e) => { - var t; - return null == (t = e.subscriptioncheckoutsession_create_for_blue) - ? void 0 - : t.session_url; - }), - fetchProductSubscriptions: (t) => - e.graphQL(a(), t).then((e) => { - var t; - return null == (t = e.viewer_v2) - ? void 0 - : t.list_product_subscriptions; - }), - fetchSubscriptionProductCustomerPortalUrl: (t) => - e.graphQL(o(), t).then((e) => { - var t; - return null == (t = e.customerportalsession_create) - ? void 0 - : t.customer_portal_session_url; - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.SubscriptionPayments.340b00ca.js.map diff --git a/info/endpoints/endpoints.SubscriptionProductFeatures.1745034a.js b/info/endpoints/endpoints.SubscriptionProductFeatures.1745034a.js deleted file mode 100644 index 2857824..0000000 --- a/info/endpoints/endpoints.SubscriptionProductFeatures.1745034a.js +++ /dev/null @@ -1,55 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.SubscriptionProductFeatures"], - { - 25106: (e) => { - e.exports = { - queryId: "-btar_vkBwWA7s3YWfp_9g", - operationName: "FeatureSettingsUpdate", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 73816: (e) => { - e.exports = { - queryId: "Me2CVcAXxvK2WMr-Nh_Qqg", - operationName: "SubscriptionProductFeaturesFetch", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 25465: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => o }); - const i = (e) => { - var t; - return ( - (null == e || null == (t = e.viewer) - ? void 0 - : t.subscription_product_features_for_client) || [] - ).reduce( - (e, t) => ( - t[t.rest_id] - ? (e[t.rest_id] = { - rest_id: t.rest_id, - ...t.config, - settings: t[t.rest_id], - }) - : (e[t.rest_id] = { rest_id: t.rest_id, ...t.config }), - e - ), - {} - ); - }; - var s = r(25106), - a = r.n(s), - u = r(73816), - n = r.n(u); - const o = ({ apiClient: e, featureSwitches: t }) => ({ - fetchSubscriptionProductFeatures: () => e.graphQL(n(), {}).then(i), - updateFeatureSettings: (t) => e.graphQL(a(), t), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.SubscriptionProductFeatures.1745034a.js.map diff --git a/info/endpoints/endpoints.TopArticles.8517a34a.js b/info/endpoints/endpoints.TopArticles.8517a34a.js deleted file mode 100644 index efba8f6..0000000 --- a/info/endpoints/endpoints.TopArticles.8517a34a.js +++ /dev/null @@ -1,147 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.TopArticles"], - { - 39296: (e) => { - e.exports = { - queryId: "o9FyvnC-xg8mVBXqL4g-rg", - operationName: "ArticleTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 33278: (e) => { - e.exports = { - queryId: "x4ywSpvg6BesoDszkfbFQg", - operationName: "ArticleTweetsTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 15823: (e, i, _) => { - "use strict"; - _.r(i), - _.d(i, { - default: () => w, - isFatalArticleTimelineError: () => c, - isFatalArticleTweetsTimelineError: () => b, - }); - var t = _(72599), - n = _(27024), - l = _(17360), - r = _(83175), - a = _(39296), - s = _.n(a), - o = _(33278), - d = _.n(o), - p = _(82249); - const b = (e, i) => { - var _, n; - const r = - null == i || - null == (_ = i.article_by_rest_id) || - null == (n = _.tweets_timeline) - ? void 0 - : n.timeline; - return ( - r || - (0, t.ZP)( - "GQL Top Articles: Failed query for article Tweets timeline" - ), - !r && (0, l.jB)(e) - ); - }, - c = (e, i) => { - var _; - const n = - null == i || null == (_ = i.article_timeline) ? void 0 : _.timeline; - return ( - n || - (0, t.ZP)("GQL Top Articles: Failed query for article timeline"), - !n && (0, l.jB)(e) - ); - }, - w = ({ apiClient: e, featureSwitches: i }) => ({ - fetchArticleTweetsTimeline(_) { - const t = - _.articleListSeedType === n.v.FRIENDS_OF_FRIENDS - ? "FriendsOfFriends" - : "FollowingList"; - return e - .graphQL(d(), { ..._, ...(0, r.d)(i), articleListSeedType: t }, b) - .then((e) => { - var i, _; - return ( - (null == e || - null == (i = e.article_by_rest_id) || - null == (_ = i.tweets_timeline) - ? void 0 - : _.timeline) || p.cY - ); - }); - }, - fetchArticleTimeline(_) { - const t = - _.articleListSeedType === n.v.FRIENDS_OF_FRIENDS - ? "FriendsOfFriends" - : "FollowingList"; - return e - .graphQL(s(), { ..._, ...(0, r.d)(i), articleListSeedType: t }, c) - .then((e) => { - var i; - return ( - (null == e || null == (i = e.article_timeline) - ? void 0 - : i.timeline) || p.cY - ); - }); - }, - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TopArticles.8517a34a.js.map diff --git a/info/endpoints/endpoints.Topics.01d7cc0a.js b/info/endpoints/endpoints.Topics.01d7cc0a.js deleted file mode 100644 index dc511f4..0000000 --- a/info/endpoints/endpoints.Topics.01d7cc0a.js +++ /dev/null @@ -1,1311 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Topics", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 67640: (e) => { - e.exports = { - queryId: "3fOJzEwYMnVyzwgLTLIBkw", - operationName: "NoteworthyAccountsPage", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 80288: (e) => { - e.exports = { - queryId: "ElqSLWFmsPL4NlZI5e1Grg", - operationName: "TopicFollow", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 23523: (e) => { - e.exports = { - queryId: "mAKQjs1kyTS75VLZzuIXXw", - operationName: "TopicLandingPage", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16909: (e) => { - e.exports = { - queryId: "cPCFdDAaqRjlMRYInZzoDA", - operationName: "TopicNotInterested", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 13153: (e) => { - e.exports = { - queryId: "4OUZZOonV2h60I0wdlQb_w", - operationName: "TopicByRestId", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 17326: (e) => { - e.exports = { - queryId: "RPWVYYupHVZkJOnokbt2cw", - operationName: "TopicToFollowSidebar", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 65174: (e) => { - e.exports = { - queryId: "4tVnt6FoSxaX8L-mDDJo4Q", - operationName: "TopicUndoNotInterested", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 72338: (e) => { - e.exports = { - queryId: "srwjU6JM_ZKTj_QMfUGNcw", - operationName: "TopicUnfollow", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 60098: (e) => { - e.exports = { - queryId: "Jvdjpe8qzsJD84BpK3qdkQ", - operationName: "TopicsManagementPage", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 15454: (e) => { - e.exports = { - queryId: "UvG-XXtWNcJN1LzF0u3ByA", - operationName: "TopicsPickerPage", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 46254: (e) => { - e.exports = { - queryId: "t6kH4v2c_VzWKljc2yNwHA", - operationName: "TopicsPickerPageById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 46131: (e) => { - e.exports = { - queryId: "tYXo6h_rpnHXbdLUFMatZA", - operationName: "ViewingOtherUsersTopicsPage", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => O, - errorBreadcrumb: () => G, - isFatalGenericTimelineError: () => M, - isFatalModeratedTimelineError: () => Y, - isFatalTeamsResponseError: () => U, - isFatalUserScopedFollowTimelineError: () => E, - isFatalViewerScopedFollowTimelineError: () => j, - parseUserScopedTimeline: () => N, - parseViewerScopedTimeline: () => Z, - }); - var n = t(58955), - i = t(79363), - a = t(72599), - r = t(32091), - o = t(17360), - l = t(83175), - s = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let n; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - n = t; - } - return { user: n, ..._ }; - }); - return (0, s.Fv)(_, d.Z); - }; - var b = t(29848), - c = t.n(b), - u = t(57274), - w = t.n(u), - v = t(2216), - m = t.n(v), - h = t(41839), - g = t.n(h), - f = t(97621), - y = t.n(f), - q = t(87669), - x = t.n(q), - T = t(75840), - I = t.n(T), - k = t(50931), - F = t.n(k), - P = t(59113), - L = t.n(P), - B = t(26491), - Q = t.n(B), - A = t(16221), - S = t.n(A), - z = t(82249); - const N = (e) => { - var _; - let t = z.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) ? void 0 : n.timeline) || - z.cY); - return t; - }, - G = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - Z = (e) => { - let _ = z.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || z.cY); - return _; - }, - U = (e) => - Array.isArray(e) && - !(0, i.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - E = (e, _) => { - var t, n; - const i = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && _.user.result.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Follow timeline", { - extra: G(e), - }), - !i && (0, o.jB)(e) - ); - }, - j = (e, _) => { - var t; - const n = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: G(e), - }), - !n && (0, o.jB)(e) - ); - }, - V = (e, _) => { - var t, n; - const i = - null == _ || - null == (t = _.viewer) || - null == (n = t.muting_timeline) - ? void 0 - : n.timeline; - return ( - i || - (0, a.ZP)("GQL URT: Failed to render Muting timeline", { - extra: G(e), - }), - !i && (0, o.jB)(e) - ); - }, - Y = (e, _) => { - var t, n; - const i = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (n = _.tweet.result.timeline_response) - ? void 0 - : n.timeline); - return ( - i || - (0, a.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: G(e) } - ), - !i && (0, o.jB)(e) - ); - }, - M = (e, _) => { - var t; - const n = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - n || - (0, a.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: G(e), - }), - !n && (0, o.jB)(e) - ); - }; - function C(e, _, t) { - let n; - function i(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (n = e === r.kH.Imported ? m() : e === r.kH.AutoBlock ? w() : c()), - ({ count: r, cursor: s }) => - _.graphQL( - n, - { - count: r, - cursor: s, - includePromotedContent: !1, - ...(0, l.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const n = i(t); - return ( - n || - (0, a.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: G(_) } - ), - !n && (0, o.jB)(_) - ); - } - ).then((e) => i(e) || z.cY) - ); - } - const O = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: C(r.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: C(r.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: C(r.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - g(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - E - ) - .then(N), - fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - y(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - E - ) - .then(N), - fetchFollowing: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - x(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - E - ) - .then(N), - fetchSuperFollowers: ({ count: t, cursor: n }) => - e - .graphQL( - Q(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - j - ) - .then(Z), - fetchViewerTeams: () => - e - .graphQLFullResponse(S(), { ...(0, l.S)(_) }, U) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - i = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return i; - const a = (0, n.Z)(_.map((e) => e.path && e.path[3])); - return i.filter((e, _) => !a.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: n, rootTweetId: i }) => - e - .graphQL( - F(), - { - rootTweetId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - Y - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, n; - return ( - (null == (t = e.tweet.result) || - null == (n = t.timeline_response) - ? void 0 - : n.timeline) || z.cY - ); - } - return z.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: n }) => - e - .graphQL( - L(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, l.d)(_), - }, - V - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || z.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: n, timelineId: i }) => - e - .graphQL( - I(), - { - timelineId: i, - count: t, - cursor: n, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, l.d)(_), - }, - M - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || z.cY; - }), - }); - }, - 22836: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => R, - isFatalFetchOneTopicError: () => G, - isFatalFollowError: () => M, - isFatalNotInterestedError: () => z, - isFatalNoteworthyAccountsPageError: () => j, - isFatalTopicLandingPageError: () => V, - isFatalTopicsManagementPageError: () => Z, - isFatalTopicsPickerPageByIdError: () => E, - isFatalTopicsPickerPageError: () => U, - isFatalTopicsToFollowSidebarError: () => O, - isFatalUndoNotInterestedError: () => N, - isFatalUnfollowError: () => C, - isFatalViewingOtherUsersTopicsPageError: () => Y, - }); - var n = t(6899), - i = t(72599), - a = t(17360), - r = t(83175), - o = t(67640), - l = t.n(o), - s = t(80288), - d = t.n(s), - p = t(23523), - b = t.n(p), - c = t(16909), - u = t.n(c), - w = t(13153), - v = t.n(w), - m = t(60098), - h = t.n(m), - g = t(15454), - f = t.n(g), - y = t(46254), - q = t.n(y), - x = t(17326), - T = t.n(x), - I = t(65174), - k = t.n(I), - F = t(72338), - P = t.n(F), - L = t(46131), - B = t.n(L), - Q = t(59990), - A = t(82249), - S = t(97534); - const z = (e, _) => { - var t; - const n = Boolean( - null == _ || null == (t = _.topic) ? void 0 : t.topic_id - ); - return ( - n || (0, i.ZP)("GQL Topic: Failed to set not_interested"), - !n && (0, a.jB)(e) - ); - }, - N = (e, _) => { - var t; - const n = Boolean( - null == _ || null == (t = _.topic) ? void 0 : t.topic_id - ); - return ( - n || (0, i.ZP)("GQL Topic: Failed to undo not_interested"), - !n && (0, a.jB)(e) - ); - }, - G = (e, _) => { - const t = null == _ ? void 0 : _.topic; - return ( - t || (0, i.ZP)("GQL Topic: Failed to fetch Topic"), - !t && (0, a.jB)(e) - ); - }, - Z = (e, _) => { - var t, n; - const r = - null == _ || - null == (t = _.viewer) || - null == (n = t.topics_management_page) - ? void 0 - : n.body, - o = - (null == r ? void 0 : r.timeline) || - ((null == r ? void 0 : r.initialTimeline) && - (null == r ? void 0 : r.initialTimeline.timeline.timeline)); - return ( - o || - (0, i.ZP)( - "GQL Topic: Failed to query for Topics Management page" - ), - !o && (0, a.jB)(e) - ); - }, - U = (e, _) => { - var t, n; - const r = - null == _ || - null == (t = _.viewer) || - null == (n = t.topics_picker_page) - ? void 0 - : n.body, - o = - (null == r ? void 0 : r.timeline) || - ((null == r ? void 0 : r.initialTimeline) && - (null == r ? void 0 : r.initialTimeline.timeline.timeline)); - return ( - o || (0, i.ZP)("GQL Topic: Failed to query for Topics Picker page"), - !o && (0, a.jB)(e) - ); - }, - E = (e, _) => { - var t, n; - const r = - null == _ || - null == (t = _.topic) || - null == (n = t.topics_picker_page) - ? void 0 - : n.body, - o = - (null == r ? void 0 : r.timeline) || - ((null == r ? void 0 : r.initialTimeline) && - (null == r ? void 0 : r.initialTimeline.timeline.timeline)); - return ( - o || (0, i.ZP)("GQL Topic: Failed to query for Topics Picker page"), - !o && (0, a.jB)(e) - ); - }, - j = (e, _) => { - var t, n; - const r = - null == _ || - null == (t = _.topic_by_rest_id) || - null == (n = t.noteworthy_accounts_page) - ? void 0 - : n.body, - o = - (null == r ? void 0 : r.timeline) || - ((null == r ? void 0 : r.initialTimeline) && - (null == r ? void 0 : r.initialTimeline.timeline.timeline)); - return ( - o || - (0, i.ZP)( - "GQL Topic: Failed to query for Noteworthy Accounts page" - ), - !o && (0, a.jB)(e) - ); - }, - V = (e, _) => { - var t, n; - const r = - null == _ || - null == (t = _.topic_by_rest_id) || - null == (n = t.topic_page) - ? void 0 - : n.body, - o = - (null == r ? void 0 : r.timeline) || - ((null == r ? void 0 : r.initialTimeline) && - (null == r ? void 0 : r.initialTimeline.timeline.timeline)); - return ( - o || - (0, i.ZP)("GQL Topic: Failed to query for Topics Landing page"), - !o && (0, a.jB)(e) - ); - }, - Y = (e, _) => { - var t, n; - const r = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && - _.user.result.viewing_other_users_topics_page; - return ( - r || - (0, i.ZP)( - "GQL Topic: Failed to query for other users Topics Page" - ), - !r && (0, a.jB)(e) - ); - }, - M = (e, _) => { - var t; - const n = Boolean( - null == _ || null == (t = _.topic) ? void 0 : t.topic_id - ); - return ( - n || (0, i.ZP)("GQL Topic: Failed to follow"), !n && (0, a.jB)(e) - ); - }, - C = (e, _) => { - var t; - const n = Boolean( - null == _ || null == (t = _.topic) ? void 0 : t.topic_id - ); - return ( - n || (0, i.ZP)("GQL Topic: Failed to unfollow"), !n && (0, a.jB)(e) - ); - }, - O = (e, _) => { - const t = - _ && - _.user && - _.user.result && - "User" === _.user.result.__typename && - _.user.result.timeline; - return ( - t || - (0, i.ZP)("GQL URT: Failed to render Topic follow timeline", { - extra: (0, S.errorBreadcrumb)(e), - }), - !t && (0, a.jB)(e) - ); - }, - R = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchTopicLandingPage(t, n) { - const { cursor: i, data_lookup_id: a, topicId: o } = t; - return e - .graphQL( - b(), - { - rest_id: o, - cursor: i, - context: JSON.stringify({ data_lookup_id: a }), - ...(0, r.d)(_), - }, - V - ) - .then((e) => { - var _; - const t = - null == e || null == (_ = e.topic_by_rest_id) - ? void 0 - : _.topic_page; - return null != t && t.body ? t : A.ln; - }); - }, - fetchTopicsManagementPage(t, n = {}) { - const { cursor: i } = t; - return e - .graphQL(h(), { cursor: i, ...(0, r.d)(_) }, Z) - .then((e) => { - var _; - const t = - null == e || null == (_ = e.viewer) - ? void 0 - : _.topics_management_page; - return null != t && t.body ? t : A.ln; - }); - }, - fetchOneTopic(_, t = {}) { - const { topicId: i } = _; - return e - .graphQL(v(), { topicId: i }, G) - .then((e) => (0, n.Fv)(e.topic, Q.Z)); - }, - fetchTopicsPickerPage(t, n = {}) { - const { topicId: i } = t; - return i && "home" !== i - ? e.graphQL(q(), { topicId: i, ...(0, r.d)(_) }, E).then((e) => { - var _; - const t = - null == e || null == (_ = e.topic) - ? void 0 - : _.topics_picker_page; - return null != t && t.body ? t : A.ln; - }) - : e.graphQL(f(), { ...(0, r.d)(_) }, U).then((e) => { - var _; - const t = - null == e || null == (_ = e.viewer) - ? void 0 - : _.topics_picker_page; - return null != t && t.body ? t : A.ln; - }); - }, - fetchViewingOtherUsersTopicsPagePage(t, n = {}) { - const { context: i, cursor: a, userId: o } = t; - return e - .graphQL( - B(), - { userId: o, cursor: a, context: i, ...(0, r.d)(_) }, - Y - ) - .then((e) => { - var _, t, n; - return "User" === - (null == e || null == (_ = e.user) || null == (t = _.result) - ? void 0 - : t.__typename) && - e.user.result.viewing_other_users_topics_page && - null != (n = e.user.result.viewing_other_users_topics_page) && - n.body - ? e.user.result.viewing_other_users_topics_page - : A.ln; - }); - }, - fetchNoteworthyAccountsPage(t, n) { - const { cursor: i, topicId: a } = t; - return e - .graphQL(l(), { rest_id: a, cursor: i, ...(0, r.d)(_) }, j) - .then((e) => { - var _; - const t = - null == e || null == (_ = e.topic_by_rest_id) - ? void 0 - : _.noteworthy_accounts_page; - return null != t && t.body ? t : A.ln; - }); - }, - follow(_, t = {}) { - const { topicId: n } = _; - return e.graphQL(d(), { topicId: n }, M); - }, - unfollow(_, t = {}) { - const { topicId: n } = _; - return e.graphQL(P(), { topicId: n }, C); - }, - notInterested(_, t = {}) { - const { topicId: n } = _; - return e.graphQL(u(), { topicId: n }, z); - }, - undoNotInterested(_, t = {}) { - const { topicId: n } = _; - return e.graphQL(k(), { topicId: n }, N); - }, - fetchTopicsToFollowSidebar(t, n = {}) { - const { userId: i } = t; - return e - .graphQL(T(), { userId: i, ...(0, r.d)(_) }, O) - .then(S.parseUserScopedTimeline); - }, - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => r, Z: () => o }); - var n = t(6899), - i = t(46395), - a = t(90650); - const r = new n.fK.Entity( - "teams", - { user: a.Z }, - { - idAttribute: ({ user: e }) => e[a.Z.idAttribute] || e, - processStrategy: i.Z, - } - ), - o = new n.fK.Array(r); - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => l, ZH: () => s, kH: () => o }); - var n = t(78772), - i = t(52612), - a = t(57659), - r = t(62104); - const o = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - l = (e) => - (0, r.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === o.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === o.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: n.Z, - }), - s = (e) => (_, t) => { - const n = t(); - _( - e - .selectEntries(n) - .filter((e) => { - if (!e.content || e.type !== i.ZP.User) return !1; - const _ = e.content.id, - t = a.ZP.select(n, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Topics.01d7cc0a.js.map diff --git a/info/endpoints/endpoints.TrustedFriends.18a5636a.js b/info/endpoints/endpoints.TrustedFriends.18a5636a.js deleted file mode 100644 index 5203623..0000000 --- a/info/endpoints/endpoints.TrustedFriends.18a5636a.js +++ /dev/null @@ -1,57 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.TrustedFriends"], - { - 31903: (e) => { - e.exports = { - queryId: "QjN8ZdavFDqxUjNn3r9cig", - operationName: "AuthenticatedUserTFLists", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 20708: (e) => { - e.exports = { - queryId: "2tP8XUYeLHKjq5RHvuvpZw", - operationName: "CreateTrustedFriendsList", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 75323: (e, t, s) => { - "use strict"; - s.r(t), s.d(t, { default: () => u }); - var r = s(17360), - i = s(31903), - a = s.n(i), - n = s(20708), - d = s.n(n); - const u = ({ apiClient: e, featureSwitches: t }) => ({ - fetchAuthenticatedUserTFLists: () => - e - .graphQL( - a(), - {}, - (0, r.kj)( - (e) => - !(null != e && e.authenticated_user_trusted_friends_lists), - "GQL Trusted Friends: Failed to fetch trusted friends lists" - ) - ) - .then((e) => e), - createTrustedFriendsList: () => - e - .graphQL( - d(), - {}, - (0, r.kj)( - (e) => !(null != e && e.trusted_friends_list_create), - "GQL Trusted Friends: Failed to create trusted friends list" - ) - ) - .then((e) => e), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TrustedFriends.18a5636a.js.map diff --git a/info/endpoints/endpoints.TweetActivity.7e0afbaa.js b/info/endpoints/endpoints.TweetActivity.7e0afbaa.js deleted file mode 100644 index 785e4b2..0000000 --- a/info/endpoints/endpoints.TweetActivity.7e0afbaa.js +++ /dev/null @@ -1,199 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.TweetActivity"], - { - 64728: (e) => { - e.exports = { - queryId: "4UCAqbA6K7LRYlwSiuImIw", - operationName: "Favoriters", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 12505: (e) => { - e.exports = { - queryId: "yTkZT3ynT87umyc8KzYYxQ", - operationName: "Retweeters", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 79115: (e) => { - e.exports = { - queryId: "8eaWKjHszkS-G_hprUd9AA", - operationName: "TweetEditHistory", - operationType: "query", - metadata: { - featureSwitches: [ - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 4972: (e, _, t) => { - "use strict"; - t.r(_), t.d(_, { default: () => b }); - var i = t(83175), - n = t(64728), - r = t.n(n), - a = t(12505), - l = t.n(a), - s = t(79115), - o = t.n(s), - d = t(82249); - const b = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchLikedBy: ({ count: t, cursor: n, tweetId: a }) => - e - .graphQL( - r(), - { - tweetId: a, - count: t, - cursor: n, - includePromotedContent: !0, - ...(0, i.d)(_), - }, - (e, _) => { - var t; - return !( - null != _ && - null != (t = _.favoriters_timeline) && - t.timeline - ); - } - ) - .then((e) => { - var _; - return ( - (null == e || null == (_ = e.favoriters_timeline) - ? void 0 - : _.timeline) || d.cY - ); - }), - fetchRetweetedBy: ({ count: t, cursor: n, tweetId: r }) => - e - .graphQL( - l(), - { - tweetId: r, - count: t, - cursor: n, - includePromotedContent: !0, - ...(0, i.d)(_), - }, - (e, _) => { - var t; - return !( - null != _ && - null != (t = _.retweeters_timeline) && - t.timeline - ); - } - ) - .then((e) => { - var _; - return ( - (null == e || null == (_ = e.retweeters_timeline) - ? void 0 - : _.timeline) || d.cY - ); - }), - fetchEditHistory: ({ tweetId: t }) => - e - .graphQL( - o(), - { - tweetId: t, - ...(0, i.d)(_), - withQuickPromoteEligibilityTweetFields: !0, - }, - (e, _) => { - var t; - return !( - null != _ && - null != (t = _.tweet_result_by_rest_id) && - t.result - ); - } - ) - .then((e) => { - var _, t; - return ( - ((null == e || null == (_ = e.tweet_result_by_rest_id) - ? void 0 - : _.result) && - e.tweet_result_by_rest_id.result.edit_history_timeline && - (null == - (t = e.tweet_result_by_rest_id.result.edit_history_timeline) - ? void 0 - : t.timeline)) || - d.cY - ); - }), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetActivity.7e0afbaa.js.map diff --git a/info/endpoints/endpoints.TweetStats.4c3b05da.js b/info/endpoints/endpoints.TweetStats.4c3b05da.js deleted file mode 100644 index 53c3674..0000000 --- a/info/endpoints/endpoints.TweetStats.4c3b05da.js +++ /dev/null @@ -1,768 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.TweetStats", "endpoints.Graphql"], - { - 29848: (e) => { - e.exports = { - queryId: "h52d1F7dumWGE1tJAhQBpg", - operationName: "BlockedAccountsAll", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 57274: (e) => { - e.exports = { - queryId: "8w-D2OhT0jmGzXaNY--UQA", - operationName: "BlockedAccountsAutoBlock", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 2216: (e) => { - e.exports = { - queryId: "8LDNeOEm0kA98uoDsqXvMg", - operationName: "BlockedAccountsImported", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 41839: (e) => { - e.exports = { - queryId: "JpFFCTBPxYVlDqMUr9twzQ", - operationName: "Followers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97621: (e) => { - e.exports = { - queryId: "RvojYJJB90VwJ0rdVhbjMQ", - operationName: "FollowersYouKnow", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87669: (e) => { - e.exports = { - queryId: "b22I8WSfQ8H4Ev8486xAlQ", - operationName: "Following", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 75840: (e) => { - e.exports = { - queryId: "LZfAdxTdNolKXw6ZkoY_kA", - operationName: "GenericTimelineById", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 50931: (e) => { - e.exports = { - queryId: "hnaqw2Vok5OETdBVa_uexw", - operationName: "ModeratedTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 59113: (e) => { - e.exports = { - queryId: "-G9eXTmseyiSenbqjrEG6w", - operationName: "MutedAccounts", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 26491: (e) => { - e.exports = { - queryId: "o0YtPFnd4Lk_pOQb9alCvA", - operationName: "SuperFollowers", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 21760: (e) => { - e.exports = { - queryId: "EvbTkPDT-xQCfupPu0rWMA", - operationName: "TweetStats", - operationType: "query", - metadata: { - featureSwitches: [ - "profile_foundations_tweet_stats_enabled", - "profile_foundations_tweet_stats_tweet_frequency", - ], - }, - }; - }, - 16221: (e) => { - e.exports = { - queryId: "D8mVcJSVv66_3NcR7fOf6g", - operationName: "ViewerTeams", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 97534: (e, _, t) => { - "use strict"; - t.r(_), - t.d(_, { - default: () => V, - errorBreadcrumb: () => Z, - isFatalGenericTimelineError: () => M, - isFatalModeratedTimelineError: () => j, - isFatalTeamsResponseError: () => C, - isFatalUserScopedFollowTimelineError: () => U, - isFatalViewerScopedFollowTimelineError: () => N, - parseUserScopedTimeline: () => P, - parseViewerScopedTimeline: () => E, - }); - var n = t(58955), - i = t(79363), - r = t(72599), - a = t(32091), - l = t(17360), - s = t(83175), - o = t(6899), - d = t(49890); - const p = (e = []) => { - const _ = e.map(({ user_results: e, ..._ }) => { - var t; - let n; - if ( - "User" === - (null == e || null == (t = e.result) ? void 0 : t.__typename) - ) { - const { __typename: _, ...t } = e.result; - n = t; - } - return { user: n, ..._ }; - }); - return (0, o.Fv)(_, d.Z); - }; - var b = t(29848), - c = t.n(b), - u = t(57274), - w = t.n(u), - m = t(2216), - v = t.n(m), - h = t(41839), - f = t.n(h), - g = t(97621), - y = t.n(g), - q = t(87669), - x = t.n(q), - T = t(75840), - k = t.n(T), - A = t(50931), - B = t.n(A), - I = t(59113), - F = t.n(I), - S = t(26491), - G = t.n(S), - Q = t(16221), - L = t.n(Q), - z = t(82249); - const P = (e) => { - var _; - let t = z.cY; - var n; - null != e && - null != (_ = e.user) && - _.result && - "User" === e.user.result.__typename && - (t = - (null == (n = e.user.result.timeline) ? void 0 : n.timeline) || - z.cY); - return t; - }, - Z = (e) => { - var _; - return { code: null == (_ = e[0]) ? void 0 : _.code }; - }, - E = (e) => { - let _ = z.cY; - var t; - null != e && - e.viewer && - (_ = - (null == (t = e.viewer.timeline) ? void 0 : t.timeline) || z.cY); - return _; - }, - C = (e) => - Array.isArray(e) && - !(0, i.Z)( - e, - (e) => - Array.isArray(e.path) && - /^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")) - ), - U = (e, _) => { - var t, n; - const i = - "User" === - (null == _ || null == (t = _.user) || null == (n = t.result) - ? void 0 - : n.__typename) && _.user.result.timeline; - return ( - i || - (0, r.ZP)("GQL URT: Failed to render Follow timeline", { - extra: Z(e), - }), - !i && (0, l.jB)(e) - ); - }, - N = (e, _) => { - var t; - const n = null == _ || null == (t = _.viewer) ? void 0 : t.timeline; - return ( - n || - (0, r.ZP)("GQL URT: Failed to render Subscriptions timeline", { - extra: Z(e), - }), - !n && (0, l.jB)(e) - ); - }, - Y = (e, _) => { - var t, n; - const i = - null == _ || - null == (t = _.viewer) || - null == (n = t.muting_timeline) - ? void 0 - : n.timeline; - return ( - i || - (0, r.ZP)("GQL URT: Failed to render Muting timeline", { - extra: Z(e), - }), - !i && (0, l.jB)(e) - ); - }, - j = (e, _) => { - var t, n; - const i = - "Tweet" === - (null == _ || null == (t = _.tweet.result) - ? void 0 - : t.__typename) && - (null == (n = _.tweet.result.timeline_response) - ? void 0 - : n.timeline); - return ( - i || - (0, r.ZP)( - "GQL URT: Failed to render ModeratedTimeline timeline", - { extra: Z(e) } - ), - !i && (0, l.jB)(e) - ); - }, - M = (e, _) => { - var t; - const n = null == _ || null == (t = _.timeline) ? void 0 : t.timeline; - return ( - n || - (0, r.ZP)("GQL URT: Failed to render GenericTimelineById", { - extra: Z(e), - }), - !n && (0, l.jB)(e) - ); - }; - function R(e, _, t) { - let n; - function i(e) { - return ( - e && - e.viewer && - e.viewer && - e.viewer.timeline && - e.viewer.timeline.timeline - ); - } - return ( - (n = e === a.kH.Imported ? v() : e === a.kH.AutoBlock ? w() : c()), - ({ count: a, cursor: o }) => - _.graphQL( - n, - { - count: a, - cursor: o, - includePromotedContent: !1, - ...(0, s.d)(t), - withSafetyModeUserFields: t.isTrue( - "rito_safety_mode_features_enabled" - ), - }, - (_, t) => { - const n = i(t); - return ( - n || - (0, r.ZP)( - `GQL URT: Failed to query for Blocked Accounts [${e}]`, - { extra: Z(_) } - ), - !n && (0, l.jB)(_) - ); - } - ).then((e) => i(e) || z.cY) - ); - } - const V = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchBlockedAccountsImportedGraphql: R(a.kH.Imported, e, _), - fetchBlockedAccountsAllGraphql: R(a.kH.All, e, _), - fetchBlockedAccountsAutoBlockGraphql: R(a.kH.AutoBlock, e, _), - fetchFollowers: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - f(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - U - ) - .then(P), - fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - y(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - U - ) - .then(P), - fetchFollowing: ({ count: t, cursor: n, userId: i }) => - e - .graphQL( - x(), - { - userId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - U - ) - .then(P), - fetchSuperFollowers: ({ count: t, cursor: n }) => - e - .graphQL( - G(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - N - ) - .then(E), - fetchViewerTeams: () => - e - .graphQLFullResponse(L(), { ...(0, s.S)(_) }, C) - .then(({ data: e, errors: _ }) => { - const { viewer: t } = e, - i = (t && t.teams && t.teams.act_as) || []; - if (!_ || !_.length) return i; - const r = (0, n.Z)(_.map((e) => e.path && e.path[3])); - return i.filter((e, _) => !r.has(_)); - }) - .then(p), - fetchModeratedTimeline: ({ count: t, cursor: n, rootTweetId: i }) => - e - .graphQL( - B(), - { - rootTweetId: i, - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - j - ) - .then((e) => { - var _; - if ( - "Tweet" === - (null == (_ = e.tweet.result) ? void 0 : _.__typename) - ) { - var t, n; - return ( - (null == (t = e.tweet.result) || - null == (n = t.timeline_response) - ? void 0 - : n.timeline) || z.cY - ); - } - return z.cY; - }), - fetchMutedAccounts: ({ count: t, cursor: n }) => - e - .graphQL( - F(), - { - count: t, - cursor: n, - includePromotedContent: !1, - ...(0, s.d)(_), - }, - Y - ) - .then((e) => { - var _, t; - return ( - (null == (_ = e.viewer) || null == (t = _.muting_timeline) - ? void 0 - : t.timeline) || z.cY - ); - }), - fetchGenericTimelineById: ({ count: t, cursor: n, timelineId: i }) => - e - .graphQL( - k(), - { - timelineId: i, - count: t, - cursor: n, - withQuickPromoteEligibilityTweetFields: !0, - ...(0, s.d)(_), - }, - M - ) - .then((e) => { - var _; - return (null == (_ = e.timeline) ? void 0 : _.timeline) || z.cY; - }), - }); - }, - 77421: (e, _, t) => { - "use strict"; - t.r(_), t.d(_, { default: () => o, isFetchFail: () => s }); - var n = t(72599), - i = t(17360), - r = t(21760), - a = t.n(r), - l = t(97534); - const s = (e, _) => { - var t; - return ( - (null == _ || null == (t = _.result) ? void 0 : t.user) || - (0, n.ZP)("GQL TweetStats: Failed to load User Tweet Stats", { - extra: (0, l.errorBreadcrumb)(e), - }), - (0, i.jB)(e) - ); - }, - o = ({ apiClient: e, featureSwitches: _ }) => ({ - fetchUserTweetStats: ({ user_id: _ }) => - e.graphQL(a(), { rest_id: _ }, s).then((e) => { - var t, n; - return { - tweet_stats: (null == (t = e.result) || null == (n = t.user) - ? void 0 - : n.tweet_stats) || { tweet_frequency: void 0 }, - user_id: _, - }; - }), - }); - }, - 49890: (e, _, t) => { - "use strict"; - t.d(_, { B: () => a, Z: () => l }); - var n = t(6899), - i = t(46395), - r = t(90650); - const a = new n.fK.Entity( - "teams", - { user: r.Z }, - { - idAttribute: ({ user: e }) => e[r.Z.idAttribute] || e, - processStrategy: i.Z, - } - ), - l = new n.fK.Array(a); - }, - 32091: (e, _, t) => { - "use strict"; - t.d(_, { Gm: () => s, ZH: () => o, kH: () => l }); - var n = t(78772), - i = t(52612), - r = t(57659), - a = t(62104); - const l = { All: "any", AutoBlock: "autoblock", Imported: "imported" }, - s = (e) => - (0, a.Z)({ - timelineId: `blockedAccountsGraphQL-${e}`, - network: { - getEndpoint: (_) => - e === l.Imported - ? _.Graphql.fetchBlockedAccountsImportedGraphql - : e === l.AutoBlock - ? _.Graphql.fetchBlockedAccountsAutoBlockGraphql - : _.Graphql.fetchBlockedAccountsAllGraphql, - getEndpointParams: ({ count: e, cursor: _ }) => ({ - count: e, - cursor: "string" == typeof _ ? _ : void 0, - }), - }, - context: "FETCH_BLOCKED_ACCOUNTS", - perfKey: "blockedAccountsGraphQL", - formatResponse: n.Z, - }), - o = (e) => (_, t) => { - const n = t(); - _( - e - .selectEntries(n) - .filter((e) => { - if (!e.content || e.type !== i.ZP.User) return !1; - const _ = e.content.id, - t = r.ZP.select(n, _); - return t && !t.blocking; - }) - .map((_) => e.removeEntry(_.entryId)) - ); - }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetStats.4c3b05da.js.map diff --git a/info/endpoints/endpoints.TwitterArticles.993c8cea.js b/info/endpoints/endpoints.TwitterArticles.993c8cea.js deleted file mode 100644 index 2ca7665..0000000 --- a/info/endpoints/endpoints.TwitterArticles.993c8cea.js +++ /dev/null @@ -1,406 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.TwitterArticles"], - { - 44967: (e) => { - e.exports = { - queryId: "aV-sm-IkvwplcxdYDoLZHQ", - operationName: "TwitterArticleCreate", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 97989: (e) => { - e.exports = { - queryId: "6st-stMDc7KBqLT8KvWhHg", - operationName: "TwitterArticleDelete", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 27730: (e) => { - e.exports = { - queryId: "hwrvh-Qt24lcprL-BDfqRA", - operationName: "TwitterArticleByRestId", - operationType: "query", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 62170: (e) => { - e.exports = { - queryId: "fpcVRSAsjvkwmCiN1HheqQ", - operationName: "TwitterArticleUpdateCoverImage", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 32952: (e) => { - e.exports = { - queryId: "XpBTYp_QXwyZ0XT0JXCBJw", - operationName: "TwitterArticleUpdateData", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 34957: (e) => { - e.exports = { - queryId: "3ojmmegfBC_oHyrmPhxj-g", - operationName: "TwitterArticleUpdateMedia", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 4224: (e) => { - e.exports = { - queryId: "dvH6Ql989I4e5jWEV7HfaQ", - operationName: "TwitterArticleUpdateTitle", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 87139: (e) => { - e.exports = { - queryId: "8M35gHyfpcy3S4UXejUGfA", - operationName: "TwitterArticleUpdateVisibility", - operationType: "mutation", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 63711: (e) => { - e.exports = { - queryId: "UUPSi_aS8_kHDFTWqSBPUA", - operationName: "TwitterArticlesSlice", - operationType: "query", - metadata: { - featureSwitches: [ - "responsive_web_twitter_article_data_v2_enabled", - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 11896: (e, t, _) => { - "use strict"; - _.r(t), _.d(t, { default: () => k }); - var i = _(6899), - a = _(17360), - n = _(83175); - const r = new i.fK.Entity( - "twitterArticles", - {}, - { idAttribute: "rest_id" } - ); - var l = _(46395); - const s = new i.fK.Entity( - "twitterArticles", - {}, - { - processStrategy: (e, t, _) => { - const { twitter_article: i } = e; - return (0, l.Z)({ ...i }, t, _); - }, - idAttribute: (e) => { - var t; - return null == e || null == (t = e.twitter_article) - ? void 0 - : t.rest_id; - }, - } - ); - var o = _(44967), - d = _.n(o), - p = _(97989), - b = _.n(p), - w = _(27730), - c = _.n(w), - v = _(63711), - h = _.n(v), - u = _(62170), - m = _.n(u), - g = _(32952), - f = _.n(g), - y = _(34957), - q = _.n(y), - x = _(4224), - A = _.n(x), - T = _(87139), - I = _.n(T), - S = _(82249); - const k = ({ apiClient: e, featureSwitches: t }) => ({ - fetchTwitterArticle(_) { - const { twitterArticleId: l } = _; - return e - .graphQL( - c(), - { twitterArticleId: l, ...(0, n.d)(t) }, - (0, a.kj)( - (e) => !(null != e && e.twitterArticle), - "GQL TwitterArticles: Failed to fetch Twitter Article" - ) - ) - .then((e) => (0, i.Fv)(e.twitterArticle, r)); - }, - createTwitterArticle(_) { - const { contentStateJson: a } = _; - return e - .graphQL(d(), { data: { content_state_json: a }, ...(0, n.d)(t) }) - .then((e) => (0, i.Fv)(e.create_twitter_article, r)); - }, - deleteTwitterArticle(t) { - const { twitterArticleId: _ } = t; - return e - .graphQL(b(), { twitterArticleId: _ }) - .then((e) => e.delete_twitter_article); - }, - updateTwitterArticleCoverImage(_) { - const { mediaId: a, twitterArticleId: l } = _; - return e - .graphQL(m(), { twitterArticleId: l, mediaId: a, ...(0, n.d)(t) }) - .then((e) => (0, i.Fv)(e.update_twitter_article_cover_image, r)); - }, - updateTwitterArticleData(_) { - const { - contentStateJson: a, - plaintext: l, - twitterArticleId: s, - wordCount: o, - } = _; - return e - .graphQL(f(), { - twitterArticleId: s, - data: { content_state_json: a, plaintext: l, word_count: o }, - ...(0, n.d)(t), - }) - .then((e) => (0, i.Fv)(e.update_twitter_article, r)); - }, - updateTwitterArticleMedia(_) { - const { mediaKeys: a, twitterArticleId: l } = _; - return e - .graphQL(q(), { twitterArticleId: l, mediaKeys: a, ...(0, n.d)(t) }) - .then((e) => (0, i.Fv)(e.update_twitter_article_media, r)); - }, - updateTwitterArticleTitle(_) { - const { title: a, twitterArticleId: l } = _; - return e - .graphQL(A(), { twitterArticleId: l, title: a, ...(0, n.d)(t) }) - .then((e) => (0, i.Fv)(e.update_twitter_article_title, r)); - }, - updateTwitterArticleVisibility(_) { - const { twitterArticleId: a, visibility: l } = _; - return e - .graphQL(I(), { - twitterArticleId: a, - visibility: l, - ...(0, n.d)(t), - }) - .then((e) => (0, i.Fv)(e.update_twitter_article_visibility, r)); - }, - fetchTwitterArticlesSlice: (_) => - _ && t.isTrue("responsive_web_twitter_article_view_enabled") - ? e - .graphQL( - h(), - { ..._, ...(0, n.d)(t) }, - (0, a.kj)( - (e) => !1, - "GQL TwitterArticles: Failed to fetch Twitter Articles Slice" - ) - ) - .then((e) => { - const t = ((e) => { - const t = null == e ? void 0 : e.user.result; - if ("User" === (null == t ? void 0 : t.__typename)) - return null == t ? void 0 : t.twitter_articles_slice; - })(e); - if (t) { - const { items: e, slice_info: _ } = t, - { entities: a, result: n } = (0, i.Fv)(e, [s]); - return { entities: a, result: n, slice_info: _ }; - } - return S.d; - }) - : Promise.resolve(S.d), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TwitterArticles.993c8cea.js.map diff --git a/info/endpoints/endpoints.Typeahead.da6cc00a.js b/info/endpoints/endpoints.Typeahead.da6cc00a.js deleted file mode 100644 index f485ad8..0000000 --- a/info/endpoints/endpoints.Typeahead.da6cc00a.js +++ /dev/null @@ -1,311 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Typeahead"], - { - 17883: (e) => { - e.exports = { - queryId: "NEwac2-8ONgf0756ne8oXA", - operationName: "CommunityMemberRelationshipTypeahead", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 56667: (e) => { - e.exports = { - queryId: "gi_UGcUurYp6N6p2BaLJqQ", - operationName: "CommunityUserRelationshipTypeahead", - operationType: "query", - metadata: { featureSwitches: [] }, - }; - }, - 29337: (e) => { - e.exports = { - queryId: "RRnOwHttRGscWKC1zY9VRA", - operationName: "TrustedFriendsTypeahead", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 43524: (e, t, r) => { - "use strict"; - r.r(t), r.d(t, { default: () => v }); - var i = r(6899), - s = r(70151), - n = r(90968), - _ = r(95212), - a = r(45611); - function u(e) { - const { - community_results: { rest_id: t }, - role: r, - user_results: { result: i }, - } = e; - if (!i || "User" !== i.__typename || !e) return; - const { id: s, legacy: n, rest_id: _ } = i, - a = null == n ? void 0 : n.screen_name; - return a - ? { id_str: `${t}_${_}`, role: r, user: { id: s, screen_name: a } } - : void 0; - } - const l = new i.fK.Entity(a.L, {}, { idAttribute: "id_str" }); - var o = r(12006), - d = r(17883), - m = r.n(d), - c = r(56667), - p = r.n(c), - y = r(29337), - f = r.n(y); - const h = (e) => - e - .map((e) => { - const { result: t } = e.user_results; - if ("User" === (null == t ? void 0 : t.__typename) && t.legacy) { - const e = t.legacy; - return { - id_str: t.rest_id, - is_blue_verified: t.is_blue_verified, - profile_image_url_https: e.profile_image_url_https || "", - can_dm: e.can_dm || !1, - can_media_tag: e.can_media_tag || !1, - protected: e.protected || !1, - verified: e.verified || !1, - name: e.name || "", - screen_name: e.screen_name || "", - }; - } - }) - .filter(Boolean), - v = ({ apiClient: e, featureSwitches: t }) => ({ - fetch(r, i = {}) { - const n = t.isTrue("blue_business_consumption_api_enabled"), - _ = t.isTrue("blue_business_profile_image_shape_enabled"), - a = { - include_ext_is_blue_verified: 1, - ...(0, s.Z)(n ? { include_ext_verified_type: 1 } : null), - ...(0, s.Z)(_ ? { include_ext_profile_image_shape: 1 } : null), - ...r, - }; - return e.get("search/typeahead", a, i); - }, - fetchTrustedFriendsSuggestions: (t) => - e - .graphQL(f(), { - trustedFriendsId: t.trustedFriendsId, - prefix: t.prefix, - }) - .then((e) => ({ - events: [], - lists: [], - ordered_sections: [], - topics: [], - users: - e.trusted_friends_list_by_rest_id.recommended_members_typeahead_results - .map((e) => { - const { result: t } = e; - if ( - "User" === (null == t ? void 0 : t.__typename) && - t.legacy - ) { - var r, i, s; - const e = t.legacy; - return { - id_str: t.rest_id, - is_trusted_friends_list_member: - t.is_trusted_friends_list_member, - profile_image_url_https: - e.profile_image_url_https || "", - can_dm: e.can_dm || !1, - can_media_tag: e.can_media_tag || !1, - protected: e.protected || !1, - verified: e.verified || !1, - is_blue_verified: - null != (r = t.is_blue_verified) && r, - verified_type: - null != (i = t.legacy.verified_type) ? i : void 0, - name: e.name || "", - screen_name: e.screen_name || "", - highlightedLabel: (0, o.H)( - null == - (s = t.identity_profile_labels_highlighted_label) - ? void 0 - : s.label - ), - profile_image_shape: t.profile_image_shape, - }; - } - }) - .filter(Boolean), - })), - fetchCommunityInviteUsers: (t) => - e - .graphQL(p(), { communityId: t.communityId, prefix: t.prefix }) - .then((e) => { - var t; - const r = - "Community" === - (null == (t = e.communityResults.result) - ? void 0 - : t.__typename) && e.communityResults.result; - if (!r) - return { - events: [], - lists: [], - ordered_sections: [], - topics: [], - users: [], - invite_action_results: { result: [] }, - }; - const s = r.user_relationship_typeahead, - n = h(s), - a = s.map(_.W).filter(Boolean); - return { - events: [], - lists: [], - ordered_sections: [], - topics: [], - users: n, - invite_action_results: (0, i.Fv)(a, [_.Z]), - }; - }), - fetchCommunityMembers: (t) => - e - .graphQL(m(), { communityId: t.communityId, prefix: t.prefix }) - .then((e) => { - var t; - const r = - "Community" === - (null == (t = e.communityResults.result) - ? void 0 - : t.__typename) && e.communityResults.result; - if (!r) - return { - events: [], - lists: [], - ordered_sections: [], - topics: [], - users: [], - user_community_relationships: { result: [] }, - }; - const s = r.member_relationship_typeahead.filter( - (e) => e.role !== n.WW.NonMember - ), - _ = h(s).filter((e) => !!e.screen_name), - a = s.map(u).filter(Boolean); - return { - events: [], - lists: [], - ordered_sections: [], - topics: [], - users: _, - user_community_relationships: (0, i.Fv)(a, [l]), - }; - }), - prefetchUsers(r, i = {}) { - const n = t.isTrue("blue_business_consumption_api_enabled"), - _ = t.isTrue("blue_business_profile_image_shape_enabled"), - a = { - prefetch: !0, - media_tagging_in_prefetch: !0, - result_type: "users", - include_ext_is_blue_verified: 1, - ...(0, s.Z)(n ? { include_ext_verified_type: 1 } : null), - ...(0, s.Z)(_ ? { include_ext_profile_image_shape: 1 } : null), - ...r, - }; - return e.get("search/typeahead", a, i); - }, - }); - }, - 12006: (e, t, r) => { - "use strict"; - r.d(t, { H: () => s }); - var i = r(3760); - function s(e) { - if (!e) return; - const { - badge: t, - description: r, - url: s, - userLabelDisplayType: n, - userLabelType: _, - } = e; - return { - badge: t, - description: r, - userLabelType: _, - userLabelDisplayType: n, - url: s && (0, i.Z)(s), - }; - } - }, - 45611: (e, t, r) => { - "use strict"; - r.d(t, { L: () => l, Z: () => c }); - r(6886); - var i = r(15729), - s = r(90968), - n = r(36325), - _ = r(23006), - a = r(29122), - u = r(91191); - const l = "userCommunityRoleRelationship", - o = (0, a.ZP)({ namespace: l }), - d = { - markUserAsRemovedFromCommunity: (0, a.Tx)( - o, - "markUserAsRemovedFromCommunity", - { - getMeta: (e) => { - const [t, r] = e.split("_"); - return { communityId: t, entityId: e, userId: r }; - }, - reducer: (e, t) => { - const { entityId: r } = t.meta; - return r - ? (0, i.ZP)(e, (e) => { - e.entities[r] && (e.entities[r].role = s.WW.NonMember); - }) - : e; - }, - relayStoreUpdater: (e, t) => { - var r; - const { communityId: i, userId: s } = t, - a = e.get((0, n.WG)("Community", i)), - u = (0, _.h)(a), - l = - null == u || - null == (r = u.getLinkedRecords("items_results")) - ? void 0 - : r.filter((e) => { - var t; - return ( - (null == e || - null == (t = e.getLinkedRecord("result")) - ? void 0 - : t.getValue("rest_id")) !== s - ); - }); - l && (null == u || u.setLinkedRecords(l, "items_results")); - }, - context: "MARK_USER_AS_REMOVED_FROM_COMMUNITY", - } - ), - }, - m = { ...o, ...d }, - c = u.Z.register(m); - }, - 23006: (e, t, r) => { - "use strict"; - r.d(t, { h: () => s }); - var i = r(23555); - const s = (e) => - e && (0, i.$R)(e, "CommunityMembers_Query_members_slice"); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Typeahead.da6cc00a.js.map diff --git a/info/endpoints/endpoints.URT.cf027bba.js b/info/endpoints/endpoints.URT.cf027bba.js deleted file mode 100644 index d2328fb..0000000 --- a/info/endpoints/endpoints.URT.cf027bba.js +++ /dev/null @@ -1,415 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.URT"], - { - 58274: (e) => { - e.exports = { - queryId: "lq02A-gEzbLefqTgD_PFzQ", - operationName: "ConnectTabTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 34758: (e) => { - e.exports = { - queryId: "fkypGKlR9Xz9kLvUZDLoXw", - operationName: "ExplorePage", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 43847: (e) => { - e.exports = { - queryId: "gkjsKepM6gl_HmFWoWKfgg", - operationName: "SearchTimeline", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 31063: (e) => { - e.exports = { - queryId: "vfVbgvTPTQ-dF_PQ5lD1WQ", - operationName: "timelinesFeedback", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 83230: (e) => { - e.exports = { - queryId: "I_0j1mjMwv94SdS66S4pqw", - operationName: "UrtFixtures", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "tweetypie_unmention_optimization_enabled", - "vibe_api_enabled", - "responsive_web_edit_tweet_api_enabled", - "graphql_is_translatable_rweb_tweet_is_translatable_enabled", - "view_counts_everywhere_api_enabled", - "longform_notetweets_consumption_enabled", - "tweet_awards_web_tipping_enabled", - "freedom_of_speech_not_reach_fetch_enabled", - "standardized_nudges_misinfo", - "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled", - "interactive_text_enabled", - "responsive_web_text_conversations_enabled", - "longform_notetweets_rich_text_read_enabled", - "responsive_web_enhance_cards_enabled", - ], - }, - }; - }, - 7276: (e, t, n) => { - "use strict"; - n.r(t), n.d(t, { default: () => T, getDefaults: () => x }); - var _ = n(98209), - i = n(93333), - a = n(17360), - r = n(83175), - s = n(58274), - o = n.n(s), - l = n(34758), - d = n.n(l), - c = n(43847), - p = n.n(c), - b = n(31063), - u = n.n(b), - m = n(83230), - h = n.n(m), - w = n(6623), - g = n(82249), - v = n(87233), - f = n(55371); - const x = (e) => ({ - ...f.getGlobalDefaults(e), - ...v.getGlobalDefaults(e), - include_entities: !0, - include_user_entities: !0, - include_ext_media_color: !0, - include_ext_media_availability: !0, - include_ext_sensitive_media_warning: !0, - include_ext_trusted_friends_metadata: !0, - send_error_codes: !0, - simple_quoted_tweet: !0, - }), - y = { pc: 1, spelling_corrections: 1 }, - T = ({ apiClient: e, featureSwitches: t }) => ({ - fetchNotifications(n, _ = {}) { - const { type: i, ...a } = n; - return e.getURT( - `notifications/${i}`, - Object.assign({}, x(t), a, (0, w.Y)(t)), - _ - ); - }, - fetchNotificationsUnreadCount(t, n = {}) { - const { type: _, ...i } = t; - return e.getURT( - `notifications/${_}/unread_count`, - { ...i, include_tweet_replies: !0 }, - n - ); - }, - updateNotificationsLastSeenCursor(t, n = {}) { - const { type: _, ...i } = t; - return e.postURT(`notifications/${_}/last_seen_cursor`, i, {}, n); - }, - fetchSearch: (n, i = {}) => - e.getURT( - "search/adaptive", - Object.assign( - {}, - x(t), - n, - y, - { - include_ext_edit_control: t.isTrue( - "responsive_web_edit_tweet_api_enabled" - ), - }, - (0, w.Y)(t), - ((e) => - _.Z.shouldDisablePromotedContentFromRequests(e) - ? { pc: "0" } - : {})(t), - {} - ), - i - ), - fetchSearchGraphQL: ({ - count: n, - cursor: _, - product: i, - querySource: s, - rawQuery: o, - }) => - e - .graphQL( - p(), - { - rawQuery: o || "", - count: n, - cursor: _, - querySource: s, - product: i, - ...(0, r.d)(t), - }, - (0, a.kj)((e) => { - var t, n; - return !( - null != e && - null != (t = e.search_by_raw_query) && - null != (n = t.search_timeline) && - n.timeline - ); - }, "GQL URT: Failed to render SearchTimeline") - ) - .then((e) => { - var t, n; - return ( - (null == (t = e.search_by_raw_query) || - null == (n = t.search_timeline) - ? void 0 - : n.timeline) || g.cY - ); - }), - fetchGeneric(n, _ = {}) { - const { endpointUrl: i, ...a } = n; - return e.getUnversioned( - i, - Object.assign({}, x(t), a, (0, w.Y)(t)), - { ..._, ...(0, w.c)() } - ); - }, - fetchReactiveInstructions(n, _ = {}) { - const { timeout: i, ...a } = n; - return e.getURT( - "timeline/reactive", - Object.assign({}, x(t), a, (0, w.Y)(t)), - _, - ".json", - i - ); - }, - fetchTestFixtures: (n, _) => - e.getURT("timeline/fixture", Object.assign({}, x(t), n), { - ..._, - ...(0, w.c)(), - }), - fetchTestGraphqlFixtures: (n, _) => - e - .graphQL( - h(), - { includePromotedContent: !0, ...(0, r.d)(t) }, - (e, t) => { - var n, _; - return !( - null != t && - null != (n = t.viewer) && - null != (_ = n.urt_fixture) && - _.timeline - ); - } - ) - .then((e) => { - var t, n; - return null == e || - null == (t = e.viewer) || - null == (n = t.urt_fixture) - ? void 0 - : n.timeline; - }), - fetchExplore: (n, _) => - e.getURT("guide", Object.assign({}, x(t), n, (0, w.Y)(t)), { - ..._, - ...(0, w.c)(), - }), - fetchExploreGraphQL: ({ context: n, cursor: _ }) => - e - .graphQL( - d(), - { cursor: _ ? _.toString() : "", context: n, ...(0, r.d)(t) }, - (0, a.kj)( - (e) => !(null != e && e.explore_page), - "GQL URT: Failed to render Explore GraphQL" - ) - ) - .then((e) => e.explore_page || g.ln), - fetchUserMoments(n, _) { - const a = { - ..._, - ...(0, i.Z)(n.activeTeamId), - ...(0, w.c)(), - "content-type": "application/json", - }, - { includeCapsuleContents: r, ...s } = n; - return e.getURT( - "moments/list_user_moments", - Object.assign({}, x(t), s, { include_capsule_contents: r }), - a - ); - }, - postCustomEndpoint(t, n = {}) { - const { endpoint: _, ...i } = t; - return e.postUnversioned(_, i, n); - }, - fetchLiveEventTimeline(n, _) { - const { eventId: i, ...a } = n; - return e.getURT( - `live_event/timeline/${i}`, - Object.assign({}, x(t), a, (0, w.Y)(t), { - urt: !0, - get_annotations: t.isTrue("moment_annotations_enabled"), - }), - { ..._, ...(0, w.c)() } - ); - }, - fetchExploreTopic: (n, _ = {}) => - e.getURT("guide/topic", Object.assign({}, x(t), n, (0, w.Y)(t)), _), - fetchNewsLandingTimeline: (n, _ = {}) => - e.getURT("rux", Object.assign({}, x(t), n, (0, w.Y)(t)), _), - fetchRichConnectTimeline: (n, _ = {}) => - e.getURT( - "people_discovery/modules_urt", - Object.assign({}, x(t), n, (0, w.Y)(t)), - _ - ), - fetchRichSuggestedTimeline: (n, _ = {}) => - e.getURT( - "people_discovery/modules_urt", - Object.assign({}, x(t), n, (0, w.Y)(t)), - _ - ), - fetchNUXUserRecommendations: (n, _ = {}) => - e.getURT( - "onboarding/fetch_user_recommendations_urt", - Object.assign({}, x(t), n, (0, w.Y)(t)), - _ - ), - submitTimelinesFeedback: (t) => e.graphQL(u(), { ...t }), - fetchRichConnectTimelineGraphql: ({ - context: n, - count: _, - cursor: i, - }) => - e - .graphQL( - o(), - { count: _, cursor: i, context: n, ...(0, r.d)(t) }, - (0, a.kj)((e) => { - var t; - return !( - null != e && - null != (t = e.connect_tab_timeline) && - t.timeline - ); - }, "GQL URT: Failed to render ConnectTabTimeline") - ) - .then((e) => { - var t; - return ( - (null == (t = e.connect_tab_timeline) - ? void 0 - : t.timeline) || g.cY - ); - }), - }); - }, - 98209: (e, t, n) => { - "use strict"; - n.d(t, { Z: () => _ }); - const _ = (() => { - let e = !1; - return { - recordAdBlockerPresence: () => { - e = !0; - }, - shouldHidePromotedTweets: (t) => - e && t.isTrue("responsive_web_extension_compatibility_hide"), - shouldDisablePromotedContentFromRequests: (t) => - e && - t.isTrue("responsive_web_extension_compatibility_override_param"), - }; - })(); - }, - 93333: (e, t, n) => { - "use strict"; - function _(e) { - return e ? { "x-act-as-user-id": e } : {}; - } - n.d(t, { Z: () => _ }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.URT.cf027bba.js.map diff --git a/info/endpoints/endpoints.UserData.4a13bf3a.js b/info/endpoints/endpoints.UserData.4a13bf3a.js deleted file mode 100644 index c9faed4..0000000 --- a/info/endpoints/endpoints.UserData.4a13bf3a.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.UserData"], - { - 22866: (t, e, a) => { - a.r(e), a.d(e, { default: () => n }); - const n = ({ apiClient: t, featureSwitches: e }) => ({ - fetchDownloads: (e, a) => t.get("account/user_twitter_data", e, a, ""), - createDataDownload: (e, a) => - t.post( - "account/user_twitter_data", - e, - {}, - { ...a, "content-type": "application/json" }, - "" - ), - markDataAsDownloaded: (e, a) => - t.put( - "account/user_twitter_data", - e, - { ...a, "content-type": "application/json" }, - "" - ), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.UserData.4a13bf3a.js.map diff --git a/info/endpoints/endpoints.UsersGraphQL.ddb7a1da.js b/info/endpoints/endpoints.UsersGraphQL.ddb7a1da.js deleted file mode 100644 index 1c5a53c..0000000 --- a/info/endpoints/endpoints.UsersGraphQL.ddb7a1da.js +++ /dev/null @@ -1,2033 +0,0 @@ -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.UsersGraphQL"], - { - 7435: (e) => { - e.exports = { - queryId: "QpNfg0kpPRfjROQ_9eOLXA", - operationName: "RemoveFollower", - operationType: "mutation", - metadata: { featureSwitches: [] }, - }; - }, - 25777: (e) => { - e.exports = { - queryId: "GazOglcBvgLigl3ywt6b3Q", - operationName: "UserByRestId", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 6155: (e) => { - e.exports = { - queryId: "sLVLhk0bGj3MVFEKTdax1w", - operationName: "UserByScreenName", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 93405: (e) => { - e.exports = { - queryId: "OJBgJQIrij6e3cjqQ3Zu1Q", - operationName: "UsersByRestIds", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 81732: (e) => { - e.exports = { - queryId: "okNaf-6AQWu2DD2H_MAoVw", - operationName: "Viewer", - operationType: "query", - metadata: { - featureSwitches: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "verified_phone_label_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - ], - }, - }; - }, - 73339: (e) => { - "use strict"; - var l, - a, - n, - i, - s, - r, - t, - u, - o, - d, - c, - g, - _, - y, - p, - m, - k, - F, - f, - h, - K, - b, - S, - T, - v, - w, - L, - R, - U, - q, - x, - A, - E, - I, - C, - O, - P, - M, - H, - Q, - B, - N, - Z, - D, - W, - V, - j, - G, - z, - J, - X, - Y, - $, - ee, - le, - ae, - ne, - ie, - se, - re, - te, - ue, - oe, - de, - ce, - ge, - _e, - ye, - pe, - me, - ke, - Fe, - fe, - he, - Ke, - be, - Se, - Te, - ve, - we, - Le, - Re, - Ue, - qe, - xe, - Ae, - Ee, - Ie, - Ce, - Oe, - Pe, - Me, - He, - Qe, - Be, - Ne, - Ze, - De, - We, - Ve, - je, - Ge, - ze = { - fragment: { - argumentDefinitions: (l = [ - { - defaultValue: null, - kind: "LocalArgument", - name: "screen_name", - }, - { defaultValue: !1, kind: "LocalArgument", name: "withDmMuting" }, - { - defaultValue: !1, - kind: "LocalArgument", - name: "withSafetyModeUserFields", - }, - ]), - kind: "Fragment", - metadata: null, - name: "UsersGraphQLFetchByScreenNameQuery", - selections: [ - { - alias: "user", - args: (a = [ - { kind: "Literal", name: "s", value: "f3d8" }, - { - kind: "Variable", - name: "screen_name", - variableName: "screen_name", - }, - ]), - concreteType: "UserResults", - kind: "LinkedField", - name: "user_result_by_screen_name", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - (n = { - alias: null, - args: null, - kind: "ScalarField", - name: "__typename", - storageKey: null, - }), - { - kind: "InlineFragment", - selections: [ - (i = { - alias: null, - args: null, - kind: "ScalarField", - name: "id", - storageKey: null, - }), - (s = { - alias: null, - args: null, - kind: "ScalarField", - name: "rest_id", - storageKey: null, - }), - { - alias: "affiliates_highlighted_label", - args: null, - concreteType: "HighlightedUserLabelResponse", - kind: "LinkedField", - name: "identity_profile_labels_highlighted_label", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "HighlightedUserLabel", - kind: "LinkedField", - name: "label", - plural: !1, - selections: [ - (u = { - alias: null, - args: null, - concreteType: "TimelineUrl", - kind: "LinkedField", - name: "url", - plural: !1, - selections: (t = [ - (r = { - alias: null, - args: null, - kind: "ScalarField", - name: "url", - storageKey: null, - }), - { - alias: "urlType", - args: null, - kind: "ScalarField", - name: "url_type", - storageKey: null, - }, - { - alias: "urtEndpointOptions", - args: null, - concreteType: - "TimelineUrtEndpointOptions", - kind: "LinkedField", - name: "urt_endpoint_options", - plural: !1, - selections: [ - { - alias: "cacheId", - args: null, - kind: "ScalarField", - name: "cache_id", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "subtitle", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "title", - storageKey: null, - }, - { - alias: "requestParams", - args: null, - concreteType: "RequestParamsEntry", - kind: "LinkedField", - name: "request_params", - plural: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "key", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "value", - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "Timeline", - kind: "LinkedField", - name: "timeline", - plural: !1, - selections: [i], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }), - (o = { - alias: null, - args: null, - concreteType: "BadgeInfo", - kind: "LinkedField", - name: "badge", - plural: !1, - selections: [r], - storageKey: null, - }), - (d = { - alias: null, - args: null, - kind: "ScalarField", - name: "description", - storageKey: null, - }), - { - alias: "longDescription", - args: null, - concreteType: "TimelineRichText", - kind: "LinkedField", - name: "long_description", - plural: !1, - selections: (U = [ - (c = { - alias: null, - args: null, - kind: "ScalarField", - name: "alignment", - storageKey: null, - }), - (g = { - alias: null, - args: null, - kind: "ScalarField", - name: "rtl", - storageKey: null, - }), - (_ = { - alias: null, - args: null, - kind: "ScalarField", - name: "text", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "TimelineRichTextEntity", - kind: "LinkedField", - name: "entities", - plural: !0, - selections: [ - (y = { - alias: "fromIndex", - args: null, - kind: "ScalarField", - name: "from_index", - storageKey: null, - }), - (p = { - alias: "toIndex", - args: null, - kind: "ScalarField", - name: "to_index", - storageKey: null, - }), - (m = { - alias: null, - args: null, - kind: "ScalarField", - name: "format", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "ref", - plural: !1, - selections: [ - (k = { - alias: "type", - args: null, - kind: "ScalarField", - name: "__typename", - storageKey: null, - }), - (f = { - kind: "InlineFragment", - selections: (F = [_]), - type: "TimelineRichTextCashtag", - abstractKey: null, - }), - (h = { - kind: "InlineFragment", - selections: [i, r], - type: "TimelineRichTextList", - abstractKey: null, - }), - (K = { - kind: "InlineFragment", - selections: F, - type: "TimelineRichTextHashtag", - abstractKey: null, - }), - (b = { - kind: "InlineFragment", - selections: t, - type: "TimelineUrl", - abstractKey: null, - }), - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: (R = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - n, - { - kind: "InlineFragment", - selections: [ - (T = { - alias: null, - args: null, - concreteType: - "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (S = { - alias: null, - args: null, - kind: "ScalarField", - name: "screen_name", - storageKey: - null, - }), - ], - storageKey: - null, - }), - s, - ], - type: "User", - abstractKey: null, - }, - (L = { - kind: "InlineFragment", - selections: [ - (v = { - alias: "reason", - args: null, - kind: "ScalarField", - name: "unavailable_reason", - storageKey: - null, - }), - (w = { - alias: null, - args: null, - kind: "ScalarField", - name: "message", - storageKey: - null, - }), - ], - type: "UserUnavailable", - abstractKey: null, - }), - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - ], - type: "TimelineRichTextUser", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - S, - { - alias: "mention_results", - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: R, - storageKey: null, - }, - ], - type: "TimelineRichTextMention", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - (q = { - alias: "userLabelType", - args: null, - kind: "ScalarField", - name: "user_label_type", - storageKey: null, - }), - (x = { - alias: "userLabelDisplayType", - args: null, - kind: "ScalarField", - name: "user_label_display_type", - storageKey: null, - }), - ], - storageKey: null, - }, - ], - storageKey: null, - }, - (A = { - condition: "withDmMuting", - kind: "Condition", - passingValue: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "dm_muting", - storageKey: null, - }, - ], - }), - (E = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_graduated_access", - storageKey: null, - }), - (I = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_blue_verified", - storageKey: null, - }), - (C = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_image_shape", - storageKey: null, - }), - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - (P = { - kind: "RequiredField", - field: (O = { - alias: null, - args: null, - kind: "ScalarField", - name: "blocked_by", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.blocked_by", - }), - (H = { - kind: "RequiredField", - field: (M = { - alias: null, - args: null, - kind: "ScalarField", - name: "blocking", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.blocking", - }), - (B = { - kind: "RequiredField", - field: (Q = { - alias: null, - args: null, - kind: "ScalarField", - name: "follow_request_sent", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.follow_request_sent", - }), - (Z = { - kind: "RequiredField", - field: (N = { - alias: null, - args: null, - kind: "ScalarField", - name: "followed_by", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.followed_by", - }), - (W = { - kind: "RequiredField", - field: (D = { - alias: null, - args: null, - kind: "ScalarField", - name: "following", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.following", - }), - (V = { - alias: null, - args: null, - kind: "ScalarField", - name: "muting", - storageKey: null, - }), - (j = { - alias: null, - args: null, - kind: "ScalarField", - name: "notifications", - storageKey: null, - }), - (z = { - kind: "RequiredField", - field: (G = { - alias: null, - args: null, - kind: "ScalarField", - name: "protected", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.protected", - }), - P, - H, - B, - Z, - W, - V, - j, - z, - (J = { - alias: null, - args: null, - kind: "ScalarField", - name: "can_dm", - storageKey: null, - }), - (X = { - alias: null, - args: null, - kind: "ScalarField", - name: "can_media_tag", - storageKey: null, - }), - (Y = { - alias: null, - args: null, - kind: "ScalarField", - name: "created_at", - storageKey: null, - }), - ($ = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_profile", - storageKey: null, - }), - (ee = { - alias: null, - args: null, - kind: "ScalarField", - name: "default_profile_image", - storageKey: null, - }), - d, - (ne = { - alias: null, - args: null, - concreteType: "UserEntities", - kind: "LinkedField", - name: "entities", - plural: !1, - selections: (ae = [ - { - alias: null, - args: null, - concreteType: "EntitySet", - kind: "LinkedField", - name: "description", - plural: !1, - selections: (le = [ - { - alias: null, - args: null, - concreteType: "UrlsEntity", - kind: "LinkedField", - name: "urls", - plural: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "display_url", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "expanded_url", - storageKey: null, - }, - r, - { - alias: null, - args: null, - kind: "ScalarField", - name: "indices", - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "EntitySet", - kind: "LinkedField", - name: "url", - plural: !1, - selections: le, - storageKey: null, - }, - ]), - storageKey: null, - }), - (ie = { - alias: null, - args: null, - kind: "ScalarField", - name: "fast_followers_count", - storageKey: null, - }), - { - kind: "RequiredField", - field: (se = { - alias: null, - args: null, - kind: "ScalarField", - name: "favourites_count", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.favourites_count", - }, - (re = { - alias: null, - args: null, - kind: "ScalarField", - name: "follow_request_received", - storageKey: null, - }), - { - kind: "RequiredField", - field: (te = { - alias: null, - args: null, - kind: "ScalarField", - name: "followers_count", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.followers_count", - }, - { - kind: "RequiredField", - field: (ue = { - alias: null, - args: null, - kind: "ScalarField", - name: "friends_count", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.friends_count", - }, - (oe = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_custom_timelines", - storageKey: null, - }), - (de = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_translator", - storageKey: null, - }), - (ce = { - alias: null, - args: null, - kind: "ScalarField", - name: "listed_count", - storageKey: null, - }), - (ge = { - alias: null, - args: null, - kind: "ScalarField", - name: "location", - storageKey: null, - }), - { - kind: "RequiredField", - field: (_e = { - alias: null, - args: null, - kind: "ScalarField", - name: "media_count", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.media_count", - }, - (ye = { - alias: null, - args: null, - kind: "ScalarField", - name: "name", - storageKey: null, - }), - (pe = { - alias: null, - args: null, - kind: "ScalarField", - name: "needs_phone_verification", - storageKey: null, - }), - (me = { - alias: null, - args: null, - kind: "ScalarField", - name: "normal_followers_count", - storageKey: null, - }), - (ke = { - alias: null, - args: null, - kind: "ScalarField", - name: "pinned_tweet_ids_str", - storageKey: null, - }), - (Fe = { - alias: null, - args: null, - kind: "ScalarField", - name: "possibly_sensitive", - storageKey: null, - }), - (he = { - alias: null, - args: null, - concreteType: "ApiMediaExtensions", - kind: "LinkedField", - name: "profile_banner_extensions", - plural: !1, - selections: (fe = [ - { - alias: null, - args: null, - concreteType: "ApiMediaColorExtension", - kind: "LinkedField", - name: "mediaColor", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "ApiMediaColorExtensionR", - kind: "LinkedField", - name: "r", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "ApiMediaEntityColorPalette", - kind: "LinkedField", - name: "ok", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: - "ApiMediaEntityColorPaletteColor", - kind: "LinkedField", - name: "palette", - plural: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "percentage", - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: - "ApiMediaEntityColor", - kind: "LinkedField", - name: "rgb", - plural: !1, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "blue", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "green", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "red", - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }), - (Ke = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_banner_url", - storageKey: null, - }), - (be = { - alias: null, - args: null, - concreteType: "ApiMediaExtensions", - kind: "LinkedField", - name: "profile_image_extensions", - plural: !1, - selections: fe, - storageKey: null, - }), - (Se = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_image_url_https", - storageKey: null, - }), - (Te = { - alias: null, - args: null, - kind: "ScalarField", - name: "profile_interstitial_type", - storageKey: null, - }), - S, - { - kind: "RequiredField", - field: (ve = { - alias: null, - args: null, - kind: "ScalarField", - name: "statuses_count", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.statuses_count", - }, - (we = { - alias: null, - args: null, - kind: "ScalarField", - name: "time_zone", - storageKey: null, - }), - (Le = { - alias: null, - args: null, - kind: "ScalarField", - name: "translator_type", - storageKey: null, - }), - r, - (Re = { - alias: null, - args: null, - kind: "ScalarField", - name: "utc_offset", - storageKey: null, - }), - { - kind: "RequiredField", - field: (Ue = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified", - storageKey: null, - }), - action: "THROW", - path: "user.result.legacy.verified", - }, - (qe = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified_type", - storageKey: null, - }), - (xe = { - alias: null, - args: null, - kind: "ScalarField", - name: "want_retweets", - storageKey: null, - }), - (Ae = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_description", - storageKey: null, - }), - (Ee = { - alias: null, - args: null, - concreteType: "UserEntities", - kind: "LinkedField", - name: "withheld_entities", - plural: !1, - selections: ae, - storageKey: null, - }), - (Ie = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_in_countries", - storageKey: null, - }), - (Ce = { - alias: null, - args: null, - kind: "ScalarField", - name: "withheld_scope", - storageKey: null, - }), - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: "Professional", - kind: "LinkedField", - name: "professional", - plural: !1, - selections: [ - s, - (Oe = { - alias: null, - args: null, - kind: "ScalarField", - name: "professional_type", - storageKey: null, - }), - (Pe = { - alias: null, - args: null, - concreteType: "BusinessCategory", - kind: "LinkedField", - name: "category", - plural: !0, - selections: [ - i, - ye, - { - alias: null, - args: null, - kind: "ScalarField", - name: "display", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "icon_name", - storageKey: null, - }, - ], - storageKey: null, - }), - ], - storageKey: null, - }, - (Me = { - alias: null, - args: null, - kind: "ScalarField", - name: "has_nft_avatar", - storageKey: null, - }), - (He = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_follow_eligible", - storageKey: null, - }), - (Qe = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_followed_by", - storageKey: null, - }), - (Be = { - alias: null, - args: null, - kind: "ScalarField", - name: "super_following", - storageKey: null, - }), - Me, - He, - Qe, - Be, - (Ne = { - condition: "withSafetyModeUserFields", - kind: "Condition", - passingValue: !0, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocked_by", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocking", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "smart_blocking_expiration", - storageKey: null, - }, - ], - }), - (Ze = { - alias: null, - args: null, - kind: "ScalarField", - name: "verified_phone_status", - storageKey: null, - }), - (De = { - alias: null, - args: null, - concreteType: "LegacyExtendedUserProfile", - kind: "LinkedField", - name: "legacy_extended_profile", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "LegacyExtendedBirthDate", - kind: "LinkedField", - name: "birthdate", - plural: !1, - selections: [ - { - alias: null, - args: null, - kind: "ScalarField", - name: "day", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "month", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "year", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "visibility", - storageKey: null, - }, - { - alias: null, - args: null, - kind: "ScalarField", - name: "year_visibility", - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }), - (We = { - alias: null, - args: null, - kind: "ScalarField", - name: "is_profile_translatable", - storageKey: null, - }), - ], - type: "User", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - w, - { - alias: null, - args: null, - concreteType: "TimelineRichText", - kind: "LinkedField", - name: "unavailable_message", - plural: !1, - selections: U, - storageKey: null, - }, - v, - ], - type: "UserUnavailable", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: "Query", - abstractKey: null, - }, - kind: "Request", - operation: { - argumentDefinitions: l, - kind: "Operation", - name: "UsersGraphQLFetchByScreenNameQuery", - selections: [ - { - alias: "user", - args: a, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_result_by_screen_name", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - n, - { - kind: "InlineFragment", - selections: [ - i, - s, - { - alias: "affiliates_highlighted_label", - args: null, - concreteType: "HighlightedUserLabelResponse", - kind: "LinkedField", - name: "identity_profile_labels_highlighted_label", - plural: !1, - selections: [ - { - alias: null, - args: null, - concreteType: "HighlightedUserLabel", - kind: "LinkedField", - name: "label", - plural: !1, - selections: [ - u, - o, - d, - { - alias: "longDescription", - args: null, - concreteType: "TimelineRichText", - kind: "LinkedField", - name: "long_description", - plural: !1, - selections: (Ge = [ - c, - g, - _, - { - alias: null, - args: null, - concreteType: "TimelineRichTextEntity", - kind: "LinkedField", - name: "entities", - plural: !0, - selections: [ - y, - p, - m, - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "ref", - plural: !1, - selections: [ - n, - { - kind: "TypeDiscriminator", - abstractKey: - "__isTimelineReferenceObject", - }, - k, - f, - h, - K, - b, - { - kind: "InlineFragment", - selections: [ - { - alias: null, - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: (je = [ - { - alias: null, - args: null, - concreteType: null, - kind: "LinkedField", - name: "result", - plural: !1, - selections: [ - n, - { - kind: "InlineFragment", - selections: [ - T, - (Ve = { - alias: null, - args: null, - filters: null, - handle: - "defaultScalars", - key: "", - kind: "LinkedHandle", - name: "legacy", - }), - s, - i, - ], - type: "User", - abstractKey: null, - }, - L, - ], - storageKey: null, - }, - i, - ]), - storageKey: null, - }, - ], - type: "TimelineRichTextUser", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - S, - { - alias: "mention_results", - args: null, - concreteType: "UserResults", - kind: "LinkedField", - name: "user_results", - plural: !1, - selections: je, - storageKey: null, - }, - ], - type: "TimelineRichTextMention", - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ]), - storageKey: null, - }, - q, - x, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - A, - E, - I, - C, - { - alias: null, - args: null, - concreteType: "ApiUser", - kind: "LinkedField", - name: "legacy", - plural: !1, - selections: [ - O, - M, - Q, - N, - D, - V, - j, - G, - O, - M, - Q, - N, - D, - V, - j, - G, - J, - X, - Y, - $, - ee, - d, - ne, - ie, - se, - re, - te, - ue, - oe, - de, - ce, - ge, - _e, - ye, - pe, - me, - ke, - Fe, - he, - Ke, - be, - Se, - Te, - S, - ve, - we, - Le, - r, - Re, - Ue, - qe, - xe, - Ae, - Ee, - Ie, - Ce, - ], - storageKey: null, - }, - Ve, - { - alias: null, - args: null, - concreteType: "Professional", - kind: "LinkedField", - name: "professional", - plural: !1, - selections: [s, Oe, Pe, i], - storageKey: null, - }, - Me, - He, - Qe, - Be, - Me, - He, - Qe, - Be, - Ne, - Ze, - De, - We, - ], - type: "User", - abstractKey: null, - }, - { - kind: "InlineFragment", - selections: [ - w, - { - alias: null, - args: null, - concreteType: "TimelineRichText", - kind: "LinkedField", - name: "unavailable_message", - plural: !1, - selections: Ge, - storageKey: null, - }, - v, - ], - type: "UserUnavailable", - abstractKey: null, - }, - ], - storageKey: null, - }, - i, - ], - storageKey: null, - }, - ], - }, - params: { - id: "yGtWhat0rodvNPZ-AlYdnA", - metadata: { - features: [ - "blue_business_profile_image_shape_enabled", - "responsive_web_graphql_exclude_directive_enabled", - "responsive_web_graphql_skip_user_profile_image_extensions_enabled", - "responsive_web_graphql_timeline_navigation_enabled", - "verified_phone_label_enabled", - ], - }, - name: "UsersGraphQLFetchByScreenNameQuery", - operationKind: "query", - text: null, - }, - }; - (ze.hash = "fd3dd282da84093495635e8f3a6cf9b2"), (e.exports = ze); - }, - 7475: (e, l, a) => { - "use strict"; - a.r(l), - a.d(l, { - default: () => E, - isFatalRemoveFollowerError: () => A, - isFatalUserResponseError: () => q, - isFatalUsersResponseError: () => x, - isFatalViewerResponseError: () => U, - }); - var n, - i = a(6899), - s = (a(85488), a(58955)), - r = a(11469), - t = a(79363), - u = a(15956), - o = a(23335), - d = a(51573), - c = a(17360), - g = a(90650), - _ = a(7435), - y = a.n(_), - p = a(25777), - m = a.n(p), - k = a(6155), - F = a.n(k), - f = a(93405), - h = a.n(f), - K = a(81732), - b = a.n(K), - S = a(63174), - T = a(63140), - v = a(8893); - const w = (0, s.Z)([ - "affiliates_highlighted_label", - "is_profile_translatable", - ]), - L = (e) => - Array.isArray(e.path) && e.path.length > 0 && w.has((0, u.Z)(e.path)), - R = (e) => { - var l, a, n, s; - if ( - "User" === - (null == (l = e.user) || null == (a = l.result) - ? void 0 - : a.__typename) - ) - return (0, i.Fv)(e.user.result, g.Z); - if ( - "UserUnavailable" === - (null == (n = e.user) || null == (s = n.result) - ? void 0 - : s.__typename) - ) { - let l, a; - if ("Suspended" === e.user.result.reason) - (a = JSON.stringify(e.user.result.unavailable_message)), - (l = T.ZP.OtherUserSuspended); - else l = T.ZP.GenericUserNotFound; - const n = new S.Z("userByRestId", 401, {}, [ - { code: l, message: a }, - ]); - return Promise.reject(n); - } - { - const e = new S.Z("userByRestId", 401, {}, [ - { code: T.ZP.GenericUserNotFound }, - ]); - return Promise.reject(e); - } - }, - U = (e, l) => { - var a, n; - const i = - null == l || - null == (a = l.viewer) || - null == (n = a.user_results) - ? void 0 - : n.result, - s = i && "User" === i.__typename && i.legacy, - r = Array.isArray(e) && e.includes(o.isGraphQLBounceError); - return (!s || !r) && Array.isArray(e) && !(0, t.Z)(e, L); - }, - q = (e, l) => { - var a, n; - return ( - !( - "User" === - (null == l || null == (a = l.user) || null == (n = a.result) - ? void 0 - : n.__typename) && l.user.result.legacy - ) && - Array.isArray(e) && - !(0, t.Z)(e, L) - ); - }, - x = (e, l) => - !( - (null == l - ? void 0 - : l.users.filter((e) => { - var l; - return ( - "User" === - !(null == e || null == (l = e.result) || !l.__typename) - ); - })) || [] - ).length && - Array.isArray(e) && - !(0, t.Z)(e, L), - A = (e, l) => { - var a, n; - return ( - !( - "UnfollowSuccessResult" === - (null == l || null == (a = l.remove_follower) - ? void 0 - : a.__typename) && - (null == l || null == (n = l.remove_follower) - ? void 0 - : n.unfollow_success_reason) - ) && (0, c.jB)(e) - ); - }, - E = ({ apiClient: e, featureSwitches: l, relayEnvironment: s }) => ({ - fetchViewer: () => - e - .graphQL( - b(), - { - withCommunitiesMemberships: l.isTrue("c9s_enabled"), - withCommunitiesCreation: l.isTrue( - "c9s_community_creation_enabled" - ), - }, - U - ) - .then((e) => { - var l, a, n, s; - if (!e.viewer) return; - const { viewer: r } = e; - let t; - if ( - "User" === - (null == (l = r.user_results) || null == (a = l.result) - ? void 0 - : a.__typename) - ) { - const { __typename: e, ...l } = r.user_results.result; - t = l; - } - const u = {}; - r.user_features && - r.user_features.forEach(({ enabled: e, feature: l }) => { - u[l] = e; - }); - const o = r.educationFlags; - return { - communitiesActions: { - create: Boolean( - "CommunityCreateAction" === - (null == (n = r.create_community_action_result) - ? void 0 - : n.__typename) - ), - }, - educationFlags: o, - hasCommunityMemberships: r.has_community_memberships, - isActiveCreator: r.is_active_creator, - isRestrictedSession: r.is_tfe_restricted_session, - normalizedResult: (0, i.Fv)(t, g.Z), - superFollowersCount: r.super_followers_count, - superFollowsApplicationStatus: - null == (s = t) - ? void 0 - : s.super_follows_application_status, - userFeatures: u, - }; - }), - fetchOneUserByScreenNameWithRelay: ({ screen_name: e }) => - (0, v.s)( - s, - void 0 !== n ? n : (n = a(73339)), - { - screen_name: e, - withSafetyModeUserFields: l.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - q - ).then((e) => (e ? R(e) : { result: void 0 })), - fetchOneUserByScreenName: ({ screen_name: a }) => - (0, d.o)( - "userByScreenName", - () => - e - .graphQL( - F(), - { - screen_name: a, - withSafetyModeUserFields: l.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - q - ) - .then((e) => R(e)), - (e) => e.then(({ screenName: e }) => e === a) - ), - fetchOneUser: ({ user_id: a }) => - e - .graphQL( - m(), - { - userId: a, - withSafetyModeUserFields: l.isTrue( - "rito_safety_mode_blocked_profile_enabled" - ), - }, - q - ) - .then((e) => R(e)), - fetchUsers: ({ user_id: l }) => - e.graphQL(h(), { userIds: l.split(",") }, x).then((e) => { - const l = (0, r.Z)(e.users.filter(Boolean), (e) => - e.result && "User" === e.result.__typename && e.result.legacy - ? e.result - : void 0 - ); - return (0, i.Fv)(l, [g.Z]); - }), - removeFollower: ({ target_user_id: l }) => - e.graphQL(y(), { target_user_id: l }, A), - }); - }, - 8893: (e, l, a) => { - "use strict"; - a.d(l, { s: () => s }); - var n = a(10622), - i = a.n(n); - function s(e, l, a, n) { - return i()( - e, - l, - a, - n ? { networkCacheConfig: { metadata: { isFatalError: n } } } : void 0 - ).toPromise(); - } - }, - 51573: (e, l, a) => { - "use strict"; - a.d(l, { o: () => o }); - a(21515), a(6886); - var n = a(72599); - const i = new (class { - constructor() { - this.promise = new Promise((e, l) => { - (this.reject = l), (this.resolve = e); - }); - } - })(), - s = i.promise; - if ("undefined" != typeof document) { - let e; - document.addEventListener("DOMContentLoaded", () => { - i.resolve(), null != e && clearTimeout(e); - }); - const l = () => { - "loading" !== document.readyState - ? i.resolve() - : (e = setTimeout(() => { - l(); - }, 500)); - }; - l(); - } - var r = a(86916), - t = a(79150), - u = a(25943); - function o(e, l, a) { - const i = - "undefined" != typeof window ? window.__PREFETCH_DATA__ : void 0; - if (!i) return l(); - const o = Date.now(), - d = i.timestamp || o; - if (Math.max(0, o - d) >= 3e5) - return delete window.__PREFETCH_DATA__, l(); - const c = i.items[e]; - if (!c) return l(); - return (a ? a(c.meta) : Promise.resolve(!0)).then( - (a) => - a - ? ((u.q.didPrefetch[e] = !0), - Promise.race([c.promise, s]) - .then( - (a) => - a - ? r.i(a, t.AK) - : ((0, n.ZP)( - `DOM loaded but prefetch data was not present for ${e}` - ), - l()), - () => ((u.q.prefetchPromiseRejected[e] = !0), l()) - ) - .finally(() => { - delete i.items[e]; - })) - : l(), - () => l() - ); - } - }, - 25943: (e, l, a) => { - "use strict"; - a.d(l, { q: () => n }); - const n = { didPrefetch: {}, prefetchPromiseRejected: {} }; - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.UsersGraphQL.ddb7a1da.js.map diff --git a/info/endpoints/endpoints.Validity.82b4706a.js b/info/endpoints/endpoints.Validity.82b4706a.js deleted file mode 100644 index 0bb9d43..0000000 --- a/info/endpoints/endpoints.Validity.82b4706a.js +++ /dev/null @@ -1,63 +0,0 @@ -"use strict"; -(self.webpackChunk_twitter_responsive_web = - self.webpackChunk_twitter_responsive_web || []).push([ - ["endpoints.Validity"], - { - 10134: (e, a, s) => { - s.r(a), s.d(a, { default: () => u }); - var i = s(6899), - t = s(73228), - l = s.n(t); - const r = l().d5568440, - n = l().d0511fe6, - d = l().cd24fe60, - o = new i.fK.Entity( - "emailValidity", - {}, - { - processStrategy: (e) => ({ - valid: e.valid, - errorMessage: e.valid ? "" : e.msg, - }), - } - ), - p = new i.fK.Entity( - "passwordValidity", - {}, - { - processStrategy: (e) => ({ - valid: e.pass, - errorMessage: e.pass ? "" : r, - }), - } - ), - v = new i.fK.Entity( - "phoneNumberValidity", - {}, - { - processStrategy: (e) => ({ - valid: e.valid && e.available, - errorMessage: e.valid ? (e.available ? "" : n) : d, - }), - } - ), - u = ({ apiClient: e, featureSwitches: a }) => ({ - fetchPasswordStrength: (a, s) => - e - .post("account/password_strength", a, {}, null != s ? s : {}) - .then((e) => ((e) => (0, i.Fv)(e, p))({ ...e, id: a.password })), - isPhoneNumberAvailable: (a, s) => - e - .get("users/phone_number_available", a, null != s ? s : {}) - .then((e) => - ((e) => (0, i.Fv)(e, v))({ ...e, id: a.raw_phone_number }) - ), - isEmailAvailable: (a, s) => - e - .getI("users/email_available", a, null != s ? s : {}) - .then((e) => ((e) => (0, i.Fv)(e, o))({ ...e, id: a.email })), - }); - }, - }, -]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Validity.82b4706a.js.map diff --git a/readme.md b/readme.md index 3591f9d..e0288c7 100644 --- a/readme.md +++ b/readme.md @@ -183,8 +183,6 @@ scraper.download_media([456, 567, 678]) #### Get user/tweet data (no auth) -![](assets/scrape.gif) - ```python from twitter.noauth.scraper import Scraper