Files
twitter-api-client/info/endpoints/endpoints.ProfileTimelines.397e429a.js
Trevor Hobenshield 7ecd1f8fee update endpoints
2023-04-06 15:39:49 -07:00

1349 lines
48 KiB
JavaScript

(self.webpackChunk_twitter_responsive_web =
self.webpackChunk_twitter_responsive_web || []).push([
["endpoints.ProfileTimelines", "endpoints.Graphql"],
{
29848: (e) => {
e.exports = {
queryId: "G_SoES_bCGKA0vBP9wqbBA",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
57274: (e) => {
e.exports = {
queryId: "NzkFGAxj1ta7VoS_GTvrVA",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
2216: (e) => {
e.exports = {
queryId: "HIeW1copXiJKbmgJA5bqlw",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
41839: (e) => {
e.exports = {
queryId: "xjJ7_nvN1nSB_z0VsPTG0Q",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
97621: (e) => {
e.exports = {
queryId: "_k8HIrgtw_4dPtpby5UlpQ",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
87669: (e) => {
e.exports = {
queryId: "0C6NEkU0H0sw5Eyr6DBDfg",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
75840: (e) => {
e.exports = {
queryId: "p_N1X293N-Yc4AaZxodghg",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
9191: (e) => {
e.exports = {
queryId: "IM6ZHDNvqjwG29_7AW0eYg",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
50931: (e) => {
e.exports = {
queryId: "e4SHzfKKTiTlbIan4UmkVQ",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
59113: (e) => {
e.exports = {
queryId: "9PDaL6jFcBxn6BZ2ZgLVAw",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
26491: (e) => {
e.exports = {
queryId: "t4U1Z1Jg1b7NXfqTJWdj_Q",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
5568: (e) => {
e.exports = {
queryId: "0YEj0X6OVt-px4pzod_q5Q",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
57767: (e) => {
e.exports = {
queryId: "1laEbwRhYD5kHqmUghEEuQ",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
77686: (e) => {
e.exports = {
queryId: "qJPOeW9Q8icdlpfnPhsqJQ",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
70816: (e) => {
e.exports = {
queryId: "KMFCkRY0bGL_4XknE7xR-A",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
11497: (e) => {
e.exports = {
queryId: "hJ6pt0rp8kYk6376Li9awg",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
28731: (e) => {
e.exports = {
queryId: "6WKGarkdui4K4WPNXaHzYw",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
53489: (e) => {
e.exports = {
queryId: "_dEwIMW2hHUTejaIafUiLA",
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_richtext_consumption_enabled",
"responsive_web_enhance_cards_enabled",
],
},
};
},
16221: (e) => {
e.exports = {
queryId: "za_brGx6mpNBSDSLaMPPqw",
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: () => H,
errorBreadcrumb: () => Y,
isFatalGenericTimelineError: () => V,
isFatalModeratedTimelineError: () => R,
isFatalTeamsResponseError: () => G,
isFatalUserScopedFollowTimelineError: () => N,
isFatalViewerScopedFollowTimelineError: () => E,
parseUserScopedTimeline: () => Q,
parseViewerScopedTimeline: () => C,
});
var n = t(58955),
i = t(79363),
r = t(72599),
a = 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 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),
P = t.n(I),
A = t(59113),
U = t.n(A),
z = t(26491),
B = t.n(z),
S = t(16221),
F = t.n(S),
L = t(82249);
const Q = (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;
},
Y = (e) => {
var _;
return { code: null == (_ = e[0]) ? void 0 : _.code };
},
C = (e) => {
let _ = L.cY;
var t;
null != e &&
e.viewer &&
(_ =
(null == (t = e.viewer.timeline) ? void 0 : t.timeline) || L.cY);
return _;
},
G = (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: Y(e),
}),
!i && (0, s.jB)(e)
);
},
E = (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: Y(e),
}),
!n && (0, s.jB)(e)
);
},
Z = (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: Y(e),
}),
!i && (0, s.jB)(e)
);
},
R = (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: Y(e) }
),
!i && (0, s.jB)(e)
);
},
V = (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: Y(e),
}),
!n && (0, s.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, l.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: Y(_) }
),
!n && (0, s.jB)(_)
);
}
).then((e) => i(e) || L.cY)
);
}
const H = ({ 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, l.d)(_),
},
N
)
.then(Q),
fetchFollowersYouKnow: ({ count: t, cursor: n, userId: i }) =>
e
.graphQL(
y(),
{
userId: i,
count: t,
cursor: n,
includePromotedContent: !1,
...(0, l.d)(_),
},
N
)
.then(Q),
fetchFollowing: ({ count: t, cursor: n, userId: i }) =>
e
.graphQL(
x(),
{
userId: i,
count: t,
cursor: n,
includePromotedContent: !1,
...(0, l.d)(_),
},
N
)
.then(Q),
fetchSuperFollowers: ({ count: t, cursor: n }) =>
e
.graphQL(
B(),
{
count: t,
cursor: n,
includePromotedContent: !1,
...(0, l.d)(_),
},
E
)
.then(C),
fetchViewerTeams: () =>
e
.graphQLFullResponse(F(), { ...(0, l.S)(_) }, G)
.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(
P(),
{
rootTweetId: i,
count: t,
cursor: n,
includePromotedContent: !1,
...(0, l.d)(_),
},
R
)
.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(
U(),
{
count: t,
cursor: n,
includePromotedContent: !1,
...(0, l.d)(_),
},
Z
)
.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(
k(),
{
timelineId: i,
count: t,
cursor: n,
withQuickPromoteEligibilityTweetFields: !0,
...(0, l.d)(_),
},
V
)
.then((e) => {
var _;
return (null == (_ = e.timeline) ? void 0 : _.timeline) || L.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),
s = t(9191),
l = t.n(s),
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,
withDownvotePerspective: !1,
withReactionsMetadata: !1,
withReactionsPerspective: !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(
l(),
{
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: () => s });
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,
}
),
s = 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),
s = t(79150),
l = 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
? ((l.q.didPrefetch[e] = !0),
Promise.race([p.promise, r])
.then(
(t) =>
t
? a.i(t, s.AK)
: ((0, n.ZP)(
`DOM loaded but prefetch data was not present for ${e}`
),
_()),
() => ((l.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: () => l, ZH: () => o, kH: () => s });
var n = t(78772),
i = t(52612),
r = t(57659),
a = t(62104);
const s = { All: "any", AutoBlock: "autoblock", Imported: "imported" },
l = (e) =>
(0, a.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: 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.397e429a.js.map