BizWebInsightsBenchmarkBusinessesToWatchView.react",["fbt","BizWebInsightsBaseComponentContainer.react","BizWebInsightsBenchmarkAddBusinessToWatchButton.react","BizWebInsightsBenchmarkBusinessesToWatchViewQuery$Parameters","BizWebInsightsBenchmarkBusinessesToWatchViewQuery.graphql","BizWebInsightsBenchmarkOptOutText.react","BizWebInsightsBenchmarkOptedOutView.react","BizWebInsightsBenchmarkRecommendedBusinessesTable.react","BizWebInsightsBenchmarkWatchedBusinessesTable.react","CometRelay","GeoDivider.react","GeoGridTypes","GeoTableLoadingState.react","GeoText.react","GeoVStack.react","TofuImpressionLoggingKey","geoMargin","react","useBizWebInsightsCPXEventsLogger","useBizWebInsightsPlatformState","useRefetchablePreloadedQuery"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u.useState,m=e!==void 0?e:e=n("BizWebInsightsBenchmarkBusinessesToWatchViewQuery.graphql");function p(e){var t,n,a=e.queries,l=r("useRefetchablePreloadedQuery")(r("BizWebInsightsBenchmarkBusinessesToWatchViewQuery$Parameters"),a.businessesToWatchQueryRef),u=l[0],p=l[1],_=o("CometRelay").usePreloadedQuery(m,p),f=r("useBizWebInsightsPlatformState")(),g=f.id,h=f.isPlatformFacebook,y=a.businessesToWatchQueryRef.variables.shouldShowFBBenchmarkFollows,C=d(!1),b=C[0],v=C[1];o("useBizWebInsightsCPXEventsLogger").useBizWebInsightsCPXEventsImpressionLogger(r("TofuImpressionLoggingKey").BizInsights_Benchmark_BusinessToWatch);var S=function(){return u({id:g,isPlatformFacebook:h,shouldShowFBBenchmarkFollows:y})};return(_==null||(t=_.tofu_entity)==null||(t=t.entity_info)==null?void 0:t.is_benchmark_disabled)===!0?c.jsx(r("BizWebInsightsBenchmarkOptedOutView.react"),{refetch:S}):c.jsxs(r("GeoVStack.react"),{children:[c.jsx(r("GeoText.react"),{display:"block",xstyle:r("geoMargin").bottom16,children:s._(/*BTDS*/"Compare the performance of your business and content with similar businesses on {platform}.",[s._param("platform",h?s._(/*BTDS*/"Facebook"):s._(/*BTDS*/"Instagram"))])}),c.jsx(r("BizWebInsightsBenchmarkAddBusinessToWatchButton.react"),{fragment:_==null||(n=_.tofu_entity)==null||(n=n.entity_info)==null?void 0:n.add_button,refetch:S,shouldShowFollowers:y}),c.jsxs("div",{children:[c.jsx(r("GeoDivider.react"),{direction:"horizontal",xstyle:[r("geoMargin").bottom0,r("geoMargin").top8]}),c.jsx(r("BizWebInsightsBaseComponentContainer.react"),{loadingView:c.jsx(r("GeoTableLoadingState.react"),{columnSizeDefinition:o("GeoGridTypes").GridList.trackSizeOrRepeat([o("GeoGridTypes").GridSize.flex(4)].concat(Array(h?3:2).fill(o("GeoGridTypes").GridSize.flex(1)),[o("GeoGridTypes").GridSize.flex(.5)])),numColumns:h?5:4,numRows:5,loggingName:i.id}),location:"watched_businesses_table",children:c.jsx(r("BizWebInsightsBenchmarkWatchedBusinessesTable.react"),{fragment:_,isBusinessListUpdating:b,refetch:S,setIsBusinessListUpdating:v})})]}),(_==null?void 0:_.recommended_businesses)&&c.jsxs(c.Fragment,{children:[c.jsx(r("GeoDivider.react"),{direction:"horizontal"}),c.jsx(r("BizWebInsightsBenchmarkRecommendedBusinessesTable.react"),{fragment:_==null?void 0:_.recommended_businesses,isBusinessListUpdating:b,refetch:S,setIsBusinessListUpdating:v,shouldShowFBBenchmarkFollows:y})]}),c.jsx(r("GeoDivider.react"),{direction:"horizontal"}),c.jsx(r("BizWebInsightsBenchmarkOptOutText.react"),{refetch:S})]})}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),226);
-----
BizWebInsightsBenchmarkRecommendedBusinessesTable.react",["fbt","BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment.graphql","BizWebInsightsBenchmarkTableAddBusinessButton.react","BizWebInsightsBenchmarkTableInfoCellWithFollows.react","BizWebInsightsBenchmarkTableInfoCellWithLikes.react","CometRelay","GeoBaseText.react","GeoFlexbox.react","GeoVStack.react","filterNulls","geoMargin","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u.useMemo,m=e!==void 0?e:e=n("BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment.graphql");function p(e){var t,n=e.fragment,a=e.isBusinessListUpdating,i=e.refetch,l=e.setIsBusinessListUpdating,u=e.shouldShowFBBenchmarkFollows,p=o("CometRelay").usePaginationFragment(m,n),_=p.data,f=d(function(){var e,t;return r("filterNulls")((e=_==null||(t=_.tofu_entity_list)==null||(t=t.benchmarking_recommendation_entities)==null||(t=t.edges)==null?void 0:t.map(function(e){var t;return((t=e.node)==null?void 0:t.id)==null?null:{data:e.node}}))!=null?e:[])},[_]);return(_==null||(t=_.tofu_entity)==null||(t=t.entity_info)==null?void 0:t.benchmark_permission)!=="EDIT"?null:c.jsxs("div",{children:[c.jsx(r("GeoBaseText.react"),{color:"heading",display:"block",size:"header3",xstyle:r("geoMargin").bottom16,children:s._(/*BTDS*/"Suggested Facebook businesses to add")}),c.jsx(r("GeoVStack.react"),{context:"container",relation:"unrelated",children:f.map(function(e){var t,n,o,s;return c.jsxs(r("GeoFlexbox.react"),{alignItems:"center",direction:"row",gap:16,justifyContent:"space-between",children:[u?c.jsx(r("BizWebInsightsBenchmarkTableInfoCellWithFollows.react"),{fragment:(n=e.data)==null?void 0:n.info_cell_follows}):c.jsx(r("BizWebInsightsBenchmarkTableInfoCellWithLikes.react"),{fragment:(o=e.data)==null?void 0:o.info_cell_likes}),c.jsx("div",{children:c.jsx(r("BizWebInsightsBenchmarkTableAddBusinessButton.react"),{isBusinessListUpdating:a,ownerFragment:_==null?void 0:_.tofu_entity,refetch:i,rowFragment:(s=e.data)==null?void 0:s.add_cell,setIsBusinessListUpdating:l})})]},(t=e.data)==null?void 0:t.id)})})]})}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),226);
-----
BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment.graphql",["BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable.graphql"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=["tofu_entity_list","benchmarking_recommendation_entities"],t={kind:"Literal",name:"caller_id",value:"BIZWEB_INSIGHTS"};return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"first"},{kind:"RootArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"shouldShowFBBenchmarkFollows"}],kind:"Fragment",metadata:{connection:[{count:"first",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"first",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:[],operation:n("BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable.graphql")}},name:"BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment",selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"id",variableName:"id"}],kind:"ObjectValue",name:"args"},t],concreteType:"TofuEntity",kind:"LinkedField",name:"tofu_entity",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"BizWebInsightsBenchmarkTableAddBusinessButton_owner_tofuEntity"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_info",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"benchmark_permission",storageKey:null}],type:"TofuEntityWithBenchmarkInfo",abstractKey:"__isTofuEntityWithBenchmarkInfo"}],storageKey:null}],storageKey:null},{alias:null,args:[{fields:[{items:[{kind:"Variable",name:"ids.0",variableName:"id"}],kind:"ListValue",name:"ids"}],kind:"ObjectValue",name:"args"},t],concreteType:"TofuEntityList",kind:"LinkedField",name:"tofu_entity_list",plural:!1,selections:[{alias:"benchmarking_recommendation_entities",args:null,concreteType:"TofuEntityListBenchmarkingRecommendationEntitiesConnection",kind:"LinkedField",name:"__BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_benchmarking_recommendation_entities_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"TofuEntityListBenchmarkingRecommendationEntitiesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"TofuEntity",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{condition:"shouldShowFBBenchmarkFollows",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"BizWebInsightsBenchmarkTableInfoCellWithLikes_tofuEntity"}],type:"TofuEntity",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"info_cell_likes"}]},{condition:"shouldShowFBBenchmarkFollows",kind:"Condition",passingValue:!0,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"BizWebInsightsBenchmarkTableInfoCellWithFollows_tofuEntity"}],type:"TofuEntity",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"info_cell_follows"}]},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"BizWebInsightsBenchmarkTableAddBusinessButton_row_tofuEntity"}],type:"TofuEntity",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"add_cell"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null}})();a.exports=e}),null);
-----
BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable.graphql",["BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"first"},{defaultValue:null,kind:"LocalArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"shouldShowFBBenchmarkFollows"}],t={kind:"Variable",name:"first",variableName:"first"},r={kind:"Literal",name:"caller_id",value:"BIZWEB_INSIGHTS"},o={alias:null,args:null,kind:"ScalarField",name:"entity_id",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l=[{kind:"Variable",name:"after",variableName:"cursor"},t],s=[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],u={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_info",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{kind:"InlineFragment",selections:s,type:"TofuEntityWithURIInfo",abstractKey:"__isTofuEntityWithURIInfo"},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"height",value:48},{kind:"Literal",name:"width",value:48}],concreteType:"Image",kind:"LinkedField",name:"image_source",plural:!1,selections:s,storageKey:"image_source(height:48,width:48)"}],type:"TofuEntityWithImageInfo",abstractKey:"__isTofuEntityWithImageInfo"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],type:"TofuEntityWithDescriptionInfo",abstractKey:"__isTofuEntityWithDescriptionInfo"},i],storageKey:null},c=[a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null},{alias:null,args:null,concreteType:"TofuMetricsQueryResultContext",kind:"LinkedField",name:"query_context",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"metric",storageKey:null},{alias:null,args:null,concreteType:"TofuMetricsQueryQualifierItemResponse",kind:"LinkedField",name:"qualifiers",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"param",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"values",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"event",storageKey:null}],storageKey:null}],type:"TofuSingleValueMetricsQueryResult",abstractKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable",selections:[{args:[{kind:"Variable",name:"cursor",variableName:"cursor"},t,{kind:"Variable",name:"shouldShowFBBenchmarkFollows",variableName:"shouldShowFBBenchmarkFollows"}],kind:"FragmentSpread",name:"BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable",selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"id",variableName:"id"}],kind:"ObjectValue",name:"args"},r],concreteType:"TofuEntity",kind:"LinkedField",name:"tofu_entity",plural:!1,selections:[o,{alias:null,args:null,kind:"ScalarField",name:"entity_type",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_info",plural:!1,selections:[a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"benchmark_permission",storageKey:null}],type:"TofuEntityWithBenchmarkInfo",abstractKey:"__isTofuEntityWithBenchmarkInfo"},i],storageKey:null},i],storageKey:null},{alias:null,args:[{fields:[{items:[{kind:"Variable",name:"ids.0",variableName:"id"}],kind:"ListValue",name:"ids"}],kind:"ObjectValue",name:"args"},r],concreteType:"TofuEntityList",kind:"LinkedField",name:"tofu_entity_list",plural:!1,selections:[{alias:null,args:l,concreteType:"TofuEntityListBenchmarkingRecommendationEntitiesConnection",kind:"LinkedField",name:"benchmarking_recommendation_entities",plural:!1,selections:[{alias:null,args:null,concreteType:"TofuEntityListBenchmarkingRecommendationEntitiesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"TofuEntity",kind:"LinkedField",name:"node",plural:!1,selections:[i,{condition:"shouldShowFBBenchmarkFollows",kind:"Condition",passingValue:!1,selections:[u,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_insights",plural:!1,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"like_unique_user_count",plural:!1,selections:c,storageKey:null}],storageKey:null}]},{condition:"shouldShowFBBenchmarkFollows",kind:"Condition",passingValue:!0,selections:[u,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_insights",plural:!1,selections:[a,{alias:"page_follower",args:null,concreteType:null,kind:"LinkedField",name:"follower",plural:!1,selections:c,storageKey:null}],storageKey:null}]},o,a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:l,filters:null,handle:"connection",key:"BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_benchmarking_recommendation_entities",kind:"LinkedHandle",name:"benchmarking_recommendation_entities"}],storageKey:null}]},params:{id:n("BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable_facebookRelayOperation"),metadata:{},name:"BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable",operationKind:"query",text:null}}})();a.exports=e}),null);
-----
BizWebInsightsBenchmarkRecommendedBusinessesTable_fragment_refetchable_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="32379929538322029"}),null);
-----