DeveloperInstantGamesDetailsLocalizeCard.react",["fbt","ix","DeveloperInstantGamesDetailsLocalizeCardApplicationFragment.graphql","DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation.graphql","DeveloperInstantGamesLocaleSelector.react","DeveloperInstantGamesLocalizeModal.react","DeveloperInstantGamesSaveSpinnerOverlay.react","FBLocaleIDEnum","FBLocaleIDsEnglishNames","GeoBaseText.react","GeoButton.react","GeoCancelButton.react","GeoCard.react","GeoGenericCardHeader.react","GeoHStack.react","GeoHeading.react","GeoModalFooter.react","GeoModalHeader.react","GeoModal_DEPRECATED.react","GeoSection.react","GeoText.react","GeoVStack.react","RelayHooks","asyncToGeneratorRuntime","fbicon","geoMargin","nullthrows","react"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e,c,d,m=d||(d=o("react")),p=d,_=p.useEffect,f=p.useRef,g=p.useState,h=e!==void 0?e:e=n("DeveloperInstantGamesDetailsLocalizeCardApplicationFragment.graphql"),y=c!==void 0?c:c=n("DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation.graphql");function C(e){var t,a,i,l,c=e.fragmentKey,d=e.onLocaleChange,p=e.selectedLocale,C=o("RelayHooks").useRefetchableFragment(h,c!=null?c:null),b=C[0],v=C[1],S=(t=b==null?void 0:b.id)!=null?t:"",R=b==null?void 0:b.instant_application,L=(a=R==null?void 0:R.supported_locales)!=null?a:[],E=(i=R==null?void 0:R.available_locales)!=null?i:[],k=(l=R==null?void 0:R.primary_locale)!=null?l:"",I=f(!0),T=g(!1),D=T[0],x=T[1],$=g(!1),P=$[0],N=$[1],M=g(!1),w=M[0],A=M[1],F=g(null),O=F[0],B=F[1],W=g(!1),q=W[0],U=W[1],V=g(!1),H=V[0],G=V[1],z=g(null),j=z[0],K=z[1],Q=g(!1),X=Q[0],Y=Q[1],J=g(!1),Z=J[0],ee=J[1],te=o("RelayHooks").useMutation(y),ne=te[0],re=g(p),oe=re[0],ae=re[1];if(_(function(){if(I.current){I.current=!1;return}var e=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(){try{yield v({},{fetchPolicy:"network-only"})}finally{N(!1)}});return function(){return e.apply(this,arguments)}})();e()},[p,v]),b==null||(b==null?void 0:b.id)===null||(b==null?void 0:b.id)==="")return null;var ie=function(t){d(t),O!==null&&B(null)},le=function(){Y(!1),U(!1),G(!1),K(null),ee(!1),ae(p)},se=function(){U(!1),G(!1),K(null),ee(!0),ne({variables:{input:{app_id:parseInt(S,10),locale_to_remove:p}},onCompleted:function(t){var e=t.xfb_instant_games_locale_delete;if(ee(!1),!e)G(!0),K("The response was null");else if(e.success===!0)U(!0),d(k),window.setTimeout(function(){le(),v({},{fetchPolicy:"network-only"})},1500);else if(e.error!==null){var n=e.error;G(!0),K(n!=null?n:"Unknown error occurred the request was not successful")}else G(!0),K("Unknown error has occurred. The request was not successful")},onError:function(t){ee(!1),G(!0),K(t.message)}})},ue="u2219",ce=!1;return m.jsxs(r("GeoCard.react"),{header:m.jsx(r("GeoGenericCardHeader.react"),{children:m.jsxs(r("GeoHStack.react"),{alignItems:"center",justifyContent:"space-between",children:[m.jsxs(r("GeoVStack.react"),{children:[m.jsxs(r("GeoHStack.react"),{alignItems:"center",children:[m.jsx(r("GeoHeading.react"),{level:2,children:s._(/*BTDS*/"Localize")}),m.jsx(r("GeoBaseText.react"),{color:"placeholder",size:"value",weight:"bold",children:ue}),m.jsx(r("GeoBaseText.react"),{color:"placeholder",size:"value",weight:"bold",children:s._(/*BTDS*/"Optional")})]}),m.jsx(r("GeoBaseText.react"),{color:"heading",size:"value",xstyle:r("geoMargin").top16,children:s._(/*BTDS*/"Add support for additional languages to maximize the reach of your game.")})]}),m.jsxs(r("GeoHStack.react"),{alignItems:"end",justifyContent:"center",style:{maxWidth:"50%"},children:[ce&&m.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Change Primary Locale"),onClick:function(){A(!0),x(!0)}}),m.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Add Locale"),onClick:function(){A(!1),x(!0)},variant:"default"}),m.jsx(r("DeveloperInstantGamesLocaleSelector.react"),{newlyAddedLocale:O,onLocaleChange:ie,primaryLocale:k,selectedLocale:p,setIsRefetching:N,supportedLocales:L}),m.jsx(r("GeoButton.react"),{icon:o("fbicon")._(u("483828"),16),isDisabled:p===k,label:"",onClick:function(){ae(p),Y(!0)},variant:"default"})]})]})}),xstyle:r("geoMargin").bottom16,children:[m.jsxs("div",{style:{position:"relative"},children:[m.jsx(r("DeveloperInstantGamesLocalizeModal.react"),{appId:S,availableLocales:E,fragmentKey:b.localizeModalApplicationRef,isChangingPrimary:w,isShown:D,onHide:function(){return x(!1)},onLocaleAdded:function(t){B(t)},primaryLocale:k,supportedLocales:L}),m.jsx(r("DeveloperInstantGamesSaveSpinnerOverlay.react"),{borderRadius:8,bottomMargin:0,errorMessage:null,saveError:!1,saveSuccess:!1,savedMessage:"",saving:P})]}),m.jsx("div",{style:{position:"relative"},children:m.jsx(r("GeoModal_DEPRECATED.react"),{footer:m.jsx(r("GeoModalFooter.react"),{primaryButton:m.jsx(r("GeoButton.react"),{isDisabled:Z||q,label:s._(/*BTDS*/"Delete"),onClick:function(){se()}}),secondaryButton:m.jsx(r("GeoCancelButton.react"),{isDisabled:Z||q,onClick:le})}),header:m.jsx(r("GeoModalHeader.react"),{heading:s._(/*BTDS*/"Confirm Locale {locale} Deletion",[s._param("locale",r("FBLocaleIDsEnglishNames")[r("nullthrows")(r("FBLocaleIDEnum").cast(oe))])])}),isShown:X,onHide:le,children:m.jsxs(r("GeoSection.react"),{children:[m.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"Are you sure you want to delete the locale {locale}? This will remove all translations and media assets for this locale. This action cannot be undone.",[s._param("locale",r("FBLocaleIDsEnglishNames")[r("nullthrows")(r("FBLocaleIDEnum").cast(oe))])])}),m.jsx(r("DeveloperInstantGamesSaveSpinnerOverlay.react"),{borderRadius:8,bottomMargin:0,errorMessage:j,saveError:H,saveSuccess:q,savedMessage:s._(/*BTDS*/"Locale deleted successfully"),saving:Z})]})})})]})}C.displayName=C.name+" [from "+i.id+"]",l.default=C}),226);
-----
DeveloperInstantGamesLocaleDependentCardsWrapper.react",["DeveloperInstantGamesDetailsLocalizeCard.react","DeveloperInstantGamesDetailsMediaCard.react","DeveloperInstantGamesLocaleDependentCardsWrapperFragment.graphql","DeveloperInstantGamesLocaleDependentCardsWrapperQuery.graphql","DeveloperInstantGamesSettingsCardV2.react","FBRelayRoot","RelayFBEnvironment","RelayHooks","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d=c||(c=o("react")),m=u||(u=r("react")),p=d.useEffect,_=d.useState,f=e!==void 0?e:e=n("DeveloperInstantGamesLocaleDependentCardsWrapperQuery.graphql"),g=s!==void 0?s:s=n("DeveloperInstantGamesLocaleDependentCardsWrapperFragment.graphql");function h(e){var t,n,a,i=e.data,l=o("RelayHooks").useRefetchableFragment(g,(t=(n=i.app)==null?void 0:n.wrapperAppRef)!=null?t:null),s=l[0],u=l[1],c=i.app,d=s==null?void 0:s.instant_application,f=(a=d==null?void 0:d.primary_locale)!=null?a:"",h=_(!1),y=h[0],C=h[1],b=_(f),v=b[0],S=b[1];if(p(function(){f&&!v&&S(f)},[f,v]),c==null||c.localeizeCardApplicationRef==null||c.detailsSettingsCardApplicationRef==null||c.reviewableContentRef==null||c.mediaCardApplicationRef==null||c.localizedContentRef==null||d==null)return null;var R=function(t){S(t),C(!0),window.setTimeout(function(){C(!1)},200)};return m.jsxs(o("RelayHooks").RelayEnvironmentProvider,{environment:r("RelayFBEnvironment"),children:[m.jsx(r("DeveloperInstantGamesDetailsLocalizeCard.react"),{fragmentKey:c.localeizeCardApplicationRef,onLocaleChange:R,selectedLocale:v}),m.jsx(r("DeveloperInstantGamesSettingsCardV2.react"),{applicationRef:c.detailsSettingsCardApplicationRef,isLocaleRefetching:y,localizedContentFragmentRef:c.localizedContentRef,reviewableContentRef:c.reviewableContentRef,selectedLocale:v}),m.jsx(r("DeveloperInstantGamesDetailsMediaCard.react"),{fragmentKey:c.mediaCardApplicationRef,isLocaleRefetching:y,selectedLocale:v})]})}h.displayName=h.name+" [from "+i.id+"]";var y=o("FBRelayRoot").createRootContainer(h,f);l.default=y}),98);
-----
DeveloperInstantGamesDetailsLocalizeCardRefetchQuery.graphql",["DeveloperInstantGamesDetailsLocalizeCardRefetchQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"id"}],t=[{kind:"Variable",name:"id",variableName:"id"}],r={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesDetailsLocalizeCardRefetchQuery",selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesDetailsLocalizeCardRefetchQuery",selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},r,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null},r,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesLocaleRegionType",kind:"LinkedField",name:"available_locales_by_region",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"locales",storageKey:null}],storageKey:null}],storageKey:null}],type:"Application",abstractKey:null}],storageKey:null}]},params:{id:n("DeveloperInstantGamesDetailsLocalizeCardRefetchQuery_facebookRelayOperation"),metadata:{},name:"DeveloperInstantGamesDetailsLocalizeCardRefetchQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----
DeveloperInstantGamesLocaleDependentCardsWrapperQuery.graphql",["relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"app_id"},{defaultValue:null,kind:"LocalArgument",name:"locale"}],t=[{kind:"Variable",name:"id",variableName:"app_id"}],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},o=[r,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],a=[{kind:"Variable",name:"locale",variableName:"locale"}],i={alias:null,args:null,kind:"ScalarField",name:"is_fallback",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"locale",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"detailed_description",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesLocaleDependentCardsWrapperQuery",selections:[{alias:"app",args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"localeizeCardApplicationRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesSettingsCardV2ApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"detailsSettingsCardApplicationRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesSettingsCardV2Fragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"reviewableContentRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsMediaCardApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"mediaCardApplicationRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesLocaleDependentCardsWrapperFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"wrapperAppRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesSettingsCardV2LocalizedContentFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"localizedContentRef"}],type:"Application",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesLocaleDependentCardsWrapperQuery",selections:[{alias:"app",args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},n,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null},n,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesLocaleRegionType",kind:"LinkedField",name:"available_locales_by_region",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"locales",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_flexible_aspect_ratio_enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"test_flexible_aspect_ratio_url_string",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"orientation",storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesSubCategorySelector",kind:"LinkedField",name:"sub_category_selector_content",plural:!0,selections:[r,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesSubCategoryOption",kind:"LinkedField",name:"value",plural:!0,selections:o,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesCategoryEnum",kind:"LinkedField",name:"category_enums",plural:!0,selections:o,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"in_scope_prop_review",storageKey:null},{alias:null,args:a,concreteType:"XFBDevsiteInstantGamesImageInfoType",kind:"LinkedField",name:"image_resources_info",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"image_type",storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesImageUrlStringsValues",kind:"LinkedField",name:"image_url_strings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"preview_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"full_size_url",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encoded_handle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_handle",storageKey:null},i,l],storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesDescriptionImagesUrlsType",kind:"LinkedField",name:"dfc_image_guidance_url_strings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"banner_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"splash_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_icons_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gameplay_preview_1_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gameplay_preview_2_url",storageKey:null}],storageKey:null},{alias:null,args:a,concreteType:"XFBDevsiteInstantGamesVideoType",kind:"LinkedField",name:"videos",plural:!0,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thumbnail_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"video_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},l,i],storageKey:null},{alias:null,args:a,concreteType:"XFBDevsiteInstantGamesTranslatedAppStringsType",kind:"LinkedField",name:"translated_game_strings_by_locale",plural:!1,selections:[s,u,{alias:null,args:null,kind:"ScalarField",name:"medium_description",storageKey:null},c],storageKey:null}],storageKey:null},s,{alias:null,args:null,concreteType:"AdBusiness",kind:"LinkedField",name:"owning_business",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameBusiness",kind:"LinkedField",name:"instant_game_developer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"apple_developer_team_id",storageKey:null},n],storageKey:null},n],storageKey:null},{alias:null,args:null,concreteType:"XFBAppDetailsReviewableContent",kind:"LinkedField",name:"app_details_reviewable_content",plural:!1,selections:[n,u,{alias:null,args:null,kind:"ScalarField",name:"creator_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},c,{alias:null,args:null,kind:"ScalarField",name:"category",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_category_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publisher_max_length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publisher_description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle_max_length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_in_editable_state",storageKey:null}],storageKey:null}],type:"Application",abstractKey:null}],storageKey:null}]},params:{id:"24535203022848325",metadata:{},name:"DeveloperInstantGamesLocaleDependentCardsWrapperQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
DeveloperInstantGamesDetailsLocalizeCardApplicationFragment.graphql",["DeveloperInstantGamesDetailsLocalizeCardRefetchQuery.graphql"],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:n("DeveloperInstantGamesDetailsLocalizeCardRefetchQuery.graphql"),identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null}],storageKey:null},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesLocalizeModalApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"localizeModalApplicationRef"}],type:"Application",abstractKey:null};a.exports=e}),null);
-----
DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation.graphql",["DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{kind:"Variable",name:"data",variableName:"input"}],r={alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"error",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation",selections:[{alias:null,args:t,concreteType:"XFBInstantGamesLocaleDeleteResponsePayload",kind:"LinkedField",name:"xfb_instant_games_locale_delete",plural:!1,selections:[r,o,{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation",selections:[{alias:null,args:t,concreteType:"XFBInstantGamesLocaleDeleteResponsePayload",kind:"LinkedField",name:"xfb_instant_games_locale_delete",plural:!1,selections:[r,o,{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[a,{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null},a,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesLocaleRegionType",kind:"LinkedField",name:"available_locales_by_region",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"locales",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:n("DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation_facebookRelayOperation"),metadata:{},name:"DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
DeveloperInstantGamesDetailsLocalizeCardRefetchQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24100772136291658"}),null);
-----
DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24627955916841026"}),null);
-----
-----
DeveloperInstantGamesLocaleDependentCardsWrapper.react",["DeveloperInstantGamesDetailsLocalizeCard.react","DeveloperInstantGamesDetailsMediaCard.react","DeveloperInstantGamesLocaleDependentCardsWrapperFragment.graphql","DeveloperInstantGamesLocaleDependentCardsWrapperQuery.graphql","DeveloperInstantGamesSettingsCardV2.react","FBRelayRoot","RelayFBEnvironment","RelayHooks","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d=c||(c=o("react")),m=u||(u=r("react")),p=d.useEffect,_=d.useState,f=e!==void 0?e:e=n("DeveloperInstantGamesLocaleDependentCardsWrapperQuery.graphql"),g=s!==void 0?s:s=n("DeveloperInstantGamesLocaleDependentCardsWrapperFragment.graphql");function h(e){var t,n,a,i=e.data,l=o("RelayHooks").useRefetchableFragment(g,(t=(n=i.app)==null?void 0:n.wrapperAppRef)!=null?t:null),s=l[0],u=l[1],c=i.app,d=s==null?void 0:s.instant_application,f=(a=d==null?void 0:d.primary_locale)!=null?a:"",h=_(!1),y=h[0],C=h[1],b=_(f),v=b[0],S=b[1];if(p(function(){f&&!v&&S(f)},[f,v]),c==null||c.localeizeCardApplicationRef==null||c.detailsSettingsCardApplicationRef==null||c.reviewableContentRef==null||c.mediaCardApplicationRef==null||c.localizedContentRef==null||d==null)return null;var R=function(t){S(t),C(!0),window.setTimeout(function(){C(!1)},200)};return m.jsxs(o("RelayHooks").RelayEnvironmentProvider,{environment:r("RelayFBEnvironment"),children:[m.jsx(r("DeveloperInstantGamesDetailsLocalizeCard.react"),{fragmentKey:c.localeizeCardApplicationRef,onLocaleChange:R,selectedLocale:v}),m.jsx(r("DeveloperInstantGamesSettingsCardV2.react"),{applicationRef:c.detailsSettingsCardApplicationRef,isLocaleRefetching:y,localizedContentFragmentRef:c.localizedContentRef,reviewableContentRef:c.reviewableContentRef,selectedLocale:v}),m.jsx(r("DeveloperInstantGamesDetailsMediaCard.react"),{fragmentKey:c.mediaCardApplicationRef,isLocaleRefetching:y,selectedLocale:v})]})}h.displayName=h.name+" [from "+i.id+"]";var y=o("FBRelayRoot").createRootContainer(h,f);l.default=y}),98);
-----
DeveloperInstantGamesDetailsLocalizeCardRefetchQuery.graphql",["DeveloperInstantGamesDetailsLocalizeCardRefetchQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"id"}],t=[{kind:"Variable",name:"id",variableName:"id"}],r={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesDetailsLocalizeCardRefetchQuery",selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesDetailsLocalizeCardRefetchQuery",selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},r,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null},r,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesLocaleRegionType",kind:"LinkedField",name:"available_locales_by_region",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"locales",storageKey:null}],storageKey:null}],storageKey:null}],type:"Application",abstractKey:null}],storageKey:null}]},params:{id:n("DeveloperInstantGamesDetailsLocalizeCardRefetchQuery_facebookRelayOperation"),metadata:{},name:"DeveloperInstantGamesDetailsLocalizeCardRefetchQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----
DeveloperInstantGamesLocaleDependentCardsWrapperQuery.graphql",["relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"app_id"},{defaultValue:null,kind:"LocalArgument",name:"locale"}],t=[{kind:"Variable",name:"id",variableName:"app_id"}],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},o=[r,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],a=[{kind:"Variable",name:"locale",variableName:"locale"}],i={alias:null,args:null,kind:"ScalarField",name:"is_fallback",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"locale",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"detailed_description",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesLocaleDependentCardsWrapperQuery",selections:[{alias:"app",args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"localeizeCardApplicationRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesSettingsCardV2ApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"detailsSettingsCardApplicationRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesSettingsCardV2Fragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"reviewableContentRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsMediaCardApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"mediaCardApplicationRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesLocaleDependentCardsWrapperFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"wrapperAppRef"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesSettingsCardV2LocalizedContentFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"localizedContentRef"}],type:"Application",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesLocaleDependentCardsWrapperQuery",selections:[{alias:"app",args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},n,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null},n,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesLocaleRegionType",kind:"LinkedField",name:"available_locales_by_region",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"locales",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_flexible_aspect_ratio_enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"test_flexible_aspect_ratio_url_string",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"orientation",storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesSubCategorySelector",kind:"LinkedField",name:"sub_category_selector_content",plural:!0,selections:[r,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesSubCategoryOption",kind:"LinkedField",name:"value",plural:!0,selections:o,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesCategoryEnum",kind:"LinkedField",name:"category_enums",plural:!0,selections:o,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"in_scope_prop_review",storageKey:null},{alias:null,args:a,concreteType:"XFBDevsiteInstantGamesImageInfoType",kind:"LinkedField",name:"image_resources_info",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"image_type",storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesImageUrlStringsValues",kind:"LinkedField",name:"image_url_strings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"preview_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"full_size_url",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encoded_handle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_handle",storageKey:null},i,l],storageKey:null},{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesDescriptionImagesUrlsType",kind:"LinkedField",name:"dfc_image_guidance_url_strings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"banner_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"splash_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_icons_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gameplay_preview_1_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gameplay_preview_2_url",storageKey:null}],storageKey:null},{alias:null,args:a,concreteType:"XFBDevsiteInstantGamesVideoType",kind:"LinkedField",name:"videos",plural:!0,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thumbnail_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"video_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},l,i],storageKey:null},{alias:null,args:a,concreteType:"XFBDevsiteInstantGamesTranslatedAppStringsType",kind:"LinkedField",name:"translated_game_strings_by_locale",plural:!1,selections:[s,u,{alias:null,args:null,kind:"ScalarField",name:"medium_description",storageKey:null},c],storageKey:null}],storageKey:null},s,{alias:null,args:null,concreteType:"AdBusiness",kind:"LinkedField",name:"owning_business",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameBusiness",kind:"LinkedField",name:"instant_game_developer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"apple_developer_team_id",storageKey:null},n],storageKey:null},n],storageKey:null},{alias:null,args:null,concreteType:"XFBAppDetailsReviewableContent",kind:"LinkedField",name:"app_details_reviewable_content",plural:!1,selections:[n,u,{alias:null,args:null,kind:"ScalarField",name:"creator_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},c,{alias:null,args:null,kind:"ScalarField",name:"category",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_category_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publisher_max_length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publisher_description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle_max_length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_in_editable_state",storageKey:null}],storageKey:null}],type:"Application",abstractKey:null}],storageKey:null}]},params:{id:"24535203022848325",metadata:{},name:"DeveloperInstantGamesLocaleDependentCardsWrapperQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
DeveloperInstantGamesDetailsLocalizeCardApplicationFragment.graphql",["DeveloperInstantGamesDetailsLocalizeCardRefetchQuery.graphql"],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:n("DeveloperInstantGamesDetailsLocalizeCardRefetchQuery.graphql"),identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null}],storageKey:null},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesLocalizeModalApplicationFragment"}],type:"Application",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"localizeModalApplicationRef"}],type:"Application",abstractKey:null};a.exports=e}),null);
-----
DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation.graphql",["DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{kind:"Variable",name:"data",variableName:"input"}],r={alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"error",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation",selections:[{alias:null,args:t,concreteType:"XFBInstantGamesLocaleDeleteResponsePayload",kind:"LinkedField",name:"xfb_instant_games_locale_delete",plural:!1,selections:[r,o,{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"DeveloperInstantGamesDetailsLocalizeCardApplicationFragment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation",selections:[{alias:null,args:t,concreteType:"XFBInstantGamesLocaleDeleteResponsePayload",kind:"LinkedField",name:"xfb_instant_games_locale_delete",plural:!1,selections:[r,o,{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[a,{alias:null,args:null,concreteType:"InstantApplication",kind:"LinkedField",name:"instant_application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"available_locales",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primary_locale",storageKey:null},a,{alias:null,args:null,concreteType:"XFBDevsiteInstantGamesLocaleRegionType",kind:"LinkedField",name:"available_locales_by_region",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"locales",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:n("DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation_facebookRelayOperation"),metadata:{},name:"DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
DeveloperInstantGamesDetailsLocalizeCardRefetchQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24100772136291658"}),null);
-----
DeveloperInstantGamesDetailsLocalizeCard_DeleteLocaleMutation_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24627955916841026"}),null);
-----