OCAccountFriendItem.react",["OCAccountFriendInfo.react","OCAccountFriendItem_friend.graphql","OCAccountProfileImage.react","RelayModern","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b;a=a.friend;return j.jsx("div",{className:"x1y1aw1k xn6708d xwib8y2 xkhd6sd xyorhqc x78zum5 x6s0dn4 x1qughib x1a02dak",children:j.jsxs("div",{className:"x78zum5 x6s0dn4 xh8yej3 x1jzhcrs",children:[j.jsx(c("OCAccountProfileImage.react"),{presenceStatus:a==null?void 0:a.presence_status,uri:a==null?void 0:(b=a.profile_photo)==null?void 0:b.uri}),j.jsx(c("OCAccountFriendInfo.react"),{alias:(b=a==null?void 0:a.alias)!=null?b:"",isOnline:(a==null?void 0:a.presence_status)==="ONLINE",name:(b=a==null?void 0:a.name)!=null?b:""})]})})}a.displayName=a.name+" [from "+f.id+"]";e=d("RelayModern").createFragmentContainer(a,{friend:h!==void 0?h:h=b("OCAccountFriendItem_friend.graphql")});g["default"]=e}),98);
-----
OCAccountFriendsList.react",["fbt","OCAccountFriendItem.react","OCAccountFriendsListPaginationQuery.graphql","OCAccountFriendsList_user.graphql","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSSpinner.react","OCDSText.react","OnVisible.react","RelayModern","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react")),m=k.useState,n={headerText:{marginBottom:"x1iymm2a",$$css:!0},spinnerMargin:{marginTop:"xw7yly9",marginBottom:"x1yztbdb",$$css:!0}};function a(a){var b,d=a.loadCount,e=a.relay;a=a.user;b=a==null?void 0:(b=a.friends)==null?void 0:b.edges;var f=m(!1),g=f[0],i=f[1];if(!b||b.length===0)return l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.headerText,children:h._("You don"t have any Oculus friends. Link your Facebook account or send friend requests to see your friends here.")});function j(){i(!0),e.loadMore(d,function(){i(!1)})}return l.jsxs(l.Fragment,{children:[l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.headerText,children:h._("{friends_count} Friends",[h._param("friends_count",(a=a==null?void 0:(f=a.friends)==null?void 0:f.count)!=null?a:0)])}),l.jsx(c("OCDSResponsiveRow.react"),{verticalGutter:"xsmall",children:b.map(function(a){a=a.node;return a&&l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:6,desktop:6},children:l.jsx(c("OCAccountFriendItem.react"),{friend:a})},a.id)})}),e.hasMore()&&l.jsx(c("OnVisible.react"),{onVisible:j,children:l.jsx("div",{className:"x2b8uid",children:g&&l.jsx(c("OCDSSpinner.react"),{xstyle:n.spinnerMargin})})})]})}a.displayName=a.name+" [from "+f.id+"]";e=d("RelayModern").createPaginationContainer(a,{user:i!==void 0?i:i=b("OCAccountFriendsList_user.graphql")},{direction:"forward",getConnectionFromProps:function(a){return(a=a.user)==null?void 0:a.friends},getVariables:function(a,b,c){c=b.count;b=b.cursor;return{cursor:b,count:c,userID:a.user.id}},query:j!==void 0?j:j=b("OCAccountFriendsListPaginationQuery.graphql")});g["default"]=e}),226);
-----
OCAccountFriendsList_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:["friends"]}]},name:"OCAccountFriendsList_user",selections:[a,{alias:"friends",args:null,concreteType:"UserToFriendsConnection",kind:"LinkedField",name:"__OCAccountFriendsList_friends_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"UserToFriendsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"node",plural:!1,selections:[a,{args:null,kind:"FragmentSpread",name:"OCAccountFriendItem_friend"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null}],type:"User",abstractKey:null}}();e.exports=a}),null);
-----
OCAccountFriendItem_friend.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountFriendItem_friend",selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"alias",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"presence_status",storageKey:null},{alias:null,args:[{kind:"Literal",name:"size",value:"75x75"}],concreteType:"Image",kind:"LinkedField",name:"profile_photo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:"profile_photo(size:"75x75")"}],type:"User",abstractKey:null};e.exports=a}),null);
-----
OCAccountFriendItem.react",["OCAccountFriendInfo.react","OCAccountFriendItem_friend.graphql","OCAccountProfileImage.react","RelayModern","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");function a(a){var b;a=a.friend;return i.jsx("div",{className:"x1y1aw1k xn6708d xwib8y2 xkhd6sd xyorhqc x78zum5 x6s0dn4 x1qughib x1a02dak",children:i.jsxs("div",{className:"x78zum5 x6s0dn4 xh8yej3 x1jzhcrs",children:[i.jsx(c("OCAccountProfileImage.react"),{presenceStatus:a==null?void 0:a.presence_status,uri:a==null?void 0:(b=a.profile_photo)==null?void 0:b.uri}),i.jsx(c("OCAccountFriendInfo.react"),{alias:(b=a==null?void 0:a.alias)!=null?b:"",isOnline:(a==null?void 0:a.presence_status)==="ONLINE",name:(b=a==null?void 0:a.name)!=null?b:""})]})})}a.displayName=a.name+" [from "+f.id+"]";e=d("RelayModern").createFragmentContainer(a,{friend:h!==void 0?h:h=b("OCAccountFriendItem_friend.graphql")});g["default"]=e}),98);
-----
OCAccountFriendsList.react",["fbt","OCAccountFriendItem.react","OCAccountFriendsListPaginationQuery.graphql","OCAccountFriendsList_user.graphql","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSSpinner.react","OCDSText.react","OnVisible.react","RelayModern","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").useState,m={headerText:{marginBottom:"x1iymm2a",$$css:!0},loadMore:{textAlign:"x2b8uid",$$css:!0},spinnerMargin:{marginTop:"xw7yly9",marginBottom:"x1yztbdb",$$css:!0}};function a(a){var b,d=a.loadCount,e=a.relay;a=a.user;b=a==null?void 0:(b=a.friends)==null?void 0:b.edges;var f=l(!1),g=f[0],i=f[1];if(!b||b.length===0)return k.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:m.headerText,children:h._("u6682u65f6u6ca1u6709u4efbu4f55 Oculus u597du53cbu3002u7ed1u5b9a Facebook u5e10u6237u6216u53d1u9001u52a0u597du53cbu8bf7u6c42u5c31u53efu4ee5u5728u8fd9u91ccu770bu5230u597du53cbu54e6u3002")});function j(){i(!0),e.loadMore(d,function(){i(!1)})}return k.jsxs(k.Fragment,{children:[k.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:m.headerText,children:h._("{friends_count}u4f4du597du53cb",[h._param("friends_count",(a=a==null?void 0:(f=a.friends)==null?void 0:f.count)!=null?a:0)])}),k.jsx(c("OCDSResponsiveRow.react"),{verticalGutter:"xsmall",children:b.map(function(a){a=a.node;return a&&k.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:6,desktop:6},children:k.jsx(c("OCAccountFriendItem.react"),{friend:a})},a.id)})}),e.hasMore()&&k.jsx(c("OnVisible.react"),{onVisible:j,children:k.jsx("div",{className:"x2b8uid",children:g&&k.jsx(c("OCDSSpinner.react"),{xstyle:m.spinnerMargin})})})]})}a.displayName=a.name+" [from "+f.id+"]";e=d("RelayModern").createPaginationContainer(a,{user:i!==void 0?i:i=b("OCAccountFriendsList_user.graphql")},{direction:"forward",getConnectionFromProps:function(a){return(a=a.user)==null?void 0:a.friends},getVariables:function(a,b,c){c=b.count;b=b.cursor;return{cursor:b,count:c,userID:a.user.id}},query:j!==void 0?j:j=b("OCAccountFriendsListPaginationQuery.graphql")});g["default"]=e}),98);
-----
OCAccountFriendsList_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:["friends"]}]},name:"OCAccountFriendsList_user",selections:[a,{alias:"friends",args:null,concreteType:"UserToFriendsConnection",kind:"LinkedField",name:"__OCAccountFriendsList_friends_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"UserToFriendsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"node",plural:!1,selections:[a,{args:null,kind:"FragmentSpread",name:"OCAccountFriendItem_friend"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null}],type:"User",abstractKey:null}}();e.exports=a}),null);
-----
OCAccountFriendItem_friend.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountFriendItem_friend",selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"alias",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"presence_status",storageKey:null},{alias:null,args:[{kind:"Literal",name:"size",value:"75x75"}],concreteType:"Image",kind:"LinkedField",name:"profile_photo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:"profile_photo(size:"75x75")"}],type:"User",abstractKey:null};e.exports=a}),null);
-----