;/*FB_PKG_DELIM*/ __d("ProfileCommunityPresenceMigrationMultiStepDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7735914143146638"}),null); __d("ProfileCommunityPresenceMigrationMultiStepDialogQuery$Parameters",["ProfileCommunityPresenceMigrationMultiStepDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("ProfileCommunityPresenceMigrationMultiStepDialogQuery_facebookRelayOperation"),metadata:{},name:"ProfileCommunityPresenceMigrationMultiStepDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometHeaderContentArea.react",["CometEntityHeaderScrollToContext","CometGlobalPanelExpandedContext","CometGlobalPanelExpandedState","CometGlobalPanelGating","CometRouteRenderType","CometRouterFocusRegion.react","CometSection.react","cr:683059","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react"),j=i.useCallback,k=i.useContext,l=i.useMemo,m=i.useRef;function e(e){var f=e.children,g=e.header,i=e.scrollKey;e=e.useDeprecatedStyles;e=e===void 0?!1:e;var n=d("CometRouteRenderType").useIsPushView(),o=k(c("CometGlobalPanelExpandedContext")),p=m(null),q=m(null),r=j(function(e,f){if(o!==d("CometGlobalPanelExpandedState").ExpandedState.Collapsed)return;var g=q.current;q.current=i;if(i!=null&&i===g)return;if(p.current==null)return;if(p.current.offsetWidth<940)return;if(e.current!=null&&((g=p.current)==null?void 0:g.contains(e.current))){g=n?-60:0;e=e.current;while(e!=null&&p.current.contains(e))g+=e.offsetTop,e=e.offsetParent;g+=(e=f)!=null?e:0;try{a.scrollTo({behavior:d("CometGlobalPanelGating").isGlobalPanelVisible()&&!c("gkx")("3608")?"smooth":"auto",left:a.pageXOffset,top:g})}catch(b){a.scrollTo(a.pageXOffset,g)}b("cr:683059")&&b("cr:683059").setInitialScrollY(g)}},[n,o,i]),s=l(function(){return{scrollToTop:r}},[r]);return h.jsxs(c("CometSection.react"),{className:"x78zum5 xdt5ytf x1t2pt76 x1n2onr6",ref:p,role:"main",testid:void 0,children:[h.jsx(c("CometEntityHeaderScrollToContext").Provider,{value:s,children:g}),h.jsx("div",{className:""+(e?" x6s0dn4 x78zum5 xdt5ytf x193iq5w":" x78zum5 xdt5ytf x1iyjqo2"),"data-testid":void 0,children:h.jsx(c("CometRouterFocusRegion.react"),{children:f})})]})}e.displayName=e.name+" [from "+f.id+"]";g["default"]=e}),98); __d("CometStickyHeaderContentArea.react",["BaseStickyHeader.react","BaseViewportMarginsAddonContextProvider.react","CometAppNavigationConstants","CometAppNavigationTabBarContainer.react","CometHeaderContentArea.react","CometRouteRenderType","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={tabBar:{zIndex:"xhtitgo",$$css:!0}};function a(a){var b=a.headerHeight;b=b===void 0?60:b;var e=a.showTabContainerOnPushView;e=e===void 0?!1:e;a=babelHelpers.objectWithoutPropertiesLoose(a,["headerHeight","showTabContainerOnPushView"]);var f=d("CometRouteRenderType").useIsPushView();b=h.jsx(c("CometHeaderContentArea.react"),babelHelpers["extends"]({},a,{children:h.jsx(c("BaseViewportMarginsAddonContextProvider.react"),{addon:b,children:a.children})}));return e&&f?h.jsxs(h.Fragment,{children:[h.jsx(c("BaseStickyHeader.react"),{xstyle:i.tabBar,children:h.jsx(c("CometAppNavigationTabBarContainer.react"),{})}),h.jsx(c("BaseViewportMarginsAddonContextProvider.react"),{addon:d("CometAppNavigationConstants").HEADER_HEIGHT,children:b})]}):b}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("ProfileCommunityPresenceMigrationMultiStepDialog.entrypoint",["JSResourceForInteraction","ProfileCommunityPresenceMigrationMultiStepDialogQuery$Parameters","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var b=a.groupID;a=a.userID;b=(b=b)!=null?b:a;return{queries:{profileCommunityPresenceMigrationMultiStepDialogQueryRef:{parameters:c("ProfileCommunityPresenceMigrationMultiStepDialogQuery$Parameters"),variables:{entity_id:b,id:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("ProfileCommunityPresenceMigrationMultiStepDialog.react").__setRef("ProfileCommunityPresenceMigrationMultiStepDialog.entrypoint")};b=a;g["default"]=b}),98); __d("useShowTransitionDialog",["Actor","CometRouteParams","ProfileCommunityPresenceMigrationMultiStepDialog.entrypoint","react","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useEffect,i=b.useRef;function a(){var a=d("Actor").useActor();a=a[0];var b=d("CometRouteParams").useRouteParams(),e=b.idorvanity,f=b.show_community_transition;b={groupID:e!=null?String(e):null,userID:String(a)};e=c("useCometEntryPointDialog")(c("ProfileCommunityPresenceMigrationMultiStepDialog.entrypoint"),b);var g=e[0],j=i(!1);h(function(){f===!0&&!j.current&&(g({},function(){j.current=!1}),j.current=!0)},[g,f])}g["default"]=a}),98); __d("CometDefaultPageSizes",[],(function(a,b,c,d,e,f){"use strict";a=[1,2,2,2,4];f.DEFAULT_PAGE_SIZES=a}),66); __d("CometGHLFeedClassContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=!1;c=a.createContext(b);e=c;g["default"]=e}),98); __d("useCometTailLoadGlimmerTracker",["IntersectionObserver","cr:1703077","intersectionObserverEntryIsIntersecting","performanceNow","react"],(function(a,b,c,d,e,f,g){"use strict";e=d("react");var h=e.useCallback,i=e.useEffect,j=e.useRef;function a(a,d,e){var f=j(null),g=j(-1),k=j(-1),l=j(0),m=j(!1),n=j(null),o=j(null);b("cr:1703077")&&a!=null&&b("cr:1703077").setTailLoadStartTime(a,e);i(function(){return function(){o.current&&o.current(),o.current=null}},[]);return h(function(e){if(a!=null&&b("cr:1703077")&&e&&(g.current!==d||f.current!==e)){f.current=e;o.current&&(o.current(),o.current=null);if(m.current){var h=n.current;h!=null&&(l.current+=c("performanceNow")()-h);n.current=c("performanceNow")();m.current=!1}g.current!==d&&(l.current>0&&(b("cr:1703077").reportInterruptedConsumption(a,g.current,l.current),k.current=g.current),g.current=d,l.current=0);h=function(a){Array.prototype.forEach.call(a,function(a){if(c("intersectionObserverEntryIsIntersecting")(a)&&!m.current)m.current=!0,n.current=a.time;else if(!c("intersectionObserverEntryIsIntersecting")(a)&&m.current){m.current=!1;var b=n.current;b!=null&&(l.current+=a.time-b)}})};var i=new(c("IntersectionObserver"))(h);i.observe(e);o.current=function(){i.disconnect()}}},[a,d])}g["default"]=a}),98); __d("CometInfiniteScrollSuspenseList.react",["CometGHLFeedClassContext","CometPagelet.react","CometPlaceholder.react","CometSuspendWhileWaitingOnDOM.react","CometSuspenseList.react","ExecutionEnvironment","cr:1142206","gkx","mergeRefs","performanceNow","react","stylex","useCometTailLoadGlimmerTracker","useLayoutEffect_SAFE_FOR_SSR","useUnsafeRef_DEPRECATED","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.Children,j=e.startTransition,k=e.useCallback,l=e.useContext,m=e.useEffect,n=e.useMemo,o=e.useRef,p=e.useState;function q(a){var d=a.onLoadMore,e=a.rootMargin;a=a.triggerXStyle;var f=o(!1),g=k(function(){b("cr:1142206")!=null&&b("cr:1142206").log("[onVisible] fired",{alreadyTriggered:f.current});if(f.current)return;f.current=!0;d()},[d]);e=c("useVisibilityObserver")({onVisible:g,options:{rootMargin:(g=e)!=null?g:0}});return h.jsx("div",{className:c("stylex")(a),ref:e})}q.displayName=q.name+" [from "+f.id+"]";function a(a){var b=a.children,e=a.endGlimmerRef,f=a.hasMore,g=a.isLoading,r=a.listGlimmer,s=a.onLoadMore,t=a.pageletName,u=a.positionLimitForSSR,v=a.revealOrder,w=a.rootMargin;a=a.triggerXStyle;var x=p(0),y=x[0],z=x[1],A=l(c("CometGHLFeedClassContext")),B=o(!1),C=o(null),D=c("useUnsafeRef_DEPRECATED")(0),E=f;x=k(function(){D.current=c("performanceNow")(),j(function(){z(function(a){return a+1}),s(C)})},[s,C]);c("useLayoutEffect_SAFE_FOR_SSR")(function(){E||(B.current=!1)},[E]);var F=0,G=c("gkx")("7166");b=i.map(b,function(a){var b=u!=null&&F>u;return a?t!=null?h.jsx(d("CometPagelet.react").Placeholder,{className:G&&A?"x1lliihq":void 0,fallback:r,ignoreLateMutation:b,name:t,position:F++,trackTailLoad:!0,children:b&&!c("ExecutionEnvironment").canUseDOM?h.jsx(c("CometSuspendWhileWaitingOnDOM.react"),{}):a}):h.jsx(c("CometPlaceholder.react"),{fallback:r,children:a}):null});var H=p(!1),I=H[0],J=H[1];m(function(){return J(!0)},[]);if(f&&!g&&I){H=h.jsx(q,{onLoadMore:x,rootMargin:w,triggerXStyle:a},"tailTrigger"+y);v==="backwards"?b.unshift(H):b.push(H)}f=F;var K=c("useCometTailLoadGlimmerTracker")(t,f,D.current);g=n(function(){return c("mergeRefs")(e,C,K)},[e,K]);return h.jsxs(h.Fragment,{children:[E&&v==="backwards"?h.jsx("div",{ref:g,children:r},"glimmerBackwards"):null,h.jsx(c("CometSuspenseList.react"),{revealOrder:v||"forwards",tail:"hidden",children:b},"list"),h.jsx("div",{"data-testid":void 0}),E&&v!=="backwards"?h.jsx("div",{className:"x1xzczws",ref:g,children:r},"glimmer"):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometInfiniteScrollSuspenseListIncrementalRenderer.react",["CometDefaultPageSizes","CometInfiniteScrollSuspenseList.react","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.Children,j=b.useCallback,k=b.useMemo,l=b.useRef,m=b.useState;function a(a){var b=a.children,e=a.hasMore,f=a.isLoading,g=a.onLoadMore,n=a.revealOrder;n=n===void 0?"forwards":n;var o=a.pageSizes,p=o===void 0?d("CometDefaultPageSizes").DEFAULT_PAGE_SIZES:o;o=babelHelpers.objectWithoutPropertiesLoose(a,["children","hasMore","isLoading","onLoadMore","revealOrder","pageSizes"]);a=m(p[0]);var q=a[0],r=a[1],s=l(1),t=i.count(b);a=q0?r[r.length-1].getDOMNode():window},[r]),y=i(function(){var a=x();if(a==null)return null;if(window.HTMLElement!=null){return a instanceof HTMLElement?a.getBoundingClientRect().height:(a=a.innerHeight)!=null?a:null}return null},[x]),z=l(null),A=l(y());s=i(function(a){a=a.height;z.current=a},[]);s=c("useResizeObserver")(s);var B=l(0),C=l(null),D=l(null),E=l(null);s=c("useMergeRefs")(s,D);var F=i(function(a){a=a.top;var b=B.current,c=C.current;b=a>b?o.Down:o.Up;var f=D.current,g=E.current;if(f==null||g==null)return;B.current=a;C.current=b;if(b===c)return;c=(a=A.current)!=null?a:y();if(c==null)return;a=f.getBoundingClientRect();f=g.getBoundingClientRect();g=a.height;var h=a.top-f.top,i;if(g