DeveloperInstantGamesSHIELDSettingsCard.react",["fbt","DeveloperInstantGamesSHIELDDebugToggle.react","DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation","DeveloperInstantGamesSHIELDEnvToggle.react","GeoCard.react","GeoFlexbox.react","GeoGenericCardHeader.react","GeoHeading.react","GeoSection.react","react","react-relay"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=r("react")),d=(e||(e=o("react"))).useState;function m(e){var t=d(e.isSHIELDEnabled),n=t[0],a=t[1],i=d(e.isIGDebugEnabled),l=i[0],u=i[1],m=o("react-relay").useMutation(r("DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation")),p=m[0],_=m[1],f=d(e.shieldSDKVersion),g=f[0],h=f[1];function y(t){p({onCompleted:function(r,o){u(t),e.onDebugModeChange==null||e.onDebugModeChange(t)},variables:{input:{user:e.fbAccountUserID,igdebug_enabled:t}}})}function C(t){p({onCompleted:function(r,o){h(t),e.onSDKVersionChange==null||e.onSDKVersionChange(t)},variables:{input:{user:e.fbAccountUserID,igdebug_enabled:l,shield_sdk_version:t}}})}function b(e){a(e),l&&y(!1)}return c.jsx("div",{className:"_3-8p",children:c.jsxs(r("GeoCard.react"),{header:c.jsx(r("GeoGenericCardHeader.react"),{children:c.jsx(r("GeoHeading.react"),{level:2,children:e.shouldShowSHIELDEnvToggle?s._(/*BTDS*/"Network Enabled Zero Permissions Settings"):s._(/*BTDS*/"Debug mode settings")})}),children:[e.shouldShowSHIELDEnvToggle&&c.jsx(r("GeoSection.react"),{children:c.jsx(r("GeoFlexbox.react"),{direction:"column",children:c.jsx(r("DeveloperInstantGamesSHIELDEnvToggle.react"),{appID:e.appID,hasUserScope:e.hasUserScope,isAdminOrDevOrTester:e.isAdminOrDevOrTester,isSHIELDEnabled:n,onToggleSHIELDEnv:b,userScopeID:e.userScopeID})})}),e.shouldShowDebugToggle&&c.jsx(r("GeoSection.react"),{children:c.jsx(r("GeoFlexbox.react"),{direction:"column",children:c.jsx(r("DeveloperInstantGamesSHIELDDebugToggle.react"),{isDebugModeMutationInFlight:_,isIGDebugEnabled:l,isSHIELDEnabled:e.shouldShowSHIELDEnvToggle?n:!0,onSelectSHIELDSDKVersion:C,onToggleDebugMode:y,shieldSDKVersion:g})})})]})})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),226);
-----
DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation",["DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation.graphql"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e!==void 0?e:e=n("DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation.graphql"),u=s;l.default=u}),98);
-----
DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation.graphql",["DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"XFBEnableIgDebugInstantGamesOdSdkDebugSettingsResponsePayload",kind:"LinkedField",name:"xfb_enable_ig_debug_instant_games_od_sdk_debug_settings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation",selections:t,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation",selections:t},params:{id:n("DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation_facebookRelayOperation"),metadata:{},name:"DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
DeveloperInstantGamesSHIELDDebugToggleUpsertSettingsMutation_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="9834225823282236"}),null);
-----