;/*FB_PKG_DELIM*/

__d("CometFeedPreferencesControlPanelConstants",["fbt","gkx"],(function(a,b,c,d,e,f,g,h){"use strict";a=c("gkx")("23047");b=h._(/*BTDS*/"__JHASH__Ldp_jMAE1RD__JHASH__");d=h._(/*BTDS*/"__JHASH__Ldp_jMAE1RD__JHASH__");e=h._(/*BTDS*/"__JHASH__T81Ei3n1FWv__JHASH__");f=h._(/*BTDS*/"__JHASH__XGgn180xEI0__JHASH__");c=h._(/*BTDS*/"__JHASH__qfyjFqeOEPK__JHASH__");var i=h._(/*BTDS*/"__JHASH__pZq0iiwdyi0__JHASH__"),j=h._(/*BTDS*/"__JHASH__aimYhLFaQ5c__JHASH__"),k=h._(/*BTDS*/"__JHASH__fT-RTgHRHjV__JHASH__"),l=h._(/*BTDS*/"__JHASH__4zP2K3HkJzj__JHASH__"),m=h._(/*BTDS*/"__JHASH__x1qqxDi6pJ3__JHASH__"),n=h._(/*BTDS*/"__JHASH__u9bkjHzd7wl__JHASH__"),o=h._(/*BTDS*/"__JHASH__f02ngmSiB5U__JHASH__"),p=h._(/*BTDS*/"__JHASH__h4ZnX54LWRc__JHASH__"),q=h._(/*BTDS*/"__JHASH__yzq7fRSvzad__JHASH__"),r=h._(/*BTDS*/"__JHASH__jJLFPP-KXXr__JHASH__"),s=h._(/*BTDS*/"__JHASH__H8ytYrBrt3h__JHASH__"),t=h._(/*BTDS*/"__JHASH__jJLFPP-KXXr__JHASH__"),u=h._(/*BTDS*/"__JHASH__H8ytYrBrt3h__JHASH__"),v=h._(/*BTDS*/"__JHASH__UfwdxLaXC9i__JHASH__"),w=h._(/*BTDS*/"__JHASH__w40YFq3HtDb__JHASH__"),x=h._(/*BTDS*/"__JHASH__mqoutCDuyex__JHASH__"),y=h._(/*BTDS*/"__JHASH__hF87C777iR9__JHASH__"),z=h._(/*BTDS*/"__JHASH__NTPLB20Reeu__JHASH__"),A=h._(/*BTDS*/"__JHASH__t6_k3BTVbR8__JHASH__"),B=h._(/*BTDS*/"__JHASH__HWltnQ_wQof__JHASH__"),C=h._(/*BTDS*/"__JHASH__tFmCeNiGFJW__JHASH__"),D=h._(/*BTDS*/"__JHASH__tn_pYBzPz8g__JHASH__"),E=h._(/*BTDS*/"__JHASH__7bnnDAq13JS__JHASH__"),F=h._(/*BTDS*/"__JHASH__xGmd46-PivH__JHASH__");h=h._(/*BTDS*/"__JHASH__cGr4N0_kxfR__JHASH__");g.CONTROL_PANEL_LAUNCH_GK=a;g.CONTROL_PANEL_DIALOG_TITLE=b;g.CONTROL_PANEL_NFP_ENTRYPOINT_NAME=d;g.CONTROL_PANEL_INTRO_TEXT=e;g.CONTROL_PANEL_INTRO_LEARN_MORE_HEADLINE=f;g.CONTROL_PANEL_INTRO_LEARN_MORE_TEXT=c;g.CONTROL_PANEL_LEARN_MORE_POSTS_HEADER=i;g.CONTROL_PANEL_LEARN_MORE_POSTS_BODY=j;g.CONTROL_PANEL_LEARN_MORE_PREFERENCE_HEADER=k;g.CONTROL_PANEL_LEARN_MORE_PREFERENCE_BODY=l;g.CONTROL_PANEL_LEARN_MORE_UPDATE_HEADER=m;g.CONTROL_PANEL_LEARN_MORE_UPDATE_BODY=n;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_FRIENDS=o;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_COMMUNITIES=p;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_PPF=q;g.WORK_CONTROL_PANEL_CONTENT_PREFERENCE_HEADER=r;g.WORK_CONTROL_PANEL_CONTENT_PREFERENCE_BODY=s;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_HEADER=t;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_BODY=u;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_NORMAL_BUTTON=v;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_NORMAL_HEADER=w;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_NORMAL_BODY=x;g.CONTROL_PANEL_CONTENT_SOURCE_PREFERENCE_LESS_BUTTON=y;g.CONTROL_PANEL_CONNECTIONS_HEADER=z;g.CONTROL_PANEL_SURVEY_MESSAGE=A;g.CONTROL_PANEL_SURVEY_RESPONDED_HEADER=B;g.CONTROL_PANEL_SURVEY_RESPONDED_BODY=C;g.CONTROL_PANEL_EDUCATIONAL_BANNER_HEADER=D;g.CONTROL_PANEL_EDUCATIONAL_BANNER_BODY=E;g.CONTROL_PANEL_TOAST_TEXT=F;g.CONTROL_PANEL_WAIST_TEXT=h}),226);
__d("CometFeedPreferencesControlPanelDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="29155085390749049"}),null);
__d("CometFeedPreferencesControlPanelDialogQuery$Parameters",["CometFeedPreferencesControlPanelDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometFeedPreferencesControlPanelDialogQuery_facebookRelayOperation"),metadata:{},name:"CometFeedPreferencesControlPanelDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("CometFeedPreferencesControlPanelDialog.entrypoint",["CometFeedPreferencesControlPanelDialogQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(){return{queries:{dialogQueryReference:{parameters:c("CometFeedPreferencesControlPanelDialogQuery$Parameters"),variables:{}}}}},root:c("JSResourceForInteraction")("CometFeedPreferencesControlPanelDialog.react").__setRef("CometFeedPreferencesControlPanelDialog.entrypoint")};g["default"]=a}),98);
__d("CometFeedPreferencesDialogLoadingState.react",["fbt","CometFeedPreferencesControlPanelConstants","FDSCardedDialogLegacy.react","FDSGlimmer.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k={anchor:{minHeight:"xvv7gvb",$$css:!0},bodyGlimmer:{borderTopStartRadius:"x1rcc7c0",borderTopEndRadius:"xbtbmw4",borderBottomEndRadius:"x1lie4ck",borderBottomStartRadius:"x16hxpj1",height:"x1v9usgg",marginBottom:"x1u7kmwd",$$css:!0},bodyGlimmerFirst:{width:"xktia5q",$$css:!0},bodyGlimmerSecond:{width:"xz84dc7",$$css:!0}};function a(a){return j.jsx("div",babelHelpers["extends"]({className:"x4b6v7d xmqsq3q x1ojsi0c"},{children:j.jsx(c("FDSCardedDialogLegacy.react"),babelHelpers["extends"]({anchorXStyle:k.anchor,size:"medium",title:d("CometFeedPreferencesControlPanelConstants").CONTROL_PANEL_LAUNCH_GK?d("CometFeedPreferencesControlPanelConstants").CONTROL_PANEL_DIALOG_TITLE:h._(/*BTDS*/"__JHASH__dEuExL-OBiK__JHASH__"),withCloseButton:!0},a,{children:j.jsx("div",babelHelpers["extends"]({className:"xnmwye4"},{children:j.jsxs("div",babelHelpers["extends"]({className:"x1cnzs8 xc73u3c x1gwgq1z x5ib6vp"},{children:[j.jsx(c("FDSGlimmer.react"),{index:1,xstyle:[k.bodyGlimmer,k.bodyGlimmerFirst]}),j.jsx(c("FDSGlimmer.react"),{index:2,xstyle:[k.bodyGlimmer,k.bodyGlimmerSecond]})]}))}))}))}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometFeedPreferencesDialogNoFavoriteQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4980175375436403"}),null);
__d("CometFeedPreferencesDialogNoFavoriteQuery$Parameters",["CometFeedPreferencesDialogNoFavoriteQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometFeedPreferencesDialogNoFavoriteQuery_facebookRelayOperation"),metadata:{},name:"CometFeedPreferencesDialogNoFavoriteQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("CometFeedPreferencesDialogNoFavorite.entrypoint",["CometFeedPreferencesDialogNoFavoriteQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(){return{queries:{dialogQueryReference:{parameters:b("CometFeedPreferencesDialogNoFavoriteQuery$Parameters"),variables:{}}}}},root:c("JSResourceForInteraction")("CometFeedPreferencesDialogNoFavorite.react").__setRef("CometFeedPreferencesDialogNoFavorite.entrypoint")};g["default"]=a}),98);
__d("CometProfileTypeDialogRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6721068408014724"}),null);
__d("CometProfileTypeDialogRootQuery$Parameters",["CometProfileTypeDialogRootQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometProfileTypeDialogRootQuery_facebookRelayOperation"),metadata:{},name:"CometProfileTypeDialogRootQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("CometProfileTypeDialog.entrypoint",["CometProfileTypeDialogRootQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(){return{queries:{root:{parameters:b("CometProfileTypeDialogRootQuery$Parameters"),variables:{scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("CometProfileTypeDialog.react").__setRef("CometProfileTypeDialog.entrypoint")};g["default"]=a}),98);
__d("XFBPrivacyCenterHomeControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/privacy/center/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("useCometFeedPreferencesDialog",["CometFeedPreferencesControlPanelConstants","CometFeedPreferencesControlPanelDialog.entrypoint","CometFeedPreferencesDialogLoadingState.react","CometFeedPreferencesDialogNoFavorite.entrypoint","react","react-compiler-runtime","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;b.useCallback;var j=b.useRef,k=function(a){return i.jsx(c("CometFeedPreferencesDialogLoadingState.react"),{onClose:a})};function a(a){var b=d("react-compiler-runtime").c(7);j(null);var e=(a=a)!=null?a:"unknown";a=d("CometFeedPreferencesControlPanelConstants").CONTROL_PANEL_LAUNCH_GK?c("CometFeedPreferencesControlPanelDialog.entrypoint"):c("CometFeedPreferencesDialogNoFavorite.entrypoint");var f;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(f={},b[0]=f):f=b[0];a=c("useCometEntryPointDialog")(a,f,"button",k);var g=a[0];f=a[3];b[1]!==e||b[2]!==g?(a=function(a){g({controlPanelEntryPoint:e},function(){a!=null&&a()})},b[1]=e,b[2]=g,b[3]=a):a=b[3];a=a;var h;b[4]!==f||b[5]!==a?(h=[a,f],b[4]=f,b[5]=a,b[6]=h):h=b[6];return h}g["default"]=a}),98);
__d("useCometTypeaheadScrollableViewListStrategy",["CometScrollableArea.react","react","react-compiler-runtime","useCometInternalTypeaheadState","useCometTypeaheadKeyboardForScrollableArea","useCometTypeaheadViewListStrategy"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));h.useCallback;function a(a){var b=d("react-compiler-runtime").c(11),e=a.emptyStateContent,f=a.extraViewProps,g=a.nullstateContent,h=a.scrollableXStyle,j=a.viewItemStrategyRenderer,k=a.viewListStrategyRenderer;a=a.viewXStyle;var l=c("useCometInternalTypeaheadState")();l=l.highlightedEntry;var m=c("useCometTypeaheadKeyboardForScrollableArea")(l);b[0]!==e||b[1]!==f||b[2]!==g||b[3]!==j||b[4]!==k||b[5]!==a?(l={emptyStateContent:e,extraViewProps:f,nullstateContent:g,viewItemStrategyRenderer:j,viewListStrategyRenderer:k,viewXStyle:a},b[0]=e,b[1]=f,b[2]=g,b[3]=j,b[4]=k,b[5]=a,b[6]=l):l=b[6];var n=c("useCometTypeaheadViewListStrategy")(l);b[7]!==n||b[8]!==m||b[9]!==h?(e=function(a){return i.jsx(c("CometScrollableArea.react"),{horizontal:!1,ref:m,xstyle:h,children:i.jsx(n,babelHelpers["extends"]({},a))})},b[7]=n,b[8]=m,b[9]=h,b[10]=e):e=b[10];return e}g["default"]=a}),98);
__d("useProfileSwitcherEngagementClickCallback",["ProfileSwitcherAnalyticsEventFalcoEvent","emptyFunction","react","recoverableViolation","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useMemo,k=c("requireDeferred")("ProfileEngagementFalcoEvent").__setRef("useProfileSwitcherEngagementClickCallback");function a(a,b){var d,e=j(function(){return babelHelpers["extends"]({profile_event_type:"click",profile_product_bucket:"unknown",profile_surface:"unknown"},a)},[a]);(a==null?void 0:a.profile_product_bucket)==null&&c("recoverableViolation")("profile_product_bucket is a required field for profile engagement logging","profile_comet");(a==null?void 0:a.profile_surface)==null&&c("recoverableViolation")("profile_surface is a required field for profile engagement logging","profile_comet");var f=c("emptyFunction");(a==null?void 0:(d=a.event_metadata)==null?void 0:d.entry_point)==="inline_profile_switcher"&&(f=function(){c("ProfileSwitcherAnalyticsEventFalcoEvent").log(function(){return{event:"actor_profile_photo_switch_select_profile"}})});return i(function(a){k.onReady(function(a){a=a.log;a(function(){return e})}),b&&b(a),f&&f()},[b,e])}g["default"]=a}),98);