;/*FB_PKG_DELIM*/

__d("PCGuideIDToURLSegment",[],(function(a,b,c,d,e,f){a=Object.freeze({SECURITY_GUIDE:"security",ADS_GUIDE:"ads",COLLECTION_GUIDE:"collection",SHARING_GUIDE:"sharing",USE_GUIDE:"use",SAFETY_GUIDE:"safety",TEENS_GUIDE:"teens",LOCATION_GUIDE:"location",ACTIVITYV2_GUIDE:"activityv2",GLOBAL_SAFETY_GUIDE:"global_safety",DYI_GUIDE:"dyi",DSR_GUIDE:"data_subject_rights",GENERATIVE_AI:"generative-ai",GEN_AI_GUIDE_ALIAS:"genai",DMA_GUIDE:"dma-guide",FEDIVERSE:"fediverse"});f["default"]=a}),66);
__d("PCGuideIDUtils.facebook",["$InternalEnumUtils","PCGuideIDToURLSegment"],(function(a,b,c,d,e,f,g){a=d("$InternalEnumUtils").createToJSEnum(c("PCGuideIDToURLSegment"));b=d("$InternalEnumUtils").createFromJSEnum(c("PCGuideIDToURLSegment"));g.toJSEnum=a;g.fromJSEnum=b}),98);
__d("PCReloadableGuideRefetchQuery.graphql",["cr:853"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:853")}),34);
__d("PrivacyCenterGuideRootQuery$Parameters",["cr:11696"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:11696")}),34);
__d("PrivacyCenterGuideRoot.entrypoint",["JSResourceForInteraction","PCGuideIDUtils.facebook","PrivacyCenterGuideRootQuery$Parameters","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a){if(a!=null)return a;throw c("unrecoverableViolation")("Enum mapping failure - https://fburl.com/jj7qlwzd","privacy_center")}a={getPreloadProps:function(a){var c=h(d("PCGuideIDUtils.facebook").fromJSEnum(a.routeProps.guideID)),e=a.routeProps.entrypoint;a=a.routeParams.jurisdiction_override;return{queries:{privacyCenterGuideRootQueryRef:{parameters:b("PrivacyCenterGuideRootQuery$Parameters"),variables:{entrypoint:e,guideID:c,jurisdictionOverride:a}}}}},root:c("JSResourceForInteraction")("PrivacyCenterGuideRoot.react").__setRef("PrivacyCenterGuideRoot.entrypoint")};g["default"]=a}),98);
__d("PrivacyCenterGuideRootQuery.graphql",["cr:11697"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:11697")}),34);
__d("PrivacyCenterGuideRoot_guideRef.graphql",["cr:1101"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:1101")}),34);
__d("PrivacyCenterGuideRoot.react",["CometRelay","CometRouteMatch","PCLoggingContextProvider.react","PCOpenSurvey","PCPageContext.react","PCXScreen.react","PrivacyCenterGuideRootQuery.graphql","PrivacyCenterGuideRoot_guideRef.graphql","cr:8051","cr:8065","react","react-compiler-runtime","unrecoverableViolation","useOnBeforeUnloadComet"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;e.useCallback;e.useMemo;var l=e.useTransition;function m(a){var e,f=d("react-compiler-runtime").c(15),g=a.guideID;a=a.guideRef;a=d("CometRelay").useRefetchableFragment(h!==void 0?h:h=b("PrivacyCenterGuideRoot_guideRef.graphql"),a);var i=a[0],j=a[1],m=d("PCOpenSurvey").usePCOpenSurvey(),n=d("CometRouteMatch").useCurrentRouteMatcher(d("CometRouteMatch").MatchFunctions.pathMatchFunction);a=l();var o=a[1];f[0]!==g||f[1]!==j?(a={onRefresh:function(){o(function(){j({guideID:g},{fetchPolicy:"network-only"})})}},f[0]=g,f[1]=j,f[2]=a):a=f[2];a=a;a=a;if(f[3]!==((e=i.pcx_guide_screen)==null?void 0:(e=e.survey_config)==null?void 0:e.pc_survey_integration_point_id)||f[4]!==m||f[5]!==n){var p;e=function(a){if(a&&!n((a=a==null?void 0:(a=a.backgroundRouteConfig)==null?void 0:a.defaultBackgroundUrl)!=null?a:"")){m((a=i.pcx_guide_screen)==null?void 0:(a=a.survey_config)==null?void 0:a.pc_survey_integration_point_id)}};f[3]=(p=i.pcx_guide_screen)==null?void 0:(p=p.survey_config)==null?void 0:p.pc_survey_integration_point_id;f[4]=m;f[5]=n;f[6]=e}else e=f[6];p=e;c("useOnBeforeUnloadComet")(p);e=i.pcx_guide_screen;if(e==null)throw c("unrecoverableViolation")("Rendering a screen that is not eligible","xcs");p=(p=i.pcx_guide_screen)==null?void 0:(p=p.survey_config)==null?void 0:p.pc_survey_integration_point_id;var q;f[7]!==e||f[8]!==p?(q=k.jsx(c("PCXScreen.react"),{integrationPoint:p,rendererRef:e}),f[7]=e,f[8]=p,f[9]=q):q=f[9];f[10]===Symbol["for"]("react.memo_cache_sentinel")?(e=b("cr:8051")&&k.jsx(b("cr:8051"),{}),p=b("cr:8065")&&k.jsx(b("cr:8065"),{}),f[10]=e,f[11]=p):(e=f[10],p=f[11]);f[12]!==a||f[13]!==q?(e=k.jsxs(c("PCPageContext.react").Provider,{value:a,children:[q,e,p]}),f[12]=a,f[13]=q,f[14]=e):e=f[14];return e}function a(a){var e=d("react-compiler-runtime").c(4),f=a.queries.privacyCenterGuideRootQueryRef,g=d("CometRelay").usePreloadedQuery(i!==void 0?i:i=b("PrivacyCenterGuideRootQuery.graphql"),f),h;e[0]!==g||e[1]!==a.props.routeProps.entrypoint||e[2]!==f.variables.guideID?(h=k.jsx(c("PCLoggingContextProvider.react"),{loggingContentType:"guide",children:k.jsx(m,{entrypoint:a.props.routeProps.entrypoint,guideID:f.variables.guideID,guideRef:g})}),e[0]=g,e[1]=a.props.routeProps.entrypoint,e[2]=f.variables.guideID,e[3]=h):h=e[3];return h}g["default"]=a}),98);
__d("PrivacyCenterGuideRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="23927811186843091"}),null);
__d("PrivacyCenterGuideRootQuery$Parameters.facebook",["PrivacyCenterGuideRootQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("PrivacyCenterGuideRootQuery_facebookRelayOperation"),metadata:{},name:"PrivacyCenterGuideRootQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("PrivacyCenterGuideRootQuery_instagramRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9496717577116839"}),null);
__d("PrivacyCenterGuideRootQuery$Parameters.instagram",["PrivacyCenterGuideRootQuery_instagramRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("PrivacyCenterGuideRootQuery_instagramRelayOperation"),metadata:{},name:"PrivacyCenterGuideRootQuery",operationKind:"query",text:null}};e.exports=a}),null);