DeveloperInstantGamesZeroPermissionsSettingsContainer.react",["DeveloperInstantGamesDataDeletionConfirmationCard.react","DeveloperInstantGamesZeroPermissionsMigrationSettingsCard.react","DeveloperInstantGamesZeroPermissionsSettingsCard.react","DeveloperInstantGamesZeroPermissionsSettingsContainerQuery.graphql","FBRelayRoot","RelayFBEnvironment","RelayHooks","URI","XFBInstantGameNEZPMigrationPercentage.facebook","XFBInstantGameNEZPMigrationStatus.facebook","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=u||(u=o("react")),d=u.useState,m=e!==void 0?e:e=n("DeveloperInstantGamesZeroPermissionsSettingsContainerQuery.graphql");function p(e){var t,n,a,i,l,u,m,p,_,f,g,h,y=e.data,C=y==null||(t=y.app)==null?void 0:t.id,b=y==null||(n=y.app)==null?void 0:n.instant_application,v=b==null?void 0:b.id,S={standardGameLink:(b==null?void 0:b.standard_game_link)!=null?new(s||(s=r("URI")))(b==null?void 0:b.standard_game_link):null,nrzpGameLink:(b==null?void 0:b.zp_game_link)!=null?new(s||(s=r("URI")))(b==null?void 0:b.zp_game_link):null},R=b==null?void 0:b.nezp_migration_status,L=(a=b==null?void 0:b.is_migrated_canvas_game)!=null?a:!1,E=b==null?void 0:b.nezp_migration_percentage,k=b==null?void 0:b.zp_tosed_users_migration_percentage,I=!(b!=null&&b.is_game_pre_launch),T=(i=b==null?void 0:b.is_nezp_feature_approved)!=null?i:!1,D=(l=b==null?void 0:b.has_uploaded_nezp_bundle)!=null?l:!1,x=(u=b==null?void 0:b.has_selected_game_environment)!=null?u:!1,$=(m=b==null?void 0:b.is_game_pre_launch)!=null?m:!1,P=(p=b==null?void 0:b.documentation_link)!=null?p:"",N=(_=b==null?void 0:b.is_nezp_integrated_app_sv)!=null?_:!1,M=(f=b==null?void 0:b.should_show_privilege_revocation_warning_message)!=null?f:!1,w=(g=b==null?void 0:b.has_confirmed_data_deletion)!=null?g:!1,A=d(w),F=A[0],O=A[1],B=d(R),W=B[0],q=B[1];if(y.app==null||y.app.instant_application==null||C==null||v==null||R==null||E==null||k==null)return null;var U=String(W).toUpperCase()===String(r("XFBInstantGameNEZPMigrationStatus.facebook").MIGRATING),V=String(E).toUpperCase()===String(r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT),H=(V||U)&&!L;return c.jsx(o("RelayHooks").RelayEnvironmentProvider,{environment:r("RelayFBEnvironment"),children:c.jsxs("div",{style:{marginTop:16},children:[c.jsx(r("DeveloperInstantGamesZeroPermissionsSettingsCard.react"),{props:{appID:C,instantAppID:v,isMigratedCanvasGame:L,setMigrationStatus:q,gameTestLinks:{standardGameLink:S.standardGameLink,nrzpGameLink:S.nrzpGameLink},shouldShowGameTestButton:I,hasSelectedGameEnvironment:x,isGameCreatedPostFlare:$,documentationLink:P}}),H&&c.jsxs(c.Fragment,{children:[c.jsx(r("DeveloperInstantGamesDataDeletionConfirmationCard.react"),{fragmentKey:(h=y.app)==null?void 0:h.applicationRef,hasConfirmedDataDeletion:F,setHasConfirmed:O}),c.jsx(r("DeveloperInstantGamesZeroPermissionsMigrationSettingsCard.react"),{appId:C,hasUploadedNEZPBundle:D,isDataDeleted:F,isExistingUsersMigrationComponent:!1,isNEZPFeatureApproved:T,isNEZPIntegratedAppSV:N,isOtherComponentUserMigrationCompleted:N?String(k).toUpperCase()===String(r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT):!0,migrationPercentage:E,shouldShowPrivilegeRevocationWarningMessage:M}),N&&c.jsx(r("DeveloperInstantGamesZeroPermissionsMigrationSettingsCard.react"),{appId:C,hasUploadedNEZPBundle:D,isDataDeleted:F,isExistingUsersMigrationComponent:!0,isNEZPFeatureApproved:T,isNEZPIntegratedAppSV:N,isOtherComponentUserMigrationCompleted:String(E).toUpperCase()===String(r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT),migrationPercentage:k,shouldShowPrivilegeRevocationWarningMessage:M})]})]})})}p.displayName=p.name+" [from "+i.id+"]";var _=o("FBRelayRoot").createRootContainer(p,m);l.default=_}),98);
-----
DeveloperInstantGamesZeroPermissionsMigrationSettingsCard.react",["fbt","ix","DeveloperInstantGamesZeroPermissionsMigrationSettingsCard_UpdateMigrationSettingsMutation.graphql","DeveloperInstantGamesZeroPermissionsSettingsSuccessModal.react","GeoBaseText.react","GeoButton.react","GeoCard.react","GeoFlexbox.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoModalFooter.react","GeoModalHeader.react","GeoModal_DEPRECATED.react","GeoSection.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","GeoToast.react","GeoToolbar.react","RelayHooks","XFBInstantGameNEZPMigrationPercentage.facebook","emptyFunction","fbicon","geoMargin","react","useGeoToaster"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e,c,d=c||(c=o("react")),m=c.useState,p=e!==void 0?e:e=n("DeveloperInstantGamesZeroPermissionsMigrationSettingsCard_UpdateMigrationSettingsMutation.graphql");function _(e){var t=e.appId,n=e.hasUploadedNEZPBundle,a=e.isDataDeleted,i=e.isExistingUsersMigrationComponent,l=e.isNEZPFeatureApproved,c=e.isNEZPIntegratedAppSV,_=e.isOtherComponentUserMigrationCompleted,y=e.migrationPercentage,C=e.shouldShowPrivilegeRevocationWarningMessage,b=o("RelayHooks").useMutation(p),v=b[0],S=b[1],R=m(g(y)),L=R[0],E=R[1],k=m(!1),I=k[0],T=k[1],D=m(!1),x=D[0],$=D[1],P=r("useGeoToaster")(),N=P.add,M=m(g(y)),w=M[0],A=M[1],F=c&&!i?!0:a,O=!F||!l||!n,B=function(){return i?s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Zero Permissions Existing Users Rollout")}))]):c?s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Zero Permissions New Users Rollout")}))]):s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Zero Permissions Users Rollout")}))])},W=function(){return i?s._(/*BTDS*/"To enable migration to Zero Permissions, select the percentage of {=m1} you want to initially roll this out to.",[s._implicitParam("=m1",d.jsx("strong",{children:s._(/*BTDS*/"existing players (users that have already accepted the Terms of Service and played the game before)")}))]):c?s._(/*BTDS*/"To enable migration to Zero Permissions, select the percentage of {=m1} you want to initially roll this out to.",[s._implicitParam("=m1",d.jsx("strong",{children:s._(/*BTDS*/"new players (users that are completely new to the game)")}))]):s._(/*BTDS*/"To enable migration to Zero Permissions, select the percentage of players you want to initially roll this out to.")},q=function(){return!F&&!l&&!n?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data, request advanced access to the {zero permissions} feature, and upload your game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):!F&&!l?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data and request advanced access to the {zero permissions} feature.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):!F&&!n?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data and upload your {zero permissions} game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):!l&&!n?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to request advanced access to the {zero permissions} feature and upload your {zero permissions} game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):l?F?n?null:s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to upload your {zero permissions} game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data."):s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to request advanced access to the {zero permissions} feature.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))])},U=function(){v({onCompleted:function(t,n){T(!1),L===100&&_&&$(!0),A(L),N(d.jsx(r("GeoToast.react"),{hasIcon:!0,heading:s._(/*BTDS*/"Migration settings updated"),status:"success"}))},variables:{input:{app_id:t,rollout_percentage:h(L),is_existing_users_migration:i}},onError:function(t){N(d.jsx(r("GeoToast.react"),{hasIcon:!0,heading:s._(/*BTDS*/"Failed to update migration settings. Please try again."),status:"error"}))}})};return d.jsxs(d.Fragment,{children:[d.jsxs(r("GeoCard.react"),{isOverflowYAuto:!1,xstyle:r("geoMargin").bottom24,children:[d.jsx(r("GeoSection.react"),{children:d.jsx(r("GeoToolbar.react"),{children:d.jsx(r("GeoHeading.react"),{level:2,textAlign:"start",children:B()})})}),w===100?d.jsx(r("GeoSection.react"),{children:d.jsxs(r("GeoFlexbox.react"),{alignItems:"center",direction:"row",children:[d.jsx(r("GeoIcon.react"),{color:"success",icon:o("fbicon")._(u("498150"),24),xstyle:f.completedIcon}),d.jsx(r("GeoBaseText.react"),{color:"heading",size:"header4",xstyle:f.completedText,children:s._(/*BTDS*/"The instant game has reached 100u0025 migration rollout to the {zero permissions} experience and the percentage of migrated players canu2019t be decreased.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))])})]})}):d.jsxs(r("GeoSection.react"),{children:[d.jsxs(r("GeoFlexbox.react"),{direction:"column",gap:16,xstyle:f.content,children:[d.jsx(r("GeoText.react"),{children:W()}),d.jsxs(r("GeoSelector.react"),{isDisabled:O,label:s._(/*BTDS*/"Rollout percentage"),onChange:E,tooltip:q(),value:L,children:[d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>0,label:s._(/*BTDS*/"0u0025"),value:0}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>5,label:s._(/*BTDS*/"5u0025"),value:5}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>20,label:s._(/*BTDS*/"20u0025"),value:20}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>50,label:s._(/*BTDS*/"50u0025"),value:50}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>80,label:s._(/*BTDS*/"80u0025"),value:80}),d.jsx(r("GeoSelectorItem.react"),{label:s._(/*BTDS*/"100u0025"),value:100})]}),d.jsx(r("GeoGuidanceCard.react"),{header:d.jsx(r("GeoGuidanceCardHeader.react"),{heading:s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Migration is permanent")}))])}),status:"warning",children:d.jsx(r("GeoGuidanceCardContent.react"),{children:d.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"The migration rollout percentage canu2019t be decreased. Users who are migrated to the zero permissions experience canu2019t be moved back to the previous experience.")})})})]}),d.jsx(r("GeoFlexbox.react"),{direction:"row",justifyContent:"end",children:d.jsx(r("GeoButton.react"),{isDisabled:O,label:s._(/*BTDS*/"Confirm"),onClick:function(){return T(!0)},variant:"primary"})})]})]}),d.jsx(r("GeoModal_DEPRECATED.react"),{footer:d.jsx(r("GeoModalFooter.react"),{primaryButton:d.jsx(r("GeoButton.react"),{isDisabled:S,isLoading:S,label:s._(/*BTDS*/"Confirm"),onClick:U,variant:"creation"}),secondaryButton:d.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Cancel"),onClick:function(){return T(!1)},variant:"default"})}),header:d.jsx(r("GeoModalHeader.react"),{heading:s._(/*BTDS*/"Migration is permanent")}),isShown:I,onHide:function(){T(!1)},width:900,children:d.jsxs(r("GeoSection.react"),{children:[d.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"The migration rollout percentage canu2019t be decreased. Users who are migrated to the zero permissions experience canu2019t be moved back to the previous experience.")}),d.jsx("br",{}),d.jsx("br",{}),L===100&&C&&d.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"Upon confirming 100u0025 rollout to the zero permissions experience, your game will no longer need advanced permissions. These unneeded permissions will be revoked on your behalf, reducing your compliance requirements. If you wish to regain access to these permissions, you are able to re-apply for access. To learn more about advanced permissions and why they are no longer needed, please see our {=m2}.",[s._implicitParam("=m2",d.jsx(r("GeoLink.react"),{href:"https://developers.facebook.com/docs/games/build/instant-games/network-enabled-zero-permissions/faq",target:"_blank",children:s._(/*BTDS*/"zero permissions FAQ")}))])})]})}),d.jsx(r("DeveloperInstantGamesZeroPermissionsSettingsSuccessModal.react"),{appID:t,modalHeader:s._(/*BTDS*/"Successfully completed migration"),modalText:s._(/*BTDS*/"After completing the migration to {zero permissions}, youu2019ll have a new way to push game bundles into production. Simply tap the star icon in the status column for the bundle to load it to the zero permissions environment for users. Similarly, to test your game in zero permissions, just tap {play button label} under Web Hosting/ Manage Hosted Assets.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"})),s._param("play button label",d.jsx("strong",{children:"play"}))]),refresh:r("emptyFunction"),setShowSuccessModal:$,showSuccessModal:x})]})}_.displayName=_.name+" [from "+i.id+"]";var f={completedIcon:{marginInlineEnd:"x1xegmmw",$$css:!0},completedText:{marginInlineStart:"x13fj5qh",marginInlineEnd:"x1xegmmw",marginLeft:null,marginRight:null,$$css:!0},content:{paddingBottom:"x1l90r2v",$$css:!0}},g=function(t){var e=t.toUpperCase();switch(e){case r("XFBInstantGameNEZPMigrationPercentage.facebook").FIVE_PERCENT:return 5;case r("XFBInstantGameNEZPMigrationPercentage.facebook").TWENTY_PERCENT:return 20;case r("XFBInstantGameNEZPMigrationPercentage.facebook").FIFTY_PERCENT:return 50;case r("XFBInstantGameNEZPMigrationPercentage.facebook").EIGHTY_PERCENT:return 80;case r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT:return 100;default:return 0}},h=function(t){switch(t){case 5:return r("XFBInstantGameNEZPMigrationPercentage.facebook").FIVE_PERCENT;case 20:return r("XFBInstantGameNEZPMigrationPercentage.facebook").TWENTY_PERCENT;case 50:return r("XFBInstantGameNEZPMigrationPercentage.facebook").FIFTY_PERCENT;case 80:return r("XFBInstantGameNEZPMigrationPercentage.facebook").EIGHTY_PERCENT;case 100:return r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT;default:return r("XFBInstantGameNEZPMigrationPercentage.facebook").ZERO_PERCENT}};l.default=_}),226);
-----
-----
DeveloperInstantGamesZeroPermissionsMigrationSettingsCard.react",["fbt","ix","DeveloperInstantGamesZeroPermissionsMigrationSettingsCard_UpdateMigrationSettingsMutation.graphql","DeveloperInstantGamesZeroPermissionsSettingsSuccessModal.react","GeoBaseText.react","GeoButton.react","GeoCard.react","GeoFlexbox.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoModalFooter.react","GeoModalHeader.react","GeoModal_DEPRECATED.react","GeoSection.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","GeoToast.react","GeoToolbar.react","RelayHooks","XFBInstantGameNEZPMigrationPercentage.facebook","emptyFunction","fbicon","geoMargin","react","useGeoToaster"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e,c,d=c||(c=o("react")),m=c.useState,p=e!==void 0?e:e=n("DeveloperInstantGamesZeroPermissionsMigrationSettingsCard_UpdateMigrationSettingsMutation.graphql");function _(e){var t=e.appId,n=e.hasUploadedNEZPBundle,a=e.isDataDeleted,i=e.isExistingUsersMigrationComponent,l=e.isNEZPFeatureApproved,c=e.isNEZPIntegratedAppSV,_=e.isOtherComponentUserMigrationCompleted,y=e.migrationPercentage,C=e.shouldShowPrivilegeRevocationWarningMessage,b=o("RelayHooks").useMutation(p),v=b[0],S=b[1],R=m(g(y)),L=R[0],E=R[1],k=m(!1),I=k[0],T=k[1],D=m(!1),x=D[0],$=D[1],P=r("useGeoToaster")(),N=P.add,M=m(g(y)),w=M[0],A=M[1],F=c&&!i?!0:a,O=!F||!l||!n,B=function(){return i?s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Zero Permissions Existing Users Rollout")}))]):c?s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Zero Permissions New Users Rollout")}))]):s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Zero Permissions Users Rollout")}))])},W=function(){return i?s._(/*BTDS*/"To enable migration to Zero Permissions, select the percentage of {=m1} you want to initially roll this out to.",[s._implicitParam("=m1",d.jsx("strong",{children:s._(/*BTDS*/"existing players (users that have already accepted the Terms of Service and played the game before)")}))]):c?s._(/*BTDS*/"To enable migration to Zero Permissions, select the percentage of {=m1} you want to initially roll this out to.",[s._implicitParam("=m1",d.jsx("strong",{children:s._(/*BTDS*/"new players (users that are completely new to the game)")}))]):s._(/*BTDS*/"To enable migration to Zero Permissions, select the percentage of players you want to initially roll this out to.")},q=function(){return!F&&!l&&!n?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data, request advanced access to the {zero permissions} feature, and upload your game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):!F&&!l?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data and request advanced access to the {zero permissions} feature.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):!F&&!n?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data and upload your {zero permissions} game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):!l&&!n?s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to request advanced access to the {zero permissions} feature and upload your {zero permissions} game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):l?F?n?null:s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to upload your {zero permissions} game bundle.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))]):s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to confirm youu2019ve deleted all required data."):s._(/*BTDS*/"To select the rollout percentage for your instant game, you need to request advanced access to the {zero permissions} feature.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))])},U=function(){v({onCompleted:function(t,n){T(!1),L===100&&_&&$(!0),A(L),N(d.jsx(r("GeoToast.react"),{hasIcon:!0,heading:s._(/*BTDS*/"Migration settings updated"),status:"success"}))},variables:{input:{app_id:t,rollout_percentage:h(L),is_existing_users_migration:i}},onError:function(t){N(d.jsx(r("GeoToast.react"),{hasIcon:!0,heading:s._(/*BTDS*/"Failed to update migration settings. Please try again."),status:"error"}))}})};return d.jsxs(d.Fragment,{children:[d.jsxs(r("GeoCard.react"),{isOverflowYAuto:!1,xstyle:r("geoMargin").bottom24,children:[d.jsx(r("GeoSection.react"),{children:d.jsx(r("GeoToolbar.react"),{children:d.jsx(r("GeoHeading.react"),{level:2,textAlign:"start",children:B()})})}),w===100?d.jsx(r("GeoSection.react"),{children:d.jsxs(r("GeoFlexbox.react"),{alignItems:"center",direction:"row",children:[d.jsx(r("GeoIcon.react"),{color:"success",icon:o("fbicon")._(u("498150"),24),xstyle:f.completedIcon}),d.jsx(r("GeoBaseText.react"),{color:"heading",size:"header4",xstyle:f.completedText,children:s._(/*BTDS*/"The instant game has reached 100u0025 migration rollout to the {zero permissions} experience and the percentage of migrated players canu2019t be decreased.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"}))])})]})}):d.jsxs(r("GeoSection.react"),{children:[d.jsxs(r("GeoFlexbox.react"),{direction:"column",gap:16,xstyle:f.content,children:[d.jsx(r("GeoText.react"),{children:W()}),d.jsxs(r("GeoSelector.react"),{isDisabled:O,label:s._(/*BTDS*/"Rollout percentage"),onChange:E,tooltip:q(),value:L,children:[d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>0,label:s._(/*BTDS*/"0u0025"),value:0}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>5,label:s._(/*BTDS*/"5u0025"),value:5}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>20,label:s._(/*BTDS*/"20u0025"),value:20}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>50,label:s._(/*BTDS*/"50u0025"),value:50}),d.jsx(r("GeoSelectorItem.react"),{isDisabled:w>80,label:s._(/*BTDS*/"80u0025"),value:80}),d.jsx(r("GeoSelectorItem.react"),{label:s._(/*BTDS*/"100u0025"),value:100})]}),d.jsx(r("GeoGuidanceCard.react"),{header:d.jsx(r("GeoGuidanceCardHeader.react"),{heading:s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",d.jsx("strong",{children:s._(/*BTDS*/"Migration is permanent")}))])}),status:"warning",children:d.jsx(r("GeoGuidanceCardContent.react"),{children:d.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"The migration rollout percentage canu2019t be decreased. Users who are migrated to the zero permissions experience canu2019t be moved back to the previous experience.")})})})]}),d.jsx(r("GeoFlexbox.react"),{direction:"row",justifyContent:"end",children:d.jsx(r("GeoButton.react"),{isDisabled:O,label:s._(/*BTDS*/"Confirm"),onClick:function(){return T(!0)},variant:"primary"})})]})]}),d.jsx(r("GeoModal_DEPRECATED.react"),{footer:d.jsx(r("GeoModalFooter.react"),{primaryButton:d.jsx(r("GeoButton.react"),{isDisabled:S,isLoading:S,label:s._(/*BTDS*/"Confirm"),onClick:U,variant:"creation"}),secondaryButton:d.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Cancel"),onClick:function(){return T(!1)},variant:"default"})}),header:d.jsx(r("GeoModalHeader.react"),{heading:s._(/*BTDS*/"Migration is permanent")}),isShown:I,onHide:function(){T(!1)},width:900,children:d.jsxs(r("GeoSection.react"),{children:[d.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"The migration rollout percentage canu2019t be decreased. Users who are migrated to the zero permissions experience canu2019t be moved back to the previous experience.")}),d.jsx("br",{}),d.jsx("br",{}),L===100&&C&&d.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"Upon confirming 100u0025 rollout to the zero permissions experience, your game will no longer need advanced permissions. These unneeded permissions will be revoked on your behalf, reducing your compliance requirements. If you wish to regain access to these permissions, you are able to re-apply for access. To learn more about advanced permissions and why they are no longer needed, please see our {=m2}.",[s._implicitParam("=m2",d.jsx(r("GeoLink.react"),{href:"https://developers.facebook.com/docs/games/build/instant-games/network-enabled-zero-permissions/faq",target:"_blank",children:s._(/*BTDS*/"zero permissions FAQ")}))])})]})}),d.jsx(r("DeveloperInstantGamesZeroPermissionsSettingsSuccessModal.react"),{appID:t,modalHeader:s._(/*BTDS*/"Successfully completed migration"),modalText:s._(/*BTDS*/"After completing the migration to {zero permissions}, youu2019ll have a new way to push game bundles into production. Simply tap the star icon in the status column for the bundle to load it to the zero permissions environment for users. Similarly, to test your game in zero permissions, just tap {play button label} under Web Hosting/ Manage Hosted Assets.",[s._param("zero permissions",d.jsx("strong",{children:"zero permissions"})),s._param("play button label",d.jsx("strong",{children:"play"}))]),refresh:r("emptyFunction"),setShowSuccessModal:$,showSuccessModal:x})]})}_.displayName=_.name+" [from "+i.id+"]";var f={completedIcon:{marginInlineEnd:"x1xegmmw",$$css:!0},completedText:{marginInlineStart:"x13fj5qh",marginInlineEnd:"x1xegmmw",marginLeft:null,marginRight:null,$$css:!0},content:{paddingBottom:"x1l90r2v",$$css:!0}},g=function(t){var e=t.toUpperCase();switch(e){case r("XFBInstantGameNEZPMigrationPercentage.facebook").FIVE_PERCENT:return 5;case r("XFBInstantGameNEZPMigrationPercentage.facebook").TWENTY_PERCENT:return 20;case r("XFBInstantGameNEZPMigrationPercentage.facebook").FIFTY_PERCENT:return 50;case r("XFBInstantGameNEZPMigrationPercentage.facebook").EIGHTY_PERCENT:return 80;case r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT:return 100;default:return 0}},h=function(t){switch(t){case 5:return r("XFBInstantGameNEZPMigrationPercentage.facebook").FIVE_PERCENT;case 20:return r("XFBInstantGameNEZPMigrationPercentage.facebook").TWENTY_PERCENT;case 50:return r("XFBInstantGameNEZPMigrationPercentage.facebook").FIFTY_PERCENT;case 80:return r("XFBInstantGameNEZPMigrationPercentage.facebook").EIGHTY_PERCENT;case 100:return r("XFBInstantGameNEZPMigrationPercentage.facebook").ONE_HUNDRED_PERCENT;default:return r("XFBInstantGameNEZPMigrationPercentage.facebook").ZERO_PERCENT}};l.default=_}),226);
-----