/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import d from"./SH2BQWAG.js";import c from"./NG2WISQ2.js";import b from"./KFUE7LVT.js";import a from"./AD6GOUND.js";import{c as p}from"./NKG4FLLR.js";export default $arcgis.t(([{substitute:C},,,,,,,,,,,,,,,{Ea:t,Ga:a,Gb:y,W:l,Wd:c,ba:r},{a:u,d:n},{c:x},{a:f}])=>{var v=s=>{n({config:s,value:null,axisIndex:0,isMax:!1}),n({config:s,value:null,axisIndex:0,isMax:!0}),n({config:s,value:null,axisIndex:1,isMax:!1}),n({config:s,value:null,axisIndex:1,isMax:!0})};function D(s,e,i){let{layerFieldsInfo:o}=e,m=y(o,g(s));return C(i.titleLabels.distributionOfField,{valueField:m})}var g=s=>s.series[0]?.x??"",$=s=>{let{numericField:e,config:i,layerInfo:o,commonStrings:m}=s,{layerFieldsInfo:b}=o,I=D(i,o,m),S=f(i),F=x(0,i),M=y(b,g(i)),d=c(i);if(v(i),i?.series?.[0]&&(i.series[0].x=e),M===F||d){let T=y(b,e);u(i,0,T)}i.title&&(I===S||d)&&(i.title.content.text=D(i,o,m))},ss=s=>s.series[0]?.dataTransformationType??p.None,es=(s,e)=>{v(e),e?.series?.[0]&&(e.series[0].dataTransformationType=s)},is=s=>s.series[0]?.binCount??32,rs=(s,e)=>{v(e),e?.series?.[0]&&(e.series[0].binCount=s)},as=s=>s.series[0]?.fillSymbol??a().fillSymbol,os=(s,e)=>{e?.series?.[0]&&(e.series[0].fillSymbol={...e.series[0].fillSymbol,...s})},A=s=>s.series[0]?.overlays?.comparisonDistribution?.symbol??a().overlays.comparisonDistribution?.symbol??l(),ls=(s,e)=>{e.series[0].overlays??=t(),e.series[0].overlays.comparisonDistribution??=r(4),e.series[0].overlays.comparisonDistribution.symbol={...e.series[0].overlays.comparisonDistribution.symbol,...s}},O=s=>s.series[0]?.overlays?.mean?.symbol??a().overlays.mean?.symbol??l(),ts=(s,e)=>{e.series[0].overlays??=t(),e.series[0].overlays.mean??=r(1),e.series[0].overlays.mean.symbol={...e.series[0].overlays.mean.symbol,...s}},h=s=>s.series[0]?.overlays?.median?.symbol??a().overlays.median?.symbol??l(),ns=(s,e)=>{e.series[0].overlays??=t(),e.series[0].overlays.median??=r(2),e.series[0].overlays.median.symbol={...e.series[0].overlays.median.symbol,...s}},N=s=>s.series[0]?.overlays?.standardDeviation?.symbol??a().overlays.standardDeviation?.symbol??l(),ms=(s,e)=>{e.series[0].overlays??=t(),e.series[0].overlays.standardDeviation??=r(3),e.series[0].overlays.standardDeviation.symbol={...e.series[0].overlays.standardDeviation.symbol,...s}},ys=s=>(s.series[0]?.overlays?.comparisonDistribution?.created??!1)&&(s.series[0]?.overlays?.comparisonDistribution?.visible??!1),vs=(s,e)=>{let i=r(0);i.created=s,i.visible=s,i.symbol=A(e),e?.series?.[0]?.overlays&&(e.series[0].overlays.comparisonDistribution=i)},bs=s=>(s.series[0]?.overlays?.mean?.created??!1)&&(s.series[0]?.overlays?.mean?.visible??!1),ds=(s,e)=>{let i=r(1);i.created=s,i.visible=s,i.symbol=O(e),e?.series?.[0]?.overlays&&(e.series[0].overlays.mean=i)},ps=s=>(s.series[0]?.overlays?.median?.created??!1)&&(s.series[0]?.overlays?.median?.visible??!1),cs=(s,e)=>{let i=r(2);i.created=s,i.visible=s,i.symbol=h(e),e?.series?.[0]?.overlays&&(e.series[0].overlays.median=i)},us=s=>(s.series[0]?.overlays?.standardDeviation?.created??!1)&&(s.series[0]?.overlays?.standardDeviation?.visible??!1),fs=(s,e)=>{let i=r(3);i.created=s,i.visible=s,i.symbol=N(e),e?.series?.[0]?.overlays&&(e.series[0].overlays.standardDeviation=i)},xs=s=>s?.series?.[0]?.overlays,Ds=(s,e)=>{e?.series?.[0]!==void 0&&(e.series[0].overlays=s)};return{a:D,b:g,c:$,d:ss,e:es,f:is,g:rs,h:as,i:os,j:A,k:ls,l:O,m:ts,n:h,o:ns,p:N,q:ms,r:ys,s:vs,t:bs,u:ds,v:ps,w:cs,x:us,y:fs,z:xs,A:Ds}},"intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d)