OCDevManagePlayerVariablesMoveModal_persistent_variables.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManagePlayerVariablesMoveModal_persistent_variables",selections:[{alias:null,args:null,concreteType:"XOCFBHorizonStatView",kind:"LinkedField",name:"horizon_stat_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"stat_data_type",storageKey:null}],storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"origin_world",plural:!1,selections:[a],storageKey:null}],type:"XOCHorizonPersistentVariable",abstractKey:null}}();e.exports=a}),null);
-----
OCDevManagePlayerVariablesMoveModal.react",["fbt","ix","GeoBaseSpacingLayout.react","GeoButton.react","GeoCancelButton.react","GeoGenericModalHeader.react","GeoIcon.react","GeoModalCard.react","GeoModalFooter.react","GeoSection.react","GeoTextPairing.react","OCDevManagePlayerVariablesMoveModalMutation.graphql","OCDevManagePlayerVariablesMoveModal_persistent_variables.graphql","OCDevManagePlayerVariablesWorldSearch.react","OCDevUIForm.react","RelayHooks","fbicon","react","useOCDevUICommitMutation","useOCDevUIModal"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m=l||(l=d("react")),n=l.useState;function a(a){var e,f,g,l;a=a.playerVariable;var p=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManagePlayerVariablesMoveModal_persistent_variables.graphql"),a),q=c("useOCDevUICommitMutation")(k!==void 0?k:k=b("OCDevManagePlayerVariablesMoveModalMutation.graphql"));a=n("");var r=a[0],s=a[1];a=c("useOCDevUIModal")();a=a.closeModal;function t(a){s(a)}return m.jsx(c("OCDevUIForm.react"),{children:m.jsx(c("GeoModalCard.react"),{footer:m.jsx(c("GeoModalFooter.react"),{primaryButton:m.jsx(c("GeoButton.react"),{"data-testid":void 0,isDisabled:r.length===0||(p==null?void 0:p.id)==null,label:h._(/*BTDS*/"Move to World"),variant:"primary",onClick:function(){if((p==null?void 0:p.id)==null)return;return q({input:{stat_ids:[p==null?void 0:p.id],app_to_move_to:r}},{closeModalOnSuccess:!0,successToast:{heading:h._(/*BTDS*/"Player variable moved"),description:h._(/*BTDS*/"The variable is now available in the target world")}})}}),secondaryButton:m.jsx(c("GeoCancelButton.react"),{"data-testid":void 0,onClick:a})}),header:m.jsx(c("GeoGenericModalHeader.react"),{children:m.jsxs(c("GeoBaseSpacingLayout.react"),{"data-testid":void 0,children:[m.jsx("div",babelHelpers["extends"]({},{0:{className:"xjwep3j x1t39747 x1wcsgtt x1pczhz8 x10w6t97 x1td3qas xlmlcdg"},1:{className:"xjwep3j x1t39747 x1wcsgtt x1pczhz8 x10w6t97 x1td3qas xs4s74a"}}[!!((p==null||(e=p.horizon_stat_data)==null?void 0:e.stat_data_type)==="STRING")<<0],{children:m.jsx(c("GeoIcon.react"),{color:"marker",icon:(p==null||(f=p.horizon_stat_data)==null?void 0:f.stat_data_type)==="STRING"?d("fbicon")._(i("1176657"),16):d("fbicon")._(i("1921000"),16),xstyle:o.innerIcon})})),m.jsx(c("GeoTextPairing.react"),{description:null,heading:h._(/*BTDS*/"Move {player variable name}",[h._param("player variable name",p==null?void 0:p.name)]),size:"header3"})]})}),children:m.jsx(c("GeoSection.react"),{children:m.jsx(c("OCDevManagePlayerVariablesWorldSearch.react"),{enableMultiSelect:!1,excludedIds:(p==null||(g=p.origin_world)==null?void 0:g.id)!=null?[p==null||(l=p.origin_world)==null?void 0:l.id]:[],selectedApplicationIds:r.length!==0?[r]:[],toggleSelectedApp:t})})})})}a.displayName=a.name+" [from "+f.id+"]";var o={innerIcon:{marginTop:"x1xmf6yo",marginInlineEnd:"x1xegmmw",marginBottom:"x1e56ztr",marginInlineStart:"x13fj5qh",$$css:!0}};g["default"]=a}),226);
-----
-----
OCDevManagePlayerVariablesMoveModal.react",["fbt","ix","GeoBaseSpacingLayout.react","GeoButton.react","GeoCancelButton.react","GeoGenericModalHeader.react","GeoIcon.react","GeoModalCard.react","GeoModalFooter.react","GeoSection.react","GeoTextPairing.react","OCDevManagePlayerVariablesMoveModalMutation.graphql","OCDevManagePlayerVariablesMoveModal_persistent_variables.graphql","OCDevManagePlayerVariablesWorldSearch.react","OCDevUIForm.react","RelayHooks","fbicon","react","useOCDevUICommitMutation","useOCDevUIModal"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m=l||(l=d("react")),n=l.useState;function a(a){var e,f,g,l;a=a.playerVariable;var p=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManagePlayerVariablesMoveModal_persistent_variables.graphql"),a),q=c("useOCDevUICommitMutation")(k!==void 0?k:k=b("OCDevManagePlayerVariablesMoveModalMutation.graphql"));a=n("");var r=a[0],s=a[1];a=c("useOCDevUIModal")();a=a.closeModal;function t(a){s(a)}return m.jsx(c("OCDevUIForm.react"),{children:m.jsx(c("GeoModalCard.react"),{footer:m.jsx(c("GeoModalFooter.react"),{primaryButton:m.jsx(c("GeoButton.react"),{"data-testid":void 0,isDisabled:r.length===0||(p==null?void 0:p.id)==null,label:h._(/*BTDS*/"Move to World"),variant:"primary",onClick:function(){if((p==null?void 0:p.id)==null)return;return q({input:{stat_ids:[p==null?void 0:p.id],app_to_move_to:r}},{closeModalOnSuccess:!0,successToast:{heading:h._(/*BTDS*/"Player variable moved"),description:h._(/*BTDS*/"The variable is now available in the target world")}})}}),secondaryButton:m.jsx(c("GeoCancelButton.react"),{"data-testid":void 0,onClick:a})}),header:m.jsx(c("GeoGenericModalHeader.react"),{children:m.jsxs(c("GeoBaseSpacingLayout.react"),{"data-testid":void 0,children:[m.jsx("div",babelHelpers["extends"]({},{0:{className:"xjwep3j x1t39747 x1wcsgtt x1pczhz8 x10w6t97 x1td3qas xlmlcdg"},1:{className:"xjwep3j x1t39747 x1wcsgtt x1pczhz8 x10w6t97 x1td3qas xs4s74a"}}[!!((p==null||(e=p.horizon_stat_data)==null?void 0:e.stat_data_type)==="STRING")<<0],{children:m.jsx(c("GeoIcon.react"),{color:"marker",icon:(p==null||(f=p.horizon_stat_data)==null?void 0:f.stat_data_type)==="STRING"?d("fbicon")._(i("1176657"),16):d("fbicon")._(i("1921000"),16),xstyle:o.innerIcon})})),m.jsx(c("GeoTextPairing.react"),{description:null,heading:h._(/*BTDS*/"Move {player variable name}",[h._param("player variable name",p==null?void 0:p.name)]),size:"header3"})]})}),children:m.jsx(c("GeoSection.react"),{children:m.jsx(c("OCDevManagePlayerVariablesWorldSearch.react"),{enableMultiSelect:!1,excludedIds:(p==null||(g=p.origin_world)==null?void 0:g.id)!=null?[p==null||(l=p.origin_world)==null?void 0:l.id]:[],selectedApplicationIds:r.length!==0?[r]:[],toggleSelectedApp:t})})})})}a.displayName=a.name+" [from "+f.id+"]";var o={innerIcon:{marginTop:"x1xmf6yo",marginInlineEnd:"x1xegmmw",marginBottom:"x1e56ztr",marginInlineStart:"x13fj5qh",$$css:!0}};g["default"]=a}),226);
-----