OCAccountSettingsAccountStatusHorizonDeveloperLink.react",["fbt","OCAccountSettingsAccountStatusHorizonDeveloperLink_link.graphql","OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal.react","OCDSBadge.react","OCDSHeading.react","OCDSLink.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","RelayHooks","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState;function a(a){a=a.linkRef;var e=l(!1),f=e[0],g=e[1];e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCAccountSettingsAccountStatusHorizonDeveloperLink_link.graphql"),a);if(e==null)return;a=(a=(a=e.developer)==null?void 0:a.display_name)!=null?a:"";var j=e.status==="PENDING",n=j?[8,4]:[10,2],o=n[0];n=n[1];return k.jsxs(k.Fragment,{children:[k.jsxs(c("OCDSResponsiveRow.react"),{xstyle:m.row,children:[k.jsxs(c("OCDSResponsiveRow.react"),{xstyle:m.header,children:[k.jsx(c("OCDSResponsiveRowItem.react"),{span:12,children:k.jsx(c("OCDSHeading.react"),{type:"heading4",children:h._(/*BTDS*/"Paired Account")})}),k.jsx(c("OCDSResponsiveRowItem.react"),{span:12,children:k.jsx(c("OCDSText.react"),{type:"body2",children:h._(/*BTDS*/"Allow you to test the apps you build in Horizon Developer Dashboard using your headset, avatar and profile, access Developer Mode, Store and other areas only available to Meta accounts.")})})]}),k.jsxs(c("OCDSResponsiveRow.react"),{xstyle:m.details_row,children:[k.jsx(c("OCDSResponsiveRowItem.react"),{span:o,children:k.jsx(c("OCDSResponsiveRow.react"),{children:k.jsxs(c("OCDSResponsiveRowItem.react"),{span:12,xstyle:m.details_left_item,children:[k.jsx(c("OCDSText.react"),{type:"eyebrow",weight:"bold",xstyle:m.info,children:a}),k.jsx(c("OCDSText.react"),{type:"eyebrow",xstyle:m.info,children:h._(/*BTDS*/"Managed Meta Account")})]})})}),k.jsxs(c("OCDSResponsiveRowItem.react"),{span:n,children:[j?[k.jsx(c("OCDSBadge.react"),{label:h._(/*BTDS*/"Pending"),size:"large",variant:"outline",xstyle:m.pending_item},"dev_link_pending_badge"),k.jsx(c("OCDSText.react"),{type:"body2",xstyle:m.pending_item,children:k.jsx(c("OCDSLink.react"),{onClick:function(){},children:h._(/*BTDS*/"Accept")})},"dev_link_pending_text")]:null,k.jsx(c("OCDSText.react"),{type:"body2",children:k.jsx(c("OCDSLink.react"),{onClick:function(){return g(!0)},children:h._(/*BTDS*/"Unpair")})})]})]})]}),k.jsx(c("OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal.react"),{isShown:f,link:e,setIsShown:g})]})}a.displayName=a.name+" [from "+f.id+"]";var m={header:{alignItems:"x6s0dn4",paddingTop:"x1byr4rc",paddingBottom:"x1hhzuzn",$$css:!0},row:{paddingTop:"x1cnzs8",display:"x78zum5",alignItems:"x6s0dn4",$$css:!0},details_row:{display:"x78zum5",alignItems:"x6s0dn4",justifyContent:"x1qughib",$$css:!0},info:{marginTop:"xdj266r",marginInlineEnd:"x14z9mp",marginBottom:"xat24cr",marginInlineStart:"x1lziwak",paddingTop:"xexx8yu",paddingInlineEnd:"xyri2b",paddingBottom:"x18d9i69",paddingInlineStart:"x1c1uobl",$$css:!0},details_left_item:{display:"x78zum5",flexDirection:"xdt5ytf",rowGap:"x3pnbk8",$$css:!0},pending_item:{marginRight:"x1o6q14k",marginInlineStart:null,marginInlineEnd:null,$$css:!0}};g["default"]=a}),226);
-----
OCAccountSettingsAccountStatusHorizonDeveloperLink_link.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountSettingsAccountStatusHorizonDeveloperLink_link",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"developer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null}],storageKey:null},action:"LOG"},{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},action:"LOG"},{args:null,kind:"FragmentSpread",name:"OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal_link"}],type:"XOCDeveloperHorizonProfileLink",abstractKey:null};e.exports=a}),null);
-----
OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal.react",["fbt","OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModalMutation.graphql","OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal_link.graphql","OCDSButton.react","OCDSModal.react","OCDSModalBody.react","OCDSModalFooter.react","OCDSModalHeader.react","OCDSSpacer.react","OCDSText.react","RelayHooks","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||d("react");function a(a){var e=a.isShown,f=a.link,g=a.setIsShown,k=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal_link.graphql"),f);a=d("RelayHooks").useMutation(j!==void 0?j:j=b("OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModalMutation.graphql"));var m=a[0];f=a[1];if(k==null)return;var n=function(){return g(!1)};a=function(){m({variables:{input:{developer_horizon_profile_link_id:k.id}},onCompleted:function(){n()}})};return l.jsx(c("OCDSModal.react"),{footer:l.jsxs(c("OCDSModalFooter.react"),{children:[l.jsx(c("OCDSButton.react"),{display:"block",isDisabled:f,isLoading:f,label:h._(/*BTDS*/"CONFIRM"),type:"primary",onClick:a}),l.jsx(c("OCDSSpacer.react"),{topSize:"small"}),l.jsx(c("OCDSButton.react"),{display:"block",isDisabled:f,label:h._(/*BTDS*/"CANCEL"),variant:"outline",onClick:n})]}),header:l.jsx(c("OCDSModalHeader.react"),{title:h._(/*BTDS*/"UNPAIR ACCOUNT")}),hideOnEscape:!f,isShown:e,layerHideOnBlur:!f,onHide:n,children:l.jsx(c("OCDSModalBody.react"),{children:l.jsx(c("OCDSText.react"),{children:h._(/*BTDS*/"Are you sure you want to unlink your Meta account from your developer account?")})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal_link.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModal_link",selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},action:"LOG"}],type:"XOCDeveloperHorizonProfileLink",abstractKey:null};e.exports=a}),null);
-----
OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModalMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModalMutation",selections:[{alias:null,args:b,concreteType:"User",kind:"LinkedField",name:"xoc_developer_horizon_profile_link_delete",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCDeveloperHorizonProfileLink",kind:"LinkedField",name:"developer_horizon_profile_link",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"OCAccountSettingsAccountStatusHorizonDeveloperLink_link"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModalMutation",selections:[{alias:null,args:b,concreteType:"User",kind:"LinkedField",name:"xoc_developer_horizon_profile_link_delete",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCDeveloperHorizonProfileLink",kind:"LinkedField",name:"developer_horizon_profile_link",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"developer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},c],storageKey:null},c],storageKey:null}]},params:{id:"9627867644009597",metadata:{},name:"OCAccountSettingsAccountStatusHorizonDeveloperUnlinkModalMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----