ProfileCometMLEUpsellComposerBody.react",["CometComposerGenericAttachmentPendingPreview.react","CometComposerMajorLifeEventAttachmentArea.react","CometPlaceholder.react","CometRelay","ProfileCometLifeEventMigrationContext","ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery.graphql","ProfileCometMLEUpsellComposerBody_profile.graphql","ProfileCometMLEUpsellComposerBody_user.graphql","WebPixelRatio","composerMajorLifeEventsReducer","react","react-compiler-runtime","useComposerViewStateDispatcher","useComposerViewStateReducer"],(function(F,d,o,r,S,g,B){"use strict";var c,_,u,y,t=y||(y=r("react")),h=y,U=h.useEffect,w=h.useMemo;function b(l){var E,L,e=r("react-compiler-runtime").c(9),j=l.profile$key,a=l.selectedCategoryID,s=l.selectedSubCategoryID,A=l.user$key;o("useComposerViewStateReducer")(o("composerMajorLifeEventsReducer"));var i=o("useComposerViewStateDispatcher")(),M,m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={isInCometComposer:!0},e[0]=m):m=e[0],M=m;var R=M,p,f;e[1]!==i||e[2]!==a||e[3]!==s?(p=function(){i({categoryID:a,lifeEventTypeIdentifier:null,skipSubcategoryStep:!1,subcategoryID:s,type:"SELECT_CATEGORY"})},f=[i,a,s],e[1]=i,e[2]=a,e[3]=s,e[4]=p,e[5]=f):(p=e[4],f=e[5]),U(p,f),r("CometRelay").useFragment(c!==void 0?c:c=d("ProfileCometMLEUpsellComposerBody_user.graphql"),A),r("CometRelay").useFragment(_!==void 0?_:_=d("ProfileCometMLEUpsellComposerBody_profile.graphql"),j);var q={scale:r("WebPixelRatio").get()},P=r("CometRelay").useLazyLoadQuery(u!==void 0?u:u=d("ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery.graphql"),q);if(((E=P.viewer)==null?void 0:E.life_event_categories)==null)return null;var C;e[6]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(o("CometComposerGenericAttachmentPendingPreview.react"),{}),e[6]=C):C=e[6];var v=(L=P.viewer)==null?void 0:L.life_event_categories,n;return e[7]!==v?(n=t.jsx(o("ProfileCometLifeEventMigrationContext").Provider,{value:R,children:t.jsx(o("CometPlaceholder.react"),{fallback:C,name:g.id,children:t.jsx(o("CometComposerMajorLifeEventAttachmentArea.react"),{lifeEventRef:v})})}),e[7]=v,e[8]=n):n=e[8],n}B.default=b}),98);
-----
ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery.graphql",["ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery_facebookRelayOperation"],(function(g,c,p,f,m,v){"use strict";var d=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"scale"}],l=[{kind:"Literal",name:"category_set",value:"NEW"}],a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"animated_icon_url",storageKey:null},i={kind:"Literal",name:"color",value:"WHITE"},r={kind:"Variable",name:"scale",variableName:"scale"},t={kind:"Literal",name:"size",value:"DP20"},o=[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],s={alias:null,args:null,kind:"ScalarField",name:"icon_id",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"title_hint",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:l,concreteType:"LifeEventTypeCategoriesConnection",kind:"LinkedField",name:"life_event_categories",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometComposerMajorLifeEventAttachmentArea_categoryData"}],storageKey:'life_event_categories(category_set:"NEW")'}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:l,concreteType:"LifeEventTypeCategoriesConnection",kind:"LinkedField",name:"life_event_categories",plural:!1,selections:[{alias:null,args:null,concreteType:"LifeEventTypeCategory",kind:"LinkedField",name:"nodes",plural:!0,selections:[a,n,{alias:"composer_icon",args:[i,r,t,{kind:"Literal",name:"variant",value:"FILLED"}],concreteType:"Image",kind:"LinkedField",name:"icon",plural:!1,selections:o,storageKey:null},s,u,{alias:null,args:null,concreteType:"LifeEventTypesConnection",kind:"LinkedField",name:"life_event_types",plural:!1,selections:[{alias:null,args:null,concreteType:"LifeEventTypeSuggestion",kind:"LinkedField",name:"nodes",plural:!0,selections:[a,n,{alias:"composer_icon",args:[i,r,t],concreteType:"Image",kind:"LinkedField",name:"icon",plural:!1,selections:o,storageKey:null},s,u],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:'life_event_categories(category_set:"NEW")'}],storageKey:null}]},params:{id:c("ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery_facebookRelayOperation"),metadata:{},name:"ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery",operationKind:"query",text:null}}})();m.exports=d}),null);
-----
ProfileCometMLEUpsellComposerBodyMajorLifeEventAttachmentFormQuery_facebookRelayOperation",[],(function(r,t,a,l,e,i){e.exports="32437244459208315"}),null);
-----