LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery.graphql",["relay-runtime"],(function(r,i,u,p,t,c){"use strict";var e=(function(){var n=[{kind:"Literal",name:"callsite",value:"LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelector"}],l={alias:"scopeName",args:null,kind:"ScalarField",name:"scope_name",storageKey:null},a={alias:"scopeID",args:null,kind:"ScalarField",name:"scope_id",storageKey:null},s={alias:"scopeType",args:null,kind:"ScalarField",name:"scope_type",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:"businessScoping",args:null,concreteType:"BusinessScoping",kind:"LinkedField",name:"business_scoping",plural:!1,selections:[{alias:"globalScopes",args:n,concreteType:"BusinessScopingGlobalScopesConnection",kind:"LinkedField",name:"global_scopes",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[l,a,s],storageKey:null}],storageKey:'global_scopes(callsite:"LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelector")'}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:"businessScoping",args:null,concreteType:"BusinessScoping",kind:"LinkedField",name:"business_scoping",plural:!1,selections:[{alias:"globalScopes",args:n,concreteType:"BusinessScopingGlobalScopesConnection",kind:"LinkedField",name:"global_scopes",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},l,a,s,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:'global_scopes(callsite:"LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelector")'}],storageKey:null}],storageKey:null}]},params:{id:"9861341217318558",metadata:{},name:"LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery",operationKind:"query",text:null}}})();i("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),t.exports=e}),null);
-----
LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelector.react",["fbt","CometPlaceholder.react","GeoSelector.react","GeoSelectorItem.react","LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery.graphql","RelayHooks","geoMargin","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useEffect;e.useMemo;var m="BUSINESS_SELECTOR_EMPTY",n=i!==void 0?i:i=b("LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery.graphql");function o(a){var b,e=d("react-compiler-runtime").c(16),f=a.label,g=a.logger,h=a.onChange,i=a.placeholder;a=a.selectedBusinessID;var j=d("RelayHooks").useLazyLoadQuery(n,{});j==null?void 0:(b=j.viewer)==null?void 0:(b=b.businessScoping)==null?void 0:(b=b.globalScopes)==null?void 0:b.nodes;if(e[0]!==(j==null?void 0:(b=j.viewer)==null?void 0:(b=b.businessScoping)==null?void 0:(b=b.globalScopes)==null?void 0:b.nodes)){b=(b=j==null?void 0:(b=j.viewer)==null?void 0:(b=b.businessScoping)==null?void 0:(b=b.globalScopes)==null?void 0:b.nodes)!=null?b:[];e[0]=j==null?void 0:(j=j.viewer)==null?void 0:(j=j.businessScoping)==null?void 0:(j=j.globalScopes)==null?void 0:j.nodes;e[1]=b}else b=e[1];j=b;e[2]!==j?(b=j.filter(q),e[2]=j,e[3]=b):b=e[3];j=b;var o=j;e[4]!==o.length||e[5]!==g?(b=function(){o.length===0&&g.scope(m).logRender()},j=[o.length,g],e[4]=o.length,e[5]=g,e[6]=b,e[7]=j):(b=e[6],j=e[7]);l(b,j);e[8]!==o?(b=o.map(p),e[8]=o,e[9]=b):b=e[9];e[10]!==f||e[11]!==h||e[12]!==i||e[13]!==a||e[14]!==b?(j=k.jsx(c("GeoSelector.react"),{label:f,placeholder:i,value:a,xstyle:c("geoMargin").bottom16,onChange:h,children:b}),e[10]=f,e[11]=h,e[12]=i,e[13]=a,e[14]=b,e[15]=j):j=e[15];return j}function p(a){var b=a.scopeID;a=a.scopeName;if(b==null)return;return k.jsx(c("GeoSelectorItem.react"),{label:a!=null?a:b,value:b},b)}p.displayName=p.name+" [from "+f.id+"]";function q(a){a=a.scopeType;return a==="BUSINESS"}function a(a){var b=d("react-compiler-runtime").c(7),e=a.logger,g=a.selectedBusinessID;a=a.setSelectedBusinessID;var i;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(i=h._(/*BTDS*/"Business Portfolio"),b[0]=i):i=b[0];i=i;var j;b[1]===Symbol["for"]("react.memo_cache_sentinel")?(j=h._(/*BTDS*/"Choose your business ID"),b[1]=j):j=b[1];j=j;var l;b[2]===Symbol["for"]("react.memo_cache_sentinel")?(l=k.jsx(c("GeoSelector.react"),{isLoading:!0,label:i,placeholder:j,value:null,xstyle:c("geoMargin").bottom16,onChange:r,children:k.jsx(c("GeoSelectorItem.react"),{isDisabled:!0,label:h._(/*BTDS*/"Loading..."),value:""})}),b[2]=l):l=b[2];b[3]!==e||b[4]!==g||b[5]!==a?(l=k.jsx(c("CometPlaceholder.react"),{fallback:l,name:f.id,children:k.jsx(o,{label:i,logger:e,placeholder:j,selectedBusinessID:g,onChange:a})}),b[3]=e,b[4]=g,b[5]=a,b[6]=l):l=b[6];return l}function r(){}g["default"]=a}),226);
-----
-----
LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelector.react",["fbt","CometPlaceholder.react","GeoSelector.react","GeoSelectorItem.react","LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery.graphql","RelayHooks","geoMargin","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useEffect;e.useMemo;var m="BUSINESS_SELECTOR_EMPTY",n=i!==void 0?i:i=b("LeadGenCRMIntegrationGoogleSpreadsheetCapiStepContentBusinessSelectorQuery.graphql");function o(a){var b,e=d("react-compiler-runtime").c(16),f=a.label,g=a.logger,h=a.onChange,i=a.placeholder;a=a.selectedBusinessID;var j=d("RelayHooks").useLazyLoadQuery(n,{});j==null?void 0:(b=j.viewer)==null?void 0:(b=b.businessScoping)==null?void 0:(b=b.globalScopes)==null?void 0:b.nodes;if(e[0]!==(j==null?void 0:(b=j.viewer)==null?void 0:(b=b.businessScoping)==null?void 0:(b=b.globalScopes)==null?void 0:b.nodes)){b=(b=j==null?void 0:(b=j.viewer)==null?void 0:(b=b.businessScoping)==null?void 0:(b=b.globalScopes)==null?void 0:b.nodes)!=null?b:[];e[0]=j==null?void 0:(j=j.viewer)==null?void 0:(j=j.businessScoping)==null?void 0:(j=j.globalScopes)==null?void 0:j.nodes;e[1]=b}else b=e[1];j=b;e[2]!==j?(b=j.filter(q),e[2]=j,e[3]=b):b=e[3];j=b;var o=j;e[4]!==o.length||e[5]!==g?(b=function(){o.length===0&&g.scope(m).logRender()},j=[o.length,g],e[4]=o.length,e[5]=g,e[6]=b,e[7]=j):(b=e[6],j=e[7]);l(b,j);e[8]!==o?(b=o.map(p),e[8]=o,e[9]=b):b=e[9];e[10]!==f||e[11]!==h||e[12]!==i||e[13]!==a||e[14]!==b?(j=k.jsx(c("GeoSelector.react"),{label:f,placeholder:i,value:a,xstyle:c("geoMargin").bottom16,onChange:h,children:b}),e[10]=f,e[11]=h,e[12]=i,e[13]=a,e[14]=b,e[15]=j):j=e[15];return j}function p(a){var b=a.scopeID;a=a.scopeName;if(b==null)return;return k.jsx(c("GeoSelectorItem.react"),{label:a!=null?a:b,value:b},b)}p.displayName=p.name+" [from "+f.id+"]";function q(a){a=a.scopeType;return a==="BUSINESS"}function a(a){var b=d("react-compiler-runtime").c(7),e=a.logger,g=a.selectedBusinessID;a=a.setSelectedBusinessID;var i;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(i=h._(/*BTDS*/"Business Portfolio"),b[0]=i):i=b[0];i=i;var j;b[1]===Symbol["for"]("react.memo_cache_sentinel")?(j=h._(/*BTDS*/"Choose your business ID"),b[1]=j):j=b[1];j=j;var l;b[2]===Symbol["for"]("react.memo_cache_sentinel")?(l=k.jsx(c("GeoSelector.react"),{isLoading:!0,label:i,placeholder:j,value:null,xstyle:c("geoMargin").bottom16,onChange:r,children:k.jsx(c("GeoSelectorItem.react"),{isDisabled:!0,label:h._(/*BTDS*/"Loading..."),value:""})}),b[2]=l):l=b[2];b[3]!==e||b[4]!==g||b[5]!==a?(l=k.jsx(c("CometPlaceholder.react"),{fallback:l,name:f.id,children:k.jsx(o,{label:i,logger:e,placeholder:j,selectedBusinessID:g,onChange:a})}),b[3]=e,b[4]=g,b[5]=a,b[6]=l):l=b[6];return l}function r(){}g["default"]=a}),226);
-----