GroupsCometAIAssistantManagementEditProfilePictureDialogV2.entrypoint",["GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.groupID;return{queries:{queryReference:{parameters:c("GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query$Parameters"),variables:{groupID:a}}}}},root:c("JSResourceForInteraction")("GroupsCometAIAssistantManagementEditProfilePictureDialogV2.react").__setRef("GroupsCometAIAssistantManagementEditProfilePictureDialogV2.entrypoint")};g["default"]=a}),98);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query$Parameters",["GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query_facebookRelayOperation"),metadata:{},name:"GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query",operationKind:"query",text:null}};e.exports=a}),null);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24379769344980566"}),null);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogV2.react",["fbt","CometColumn.react","CometColumnItem.react","CometRelay","FBNucleusArrowsCircleFilled16Icon.react","FDSButton.react","FDSCard.react","FDSDialog.react","FDSDialogFooter.react","FDSDialogHeader.react","FDSProfilePhoto.react","GroupsCometAIAssistantManagementDialogPageWrapper.react","GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query.graphql","GroupsCometAIAssistantManagementGlobalState","GroupsCometAIAssistantManagementTextInput.react","Keyframes.react","react","react-compiler-runtime","useGroupsCometAIAssistantManagementGenerateProfilePhotoFromPromptMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState,m=168,n=84;function a(a){var e=d("react-compiler-runtime").c(41),f=a.props;a=a.queries;var g=f.onClose;f=a.queryReference;a=d("CometRelay").usePreloadedQuery(i!==void 0?i:i=b("GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query.graphql"),f);var j=a.group.group_ugc_content.admin_tool_content;f=j.form_fields;a=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_PROMPT");var p=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_PROMPT"),q=l(a),r=q[0],s=q[1];q=l(a);var t=q[0];a=q[1];q=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_URL");var u=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_URL");q=l(q);var v=q[0],w=q[1];q=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_ENT_ID");var x=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_ENT_ID"),y=l(q),z=y[0],A=y[1];y=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("NAME");var B=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("IS_UPDATING_STATUS"),C=c("useGroupsCometAIAssistantManagementGenerateProfilePhotoFromPromptMutation")(),D=C.isPerformingMutation,E=C.performMutation;e[0]!==j.persona_version_for_viewer.persona_id||e[1]!==E||e[2]!==t?(C=function(){var a=t;E({onCompleted:function(b){var c=b.photoEntID;b=b.photoURL;s(a);w(b);A(c)},onError:o,personaID:j.persona_version_for_viewer.persona_id,prompt:a})},e[0]=j.persona_version_for_viewer.persona_id,e[1]=E,e[2]=t,e[3]=C):C=e[3];C=C;var F;e[4]!==z||e[5]!==v||e[6]!==r||e[7]!==g||e[8]!==x||e[9]!==u||e[10]!==p?(F=function(){p(r),u(v),x(z),g()},e[4]=z,e[5]=v,e[6]=r,e[7]=g,e[8]=x,e[9]=u,e[10]=p,e[11]=F):F=e[11];F=F;B=D||B;q=B||z===q;var G;e[12]!==f.save_text||e[13]!==F||e[14]!==q?(G=k.jsx(c("FDSDialogFooter.react"),{primary:{disabled:q,label:f.save_text,onPress:F}}),e[12]=f.save_text,e[13]=F,e[14]=q,e[15]=G):G=e[15];e[16]===Symbol["for"]("react.memo_cache_sentinel")?(F=h._(/*BTDS*/""),e[16]=F):F=e[16];e[17]!==g?(q=k.jsx(c("FDSDialogHeader.react"),{onClose:g,text:F,withoutDivider:!0}),e[17]=g,e[18]=q):q=e[18];e[19]!==v||e[20]!==f.profile_picture_generation_loading_image_uri||e[21]!==D||e[22]!==y?(F=k.jsx(c("CometColumnItem.react"),{align:"center",paddingVertical:8,children:D?k.jsx("div",babelHelpers["extends"]({className:"x6s0dn4 x443n21 x1ae2y31 xxbugyl xhy0pxq x17t2g96 x78zum5 xekxv85 xl56j7k xctrb1h"},{children:k.jsx(c("Keyframes.react"),{height:n,projectName:"groups",source:f.profile_picture_generation_loading_image_uri,width:n})})):k.jsx(c("FDSProfilePhoto.react"),{"aria-label":y,shape:"circle",size:m,source:{uri:v}})}),e[19]=v,e[20]=f.profile_picture_generation_loading_image_uri,e[21]=D,e[22]=y,e[23]=F):F=e[23];D=t.length===0;e[24]!==f.profile_picture_prompt_input_label||e[25]!==B||e[26]!==t||e[27]!==D?(y=k.jsx(c("CometColumnItem.react"),{children:k.jsx(d("GroupsCometAIAssistantManagementTextInput.react").GroupsCometAIAssistantManagementTextInput,{disabled:B,isInvalid:D,label:f.profile_picture_prompt_input_label,maxLines:1,onValueChange:a,value:t})}),e[24]=f.profile_picture_prompt_input_label,e[25]=B,e[26]=t,e[27]=D,e[28]=y):y=e[28];a=B||t.length===0;e[29]!==f.profile_picture_prompt_generate_button_label||e[30]!==C||e[31]!==a?(D=k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("FDSButton.react"),{disabled:a,icon:c("FBNucleusArrowsCircleFilled16Icon.react"),label:f.profile_picture_prompt_generate_button_label,onPress:C})}),e[29]=f.profile_picture_prompt_generate_button_label,e[30]=C,e[31]=a,e[32]=D):D=e[32];e[33]!==y||e[34]!==D||e[35]!==F?(B=k.jsx(c("GroupsCometAIAssistantManagementDialogPageWrapper.react"),{paddingHorizontal:16,paddingVertical:16,spacing:12,children:k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("FDSCard.react"),{background:"default",children:k.jsxs(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:16,spacing:12,children:[F,y,D]})})})}),e[33]=y,e[34]=D,e[35]=F,e[36]=B):B=e[36];e[37]!==B||e[38]!==G||e[39]!==q?(f=k.jsx(c("FDSDialog.react"),{footer:G,header:q,children:B}),e[37]=B,e[38]=G,e[39]=q,e[40]=f):f=e[40];return f}function o(){}g["default"]=a}),226);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query.graphql",["GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"groupID"}],c=[{kind:"Variable",name:"id",variableName:"groupID"}],d={alias:null,args:null,kind:"ScalarField",name:"persona_id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"save_text",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"profile_picture_prompt_input_label",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"profile_picture_prompt_generate_button_label",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"profile_picture_generation_loading_image_uri",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query",selections:[{kind:"RequiredField",field:{alias:null,args:c,concreteType:"Group",kind:"LinkedField",name:"group",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupUGCContent",kind:"LinkedField",name:"group_ugc_content",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolContent",kind:"LinkedField",name:"admin_tool_content",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolPersonaVersion",kind:"LinkedField",name:"persona_version_for_viewer",plural:!1,selections:[{kind:"RequiredField",field:d,action:"THROW",path:"group.group_ugc_content.admin_tool_content.persona_version_for_viewer.persona_id"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content.persona_version_for_viewer"},{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolFormFields",kind:"LinkedField",name:"form_fields",plural:!1,selections:[{kind:"RequiredField",field:e,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.save_text"},{kind:"RequiredField",field:f,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_prompt_input_label"},{kind:"RequiredField",field:g,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_prompt_generate_button_label"},{kind:"RequiredField",field:h,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_generation_loading_image_uri"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content"}],storageKey:null},action:"THROW",path:"group.group_ugc_content"}],storageKey:null},action:"THROW",path:"group"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query",selections:[{alias:null,args:c,concreteType:"Group",kind:"LinkedField",name:"group",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupUGCContent",kind:"LinkedField",name:"group_ugc_content",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolContent",kind:"LinkedField",name:"admin_tool_content",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolPersonaVersion",kind:"LinkedField",name:"persona_version_for_viewer",plural:!1,selections:[d],storageKey:null},{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolFormFields",kind:"LinkedField",name:"form_fields",plural:!1,selections:[e,f,g,h],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:b("GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query_facebookRelayOperation"),metadata:{},name:"GroupsCometAIAssistantManagementEditProfilePictureDialogV2Query",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----