AdsTALReportKPISelectionDropdown.react",["fbt","AdsInsightsField","AdsSplitTestCommonSplitTestMetrics","AdsTALReportKPISelectionDropdownQuery.graphql","GeoMultiSelector.react","GeoMultiSelectorItem.react","GeoSelectorHeader.react","RelayHooks","react","react-compiler-runtime"],(function(F,M,a,d,O,z,Q,o){"use strict";var m,h,i=h||(h=d("react")),J=h.useState;function D(u){var s,R,e=d("react-compiler-runtime").c(20),f=u.getMetricName,P=u.studyID,j=d("RelayHooks").useLazyLoadQuery(m!==void 0?m:m=M("AdsTALReportKPISelectionDropdownQuery.graphql"),{id:P,skip:P==null},{fetchPolicy:"store-and-network"}),b=j.node,S;e[0]===Symbol.for("react.memo_cache_sentinel")?(S=o._(/*BTDS*/"Key Metric"),e[0]=S):S=e[0];var x=S,p;e[1]===Symbol.for("react.memo_cache_sentinel")?(p=o._(/*BTDS*/"Upper funnel metrics"),e[1]=p):p=e[1];var C=p,H=[],w=((s=b==null||(R=b.objectives)==null?void 0:R.edges)!=null?s:[]).map(G).filter(Boolean).concat(d("AdsSplitTestCommonSplitTestMetrics").COMMON_SPLIT_TEST_METRICS).concat(a("AdsInsightsField").RESULT_ROAS),k=w.concat(H),K=J(k),r=K[0],q=K[1],v;e[2]===Symbol.for("react.memo_cache_sentinel")?(v=function($){q([].concat($))},e[2]=v):v=e[2];var y=v,g=a("GeoMultiSelector.react"),l;e[3]!==r.length?(l=function(){return o._(/*BTDS*/"Metrics: {number of metric} selected",[o._param("number of metric",r.length)])},e[3]=r.length,e[4]=l):l=e[4];var V=!0,n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=o._(/*BTDS*/"KPI selector"),e[5]=n):n=e[5];var c;e[6]!==r.length?(c=o._(/*BTDS*/"Metrics: {number of metric} selected",[o._param("number of metric",r.length)]),e[6]=r.length,e[7]=c):c=e[7];var _;e[8]===Symbol.for("react.memo_cache_sentinel")?(_=i.jsx(a("GeoSelectorHeader.react"),{label:x}),e[8]=_):_=e[8];var T=w.map(function(t){return i.jsx(a("GeoMultiSelectorItem.react"),{label:f(t),value:t},t)}),I=H.length>0?i.jsx(a("GeoSelectorHeader.react"),{label:C}):null,L=H.map(function(t){return i.jsx(a("GeoMultiSelectorItem.react"),{label:f(t),value:t},t)}),A;return e[9]!==g||e[10]!==y||e[11]!==I||e[12]!==L||e[13]!==l||e[14]!==n||e[15]!==c||e[16]!==_||e[17]!==T||e[18]!==r?(A=i.jsxs(g,{displayValue:l,isLabelHidden:V,label:n,placeholder:c,value:r,onChange:y,children:[_,T,I,L]}),e[9]=g,e[10]=y,e[11]=I,e[12]=L,e[13]=l,e[14]=n,e[15]=c,e[16]=_,e[17]=T,e[18]=r,e[19]=A):A=e[19],A}function G(u){var s;return(s=u.node)==null?void 0:s.name}Q.default=D}),226);
-----
AdsTALReportKPISelectionDropdownQuery.graphql",["relay-runtime"],(function(d,t,o,u,s,c){"use strict";var e=(function(){var l=[{defaultValue:null,kind:"LocalArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"skip"}],n=[{kind:"Variable",name:"id",variableName:"id"}],a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:l,kind:"Fragment",metadata:null,name:"AdsTALReportKPISelectionDropdownQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesConnection",kind:"LinkedField",name:"objectives",plural:!1,selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"AdStudyObjective",kind:"LinkedField",name:"node",plural:!1,selections:[a],storageKey:null}],storageKey:null}],storageKey:null}],type:"AdStudy",abstractKey:null}],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"AdsTALReportKPISelectionDropdownQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesConnection",kind:"LinkedField",name:"objectives",plural:!1,selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"AdStudyObjective",kind:"LinkedField",name:"node",plural:!1,selections:[a,i],storageKey:null}],storageKey:null}],storageKey:null}],type:"AdStudy",abstractKey:null},i],storageKey:null}]}]},params:{id:"24024980493870985",metadata:{},name:"AdsTALReportKPISelectionDropdownQuery",operationKind:"query",text:null}}})();t("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),s.exports=e}),null);
-----
-----
AdsTALReportKPISelectionDropdownQuery.graphql",["relay-runtime"],(function(d,t,o,u,s,c){"use strict";var e=(function(){var l=[{defaultValue:null,kind:"LocalArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"skip"}],n=[{kind:"Variable",name:"id",variableName:"id"}],a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:l,kind:"Fragment",metadata:null,name:"AdsTALReportKPISelectionDropdownQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesConnection",kind:"LinkedField",name:"objectives",plural:!1,selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"AdStudyObjective",kind:"LinkedField",name:"node",plural:!1,selections:[a],storageKey:null}],storageKey:null}],storageKey:null}],type:"AdStudy",abstractKey:null}],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"AdsTALReportKPISelectionDropdownQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesConnection",kind:"LinkedField",name:"objectives",plural:!1,selections:[{alias:null,args:null,concreteType:"AdStudyObjectivesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"AdStudyObjective",kind:"LinkedField",name:"node",plural:!1,selections:[a,i],storageKey:null}],storageKey:null}],storageKey:null}],type:"AdStudy",abstractKey:null},i],storageKey:null}]}]},params:{id:"24024980493870985",metadata:{},name:"AdsTALReportKPISelectionDropdownQuery",operationKind:"query",text:null}}})();t("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),s.exports=e}),null);
-----