;/*FB_PKG_DELIM*/

__d("CDSErrorOutline96OLD.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs("svg",babelHelpers["extends"]({fill:"currentColor",viewBox:"0 0 96 96",width:"1em",height:"1em"},a,{children:[a.title!=null&&i.jsx("title",{children:a.title}),a.children!=null&&i.jsx("defs",{children:a.children}),i.jsx("circle",{cx:48,cy:48,r:47,strokeLinecap:"round",strokeLinejoin:"round",fill:"none",stroke:"currentColor",strokeWidth:"2px"}),i.jsx("path",{d:"M48 54.682a3.43 3.43 0 0 1-3.52-3.062l-1.615-22.518a5.136 5.136 0 0 1 10.272 0L51.523 51.62A3.432 3.432 0 0 1 48 54.682zM48 71.046a5.114 5.114 0 1 1 5.114-5.114 5.114 5.114 0 0 1-5.114 5.114z",strokeMiterlimit:10,fill:"none",stroke:"currentColor",strokeWidth:"2px"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("CDSErrorOutline96.svg.react",["CDSErrorOutline96OLD.svg.react"],(function(a,b,c,d,e,f,g){g["default"]=c("CDSErrorOutline96OLD.svg.react")}),98);
__d("CDSErrorState.react",["BaseRow.react","BaseRowItem.react","CDSButton.react","CDSErrorOutline96.svg.react","CDSIcon.react","CDSTextPairing.react","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={verticalSpaceLarge:{marginBottom:"x1iymm2a",$$css:!0},verticalSpaceMed:{marginBottom:"x1hq5gj4",$$css:!0},verticalSpaceSm:{marginBottom:"xod5an3",$$css:!0}};function a(a){var b=d("react-compiler-runtime").c(11),e=a.contentText,f=a.headlineText,g=a.testid,h;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(h=i.jsx(c("BaseRow.react"),{xstyle:j.verticalSpaceLarge,children:i.jsx(c("BaseRowItem.react"),{children:i.jsx(c("CDSIcon.react"),{color:"primary",icon:c("CDSErrorOutline96.svg.react"),isDecorative:!0,size:96})})}),b[0]=h):h=b[0];var k;b[1]!==e||b[2]!==f?(k=i.jsx(c("BaseRow.react"),{xstyle:j.verticalSpaceMed,children:i.jsx(c("BaseRowItem.react"),{children:i.jsx(c("CDSTextPairing.react"),{contentText:e,headlineText:f,textPairingStyle:"headline2Body"})})}),b[1]=e,b[2]=f,b[3]=k):k=b[3];b[4]!==a.primaryButton||b[5]!==a.secondaryButton?(e=a.primaryButton!=null?i.jsxs(i.Fragment,{children:[i.jsx(c("BaseRow.react"),{expanding:!0,xstyle:a.secondaryButton!=null&&j.verticalSpaceSm,children:i.jsx(c("BaseRowItem.react"),{expanding:!0,children:i.jsx(c("CDSButton.react"),babelHelpers["extends"]({},a.primaryButton,{size:"large",type:"primary"}))})}),a.secondaryButton!=null?i.jsx(c("BaseRow.react"),{expanding:!0,children:i.jsx(c("BaseRowItem.react"),{expanding:!0,children:i.jsx(c("CDSButton.react"),babelHelpers["extends"]({},a.secondaryButton,{size:"large",type:"secondary"}))})}):null]}):null,b[4]=a.primaryButton,b[5]=a.secondaryButton,b[6]=e):e=b[6];b[7]!==k||b[8]!==e||b[9]!==g?(f=i.jsxs("div",{"data-testid":void 0,children:[h,k,e]}),b[7]=k,b[8]=e,b[9]=g,b[10]=f):f=b[10];return f}g["default"]=a}),98);
__d("CDSSearchField.react",["cx","fbt","BaseTextInput.react","CDSIcon.react","CometPressable.react","MetaBrandCircleHandleOutline24.svg.react","MetaBrandXFilled24.svg.react","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react");function a(a){var b=d("react-compiler-runtime").c(65),e,f,g,h,j,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B;b[0]!==a?(f=a.autoComplete,y=a.disabled,g=a.forwardedRef,h=a.id,j=a.maxLength,m=a.name,n=a.onBlur,o=a.onChange,p=a.onClick,q=a.onFocus,r=a.onInput,s=a.onKeyDown,t=a.onKeyPress,u=a.onKeyUp,v=a.onMouseEnter,w=a.onMouseUp,x=a.placeholder,z=a.style,A=a.testid,B=a.value,e=babelHelpers.objectWithoutPropertiesLoose(a,["autoComplete","disabled","forwardedRef","id","maxLength","name","onBlur","onChange","onClick","onFocus","onInput","onKeyDown","onKeyPress","onKeyUp","onMouseEnter","onMouseUp","placeholder","style","testid","value"]),b[0]=a,b[1]=e,b[2]=f,b[3]=g,b[4]=h,b[5]=j,b[6]=m,b[7]=n,b[8]=o,b[9]=p,b[10]=q,b[11]=r,b[12]=s,b[13]=t,b[14]=u,b[15]=v,b[16]=w,b[17]=x,b[18]=y,b[19]=z,b[20]=A,b[21]=B):(e=b[1],f=b[2],g=b[3],h=b[4],j=b[5],m=b[6],n=b[7],o=b[8],p=b[9],q=b[10],r=b[11],s=b[12],t=b[13],u=b[14],v=b[15],w=b[16],x=b[17],y=b[18],z=b[19],A=b[20],B=b[21]);a=y===void 0?!1:y;y=z===void 0?"default":z;z=y==="large";b[22]===Symbol["for"]("react.memo_cache_sentinel")?(y={className:"x1iyjqo2 x1n2onr6"},b[22]=y):y=b[22];var C;b[23]!==o?(C=function(a){o(a.currentTarget.value)},b[23]=o,b[24]=C):C=b[24];var D=z&&l.inputLarge,E=B!==""&&l.inputFilled,F;b[25]!==D||b[26]!==E?(F=[l.input,l.inputBackground,l.inputPlaceholder,D,E],b[25]=D,b[26]=E,b[27]=F):F=b[27];b[28]!==e||b[29]!==f||b[30]!==a||b[31]!==g||b[32]!==h||b[33]!==j||b[34]!==m||b[35]!==n||b[36]!==p||b[37]!==q||b[38]!==r||b[39]!==s||b[40]!==t||b[41]!==u||b[42]!==v||b[43]!==w||b[44]!==x||b[45]!==C||b[46]!==F||b[47]!==A||b[48]!==B?(D=k.jsx(c("BaseTextInput.react"),babelHelpers["extends"]({},e,{"aria-label":x,autoComplete:f,disabled:a,id:h,maxLength:j,name:m,onBlur:n,onChange:C,onClick:p,onFocus:q,onInput:r,onKeyDown:s,onKeyPress:t,onKeyUp:u,onMouseEnter:v,onMouseUp:w,placeholder:x,ref:g,testid:void 0,type:"search",value:B,xstyle:F})),b[28]=e,b[29]=f,b[30]=a,b[31]=g,b[32]=h,b[33]=j,b[34]=m,b[35]=n,b[36]=p,b[37]=q,b[38]=r,b[39]=s,b[40]=t,b[41]=u,b[42]=v,b[43]=w,b[44]=x,b[45]=C,b[46]=F,b[47]=A,b[48]=B,b[49]=D):D=b[49];b[50]!==z?(E={0:{className:"xoie2o3 x10l6tqk x1eu8d0j"},1:{className:"x10l6tqk x16q8cke xfyf068"}}[!!z<<0],b[50]=z,b[51]=E):E=b[51];e=z?24:16;b[52]!==e?(f=k.jsx(c("CDSIcon.react"),{color:"tertiary",icon:c("MetaBrandCircleHandleOutline24.svg.react"),isDecorative:!0,size:e}),b[52]=e,b[53]=f):f=b[53];b[54]!==f||b[55]!==E?(a=k.jsx("div",babelHelpers["extends"]({},E,{children:f})),b[54]=f,b[55]=E,b[56]=a):a=b[56];b[57]!==z||b[58]!==o||b[59]!==B?(g=B!==""&&k.jsx(c("CometPressable.react"),{"aria-label":i._(/*BTDS*/"Effacer"),onPress:function(){return o("")},overlayRadius:16,xstyle:[l.x,z&&l.xLarge],children:k.jsx(c("CDSIcon.react"),{color:"secondary",icon:c("MetaBrandXFilled24.svg.react"),isDecorative:!0,size:z?18:12})}),b[57]=z,b[58]=o,b[59]=B,b[60]=g):g=b[60];b[61]!==a||b[62]!==g||b[63]!==D?(h=k.jsxs("div",babelHelpers["extends"]({},y,{children:[D,a,g]})),b[61]=a,b[62]=g,b[63]=D,b[64]=h):h=b[64];return h}var l={input:{appearance:"xjyslct",borderTopStartRadius:"x1tlxs6b",borderTopEndRadius:"x1g8br2z",borderBottomEndRadius:"x1gn5b1j",borderBottomStartRadius:"x230xth",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",boxSizing:"x9f619",color:"xzsf02u",fontFamily:"xp5op4",fontSize:"x1y44fgy",height:"xc9qbxq",paddingEnd:"x1sxyh0",paddingStart:"x12wi22r",width:"xh8yej3","::-webkit-search-cancel-button_display":"x1hcrkkg","::-webkit-search-results-button_display":"xfvqz1d",$$css:!0},inputBackground:{backgroundColor:"x1bmedo",$$css:!0},inputFilled:{paddingEnd:"x1gz9zih",$$css:!0},inputLarge:{backgroundColor:"xjbqb8w",borderTopColor:"x8cjs6t",borderEndColor:"x1ch86jh",borderBottomColor:"x80vd3b",borderStartColor:"xckqwgs",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",height:"x10wjd1d",paddingStart:"xr9oo41",$$css:!0},inputPlaceholder:{"::placeholder_color":"xha3pab",$$css:!0},x:{end:"x4r51d9",left:null,right:null,paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",position:"x10l6tqk",top:"xndqk7f",$$css:!0},xLarge:{top:"xfr5jun",$$css:!0}};g["default"]=a}),226);
__d("FXErrorState.react",["Box.react","CDSErrorState.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={root:{paddingTop:"x1uysmmv",$$css:!0}};function a(a){return i.jsx(c("Box.react"),{xstyle:j.root,children:i.jsx(c("CDSErrorState.react"),babelHelpers["extends"]({},a))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("IGXPrivacyCenterSearchControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/search/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("PrivacyCenterSearchResult_node.graphql",["cr:1639"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:1639")}),34);
__d("PrivacyCenterSearchResult.react",["CDSListCell.react","CDSText.react","CometRelay","PCActionSpec","PCXIcon.react","PCXImage.react","PCXMultiIcon.react","PrivacyCenterSearchResult_node.graphql","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=d("react-compiler-runtime").c(22),f=a.hasBottomDivider,g=a.node;a=a.testid;g=d("CometRelay").useFragment(h!==void 0?h:h=b("PrivacyCenterSearchResult_node.graphql"),g);var i=g.action,l=g.keyword_indices,m=g.left_add_on,n=g.right_add_on,o=g.snippet,p=g.subtitle;g=g.title;var q;e[0]!==i?(q={action$key:i},e[0]=i,e[1]=q):q=e[1];i=d("PCActionSpec").usePressablePropsFromPCAction(q);var r;if(n!=null)bb0:switch(n.__typename){case"PCXIcon":e[2]!==n?(q=j.jsx(c("PCXIcon.react"),{rendererRef:n}),e[2]=n,e[3]=q):q=e[3];r=q;break bb0;case"PCXMultiIcon":e[4]!==n?(q=j.jsx(c("PCXMultiIcon.react"),{rendererRef:n}),e[4]=n,e[5]=q):q=e[5];r=q}var s;if(m!=null)bb1:switch(m.__typename){case"PCXIcon":e[6]!==m?(n=j.jsx(c("PCXIcon.react"),{rendererRef:m}),e[6]=m,e[7]=n):n=e[7];s=n;break bb1;case"PCXImage":e[8]!==m?(q=j.jsx(c("PCXImage.react"),{rendererRef:m}),e[8]=m,e[9]=q):q=e[9];s=q}e[10]!==l||e[11]!==o?(n=k(o,l),e[10]=l,e[11]=o,e[12]=n):n=e[12];m=n;l=(q=m)!=null?q:o;e[13]!==r||e[14]!==s||e[15]!==f||e[16]!==i||e[17]!==p||e[18]!==l||e[19]!==a||e[20]!==g?(n=j.jsx(c("CDSListCell.react"),babelHelpers["extends"]({addOnEnd:r,addOnStart:s,hasBottomDivider:f,meta:l,metaMaxLines:2,subtitle:p,testid:void 0,title:g},i)),e[13]=r,e[14]=s,e[15]=f,e[16]=i,e[17]=p,e[18]=l,e[19]=a,e[20]=g,e[21]=n):n=e[21];return n}function k(a,b){if(a==null)return null;if(b==null||b.length===0)return j.jsx(c("CDSText.react"),{textStyle:"meta",children:a});var d=[],e=0,f=a.length;for(var g=0;g<b.length;g++){var h=b[g].start,i=b[g].stop;if(h==null||i==null||h<0||i<0||h>i||h>f||i>f)continue;try{d.push(j.jsx(c("CDSText.react"),{textStyle:"meta",children:a.substring(e,h)},g*2)),d.push(j.jsx(c("CDSText.react"),{textStyle:"metaEmphasized",children:a.substring(h,i)},g*2+1))}catch(a){continue}e=i}try{d.push(j.jsx(c("CDSText.react"),{textStyle:"meta",children:a.substring(e)},b.length*2+2))}catch(a){d.push()}return j.jsx(c("CDSText.react"),{textStyle:"meta",children:d})}k.displayName=k.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("PrivacyCenterSearchResultsQuery.graphql",["cr:6850"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:6850")}),34);
__d("PrivacyCenterSearchResultsSuggestionsQuery.graphql",["cr:7161"],(function(a,b,c,d,e,f,g){"use strict";f.exports=b("cr:7161")}),34);
__d("PrivacyCenterSearchResults.react",["fbt","CDSList.react","CDSSectionHeader.react","CDSSpinner.react","CometRelay","FXErrorState.react","PrivacyCenterSearchResult.react","PrivacyCenterSearchResultsQuery.graphql","PrivacyCenterSearchResultsSuggestionsQuery.graphql","isStringNotNullAndNotWhitespaceOnly","isStringNullOrEmpty","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||d("react"),m=i!==void 0?i:i=b("PrivacyCenterSearchResultsQuery.graphql"),n=j!==void 0?j:j=b("PrivacyCenterSearchResultsSuggestionsQuery.graphql");function a(a){var b=d("react-compiler-runtime").c(14),e=a.isRefreshing,f=a.query,g=a.queryRef;a=a.suggestionsRef;g=d("CometRelay").usePreloadedQuery(m,g).xfb_pc_search;a=d("CometRelay").usePreloadedQuery(n,a).xfb_pc_search_suggestions;if(e){b[0]===Symbol["for"]("react.memo_cache_sentinel")?(e=l.jsx("div",babelHelpers["extends"]({className:"x6s0dn4 x78zum5 xl56j7k x1sy10c2"},{children:l.jsx(c("CDSSpinner.react"),{size:24})})),b[0]=e):e=b[0];return e}var i=g.results;e=g.content;if(c("isStringNullOrEmpty")(f)){if(a.length===0)return;b[1]!==i||b[2]!==a?(g=a.map(function(a,b){return l.jsx(c("PrivacyCenterSearchResult.react"),{hasBottomDivider:b!==i.length-1,node:a,testid:void 0},b)}),b[1]=i,b[2]=a,b[3]=g):g=b[3];a=g;b[4]===Symbol["for"]("react.memo_cache_sentinel")?(g=l.jsx(c("CDSSectionHeader.react"),{title:h._(/*BTDS*/"Suggestions")}),b[4]=g):g=b[4];b[5]!==a?(g=l.jsxs(l.Fragment,{children:[g,l.jsx(c("CDSList.react"),{children:a})]}),b[5]=a,b[6]=g):g=b[6];return g}if(i.length===0||!c("isStringNotNullAndNotWhitespaceOnly")(f)){b[7]!==e.search_no_results_desc||b[8]!==e.search_no_results_header?(a=l.jsx(c("FXErrorState.react"),{contentText:e.search_no_results_desc,headlineText:e.search_no_results_header}),b[7]=e.search_no_results_desc,b[8]=e.search_no_results_header,b[9]=a):a=b[9];return a}b[10]!==i?(g=i.map(function(a,b){return l.jsx(c("PrivacyCenterSearchResult.react"),{hasBottomDivider:b!==i.length-1,node:a,testid:void 0},b)}),b[10]=i,b[11]=g):g=b[11];f=g;b[12]!==f?(e=l.jsx(c("CDSList.react"),{children:f}),b[12]=f,b[13]=e):e=b[13];return e}g["default"]=a}),226);
__d("XFBPrivacyCenterSearchControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/privacy/center/search/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("PrivacyCenterSearchRoot.react",["fbt","CDSDialog.react","CDSDialogHeader.react","CDSGlimmer.react","CDSSearchField.react","CometColumn.react","CometColumnItem.react","CometPlaceholder.react","IGXPrivacyCenterSearchControllerRouteBuilder","PrivacyCenterSearchResults.react","XFBPrivacyCenterSearchControllerRouteBuilder","isStringNotNullAndNotWhitespaceOnly","react","react-compiler-runtime","useCometRouterDispatcher","useDebouncedComet","useOnRoutableDialogClose","usePCVisibilityLogger"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useState,l=b.useTransition,m={list:{height:"x10wjd1d",marginBottom:"xyorhqc",width:"xh8yej3",$$css:!0}};function a(a){var b=d("react-compiler-runtime").c(28),e=a.props;a=a.queries;var f=e.routeParams,g=e.routeProps;e=a.query;a=a.suggestionsRef;var i=c("useOnRoutableDialogClose")();f=f.query;var m=c("useCometRouterDispatcher")();f=k(f!=null?String(f):"");var o=f[0],p=f[1];f=k("");var q=f[0],r=f[1];f=l();var s=f[0],t=f[1];b[0]!==m||b[1]!==g.platform?(f=function(a){var b={};c("isStringNotNullAndNotWhitespaceOnly")(a)&&(b={query:a});var d;d="";bb8:switch(g.platform){case"Facebook":d=c("XFBPrivacyCenterSearchControllerRouteBuilder").buildURL(b);break bb8;case"Instagram":d=c("IGXPrivacyCenterSearchControllerRouteBuilder").buildURL(b)}r(a);t(function(){m&&m.go(d,{replace:!0,target:"self"})})},b[0]=m,b[1]=g.platform,b[2]=f):f=b[2];var u;b[3]===Symbol["for"]("react.memo_cache_sentinel")?(u={wait:500},b[3]=u):u=b[3];var v=c("useDebouncedComet")(f,u);b[4]===Symbol["for"]("react.memo_cache_sentinel")?(f={logging_element:"privacy_center_search_screen"},b[4]=f):f=b[4];u=d("usePCVisibilityLogger").usePCVisibilityLogger(f);b[5]===Symbol["for"]("react.memo_cache_sentinel")?(f=h._(/*BTDS*/"Rechercher dans le Centre de confidentialit\u00e9"),b[5]=f):f=b[5];b[6]!==i?(f=j.jsx(c("CDSDialogHeader.react"),{onClose:i,title:f,titleHidden:!0}),b[6]=i,b[7]=f):f=b[7];var w;b[8]!==v?(w=function(a){p(a),v(a)},b[8]=v,b[9]=w):w=b[9];var x;b[10]===Symbol["for"]("react.memo_cache_sentinel")?(x=h._(/*BTDS*/"Rechercher dans le Centre de confidentialit\u00e9"),b[10]=x):x=b[10];b[11]!==o||b[12]!==w?(x=j.jsx(c("CometColumnItem.react"),{children:j.jsx(c("CDSSearchField.react"),{onChange:w,placeholder:x,testid:void 0,value:o})}),b[11]=o,b[12]=w,b[13]=x):x=b[13];b[14]===Symbol["for"]("react.memo_cache_sentinel")?(o=Array.from({length:3}).map(n),b[14]=o):o=b[14];b[15]!==q||b[16]!==s||b[17]!==e||b[18]!==a?(w=j.jsx(c("CometColumnItem.react"),{children:j.jsx(c("CometPlaceholder.react"),{fallback:o,children:j.jsx(c("PrivacyCenterSearchResults.react"),{isRefreshing:s,query:q,queryRef:e,suggestionsRef:a})})}),b[15]=q,b[16]=s,b[17]=e,b[18]=a,b[19]=w):w=b[19];b[20]!==x||b[21]!==w?(o=j.jsxs(c("CometColumn.react"),{paddingHorizontal:20,spacing:20,children:[x,w]}),b[20]=x,b[21]=w,b[22]=o):o=b[22];b[23]!==i||b[24]!==o||b[25]!==f||b[26]!==u?(q=j.jsx(c("CDSDialog.react"),{footer:null,header:f,onClose:i,ref:u,children:o}),b[23]=i,b[24]=o,b[25]=f,b[26]=u,b[27]=q):q=b[27];return q}function n(a,b){return j.jsx(c("CDSGlimmer.react"),{index:b,xstyle:m.list},b)}n.displayName=n.name+" [from "+f.id+"]";g["default"]=a}),226);