OCDevManageApplicationAdsRegisterAppCard.react",["fbt","ix","GeoButton.react","GeoCard.react","GeoCardFooter.react","GeoCardHeader.react","GeoFlexbox.react","GeoSection.react","GeoText.react","OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation.graphql","OCDevManageApplicationAdsRegisterAppCard_application.graphql","OCDevManageApplicationAdsRegisterAppCard_viewer.graphql","OCDevUIAsyncButton.react","OCDevUICopyToClipboardTextBox.react","OCDevUISpacedLayout.react","RelayHooks","asyncToGeneratorRuntime","fbicon","geoMargin","react","useOCDevUICommitMutation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=m||d("react");function a(a){var e=a.application,f=a.appToken,g=a.setAppToken;a=a.viewer;e=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManageApplicationAdsRegisterAppCard_application.graphql"),e);var m=e.id;e=d("RelayHooks").useFragment(k!==void 0?k:k=b("OCDevManageApplicationAdsRegisterAppCard_viewer.graphql"),a);var o=e.user,p=c("useOCDevUICommitMutation")(l!==void 0?l:l=b("OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation.graphql"));function q(){return r.apply(this,arguments)}function r(){r=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a,b;g("");a=(yield p({input:{application_id:(a=m)!=null?a:""}}));a=a==null?void 0:(a=a.xoc_create_user_nonce_for_application_ads)==null?void 0:a.nonce;g(((b=o==null?void 0:o.id)!=null?b:"")+"#"+((b=a)!=null?b:""))});return r.apply(this,arguments)}return n.jsx(c("GeoCard.react"),{footer:n.jsx(c("GeoCardFooter.react"),{primaryButton:n.jsx(c("GeoButton.react"),{href:"https://business.facebook.com/latest/settings/apps",icon:d("fbicon")._(i("1900469"),16),isDisabled:f==="",label:h._("Open Meta Business Suite"),target:"_blank",variant:"primary"})}),header:n.jsx(c("GeoCardHeader.react"),{heading:h._("Register app")}),children:n.jsx(c("GeoSection.react"),{children:n.jsxs(c("OCDevUISpacedLayout.react"),{children:[n.jsx(c("GeoText.react"),{children:h._("To link your app in Meta Business Suite, you will need to generate a token to uniquely identify your app. You will be taken to Meta Business Suite to continue the process.")}),n.jsxs(c("GeoFlexbox.react"),{children:[n.jsx(c("OCDevUIAsyncButton.react"),{label:h._("Generate"),xstyle:c("geoMargin").end8,onClick:q}),n.jsx(c("OCDevUICopyToClipboardTextBox.react"),{copyText:f})]})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageApplicationAdsRegisterAppSection.react",["fbt","ix","GeoCard.react","GeoCardHeader.react","GeoFlexbox.react","GeoLink.react","GeoSection.react","GeoText.react","Image.react","OCDevManageApplicationAdsRegisterAppCard.react","OCDevManageApplicationAdsRegisterAppSection_application.graphql","OCDevManageApplicationAdsRegisterAppSection_viewer.graphql","OCDevUISpacedLayout.react","RelayHooks","geoMargin","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=m||d("react");function a(a){var e=a.application,f=a.appToken,g=a.setAppToken;a=a.viewer;e=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManageApplicationAdsRegisterAppSection_application.graphql"),e);a=d("RelayHooks").useFragment(k!==void 0?k:k=b("OCDevManageApplicationAdsRegisterAppSection_viewer.graphql"),a);return n.jsxs(c("OCDevUISpacedLayout.react"),{children:[n.jsx(c("OCDevManageApplicationAdsRegisterAppCard.react"),{application:e,appToken:f,setAppToken:g,viewer:a}),n.jsx(c("GeoCard.react"),{header:n.jsx(c("GeoCardHeader.react"),{heading:h._("Using the token")}),children:n.jsx(c("GeoSection.react"),{children:n.jsxs(c("GeoFlexbox.react"),{children:[n.jsx(c("Image.react"),{className:(l||(l=c("stylex")))(c("geoMargin").end16),src:i("427579")}),n.jsxs(c("OCDevUISpacedLayout.react"),{xstyle:c("geoMargin").start16,children:[n.jsx(c("GeoText.react"),{children:h._("1. Go to {=m2}.",[h._implicitParam("=m2",n.jsx(c("GeoLink.react"),{href:"https://business.facebook.com/latest/settings/apps",target:"_blank",children:h._("Meta Business Suite")}))])}),n.jsx(c("GeoText.react"),{children:h._("2. Select your business portfolio in the top right corner.")}),n.jsx(c("GeoText.react"),{children:h._("3. Select {=m1} in the lower left corner.",[h._implicitParam("=m1",n.jsx("strong",{children:h._("Settings")}))])}),n.jsx(c("GeoText.react"),{children:h._("4. Expand {=m1} and select {=m4}.",[h._implicitParam("=m1",n.jsx("strong",{children:h._("Accounts")})),h._implicitParam("=m4",n.jsx("strong",{children:h._("Apps")}))])}),n.jsx(c("GeoText.react"),{children:h._("5. Select {=m1} in the top right corner.",[h._implicitParam("=m1",n.jsx("strong",{children:h._("Add")}))])})]})]})})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageApplicationAdsRegisterAppCard_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppCard_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppSection_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppSection_viewer",selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationAdsRegisterAppCard_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppCard_application.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppCard_application",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Application",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppSection_application.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppSection_application",selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationAdsRegisterAppCard_application"}],type:"Application",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation.graphql",["OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"XOCCreateUserNonceForApplicationAdsResponsePayload",kind:"LinkedField",name:"xoc_create_user_nonce_for_application_ads",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"nonce",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation",selections:c},params:{id:b("OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation_oculusRelayOperation"),metadata:{},name:"OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation_oculusRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7308443145951243"}),null);
-----
OCDevManageApplicationAdsRegisterAppSection_application.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppSection_application",selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationAdsRegisterAppCard_application"}],type:"Application",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppSection_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppSection_viewer",selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationAdsRegisterAppCard_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppSection.react",["fbt","ix","GeoCard.react","GeoCardHeader.react","GeoFlexbox.react","GeoLink.react","GeoSection.react","GeoText.react","Image.react","OCDevManageApplicationAdsRegisterAppCard.react","OCDevManageApplicationAdsRegisterAppSection_application.graphql","OCDevManageApplicationAdsRegisterAppSection_viewer.graphql","OCDevUISpacedLayout.react","RelayHooks","geoMargin","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=m||d("react");function a(a){var e=a.application,f=a.appToken,g=a.setAppToken;a=a.viewer;e=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManageApplicationAdsRegisterAppSection_application.graphql"),e);a=d("RelayHooks").useFragment(k!==void 0?k:k=b("OCDevManageApplicationAdsRegisterAppSection_viewer.graphql"),a);return n.jsxs(c("OCDevUISpacedLayout.react"),{children:[n.jsx(c("OCDevManageApplicationAdsRegisterAppCard.react"),{application:e,appToken:f,setAppToken:g,viewer:a}),n.jsx(c("GeoCard.react"),{header:n.jsx(c("GeoCardHeader.react"),{heading:h._("Using the token")}),children:n.jsx(c("GeoSection.react"),{children:n.jsxs(c("GeoFlexbox.react"),{children:[n.jsx(c("Image.react"),{className:(l||(l=c("stylex")))(c("geoMargin").end16),src:i("427579")}),n.jsxs(c("OCDevUISpacedLayout.react"),{xstyle:c("geoMargin").start16,children:[n.jsx(c("GeoText.react"),{children:h._("1. Go to {=m2}.",[h._implicitParam("=m2",n.jsx(c("GeoLink.react"),{href:"https://business.facebook.com/latest/settings/apps",target:"_blank",children:h._("Meta Business Suite")}))])}),n.jsx(c("GeoText.react"),{children:h._("2. Select your business portfolio in the top right corner.")}),n.jsx(c("GeoText.react"),{children:h._("3. Select {=m1} in the lower left corner.",[h._implicitParam("=m1",n.jsx("strong",{children:h._("Settings")}))])}),n.jsx(c("GeoText.react"),{children:h._("4. Expand {=m1} and select {=m4}.",[h._implicitParam("=m1",n.jsx("strong",{children:h._("Accounts")})),h._implicitParam("=m4",n.jsx("strong",{children:h._("Apps")}))])}),n.jsx(c("GeoText.react"),{children:h._("5. Select {=m1} in the top right corner.",[h._implicitParam("=m1",n.jsx("strong",{children:h._("Add")}))])})]})]})})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageApplicationAdsRegisterAppCard.react",["fbt","ix","GeoButton.react","GeoCard.react","GeoCardFooter.react","GeoCardHeader.react","GeoFlexbox.react","GeoSection.react","GeoText.react","OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation.graphql","OCDevManageApplicationAdsRegisterAppCard_application.graphql","OCDevManageApplicationAdsRegisterAppCard_viewer.graphql","OCDevUIAsyncButton.react","OCDevUICopyToClipboardTextBox.react","OCDevUISpacedLayout.react","RelayHooks","asyncToGeneratorRuntime","fbicon","geoMargin","react","useOCDevUICommitMutation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=m||d("react");function a(a){var e=a.application,f=a.appToken,g=a.setAppToken;a=a.viewer;e=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManageApplicationAdsRegisterAppCard_application.graphql"),e);var m=e.id;e=d("RelayHooks").useFragment(k!==void 0?k:k=b("OCDevManageApplicationAdsRegisterAppCard_viewer.graphql"),a);var o=e.user,p=c("useOCDevUICommitMutation")(l!==void 0?l:l=b("OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation.graphql"));function q(){return r.apply(this,arguments)}function r(){r=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a,b;g("");a=(yield p({input:{application_id:(a=m)!=null?a:""}}));a=a==null?void 0:(a=a.xoc_create_user_nonce_for_application_ads)==null?void 0:a.nonce;g(((b=o==null?void 0:o.id)!=null?b:"")+"#"+((b=a)!=null?b:""))});return r.apply(this,arguments)}return n.jsx(c("GeoCard.react"),{footer:n.jsx(c("GeoCardFooter.react"),{primaryButton:n.jsx(c("GeoButton.react"),{href:"https://business.facebook.com/latest/settings/apps",icon:d("fbicon")._(i("1900469"),16),isDisabled:f==="",label:h._("Open Meta Business Suite"),target:"_blank",variant:"primary"})}),header:n.jsx(c("GeoCardHeader.react"),{heading:h._("Register app")}),children:n.jsx(c("GeoSection.react"),{children:n.jsxs(c("OCDevUISpacedLayout.react"),{children:[n.jsx(c("GeoText.react"),{children:h._("To link your app in Meta Business Suite, you will need to generate a token to uniquely identify your app. You will be taken to Meta Business Suite to continue the process.")}),n.jsxs(c("GeoFlexbox.react"),{children:[n.jsx(c("OCDevUIAsyncButton.react"),{label:h._("Generate"),xstyle:c("geoMargin").end8,onClick:q}),n.jsx(c("OCDevUICopyToClipboardTextBox.react"),{copyText:f})]})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageApplicationAdsRegisterAppCard_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppCard_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation_oculusRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7308443145951243"}),null);
-----
OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation.graphql",["OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"XOCCreateUserNonceForApplicationAdsResponsePayload",kind:"LinkedField",name:"xoc_create_user_nonce_for_application_ads",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"nonce",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation",selections:c},params:{id:b("OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation_oculusRelayOperation"),metadata:{},name:"OCDevManageApplicationAdsRegisterAppCardCreateNonceMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
OCDevManageApplicationAdsRegisterAppCard_application.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationAdsRegisterAppCard_application",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Application",abstractKey:null};e.exports=a}),null);
-----