OCNotificationsItem.react",["ix","Image.react","OCCoreUtils","OCDSHeading.react","OCDSSpacer.react","OCDSText.react","OCErrorBoundary","OCNotificationSeenStateMutation","OCNotificationsItem_notification.graphql","OCWWWNotificationType","RelayHooks","ShimButton.react","Timestamp.react","goURI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function l(a,b){var c=h("1062946");a=JSON.parse((a=a)!=null?a:"{}");switch(b){case d("OCWWWNotificationType").OCWWWNotificationTypes.OC_FRIEND_RATED_APP:return(b=a.user_photo)!=null?b:c;default:return(b=a.application_photo)!=null?b:c}}function a(a){var e=a.notification;a=a.userID;var f=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCNotificationsItem_notification.graphql"),e),g=f==null?void 0:(e=f.rendered_notification)==null?void 0:e.deeplink_uri;if(g==null||g.length===0||a==null)return null;a=l(f==null?void 0:(e=f.rendered_notification)==null?void 0:e.extra_data,f==null?void 0:f.notification_type);e=function(){var a=f==null?void 0:f.id,b=f==null?void 0:f.seen_state;a!=null&&b!=="SEEN_AND_READ"&&d("OCNotificationSeenStateMutation").commit({new_seen_state:"SEEN_AND_READ",notification_id:a});c("goURI")(g)};return k.jsx(c("OCErrorBoundary"),{fallback:null,children:k.jsx("div",{className:"xso031l x1q0q8m5 x135p29s x6ikm8r x1u8hfhx x13dflua xwji4o3 xodtfm x14tvv71",children:k.jsxs(c("ShimButton.react"),{className:"x1ypdohk x78zum5 x9orja2 x84yb8i xh8yej3 xpu943t xqbx146 x1w6t2hj xe5l7su x3zyd9n xhzu03u",onClick:e,children:[k.jsx("div",{className:"x1qx7dla xxsxjwm",children:k.jsx(c("Image.react"),{className:"x1ok221b xh8yej3",src:a})}),k.jsxs("div",{children:[(f==null?void 0:(e=f.rendered_notification)==null?void 0:e.message)!=null&&k.jsx(c("OCDSHeading.react"),{type:"heading4",children:f==null?void 0:(a=f.rendered_notification)==null?void 0:a.message}),k.jsx(c("OCDSSpacer.react"),{bottomSize:"small"}),k.jsx(c("OCDSText.react"),{color:"gray",type:"legal",children:k.jsx(c("Timestamp.react"),{text:d("OCCoreUtils").formatDate((e=f==null?void 0:f.send_time)!=null?e:Math.round(Date.now()/1e3),"M d, g:iA"),time:f==null?void 0:f.send_time})})]})]},f==null?void 0:f.id)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList.react",["OCDSSpinner.react","OCErrorBoundary","OCLoggedInNotificationsList_user.graphql","OCNotificationsEmptyTray.react","OCNotificationsItem.react","OnVisible.react","RelayHooks","isTruthy","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("OCLoggedInNotificationsList_user.graphql");function a(a){var b,e=a.count;a=a.user;a=d("RelayHooks").usePaginationFragment(k,a);var f=a.data,g=a.hasNext,h=a.isLoadingNext,i=a.loadNext;a=function(){!h&&g&&i(e)};b=(b=f==null?void 0:(b=f.notifications)==null?void 0:b.edges)!=null?b:[];var l;b.length===0?l=j.jsx(c("OCNotificationsEmptyTray.react"),{}):l=j.jsxs(j.Fragment,{children:[b.map(function(a){a=a.node;return a&&c("isTruthy")(a==null?void 0:a.id)&&j.jsx(c("OCNotificationsItem.react"),{notification:a,userID:f==null?void 0:f.id},a==null?void 0:a.id)}),g&&j.jsx(c("OnVisible.react"),{onVisible:a,children:j.jsx("div",{className:"x9orja2 xbaz6xv x2b8uid",children:h&&j.jsx(c("OCDSSpinner.react"),{size:"small"})})})]});return j.jsx(c("OCErrorBoundary"),{fallback:null,children:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList_user.graphql",["OCNotificationsPaginationQuery.graphql"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=["notifications"],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"notification_types"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:a}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:a},fragmentPathInResult:["node"],operation:b("OCNotificationsPaginationQuery.graphql"),identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"OCLoggedInNotificationsList_user",selections:[c,{alias:"notifications",args:[{kind:"Variable",name:"notification_type",variableName:"notification_types"}],concreteType:"RecipientToNotificationsConnection",kind:"LinkedField",name:"__OCLoggedInNotificationsList_user_notifications_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"RecipientToNotificationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"node",plural:!1,selections:[c,{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"},{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,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);
-----
OCNotificationsItem_notification.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCNotificationsItem_notification",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],type:"Notification",abstractKey:null};e.exports=a}),null);
-----
OCNotificationSeenStateMutation.graphql",["OCNotificationSeenStateMutation_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"}],storageKey:null},d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null}]},params:{id:b("OCNotificationSeenStateMutation_oculusRelayOperation"),metadata:{},name:"OCNotificationSeenStateMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
OCNotificationsItem.react",["ix","Image.react","OCCoreUtils","OCDSHeading.react","OCDSSpacer.react","OCDSText.react","OCErrorBoundary","OCNotificationSeenStateMutation","OCNotificationsItem_notification.graphql","OCWWWNotificationType","RelayHooks","ShimButton.react","Timestamp.react","goURI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react");function k(a,b){var c=h("1062946");a=JSON.parse((a=a)!=null?a:"{}");switch(b){case d("OCWWWNotificationType").OCWWWNotificationTypes.OC_FRIEND_RATED_APP:return(b=a.user_photo)!=null?b:c;default:return(b=a.application_photo)!=null?b:c}}function a(a){var e=a.notification;a=a.userID;var f=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCNotificationsItem_notification.graphql"),e),g=f==null?void 0:(e=f.rendered_notification)==null?void 0:e.deeplink_uri;if(g==null||g.length===0||a==null)return null;a=k(f==null?void 0:(e=f.rendered_notification)==null?void 0:e.extra_data,f==null?void 0:f.notification_type);e=function(){var a=f==null?void 0:f.id,b=f==null?void 0:f.seen_state;a!=null&&b!=="SEEN_AND_READ"&&d("OCNotificationSeenStateMutation").commit({new_seen_state:"SEEN_AND_READ",notification_id:a});c("goURI")(g)};return j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsx("div",{className:"x1wfzsf3 x6ikm8r x1u8hfhx x13dflua xwji4o3 xodtfm x1rix2v9",children:j.jsxs(c("ShimButton.react"),{className:"x1ypdohk x78zum5 x9orja2 x84yb8i xh8yej3 xpu943t xqbx146 x1w6t2hj xe5l7su x3zyd9n xhzu03u",onClick:e,children:[j.jsx("div",{className:"x1qx7dla xxsxjwm",children:j.jsx(c("Image.react"),{className:"x1ok221b xh8yej3",src:a})}),j.jsxs("div",{children:[(f==null?void 0:(e=f.rendered_notification)==null?void 0:e.message)!=null&&j.jsx(c("OCDSHeading.react"),{type:"heading4",children:f==null?void 0:(a=f.rendered_notification)==null?void 0:a.message}),j.jsx(c("OCDSSpacer.react"),{bottomSize:"small"}),j.jsx(c("OCDSText.react"),{color:"gray",type:"legal",children:j.jsx(c("Timestamp.react"),{text:d("OCCoreUtils").formatDate((e=f==null?void 0:f.send_time)!=null?e:Math.round(Date.now()/1e3),"M d, g:iA"),time:f==null?void 0:f.send_time})})]})]},f==null?void 0:f.id)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList.react",["OCDSSpinner.react","OCErrorBoundary","OCLoggedInNotificationsList_user.graphql","OCNotificationsEmptyTray.react","OCNotificationsItem.react","OnVisible.react","RelayHooks","isTruthy","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=h!==void 0?h:h=b("OCLoggedInNotificationsList_user.graphql");function a(a){var b,e=d("RelayHooks").usePaginationFragment(j,a.user),f=e.data,g=e.hasNext,h=e.isLoadingNext,k=e.loadNext;e=function(){!h&&g&&k(a.count)};b=(b=f==null?void 0:(b=f.notifications)==null?void 0:b.edges)!=null?b:[];var l;b.length===0?l=i.jsx(c("OCNotificationsEmptyTray.react"),{}):l=i.jsxs(i.Fragment,{children:[b.map(function(a){a=a.node;return a&&c("isTruthy")(a==null?void 0:a.id)&&i.jsx(c("OCNotificationsItem.react"),{notification:a,userID:f==null?void 0:f.id},a==null?void 0:a.id)}),g&&i.jsx(c("OnVisible.react"),{onVisible:e,children:i.jsx("div",{className:"x9orja2 xbaz6xv x2b8uid",children:h&&i.jsx(c("OCDSSpinner.react"),{size:"small"})})})]});return i.jsx(c("OCErrorBoundary"),{fallback:null,children:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList_user.graphql",["OCNotificationsPaginationQuery.graphql"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=["notifications"],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"notification_types"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:a}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:a},fragmentPathInResult:["node"],operation:b("OCNotificationsPaginationQuery.graphql"),identifierField:"id"}},name:"OCLoggedInNotificationsList_user",selections:[c,{alias:"notifications",args:[{kind:"Variable",name:"notification_type",variableName:"notification_types"}],concreteType:"RecipientToNotificationsConnection",kind:"LinkedField",name:"__OCLoggedInNotificationsList_user_notifications_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"RecipientToNotificationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"node",plural:!1,selections:[c,{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"},{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,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);
-----
OCNotificationSeenStateMutation.graphql",["OCNotificationSeenStateMutation_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"}],storageKey:null},d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null}]},params:{id:b("OCNotificationSeenStateMutation_oculusRelayOperation"),metadata:{},name:"OCNotificationSeenStateMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
OCNotificationsItem_notification.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCNotificationsItem_notification",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],type:"Notification",abstractKey:null};e.exports=a}),null);
-----
-----
OCLoggedInNotificationsList.react",["OCDSSpinner.react","OCErrorBoundary","OCLoggedInNotificationsList_user.graphql","OCNotificationsEmptyTray.react","OCNotificationsItem.react","OnVisible.react","RelayHooks","isTruthy","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("OCLoggedInNotificationsList_user.graphql");function a(a){var b,e=a.count;a=a.user;a=d("RelayHooks").usePaginationFragment(k,a);var f=a.data,g=a.hasNext,h=a.isLoadingNext,i=a.loadNext;a=function(){!h&&g&&i(e)};b=(b=f==null?void 0:(b=f.notifications)==null?void 0:b.edges)!=null?b:[];var l;b.length===0?l=j.jsx(c("OCNotificationsEmptyTray.react"),{}):l=j.jsxs(j.Fragment,{children:[b.map(function(a){a=a.node;return a&&c("isTruthy")(a==null?void 0:a.id)&&j.jsx(c("OCNotificationsItem.react"),{notification:a,userID:f==null?void 0:f.id},a==null?void 0:a.id)}),g&&j.jsx(c("OnVisible.react"),{onVisible:a,children:j.jsx("div",{className:"x9orja2 xbaz6xv x2b8uid",children:h&&j.jsx(c("OCDSSpinner.react"),{size:"small"})})})]});return j.jsx(c("OCErrorBoundary"),{fallback:null,children:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList_user.graphql",["OCNotificationsPaginationQuery.graphql"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=["notifications"],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"notification_types"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:a}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:a},fragmentPathInResult:["node"],operation:b("OCNotificationsPaginationQuery.graphql"),identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"OCLoggedInNotificationsList_user",selections:[c,{alias:"notifications",args:[{kind:"Variable",name:"notification_type",variableName:"notification_types"}],concreteType:"RecipientToNotificationsConnection",kind:"LinkedField",name:"__OCLoggedInNotificationsList_user_notifications_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"RecipientToNotificationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"node",plural:!1,selections:[c,{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"},{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,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);
-----
OCNotificationsItem_notification.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCNotificationsItem_notification",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],type:"Notification",abstractKey:null};e.exports=a}),null);
-----
OCNotificationSeenStateMutation.graphql",["OCNotificationSeenStateMutation_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"}],storageKey:null},d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null}]},params:{id:b("OCNotificationSeenStateMutation_oculusRelayOperation"),metadata:{},name:"OCNotificationSeenStateMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
OCNotificationsItem.react",["ix","Image.react","OCCoreUtils","OCDSHeading.react","OCDSSpacer.react","OCDSText.react","OCErrorBoundary","OCNotificationSeenStateMutation","OCNotificationsItem_notification.graphql","OCWWWNotificationType","RelayHooks","ShimButton.react","Timestamp.react","goURI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react");function k(a,b){var c=h("1062946");a=JSON.parse((a=a)!=null?a:"{}");switch(b){case d("OCWWWNotificationType").OCWWWNotificationTypes.OC_FRIEND_RATED_APP:return(b=a.user_photo)!=null?b:c;default:return(b=a.application_photo)!=null?b:c}}function a(a){var e=a.notification;a=a.userID;var f=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCNotificationsItem_notification.graphql"),e),g=f==null?void 0:(e=f.rendered_notification)==null?void 0:e.deeplink_uri;if(g==null||g.length===0||a==null)return null;a=k(f==null?void 0:(e=f.rendered_notification)==null?void 0:e.extra_data,f==null?void 0:f.notification_type);e=function(){var a=f==null?void 0:f.id,b=f==null?void 0:f.seen_state;a!=null&&b!=="SEEN_AND_READ"&&d("OCNotificationSeenStateMutation").commit({new_seen_state:"SEEN_AND_READ",notification_id:a});c("goURI")(g)};return j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsx("div",{className:"x1wfzsf3 x6ikm8r x1u8hfhx x13dflua xwji4o3 xodtfm x1rix2v9",children:j.jsxs(c("ShimButton.react"),{className:"x1ypdohk x78zum5 x9orja2 x84yb8i xh8yej3 xpu943t xqbx146 x1w6t2hj xe5l7su x3zyd9n xhzu03u",onClick:e,children:[j.jsx("div",{className:"x1qx7dla xxsxjwm",children:j.jsx(c("Image.react"),{className:"x1ok221b xh8yej3",src:a})}),j.jsxs("div",{children:[(f==null?void 0:(e=f.rendered_notification)==null?void 0:e.message)!=null&&j.jsx(c("OCDSHeading.react"),{type:"heading4",children:f==null?void 0:(a=f.rendered_notification)==null?void 0:a.message}),j.jsx(c("OCDSSpacer.react"),{bottomSize:"small"}),j.jsx(c("OCDSText.react"),{color:"gray",type:"legal",children:j.jsx(c("Timestamp.react"),{text:d("OCCoreUtils").formatDate((e=f==null?void 0:f.send_time)!=null?e:Math.round(Date.now()/1e3),"M d, g:iA"),time:f==null?void 0:f.send_time})})]})]},f==null?void 0:f.id)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList.react",["OCDSSpinner.react","OCErrorBoundary","OCLoggedInNotificationsList_user.graphql","OCNotificationsEmptyTray.react","OCNotificationsItem.react","OnVisible.react","RelayHooks","isTruthy","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=h!==void 0?h:h=b("OCLoggedInNotificationsList_user.graphql");function a(a){var b,e=d("RelayHooks").usePaginationFragment(j,a.user),f=e.data,g=e.hasNext,h=e.isLoadingNext,k=e.loadNext;e=function(){!h&&g&&k(a.count)};b=(b=f==null?void 0:(b=f.notifications)==null?void 0:b.edges)!=null?b:[];var l;b.length===0?l=i.jsx(c("OCNotificationsEmptyTray.react"),{}):l=i.jsxs(i.Fragment,{children:[b.map(function(a){a=a.node;return a&&c("isTruthy")(a==null?void 0:a.id)&&i.jsx(c("OCNotificationsItem.react"),{notification:a,userID:f==null?void 0:f.id},a==null?void 0:a.id)}),g&&i.jsx(c("OnVisible.react"),{onVisible:e,children:i.jsx("div",{className:"x9orja2 xbaz6xv x2b8uid",children:h&&i.jsx(c("OCDSSpinner.react"),{size:"small"})})})]});return i.jsx(c("OCErrorBoundary"),{fallback:null,children:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCLoggedInNotificationsList_user.graphql",["OCNotificationsPaginationQuery.graphql"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=["notifications"],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:20,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"notification_types"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:a}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:a},fragmentPathInResult:["node"],operation:b("OCNotificationsPaginationQuery.graphql"),identifierField:"id"}},name:"OCLoggedInNotificationsList_user",selections:[c,{alias:"notifications",args:[{kind:"Variable",name:"notification_type",variableName:"notification_types"}],concreteType:"RecipientToNotificationsConnection",kind:"LinkedField",name:"__OCLoggedInNotificationsList_user_notifications_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"RecipientToNotificationsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"node",plural:!1,selections:[c,{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"},{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,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);
-----
OCNotificationSeenStateMutation.graphql",["OCNotificationSeenStateMutation_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"OCNotificationsItem_notification"}],storageKey:null},d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCNotificationSeenStateMutation",selections:[{alias:null,args:c,concreteType:"SetSeenStateNotificationResponsePayload",kind:"LinkedField",name:"set_seen_state_notification",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null}]},params:{id:b("OCNotificationSeenStateMutation_oculusRelayOperation"),metadata:{},name:"OCNotificationSeenStateMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
OCNotificationsItem_notification.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCNotificationsItem_notification",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"send_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notification_type",storageKey:null},{alias:null,args:null,concreteType:"RenderedNotification",kind:"LinkedField",name:"rendered_notification",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deeplink_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extra_data",storageKey:null}],storageKey:null}],type:"Notification",abstractKey:null};e.exports=a}),null);
-----