OCDevManageWorldShutdownServerClientsDialog.react",["fbt","GeoToast.react","HzWorldsCreatorFalcoEvent","OCDevManageConfirmationModal.react","OCDevManageWorldShutdownServerClientsDialogMutation.graphql","asyncToGeneratorRuntime","react","useGeoToaster","useOCDevUICommitMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||c("react");function a(a){var d=a.snapshotID;a=c("useGeoToaster")();var e=a.add,f=c("useOCDevUICommitMutation")(i!==void 0?i:i=b("OCDevManageWorldShutdownServerClientsDialogMutation.graphql"));function g(){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){c("HzWorldsCreatorFalcoEvent").log(function(){return{event_type:"shutdown_server_client",route_info:{snapshot_id:d},snapshot_id:d,source:"web",sub_event:"start"}}),yield f({input:{snapshot_id:d,source:"WEB"}},{closeModalOnSuccess:!0,refetchOnSuccess:!0,onCompleted:function(){c("HzWorldsCreatorFalcoEvent").log(function(){return{event_type:"shutdown_server_client",route_info:{snapshot_id:d},snapshot_id:d,source:"web",sub_event:"complete"}}),e(k.jsx(c("GeoToast.react"),{heading:h._(/*BTDS*/"Current edit server has successfully been shut down.")}))},onError:function(){e(k.jsx(c("GeoToast.react"),{heading:h._(/*BTDS*/"Something went wrong. Please try again later."),status:"error"}))}})});return j.apply(this,arguments)}return k.jsx(c("OCDevManageConfirmationModal.react"),{heading:h._(/*BTDS*/"Shut down server"),onSubmit:g,children:h._(/*BTDS*/"All editors in the current edit session will be kicked out. Are you sure you want to continue?")})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageWorldShutdownServerClientsDialogMutation.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:"OCDevManageWorldShutdownServerClientsDialogMutation",selections:[{alias:null,args:b,concreteType:"XFBShutdownHorizonSnapshotServerclientsResponsePayload",kind:"LinkedField",name:"xfb_shutdown_horizon_snapshot_serverclients",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldSnapshot",kind:"LinkedField",name:"snapshot",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"world",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"if_viewer_can_shutdown_server_client",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageWorldDetailsShutdownServerClientsButton_world"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageWorldShutdownServerClientsDialogMutation",selections:[{alias:null,args:b,concreteType:"XFBShutdownHorizonSnapshotServerclientsResponsePayload",kind:"LinkedField",name:"xfb_shutdown_horizon_snapshot_serverclients",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldSnapshot",kind:"LinkedField",name:"snapshot",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"world",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"if_viewer_can_shutdown_server_client",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldSnapshot",kind:"LinkedField",name:"autosave_snapshot",plural:!1,selections:[c],storageKey:null},c,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"if_viewer_can_shutdown_server_client",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},c],storageKey:null}],storageKey:null},c],storageKey:null},c],storageKey:null}],storageKey:null}]},params:{id:"32019912620986119",metadata:{},name:"OCDevManageWorldShutdownServerClientsDialogMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----