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);
-----
BizWebInsightsBenchmarkBusinessesToWatch.entrypoint",["BizWebInsightsBenchmarkBusinessesToWatchViewQuery$Parameters","JSResourceForInteraction"],(function(t,n,r,o,a,i,l){"use strict";var e={getPreloadProps:function(t){var e=t.routeProps,n=e.id,o=e.isPlatformFacebook,a=e.shouldShowFBBenchmarkFollows;return{queries:{businessesToWatchQueryRef:{options:{fetchPolicy:"store-or-network"},parameters:r("BizWebInsightsBenchmarkBusinessesToWatchViewQuery$Parameters"),variables:{id:n,isPlatformFacebook:o,shouldShowFBBenchmarkFollows:a}}}}},root:r("JSResourceForInteraction")("BizWebInsightsBenchmarkBusinessesToWatchView.react").__setRef("BizWebInsightsBenchmarkBusinessesToWatch.entrypoint")},s=e;l.default=s}),98);
-----
BizWebInsightsBenchmarkBusinessesToWatchViewQuery$Parameters",["BizWebInsightsBenchmarkBusinessesToWatchViewQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:n("BizWebInsightsBenchmarkBusinessesToWatchViewQuery_facebookRelayOperation"),metadata:{},name:"BizWebInsightsBenchmarkBusinessesToWatchViewQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
BizWebInsightsBenchmarkBusinessesToWatchViewQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="25192195800446816"}),null);
-----