if (self.CavalryLogger) { CavalryLogger.start_js(["NBgjy"]); } __d("StickersFlyoutPackQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"stickerWidth",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"stickerHeight",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"packID",type:"ID!",defaultValue:null},{kind:"LocalArgument",name:"feedbackID",type:"ID!",defaultValue:null},{kind:"LocalArgument",name:"hasNoFeedbackID",type:"Boolean!",defaultValue:null},{kind:"LocalArgument",name:"numMRUStickers",type:"Int",defaultValue:null}],b={kind:"Variable",name:"height",variableName:"stickerHeight"},c={kind:"Variable",name:"width",variableName:"stickerWidth"},d=[b,c],e=[{kind:"Variable",name:"id",variableName:"packID"}],f=[{kind:"Variable",name:"id",variableName:"feedbackID"}],g={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},i={kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},j={kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},k={kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},l={kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},m={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},n=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},m],o={kind:"LinkedField",alias:null,name:"image",storageKey:null,args:d,concreteType:"Image",plural:!1,selections:n};m=[m];var p={kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:d,concreteType:"Image",plural:!1,selections:m};m={kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:d,concreteType:"Image",plural:!1,selections:m};n={kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:d,concreteType:"Image",plural:!1,selections:n};var q={kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[g,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},r={kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null},s=[g,h,i,j,k,l,o,p,m,n,q,r],t=[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:s}],u={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"StickersFlyoutPackQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"FragmentSpread",name:"StickersFlyoutStickerSelector_stickers_for_mru_pack",args:[b,{kind:"Variable",name:"numMRUStickers",variableName:"numMRUStickers"},c]},{kind:"FragmentSpread",name:"StickersFlyoutStickerSelector_avatar_stickers",args:d}]},{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:e,concreteType:null,plural:!1,selections:[{kind:"FragmentSpread",name:"StickersFlyoutStickerSelector_stickers_for_pack",args:d}]},{kind:"Condition",passingValue:!1,condition:"hasNoFeedbackID",selections:[{kind:"LinkedField",alias:"feedback_node",name:"node",storageKey:null,args:f,concreteType:null,plural:!1,selections:[{kind:"FragmentSpread",name:"StickersFlyoutStickerSelector_trending_stickers",args:d}]}]}]},operation:{kind:"Operation",name:"StickersFlyoutPackQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"recently_used_stickers",storageKey:null,args:[{kind:"Variable",name:"first",variableName:"numMRUStickers"}],concreteType:"RecentlyUsedStickersConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"RecentlyUsedStickersEdge",plural:!0,selections:t}]},{kind:"LinkedField",alias:null,name:"actor",storageKey:null,args:null,concreteType:null,plural:!1,selections:[u,g,{kind:"InlineFragment",type:"User",selections:[{kind:"LinkedField",alias:null,name:"user_avatar",storageKey:null,args:null,concreteType:"Avatar",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"fb_app_avatar_config",storageKey:null,args:null,concreteType:"FBAppAirbenderConfig",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"avatar_stickers",storageKey:null,args:null,concreteType:"FBAppAvatarConfigToAvatarStickersConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"FBAppAvatarConfigToAvatarStickersEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"AvatarSticker",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"sticker",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:s},g]}]}]},g]},g]}]}]}]},{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:e,concreteType:null,plural:!1,selections:[u,g,{kind:"InlineFragment",type:"StickerPack",selections:[{kind:"LinkedField",alias:null,name:"stickers",storageKey:"stickers(first:1000)",args:[{kind:"Literal",name:"first",value:1e3}],concreteType:"StickersInPackConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"StickersInPackEdge",plural:!0,selections:t}]}]}]},{kind:"Condition",passingValue:!1,condition:"hasNoFeedbackID",selections:[{kind:"LinkedField",alias:"feedback_node",name:"node",storageKey:null,args:f,concreteType:null,plural:!1,selections:[u,g,{kind:"InlineFragment",type:"Feedback",selections:[{kind:"LinkedField",alias:null,name:"suggested_feedback",storageKey:'suggested_feedback(caller_id:"www_comments_stickers_drawer")',args:[{kind:"Literal",name:"caller_id",value:"www_comments_stickers_drawer"}],concreteType:"SuggestedFeedback",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"guide_suggestions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[u,g,{kind:"InlineFragment",type:"Sticker",selections:[h,i,j,k,l,o,p,m,n,q,r]}]}]}]}]}]}]},params:{operationKind:"query",name:"StickersFlyoutPackQuery",id:"2504424242903410",text:null,metadata:{}}}}();e.exports=a}),null); __d("StickersFlyoutPackSelectorOpenStoreMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"SetStickerStoreOpenedData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"set_sticker_store_opened",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"SetStickerStoreOpenedResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"num_new_sticker_packs",args:null,storageKey:null}]}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"StickersFlyoutPackSelectorOpenStoreMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"StickersFlyoutPackSelectorOpenStoreMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"StickersFlyoutPackSelectorOpenStoreMutation",id:"2267316986663479",text:null,metadata:{}}}}();e.exports=a}),null); __d("StickersFlyoutPackSelectorQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"stickerInterface",type:"StickerInterfaces",defaultValue:null}];return{kind:"Request",fragment:{kind:"Fragment",name:"StickersFlyoutPackSelectorQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"FragmentSpread",name:"StickersFlyoutPackSelector_packs",args:[{kind:"Variable",name:"stickerInterface",variableName:"stickerInterface"}]}]}]},operation:{kind:"Operation",name:"StickersFlyoutPackSelectorQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"num_new_sticker_packs",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"sticker_store",storageKey:null,args:null,concreteType:"StickerStore",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"tray_packs",storageKey:null,args:[{kind:"Literal",name:"first",value:1e4},{kind:"Variable",name:"interface",variableName:"stickerInterface"}],concreteType:"PacksInTrayConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"PacksInTrayEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"lock_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"thumbnail_image",storageKey:"thumbnail_image(height:20,width:20)",args:[{kind:"Literal",name:"height",value:20},{kind:"Literal",name:"width",value:20}],concreteType:"Image",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}]}]}]}]}]}]}]},params:{operationKind:"query",name:"StickersFlyoutPackSelectorQuery",id:"2203663463032923",text:null,metadata:{}}}}();e.exports=a}),null); __d("StickersFlyoutPackSelector_packs.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"StickersFlyoutPackSelector_packs",type:"Viewer",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"stickerInterface",type:"StickerInterfaces",defaultValue:"MESSAGES"}],selections:[{kind:"ScalarField",alias:null,name:"num_new_sticker_packs",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"sticker_store",storageKey:null,args:null,concreteType:"StickerStore",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"tray_packs",storageKey:null,args:[{kind:"Literal",name:"first",value:1e4},{kind:"Variable",name:"interface",variableName:"stickerInterface"}],concreteType:"PacksInTrayConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"PacksInTrayEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"FragmentSpread",name:"StickersFlyoutPack_pack",args:null}]}]}]}]}]};e.exports=a}),null); __d("StickersFlyoutPack_pack.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"StickersFlyoutPack_pack",type:"StickerPack",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"lock_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"thumbnail_image",storageKey:"thumbnail_image(height:20,width:20)",args:[{kind:"Literal",name:"height",value:20},{kind:"Literal",name:"width",value:20}],concreteType:"Image",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}]}]};e.exports=a}),null); __d("StickersFlyoutStickerSelector_avatar_stickers.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},b=[{kind:"Variable",name:"height",variableName:"height"},{kind:"Variable",name:"width",variableName:"width"}],c={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},c];c=[c];return{kind:"Fragment",name:"StickersFlyoutStickerSelector_avatar_stickers",type:"Viewer",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"width",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"height",type:"Int",defaultValue:null}],selections:[{kind:"LinkedField",alias:null,name:"actor",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"InlineFragment",type:"User",selections:[{kind:"LinkedField",alias:null,name:"user_avatar",storageKey:null,args:null,concreteType:"Avatar",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"fb_app_avatar_config",storageKey:null,args:null,concreteType:"FBAppAirbenderConfig",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"avatar_stickers",storageKey:null,args:null,concreteType:"FBAppAvatarConfigToAvatarStickersConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"FBAppAvatarConfigToAvatarStickersEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"AvatarSticker",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"sticker",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null}]}]}]}]}]}]}]}]}]}}();e.exports=a}),null); __d("StickersFlyoutStickerSelector_stickers_for_mru_pack.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},b=[{kind:"Variable",name:"height",variableName:"height"},{kind:"Variable",name:"width",variableName:"width"}],c={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},c];c=[c];return{kind:"Fragment",name:"StickersFlyoutStickerSelector_stickers_for_mru_pack",type:"Viewer",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"numMRUStickers",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"width",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"height",type:"Int",defaultValue:null}],selections:[{kind:"LinkedField",alias:null,name:"recently_used_stickers",storageKey:null,args:[{kind:"Variable",name:"first",variableName:"numMRUStickers"}],concreteType:"RecentlyUsedStickersConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"RecentlyUsedStickersEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null}]}]}]}]}}();e.exports=a}),null); __d("StickersFlyoutStickerSelector_stickers_for_pack.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},b=[{kind:"Variable",name:"height",variableName:"height"},{kind:"Variable",name:"width",variableName:"width"}],c={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},c];c=[c];return{kind:"Fragment",name:"StickersFlyoutStickerSelector_stickers_for_pack",type:"StickerPack",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"width",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"height",type:"Int",defaultValue:null}],selections:[{kind:"LinkedField",alias:null,name:"stickers",storageKey:"stickers(first:1000)",args:[{kind:"Literal",name:"first",value:1e3}],concreteType:"StickersInPackConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"StickersInPackEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null}]}]}]}]}}();e.exports=a}),null); __d("StickersFlyoutStickerSelector_stickers_for_search.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},b=[{kind:"Variable",name:"height",variableName:"height"},{kind:"Variable",name:"width",variableName:"width"}],c={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},c];c=[c];return{kind:"Fragment",name:"StickersFlyoutStickerSelector_stickers_for_search",type:"StickerSearchQuery",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"width",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"height",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"interface",type:"StickerInterfaces",defaultValue:null}],selections:[{kind:"LinkedField",alias:null,name:"sticker_results",storageKey:null,args:[{kind:"Literal",name:"first",value:40},{kind:"Variable",name:"interface",variableName:"interface"}],concreteType:"StickerSearchResultsConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"StickerSearchResultsEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null}]}]}]}]}}();e.exports=a}),null); __d("StickersFlyoutStickerSelector_trending_stickers.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},b=[{kind:"Variable",name:"height",variableName:"height"},{kind:"Variable",name:"width",variableName:"width"}],c={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},c];c=[c];return{kind:"Fragment",name:"StickersFlyoutStickerSelector_trending_stickers",type:"Feedback",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"width",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"height",type:"Int",defaultValue:null}],selections:[{kind:"LinkedField",alias:null,name:"suggested_feedback",storageKey:'suggested_feedback(caller_id:"www_comments_stickers_drawer")',args:[{kind:"Literal",name:"caller_id",value:"www_comments_stickers_drawer"}],concreteType:"SuggestedFeedback",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"guide_suggestions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[{kind:"InlineFragment",type:"Sticker",selections:[a,{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:c},{kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:b,concreteType:"Image",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[a,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null}]}]}]}]}}();e.exports=a}),null); __d("StickersFlyoutTagSelectorQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"stickerWidth",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"stickerHeight",type:"Int",defaultValue:null},{kind:"LocalArgument",name:"stickerInterface",type:"StickerInterfaces",defaultValue:null},{kind:"LocalArgument",name:"query",type:"String!",defaultValue:null}],b=[{kind:"Variable",name:"query",variableName:"query"}],c={kind:"Variable",name:"height",variableName:"stickerHeight"},d={kind:"Variable",name:"interface",variableName:"stickerInterface"},e={kind:"Variable",name:"width",variableName:"stickerWidth"},f={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},g=[c,e],h={kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null},i=[{kind:"ScalarField",alias:null,name:"height",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"width",args:null,storageKey:null},h];h=[h];return{kind:"Request",fragment:{kind:"Fragment",name:"StickersFlyoutTagSelectorQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"sticker_search",storageKey:null,args:b,concreteType:"StickerSearchQuery",plural:!1,selections:[{kind:"FragmentSpread",name:"StickersFlyoutStickerSelector_stickers_for_search",args:[c,d,e]}]}]},operation:{kind:"Operation",name:"StickersFlyoutTagSelectorQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"sticker_search",storageKey:null,args:b,concreteType:"StickerSearchQuery",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"sticker_results",storageKey:null,args:[{kind:"Literal",name:"first",value:40},d],concreteType:"StickerSearchResultsConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"edges",storageKey:null,args:null,concreteType:"StickerSearchResultsEdge",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:null,concreteType:"Sticker",plural:!1,selections:[f,{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_count",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frame_rate",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_column",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"frames_per_row",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"image",storageKey:null,args:g,concreteType:"Image",plural:!1,selections:i},{kind:"LinkedField",alias:null,name:"sprite_image",storageKey:null,args:g,concreteType:"Image",plural:!1,selections:h},{kind:"LinkedField",alias:null,name:"padded_sprite_image",storageKey:null,args:g,concreteType:"Image",plural:!1,selections:h},{kind:"LinkedField",alias:null,name:"locked_image",storageKey:null,args:g,concreteType:"Image",plural:!1,selections:i},{kind:"LinkedField",alias:null,name:"pack",storageKey:null,args:null,concreteType:"StickerPack",plural:!1,selections:[f,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_comments_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_composer_capable",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_messenger_capable",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"sticker_state",args:null,storageKey:null}]}]}]}]}]},params:{operationKind:"query",name:"StickersFlyoutTagSelectorQuery",id:"3023791310980307",text:null,metadata:{}}}}();e.exports=a}),null); __d("StickersFlyoutTagSelectorTagsQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Request",fragment:{kind:"Fragment",name:"StickersFlyoutTagSelectorTagsQuery",type:"Query",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"FragmentSpread",name:"StickersFlyoutTags_tags",args:null}]}]},operation:{kind:"Operation",name:"StickersFlyoutTagSelectorTagsQuery",argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"sticker_store",storageKey:null,args:null,concreteType:"StickerStore",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"sticker_tags",storageKey:'sticker_tags(first:20,sticker_tag_type:"FEATURED")',args:[{kind:"Literal",name:"first",value:20},{kind:"Literal",name:"sticker_tag_type",value:"FEATURED"}],concreteType:"AllStickerTagsConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"nodes",storageKey:null,args:null,concreteType:"StickerTag",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"order",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"color_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"thumbnail_image",storageKey:null,args:null,concreteType:"Image",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]}]}]}]}]},params:{operationKind:"query",name:"StickersFlyoutTagSelectorTagsQuery",id:"2192543180756587",text:null,metadata:{}}};e.exports=a}),null); __d("StickersFlyoutTags_tags.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"StickersFlyoutTags_tags",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"sticker_store",storageKey:null,args:null,concreteType:"StickerStore",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"sticker_tags",storageKey:'sticker_tags(first:20,sticker_tag_type:"FEATURED")',args:[{kind:"Literal",name:"first",value:20},{kind:"Literal",name:"sticker_tag_type",value:"FEATURED"}],concreteType:"AllStickerTagsConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"nodes",storageKey:null,args:null,concreteType:"StickerTag",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"order",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"color_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"thumbnail_image",storageKey:null,args:null,concreteType:"Image",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}]}]}]}]}]};e.exports=a}),null); __d("ReactAlbumPermalinkComposer.react",["cx","Arbiter","LitestandComposer","React","ReactComposerAttachmentType","ReactComposerAudienceActions","ReactComposerBodyContainer.react","ReactComposerContextProviderMixin","ReactComposerEvents","ReactComposerFeedMediaPostButtonContainer.react","ReactComposerFeedPostButtonContainer.react","ReactComposerFocusInit","ReactComposerLoggingName","ReactComposerMediaEagerAttachment.react","ReactComposerSproutsStatusAndMediaSelector.react","ReactComposerStatusEagerAttachment.react","ReactComposerWithSprouts.react","$"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getChildContext=function(){return b("ReactComposerContextProviderMixin").staticGetChildContext(this.props)};d.componentDidMount=function(){var a,c=this.props,d=c.collectionsID;c=c.contextConfig;b("LitestandComposer").initComposer(c.composerID);b("ReactComposerFocusInit").handler(b("$")("album_react_composer_container"),c.composerID,c.actorID,c.gks,(a=c)!=null?(a=a.jsModules)!=null?a.composerFocus:a:a,!0);b("ReactComposerAudienceActions").setCollectionIDWithoutLogging(c.composerID,d.toString());this.props.focus&&b("Arbiter").inform(b("ReactComposerEvents").ACTIVATE_ATTACHMENT+c.composerID)};d.render=function(){var a=b("React").createElement(b("ReactComposerWithSprouts.react"),{defaultAttachmentOnExpand:b("ReactComposerAttachmentType").STATUS,innerProps:{className:"_292i",loggingConfig:this.props.config.loggingConfig,sproutsConfig:this.props.config.sproutsConfig},expandOnInit:!1},this.$1(),b("React").createElement(b("ReactComposerBodyContainer.react"),{expanded:this.props.config.showExpandedComposer},this.$2(),this.$3()));return a};d.$1=function(){var a=this.props.config.attachmentsConfig,c=[];a[b("ReactComposerAttachmentType").STATUS].enabled&&c.push(b("React").createElement(b("ReactComposerSproutsStatusAndMediaSelector.react"),{key:b("ReactComposerLoggingName").STATUS_TAB_SELECTOR,label:a[b("ReactComposerAttachmentType").STATUS].defaultTabTitle,statusOnly:!1}));return b("React").createElement("div",{className:"_3ubp _sg2"},c)};d.$2=function(){if(!this.props.config.attachmentsConfig[b("ReactComposerAttachmentType").STATUS].enabled)return null;var a=this.props.config.attachmentsConfig[b("ReactComposerAttachmentType").STATUS].placeholderText;return b("React").createElement(b("ReactComposerStatusEagerAttachment.react"),{key:"status",config:this.props.config,selected:!0,postButtonModule:b("ReactComposerFeedPostButtonContainer.react"),placeholder:a})};d.$3=function(){return!this.props.config.attachmentsConfig[b("ReactComposerAttachmentType").MEDIA].enabled?null:b("React").createElement(b("ReactComposerMediaEagerAttachment.react"),{key:"media",config:this.props.config,postButtonModule:b("ReactComposerFeedMediaPostButtonContainer.react"),selected:!1})};return c}(b("React").Component);a.childContextTypes=b("ReactComposerContextProviderMixin").childContextTypes;e.exports=a}),null); __d("AddCommentFlyoutSizeType",[],(function(a,b,c,d,e,f){a={LARGE:"large",SMALL:"small"};e.exports=a}),null); __d("GamesVideoPageCustomStickerPackQueryWebGraphQLQuery",["WebGraphQLQueryBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"2262572510429650"};b.getQueryID=function(){return"283271225955159"};return b}(b("WebGraphQLQueryBase"))}),null); __d("StickersFlyoutPack.react",["cx","fbt","Image.react","JSResource","Link.react","React","RelayModern","SimpleNUXMessage","SimpleNUXMessageTypes","StickersConfig","emptyFunction","gkx","lazyLoadComponent","StickersFlyoutPack_pack.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var i=b("lazyLoadComponent")(b("JSResource")("XUIAmbientNUX.react").__setRef("StickersFlyoutPack.react"));c={isComments:!1,onClick:b("emptyFunction")};var j="401714733794624";d=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g0){a=this.$4(this.props.selectedPackID);this.state.page!==a&&this.$5(a,0)}};d.$2=function(){var a=this;b("setImmediate")(function(){var c=a.$3();if(c.length>0){c=a.$6();b("gkx")("866851")&&a.props.customPack&&a.props.customPack.lock_type==="SUBSCRIPTION"?a.$7(a.props.customPack.id):a.$7(c[0].id)}else b("StickersActions").trayLoaded()})};d.$3=function(){var a=this.$6(),b=this.$8();return a.concat(b)};d.$8=function(){var a,b=[];a=(a=this.props.packs.sticker_store)==null?void 0:(a=a.tray_packs)==null?void 0:a.edges;this.props.customPack&&b.push(this.props.customPack);a&&a.forEach(function(a){a=a.node;a&&b.push(a)});return b};d.$6=function(){var a=[];b("StickersConfig").search_pack&&a.push(b("StickersConfig").search_pack);a.push(b("StickersConfig").mru_pack);b("StickersConfig").oz_pack&&a.push(b("StickersConfig").oz_pack);b("StickersConfig").feed_pack&&a.push(b("StickersConfig").feed_pack);b("StickersConfig").trending_stickers&&a.push(b("StickersConfig").trending_stickers);b("StickersConfig").avatar_stickers&&a.push(b("StickersConfig").avatar_stickers);return a};d.$4=function(a){var b=this.$3();b=b.findIndex(function(b){return b.id==a});return b!==-1?b<=m?0:Math.floor((b-1)/m):0};d.$5=function(a,c){if(this.state.animating)return;this.setState({animating:!0,page:a},function(){var d=this,e=b("ReactDOM").findDOMNode(this.refs.positioner),f=this.$9(a);new(b("Animation"))(e).to(f.reference,f.offset+"px").ondone(function(){return d.setState({animating:!1})}).duration(c).go()})};d.$9=function(a){var c=b("ReactDOM").findDOMNode(this.refs.positioner),d=c.childNodes[a].offsetLeft;if(b("Locale").isRTL()){var e=c.offsetWidth;c=c.childNodes[a].offsetWidth;return{reference:"right",offset:d+c-e}}return{reference:"left",offset:-d}};d.$10=function(){var a=this.$3();return Math.max(1,Math.ceil((a.length-1)/m))};d.$11=function(){return this.state.page>0};d.$12=function(){return this.state.page+10){a=a[0].node||a[0];a=a.sticker_state!=null&&b("StickerState")[a.sticker_state]==="locked";if(a)return!0}return!1};d.$7=function(){return b("React").createElement(b("FDSButton.react"),{style:{position:"absolute",bottom:0},margin:"_3-8j",icon:b("React").createElement(b("Image.react"),{src:i("495342")}),label:"Become a Supporter",size:"large",use:"primary",minWidth:250,onClick:function(){}})};d.$1=function(){__p&&__p();var a=this;if(this.props.isAvatarStickersSelected){var c;c=(c=this.props.avatar_stickers)==null?void 0:(c=c.actor)==null?void 0:(c=c.user_avatar)==null?void 0:(c=c.fb_app_avatar_config)==null?void 0:(c=c.avatar_stickers)==null?void 0:c.edges;c=c?c.map(function(a){return((a=a.node)==null?void 0:a.sticker)||{}}):null;return c?c.filter(function(a){return Object.keys(a).length>0}):null}else if(this.props.isTrendingStickers&&this.props.trending_stickers){c=((c=this.props.trending_stickers)==null?void 0:(c=c.suggested_feedback)==null?void 0:c.guide_suggestions)||[];return c.map(function(a){return a})}else if(this.props.stickers_for_pack||this.props.stickers_for_mru_pack){var d;c=((c=this.props.stickers_for_pack)==null?void 0:(c=c.stickers)==null?void 0:c.edges)||[];d=((d=this.props.stickers_for_mru_pack)==null?void 0:(d=d.recently_used_stickers)==null?void 0:d.edges)||[];d=this.props.isMRUPack?d:c;if(this.props.isMRUPack){c=b("StickersStateStore").getState();if(!c.get("recentStickersLoaded"))b("StickersActions").loadRecentStickers(d.map(function(a){return a.node||{}}));else return this.props.recentStickers.filter(function(b){return a.$9(b)})}return d?d.filter(function(b){return a.$9(b.node||{})}):null}else if(this.props.stickers_for_search){c=(c=this.props.stickers_for_search)==null?void 0:(d=c.sticker_results)==null?void 0:d.edges;return c?c.map(function(a){return a}):null}else return null};d.$9=function(a){__p&&__p();var b=this.props.stickerInterface;a=a.pack;if(a)if(b==="composer")return a.is_composer_capable;else if(b==="comments")return a.is_comments_capable;else if(b==="messages")return a.is_messenger_capable;return!0};d.$2=function(){var a=(k-o*2-p)/2;return b("React").createElement("div",{className:"_5jdt",style:{marginTop:a+"px"}},b("React").createElement(b("Image.react"),{src:i("87146")}),b("React").createElement("p",null,h._("No Stickers to Show")))};d.$6=function(a,c){var d=this;return a.map(function(a){var e=a.node||a;a=e.sticker_state!=null&&b("StickerState")[e.sticker_state]==="locked";var f=!a&&e.sprite_image?e.sprite_image.uri:null,g=!a&&e.padded_sprite_image?e.padded_sprite_image.uri:null,h=a&&!c?e.locked_image:e.image,k=b("StickerUtils").getScaledDimensions(h.height,h.width,c?40:b("StickerConstants").TRAY_SIZE),l=a?null:function(a){return d.props.onStickerClick(e,a)},m=a?null:function(a){return d.props.onStickerKeyDown(e,a)};return b("React").createElement(j,{key:e.id},b("React").createElement(b("ShimButton.react"),{tabIndex:-1,className:"_5r8h",onClick:l,onKeyDown:m},a&&!c?b("React").createElement(b("Image.react"),{className:"_7js5",src:i("494109")}):null,b("React").createElement(b("Sticker.react"),{accessibilityLabel:e.label,animationTrigger:"hover",className:"_5r8i",forceCursorPointer:!0,frameCount:e.frame_count,frameRate:e.frame_rate||83,framesPerCol:e.frames_per_column,framesPerRow:e.frames_per_row,sourceHeight:k.height,sourceURI:h.uri,sourceWidth:k.width,spriteURI:f,packName:e.pack?e.pack.name:null,paddedSpriteURI:g,stickerID:e.id})))})};return c}(b("React").Component);c.defaultProps={isAvatarStickersSelected:!1,isMRUPack:!1,isTrendingStickers:!1,size:b("AddCommentFlyoutSizeType").SMALL,stickerInterface:"messages"};e.exports=a(c,{stickers_for_pack:function(){return b("StickersFlyoutStickerSelector_stickers_for_pack.graphql")},stickers_for_search:function(){return b("StickersFlyoutStickerSelector_stickers_for_search.graphql")},stickers_for_mru_pack:function(){return b("StickersFlyoutStickerSelector_stickers_for_mru_pack.graphql")},trending_stickers:function(){return b("StickersFlyoutStickerSelector_trending_stickers.graphql")},avatar_stickers:function(){return b("StickersFlyoutStickerSelector_avatar_stickers.graphql")}})}),null); __d("StickersFlyoutTags.react",["cx","Grid.react","Image.react","React","RelayModern","ScrollableArea.react","XUIButton.react","StickersFlyoutTags_tags.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("Grid.react").GridItem;a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){__p&&__p();var a=this,c;c=(c=this.props.tags.sticker_store)==null?void 0:(c=c.sticker_tags)==null?void 0:c.nodes;if(c){c=c.filter(function(a){return((a=a.thumbnail_image)==null?void 0:a.uri)!=null}).sort(function(a,b){return(a.order||0)-(b.order||0)}).map(function(c,d){return b("React").createElement(h,{key:d,className:"_3iqe"},b("React").createElement("div",{className:"_t5c"+(d<2?" _1b27":"")+(d%2===0?" _t5d":"")+(d%2!==0?" _t5e":"")},b("React").createElement(b("XUIButton.react"),{image:b("React").createElement(b("Image.react"),{src:c.thumbnail_image&&c.thumbnail_image.uri}),label:c&&c.name||"",onClick:function(){return a.props.onTagSelect(c)},className:"_5jdu",style:{background:"#"+(c.color_code||"")},disabled:a.props.inputDisabled})))});return b("React").createElement(b("ScrollableArea.react"),{height:this.props.height,width:this.props.width,shadow:!0,fade:!0,className:"_5jei"},b("React").createElement(b("Grid.react"),{spacing:"pas",cols:2,fixed:!0},c))}return b("React").createElement("div",null)};return c}(b("React").Component);e.exports=a(c,{tags:function(){return b("StickersFlyoutTags_tags.graphql")}})}),null); __d("StickersFlyoutTagSelector.react",["cx","fbt","requireCond","AddCommentFlyoutSizeType","Banzai","Bootloader","cr:971218","React","RelayFBEnvironment","RelayModern","StickerConstants","StickerInterfaces","StickersFlyoutStickerSelector.react","StickersFlyoutTags.react","StickersTypedLogger","StickerUtils","UFISearchInput.react","debounce","emptyFunction","getObjectValues","performanceAbsoluteNow","StickersFlyoutTagSelectorQuery.graphql","StickersFlyoutTagSelectorTagsQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=b("RelayModern").QueryRenderer;b("RelayModern").graphql;a=b("React").PropTypes;var l=320,m=257,n=278,o=324,p=46,q=38,r=b("debounce")(function(a){if(!a||a.length<2)return;new(b("StickersTypedLogger"))().setEvent("search_sticker").setSearchtoken(a).log()},1e3);c=b("React").createClass({displayName:"StickersFlyoutTagSelector",propTypes:{onStickerClick:a.func.isRequired,onStickerKeyDown:a.func.isRequired,stickerInterface:a.oneOf(b("getObjectValues")(b("StickerInterfaces"))),shown:a.bool,size:a.oneOf(Object.values(b("AddCommentFlyoutSizeType")))},getInitialState:function(){return{input:"",tagChosen:!1}},getDefaultProps:function(){return{stickerInterface:"messages",size:b("AddCommentFlyoutSizeType").SMALL}},componentDidMount:function(){this._markerPoint("mount_sticker_tag_selector"),this._focusInput()},UNSAFE_componentWillReceiveProps:function(a){a.shown&&!this.props.shown&&this.setState(this.getInitialState(),this._focusInput)},shouldComponentUpdate:function(a,b){return a.shown},render:function(){return b("React").createElement("div",{className:"_217a"},b("React").createElement(b("UFISearchInput.react"),{onClick:function(a){return a&&a.stopPropagation()},onChange:this._inputChanged,onClear:this._handleResetButtonClick,placeholder:h._("Search stickers"),ref:"inputField",value:this.state.input||""}),this._renderContentArea())},_markerPoint:function(a){var c=b("performanceAbsoluteNow")();b("Bootloader").loadModules(["QuickPerformanceLogger","MessengerWebQuickLogModule"],function(b,d){b.markerPoint(d.COMPOSER_INTERACTION,a,"",0,c)},"StickersFlyoutTagSelector.react")},_renderContentArea:function(){__p&&__p();var a=this,c=this.props.size==="small"?l-p:m-q,d=this.props.size==="small"?n:o,e=this._normalizeInput(this.state.input);if(this.state.tagChosen||e.length>1){r(e);var f=Math.ceil(b("StickerConstants").TRAY_SIZE*(window.devicePixelRatio||1));return b("React").createElement(k,{environment:b("RelayFBEnvironment"),query:i||(i=function(){return b("StickersFlyoutTagSelectorQuery.graphql")}),variables:{stickerWidth:f,stickerHeight:f,stickerInterface:this.props.stickerInterface,query:e},render:function(d){__p&&__p();var e=d.error;d=d.props;if(e)return null;else if(d){a._markerPoint("load_sticker_selector");a._markerPoint=b("emptyFunction");return b("React").createElement(b("StickersFlyoutStickerSelector.react"),{recentStickers:[],ref:"selector",height:c,stickerInterface:a.props.stickerInterface,onStickerClick:a._onStickerClick,onStickerKeyDown:a.props.onStickerKeyDown,stickers_for_search:d.sticker_search,size:a.props.size})}return b("React").createElement("div",{className:"_76z0"},b("React").createElement(b("cr:971218"),{size:"large"}))}})}else return b("React").createElement(k,{environment:b("RelayFBEnvironment"),query:j||(j=function(){return b("StickersFlyoutTagSelectorTagsQuery.graphql")}),variables:{},render:function(f){var g=f.error;f=f.props;if(g)return null;else if(f){a._markerPoint("load_sticker_tag_selector");return b("React").createElement(b("StickersFlyoutTags.react"),{height:c-p,inputDisabled:e.length===1,onTagSelect:a._selectTag,tags:f.viewer,width:d-16})}return b("React").createElement("div",{className:"_76z0"},b("React").createElement(b("cr:971218"),{size:"large"}))}})},_selectTag:function(a){new(b("StickersTypedLogger"))().setEvent("select_tag").setTagid(a.id).log(),this.setState({tagChosen:!0,input:b("StickerUtils").capitalizeWords(a.name)}),this._focusInput()},_normalizeInput:function(a){return a.trim().replace(/\s+/," ").toLowerCase()},_handleResetButtonClick:function(a){a.preventDefault(),this.setState(this.getInitialState())},_inputChanged:function(a){this.setState({input:a.target.value,tagChosen:!1})},_focusInput:function(){this.refs.inputField.focusInput&&this.refs.inputField.focusInput()},_onStickerClick:function(a,c){this.props.onStickerClick(a,c);try{if(b("Banzai").isEnabled("sticker_search_ranking")){c={query:this._normalizeInput(this.state.input),sticker_id:a.id};b("Banzai").post("sticker_search_click",c,b("Banzai").VITAL)}}catch(a){}}});e.exports=c}),null); __d("StickersFlyout.react",["cx","fbt","AddCommentFlyoutSizeType","Bootloader","FDSSpinner.react","FluxContainer","GamesVideoPageCustomStickerPackQueryWebGraphQLQuery","Keys","React","RelayFBEnvironment","RelayModern","StickerConstants","StickerInterfaces","StickersActions","StickersConfig","StickersDispatcher","StickersFlyoutPackSelector.react","StickersFlyoutStickerSelector.react","StickersFlyoutTagSelector.react","StickersStateStore","StickersTypedLogger","WebGraphQL","WebPixelRatio","XUISpinner.react","joinClasses","performanceAbsoluteNow","promiseDone","StickersFlyoutPackQuery.graphql","StickersFlyoutPackSelectorQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var l=b("StickerConstants").SEARCH_PACK_ID,m=["Enter"," "];a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g