@arcgis/charts-components 5.1.0-next.0 → 5.1.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/cdn/{I4JPIKWZ.js → 2FVGG2EI.js} +1 -1
  2. package/dist/cdn/{Z3ATQCGU.js → 2TSZGBRW.js} +1 -1
  3. package/dist/cdn/{N7QH3COK.js → 3DSUDPMW.js} +1 -1
  4. package/dist/cdn/{4OI742MI.js → 3H63O632.js} +1 -1
  5. package/dist/cdn/{VPF4DANX.js → 3VYTY4CH.js} +1 -1
  6. package/dist/cdn/{F7EELFJY.js → 46NT4YQ5.js} +1 -1
  7. package/dist/cdn/{4SDMBWIH.js → 4NQ4FOPA.js} +1 -1
  8. package/dist/cdn/{GUN4GTO3.js → 4ONBF7EX.js} +1 -1
  9. package/dist/cdn/4XC2ZKSZ.js +2 -0
  10. package/dist/cdn/527DICLD.js +2 -0
  11. package/dist/cdn/{6AMFQCS7.js → 54S7WK2Q.js} +1 -1
  12. package/dist/cdn/{IMMCY2GO.js → 5F7P2IRB.js} +1 -1
  13. package/dist/cdn/{I45WQ4BL.js → 5GIBJIKZ.js} +1 -1
  14. package/dist/cdn/{YBWIUGMX.js → 5RFEFP2G.js} +1 -1
  15. package/dist/cdn/{VLDV4SLC.js → 6HU6FAC6.js} +1 -1
  16. package/dist/cdn/{H2ZHJTT5.js → 6MUSVNGM.js} +1 -1
  17. package/dist/cdn/{B227HROY.js → 6WQPKBUS.js} +1 -1
  18. package/dist/cdn/734N3Q42.js +2 -0
  19. package/dist/cdn/{5UWCB534.js → 7GVHJYQ4.js} +1 -1
  20. package/dist/cdn/{RREICBPO.js → 7J7IYWG7.js} +19 -19
  21. package/dist/cdn/{PGRROSLP.js → 7OIBIDJX.js} +1 -1
  22. package/dist/cdn/{MFY2WNGC.js → 7SSRNOEZ.js} +1 -1
  23. package/dist/cdn/A43B7S7N.js +2 -0
  24. package/dist/cdn/{YFQBIEH6.js → AT5TLS5G.js} +1 -1
  25. package/dist/cdn/B6AQ5E4L.js +2 -0
  26. package/dist/cdn/{GB3TK5D3.js → BJPCRXMJ.js} +1 -1
  27. package/dist/cdn/BUTXND3Y.js +2 -0
  28. package/dist/cdn/{2BIDUUM3.js → BW44TT3O.js} +1 -1
  29. package/dist/cdn/{UPWTKME3.js → CKOTQVMD.js} +1 -1
  30. package/dist/cdn/{TCKWKRVQ.js → CLZB5JAL.js} +1 -1
  31. package/dist/cdn/{MAYX7C4V.js → D5EFLFGK.js} +1 -1
  32. package/dist/cdn/DFSUGOC2.js +2 -0
  33. package/dist/cdn/{7XB4DP2Y.js → DGBFUPHF.js} +1 -1
  34. package/dist/cdn/DGTF5KBL.js +2 -0
  35. package/dist/cdn/{7TA3GQ2P.js → DLWGXLTP.js} +1 -1
  36. package/dist/cdn/{VQGWUSUK.js → EGTQDORP.js} +1 -1
  37. package/dist/cdn/{RBLN6H3R.js → ESHE4EJO.js} +1 -1
  38. package/dist/cdn/{XVD4CGMV.js → EVWSDR7F.js} +1 -1
  39. package/dist/cdn/{YP55GB27.js → F7YBMSC7.js} +1 -1
  40. package/dist/cdn/{C3QBGU3R.js → FVHKQX4O.js} +1 -1
  41. package/dist/cdn/{ZMTNSPCX.js → G2EFW5BS.js} +1 -1
  42. package/dist/cdn/{ACIPSEQP.js → GS4YJSDV.js} +1 -1
  43. package/dist/cdn/{UVEAGNF2.js → GTMWPA5J.js} +1 -1
  44. package/dist/cdn/{XAWIW6KZ.js → GU6JH3VZ.js} +3 -3
  45. package/dist/cdn/{JYAZY7C6.js → GWYSKUDT.js} +1 -1
  46. package/dist/cdn/{T6J2NNJR.js → HAJ2VWEU.js} +1 -1
  47. package/dist/cdn/{GV3FPWSE.js → HI6AE5XG.js} +1 -1
  48. package/dist/cdn/IHPHZSVH.js +2 -0
  49. package/dist/cdn/{OKE67HPM.js → ITVP53KT.js} +1 -1
  50. package/dist/cdn/JDUDNQNC.js +2 -0
  51. package/dist/cdn/{NZKAMZX6.js → JLC5Q7Y2.js} +1 -1
  52. package/dist/cdn/{CSMPPQK6.js → JQFKP5BO.js} +1 -1
  53. package/dist/cdn/{4YGTK6R4.js → KBCK3TOS.js} +1 -1
  54. package/dist/cdn/{OBF3ZYVJ.js → KKUG22EI.js} +1 -1
  55. package/dist/cdn/{AE43AFN2.js → KZ7WEJMS.js} +1 -1
  56. package/dist/cdn/LA5QA6QE.js +2 -0
  57. package/dist/cdn/{7OIBV6LX.js → M6U6FZYV.js} +1 -1
  58. package/dist/cdn/{5SBX2OSZ.js → NO66QM4U.js} +1 -1
  59. package/dist/cdn/{YHXUQR6R.js → NP2HK66D.js} +1 -1
  60. package/dist/cdn/{ITMPO5LO.js → NRBBCJMI.js} +1 -1
  61. package/dist/cdn/ODSBX4UB.js +2 -0
  62. package/dist/cdn/{Z5OGHBTB.js → OFNVRKLL.js} +1 -1
  63. package/dist/cdn/{OLGKBPS4.js → OH623XHQ.js} +1 -1
  64. package/dist/cdn/OOYDYFQL.js +2 -0
  65. package/dist/cdn/{VCDTXXBB.js → PQQQPD6E.js} +1 -1
  66. package/dist/cdn/{N5LXTC5F.js → QBDBBEMO.js} +1 -1
  67. package/dist/cdn/{RESJUXIH.js → QES24ZNV.js} +1 -1
  68. package/dist/cdn/QGBDD3VP.js +2 -0
  69. package/dist/cdn/{FGQCHT3Y.js → QITSU7UB.js} +1 -1
  70. package/dist/cdn/{XPATRR6S.js → R65NAU4T.js} +1 -1
  71. package/dist/cdn/{CGRJSESJ.js → R6PSD7B7.js} +1 -1
  72. package/dist/cdn/{CF4MUKBD.js → RBW7HCYN.js} +1 -1
  73. package/dist/cdn/{E4Z7JPW7.js → RHEU3VW6.js} +1 -1
  74. package/dist/cdn/ROJ67ATL.js +2 -0
  75. package/dist/cdn/{E2XSIMND.js → RVDUQNQH.js} +1 -1
  76. package/dist/cdn/{ILN66JCQ.js → S6IN2PJK.js} +1 -1
  77. package/dist/cdn/{UR4SN4J4.js → SBBG2LAI.js} +1 -1
  78. package/dist/cdn/{3KIKTBU4.js → SM5V7JW4.js} +1 -1
  79. package/dist/cdn/{SGOQQYBY.js → SPAXIJWK.js} +1 -1
  80. package/dist/cdn/{UKLAAPT4.js → STULUM25.js} +1 -1
  81. package/dist/cdn/{L7BKIZJN.js → UJ3X5GAK.js} +1 -1
  82. package/dist/cdn/{EOT7WEOM.js → UUYAX5P7.js} +1 -1
  83. package/dist/cdn/{NKTG3HYP.js → VCBEQAWJ.js} +1 -1
  84. package/dist/cdn/{INA4MWOS.js → VFC4KZRP.js} +1 -1
  85. package/dist/cdn/{DSCSQG33.js → VMAJ5W4A.js} +1 -1
  86. package/dist/cdn/{7HHTWL5X.js → W32EPRL3.js} +1 -1
  87. package/dist/cdn/{JEOHGL3P.js → W7THVT7Z.js} +1 -1
  88. package/dist/cdn/WHQ6EWYY.js +2 -0
  89. package/dist/cdn/{WZJQSJPK.js → XINBF3UQ.js} +1 -1
  90. package/dist/cdn/{V3NRWE2B.js → XRYZYAL4.js} +1 -1
  91. package/dist/cdn/{UNGIAYCA.js → XYKNQZFD.js} +1 -1
  92. package/dist/cdn/{CCBSYUDL.js → Y3U6VC3K.js} +1 -1
  93. package/dist/cdn/{O3LWVBLQ.js → YBSBFAGE.js} +1 -1
  94. package/dist/cdn/{A2TYB4C2.js → YQC2FUWM.js} +1 -1
  95. package/dist/cdn/{7F454N3C.js → Z4B2NHJI.js} +2 -2
  96. package/dist/cdn/{TW7SDPY6.js → ZTF5EW2C.js} +1 -1
  97. package/dist/cdn/{HOPCZKQO.js → ZYEUKPGT.js} +1 -1
  98. package/dist/cdn/index.js +1 -1
  99. package/dist/chunks/action-bar-utils.js +9 -8
  100. package/dist/chunks/box-plot-data.js +1 -1
  101. package/dist/chunks/chart-ui-utils.js +52 -48
  102. package/dist/chunks/chart-ui-utils2.js +1 -1
  103. package/dist/chunks/class-breaks.js +159 -94
  104. package/dist/chunks/data.js +10 -9
  105. package/dist/chunks/heat-chart-model.js +83 -66
  106. package/dist/chunks/index.js +117 -109
  107. package/dist/chunks/model-setter.js +1 -1
  108. package/dist/chunks/model-with-guides.js +7 -6
  109. package/dist/chunks/pie-chart-data.js +1 -1
  110. package/dist/chunks/radar-chart-model.js +9 -9
  111. package/dist/chunks/serial-chart-data.js +315 -306
  112. package/dist/chunks/serial-chart-model.js +4 -4
  113. package/dist/chunks/web-component-utils.js +32 -32
  114. package/dist/components/arcgis-chart/customElement.d.ts +1 -1
  115. package/dist/components/arcgis-chart/customElement.js +845 -842
  116. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -0
  117. package/dist/components/arcgis-charts-config-create-flow/customElement.js +120 -112
  118. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -0
  119. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +111 -101
  120. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +2 -0
  121. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +28 -15
  122. package/dist/docs/api.json +1 -1
  123. package/dist/docs/docs.json +1 -1
  124. package/dist/docs/vscode.html-custom-data.json +1 -1
  125. package/dist/docs/web-types.json +1 -1
  126. package/dist/loader.js +1 -1
  127. package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
  128. package/dist/utils/ui/chart-ui-utils.d.ts +6 -3
  129. package/package.json +4 -4
  130. package/dist/cdn/BJJLSSQL.js +0 -2
  131. package/dist/cdn/CSHLYYDR.js +0 -2
  132. package/dist/cdn/DISBHZRX.js +0 -2
  133. package/dist/cdn/FGQ6QTNI.js +0 -2
  134. package/dist/cdn/FIBU5QUG.js +0 -2
  135. package/dist/cdn/GRFJADFY.js +0 -2
  136. package/dist/cdn/MMVAIEM3.js +0 -2
  137. package/dist/cdn/OFZOPSWX.js +0 -2
  138. package/dist/cdn/OQA4LU5O.js +0 -2
  139. package/dist/cdn/OX34MEOD.js +0 -2
  140. package/dist/cdn/T6HUC3X4.js +0 -2
  141. package/dist/cdn/W2Z3VO3C.js +0 -2
  142. package/dist/cdn/WI7OSEXJ.js +0 -2
  143. package/dist/cdn/WQS6NQUO.js +0 -2
  144. package/dist/cdn/YWRPXNSI.js +0 -2
  145. package/dist/cdn/ZARMIUOQ.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import d from"./VQGWUSUK.js";import c from"./YP55GB27.js";import b from"./F7EELFJY.js";import a from"./XAWIW6KZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Ib:k,O:p,Q:f,_c:N,w:a},{q:R},{b:n,c:l},{a:q,b:E,d:U,f:B}])=>{var H=Object.defineProperty,W=Object.getOwnPropertyDescriptor,Y=(e,t,o,c)=>{for(var r=W(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&H(t,o,r),r},Z=e=>e.title?.content,J=(e,t)=>{if(e){let o=q(t);t.title===void 0&&(t.title=f({text:"",visible:!0,font:p(a.ChartTitle),type:a.ChartTitle})),t.title.content=e,t.title.content.text=o}},b=class extends n{get titleSymbol(){return Z(this._config)}set titleSymbol(t){J(t,this._config)}};Y([l],b.prototype,"titleSymbol");var K=Object.defineProperty,Q=Object.getOwnPropertyDescriptor,X=(e,t,o,c)=>{for(var r=Q(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&K(t,o,r),r},g=class extends n{get config(){return this._config}set config(t){this._config=t}};X([l],g.prototype,"config");var T=class extends n{get layer(){return this.layerInfo?.layer}},$=e=>e.id,A=(e,t)=>{t.id=e},V=class extends n{get chartId(){return $(this._config)}set chartId(t){A(t,this._config)}},tt=e=>e.version,w=class extends n{get version(){return tt(this._config)}},et=Object.defineProperty,rt=Object.getOwnPropertyDescriptor,ot=(e,t,o,c)=>{for(var r=rt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&et(t,o,r),r},G=e=>e.subtitle?.content.text??"",it=(e,t)=>{t.subtitle!==void 0?t.subtitle.content.text=e:e!==void 0&&(t.subtitle=f({text:e,visible:!0,font:p(a.ChartSubtitle)}))},d=class extends n{get subtitleText(){return G(this._config)}set subtitleText(t){it(t,this._config)}};ot([l],d.prototype,"subtitleText");var st=Object.defineProperty,nt=Object.getOwnPropertyDescriptor,ct=(e,t,o,c)=>{for(var r=nt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&st(t,o,r),r},lt=e=>e.subtitle?.content,at=(e,t)=>{if(e){let o=G(t);t.subtitle===void 0&&(t.subtitle=f({text:"",visible:!0,font:p(a.ChartSubtitle),type:a.ChartSubtitle})),t.subtitle.content=e,t.subtitle.content.text=o}},u=class extends n{get subtitleSymbol(){return lt(this._config)}set subtitleSymbol(t){at(t,this._config)}};ct([l],u.prototype,"subtitleSymbol");var pt=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,bt=(e,t,o,c)=>{for(var r=ft(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&pt(t,o,r),r},M=e=>e.footer?.content.text??"",gt=(e,t)=>{t.footer!==void 0?t.footer.content.text=e:e!==void 0&&(t.footer=f({text:e,visible:!0,font:p(a.DescriptionText)}))},h=class extends n{get descriptionText(){return M(this._config)}set descriptionText(t){gt(t,this._config)}};bt([l],h.prototype,"descriptionText");var dt=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,ht=(e,t,o,c)=>{for(var r=ut(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&dt(t,o,r),r},yt=e=>e.footer?.content,vt=(e,t)=>{if(e){let o=M(t);t.footer===void 0&&(t.footer=f({text:"",visible:!0,font:p(a.DescriptionText),type:a.DescriptionText})),t.footer.content=e,t.footer.content.text=o}},y=class extends n{get descriptionSymbol(){return yt(this._config)}set descriptionSymbol(t){vt(t,this._config)}};ht([l],y.prototype,"descriptionSymbol");var xt=Object.defineProperty,mt=Object.getOwnPropertyDescriptor,Ot=(e,t,o,c)=>{for(var r=mt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&xt(t,o,r),r},_t=e=>e.title?e.title.visible??!0:!1,jt=(e,t)=>{t.title!==void 0?t.title.visible=e:t.title=f({text:"",visible:e,font:p(a.ChartTitle)})},v=class extends n{get chartTitleVisibility(){return _t(this._config)}set chartTitleVisibility(t){jt(t,this._config)}};Ot([l],v.prototype,"chartTitleVisibility");var Pt=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,St=(e,t,o,c)=>{for(var r=Dt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Pt(t,o,r),r},Tt=e=>e.subtitle?e.subtitle.visible??!0:!1,Vt=(e,t)=>{t.subtitle!==void 0?t.subtitle.visible=e:t.subtitle=f({text:"",visible:e,font:p(a.ChartSubtitle)})},x=class extends n{get chartSubtitleVisibility(){return Tt(this._config)}set chartSubtitleVisibility(t){Vt(t,this._config)}};St([l],x.prototype,"chartSubtitleVisibility");var wt=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,Ft=(e,t,o,c)=>{for(var r=Ct(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&wt(t,o,r),r},z=e=>e.footer?.visible??!1,It=(e,t)=>{t.footer!==void 0?t.footer.visible=e:e!==z(t)&&(t.footer=f({text:"",visible:!0,font:p(a.DescriptionText)}))},m=class extends n{get descriptionVisibility(){return z(this._config)}set descriptionVisibility(t){It(t,this._config)}};Ft([l],m.prototype,"descriptionVisibility");var Lt=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Nt=(e,t,o,c)=>{for(var r=kt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Lt(t,o,r),r},Rt=e=>e.chartRenderer,qt=(e,t)=>{t.chartRenderer=e},O=class extends n{get chartRenderer(){return Rt(this._config)}set chartRenderer(t){qt(t,this._config)}};Nt([l],O.prototype,"chartRenderer");var Et=Object.defineProperty,Ut=Object.getOwnPropertyDescriptor,Bt=(e,t,o,c)=>{for(var r=Ut(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Et(t,o,r),r},Gt=e=>e.background,Mt=(e,t)=>{t.background=e},_=class extends n{get backgroundColor(){return Gt(this._config)}set backgroundColor(t){Mt(t,this._config)}};Bt([l],_.prototype,"backgroundColor");var zt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Wt=(e,t,o,c)=>{for(var r=Ht(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&zt(t,o,r),r},Yt=(e,t)=>t.series[e].visible??!0,Zt=(e,t)=>{k({detail:e},t)},j=class extends n{getSeriesVisibility(t){return Yt(t,this._config)}setSeriesVisibility(t){Zt(t,this._config)}};Wt([l],j.prototype,"setSeriesVisibility");var Jt=(e,t)=>t.series[e]?.id,C=class extends n{getSeriesId(t){return Jt(t,this._config)}},Kt=(e,t)=>t.series.findIndex(o=>o.id===e),F=class extends n{getSeriesIndex(t){return Kt(t,this._config)}},Qt=e=>N(e.series),I=class extends n{get chartSubType(){return Qt(this._config)}},Xt=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,At=(e,t,o,c)=>{for(var r=$t(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Xt(t,o,r),r},te=(e,t)=>{let o;return e.length!==0&&t<e.length&&(o=e[t].dataTooltipValueFormat),o},ee=e=>{let{series:t,seriesIndex:o,valueFormat:c}=e;t.length!==0&&o<t.length&&(t[o].dataTooltipValueFormat=c)},P=class extends n{getDataTooltipValueFormat(t){return te(this._config.series,t)}setDataTooltipValueFormat(t,o){ee({series:this._config.series,seriesIndex:t,valueFormat:o})}};At([l],P.prototype,"setDataTooltipValueFormat");var re=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,ie=(e,t,o,c)=>{for(var r=oe(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&re(t,o,r),r},se=(e,t)=>{t.series.forEach(o=>{o.query&&(o.query.fetchNullValues=e)})},ne=e=>e.series.some(t=>t.query?.fetchNullValues),D=class extends n{get fetchNULLValues(){return ne(this._config)}set fetchNULLValues(t){se(t,this._config)}};ie([l],D.prototype,"fetchNULLValues");var ce=Object.defineProperty,le=Object.getOwnPropertyDescriptor,ae=(e,t,o,c)=>{for(var r=le(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&ce(t,o,r),r},pe=e=>e.dataFilters,fe=(e,t)=>{e!==void 0?t.dataFilters=e:delete t.dataFilters},S=class extends n{getDataFilters(){return pe(this._config)}async setDataFilters(t){fe(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}};ae([l],S.prototype,"setDataFilters");var L=class extends n{},be=[g,T,V,E,b,w,d,u,h,y,v,x,m,O,_,j,C,F,B,I,P,D,U,S];R(L,be);return L},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d)
2
+ import d from"./EGTQDORP.js";import c from"./F7YBMSC7.js";import b from"./46NT4YQ5.js";import a from"./GU6JH3VZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Ib:k,O:p,Q:f,_c:N,w:a},{q:R},{b:n,c:l},{a:q,b:E,d:U,f:B}])=>{var H=Object.defineProperty,W=Object.getOwnPropertyDescriptor,Y=(e,t,o,c)=>{for(var r=W(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&H(t,o,r),r},Z=e=>e.title?.content,J=(e,t)=>{if(e){let o=q(t);t.title===void 0&&(t.title=f({text:"",visible:!0,font:p(a.ChartTitle),type:a.ChartTitle})),t.title.content=e,t.title.content.text=o}},b=class extends n{get titleSymbol(){return Z(this._config)}set titleSymbol(t){J(t,this._config)}};Y([l],b.prototype,"titleSymbol");var K=Object.defineProperty,Q=Object.getOwnPropertyDescriptor,X=(e,t,o,c)=>{for(var r=Q(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&K(t,o,r),r},g=class extends n{get config(){return this._config}set config(t){this._config=t}};X([l],g.prototype,"config");var T=class extends n{get layer(){return this.layerInfo?.layer}},$=e=>e.id,A=(e,t)=>{t.id=e},V=class extends n{get chartId(){return $(this._config)}set chartId(t){A(t,this._config)}},tt=e=>e.version,w=class extends n{get version(){return tt(this._config)}},et=Object.defineProperty,rt=Object.getOwnPropertyDescriptor,ot=(e,t,o,c)=>{for(var r=rt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&et(t,o,r),r},G=e=>e.subtitle?.content.text??"",it=(e,t)=>{t.subtitle!==void 0?t.subtitle.content.text=e:e!==void 0&&(t.subtitle=f({text:e,visible:!0,font:p(a.ChartSubtitle)}))},d=class extends n{get subtitleText(){return G(this._config)}set subtitleText(t){it(t,this._config)}};ot([l],d.prototype,"subtitleText");var st=Object.defineProperty,nt=Object.getOwnPropertyDescriptor,ct=(e,t,o,c)=>{for(var r=nt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&st(t,o,r),r},lt=e=>e.subtitle?.content,at=(e,t)=>{if(e){let o=G(t);t.subtitle===void 0&&(t.subtitle=f({text:"",visible:!0,font:p(a.ChartSubtitle),type:a.ChartSubtitle})),t.subtitle.content=e,t.subtitle.content.text=o}},u=class extends n{get subtitleSymbol(){return lt(this._config)}set subtitleSymbol(t){at(t,this._config)}};ct([l],u.prototype,"subtitleSymbol");var pt=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,bt=(e,t,o,c)=>{for(var r=ft(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&pt(t,o,r),r},M=e=>e.footer?.content.text??"",gt=(e,t)=>{t.footer!==void 0?t.footer.content.text=e:e!==void 0&&(t.footer=f({text:e,visible:!0,font:p(a.DescriptionText)}))},h=class extends n{get descriptionText(){return M(this._config)}set descriptionText(t){gt(t,this._config)}};bt([l],h.prototype,"descriptionText");var dt=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,ht=(e,t,o,c)=>{for(var r=ut(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&dt(t,o,r),r},yt=e=>e.footer?.content,vt=(e,t)=>{if(e){let o=M(t);t.footer===void 0&&(t.footer=f({text:"",visible:!0,font:p(a.DescriptionText),type:a.DescriptionText})),t.footer.content=e,t.footer.content.text=o}},y=class extends n{get descriptionSymbol(){return yt(this._config)}set descriptionSymbol(t){vt(t,this._config)}};ht([l],y.prototype,"descriptionSymbol");var xt=Object.defineProperty,mt=Object.getOwnPropertyDescriptor,Ot=(e,t,o,c)=>{for(var r=mt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&xt(t,o,r),r},_t=e=>e.title?e.title.visible??!0:!1,jt=(e,t)=>{t.title!==void 0?t.title.visible=e:t.title=f({text:"",visible:e,font:p(a.ChartTitle)})},v=class extends n{get chartTitleVisibility(){return _t(this._config)}set chartTitleVisibility(t){jt(t,this._config)}};Ot([l],v.prototype,"chartTitleVisibility");var Pt=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,St=(e,t,o,c)=>{for(var r=Dt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Pt(t,o,r),r},Tt=e=>e.subtitle?e.subtitle.visible??!0:!1,Vt=(e,t)=>{t.subtitle!==void 0?t.subtitle.visible=e:t.subtitle=f({text:"",visible:e,font:p(a.ChartSubtitle)})},x=class extends n{get chartSubtitleVisibility(){return Tt(this._config)}set chartSubtitleVisibility(t){Vt(t,this._config)}};St([l],x.prototype,"chartSubtitleVisibility");var wt=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,Ft=(e,t,o,c)=>{for(var r=Ct(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&wt(t,o,r),r},z=e=>e.footer?.visible??!1,It=(e,t)=>{t.footer!==void 0?t.footer.visible=e:e!==z(t)&&(t.footer=f({text:"",visible:!0,font:p(a.DescriptionText)}))},m=class extends n{get descriptionVisibility(){return z(this._config)}set descriptionVisibility(t){It(t,this._config)}};Ft([l],m.prototype,"descriptionVisibility");var Lt=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Nt=(e,t,o,c)=>{for(var r=kt(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Lt(t,o,r),r},Rt=e=>e.chartRenderer,qt=(e,t)=>{t.chartRenderer=e},O=class extends n{get chartRenderer(){return Rt(this._config)}set chartRenderer(t){qt(t,this._config)}};Nt([l],O.prototype,"chartRenderer");var Et=Object.defineProperty,Ut=Object.getOwnPropertyDescriptor,Bt=(e,t,o,c)=>{for(var r=Ut(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Et(t,o,r),r},Gt=e=>e.background,Mt=(e,t)=>{t.background=e},_=class extends n{get backgroundColor(){return Gt(this._config)}set backgroundColor(t){Mt(t,this._config)}};Bt([l],_.prototype,"backgroundColor");var zt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Wt=(e,t,o,c)=>{for(var r=Ht(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&zt(t,o,r),r},Yt=(e,t)=>t.series[e].visible??!0,Zt=(e,t)=>{k({detail:e},t)},j=class extends n{getSeriesVisibility(t){return Yt(t,this._config)}setSeriesVisibility(t){Zt(t,this._config)}};Wt([l],j.prototype,"setSeriesVisibility");var Jt=(e,t)=>t.series[e]?.id,C=class extends n{getSeriesId(t){return Jt(t,this._config)}},Kt=(e,t)=>t.series.findIndex(o=>o.id===e),F=class extends n{getSeriesIndex(t){return Kt(t,this._config)}},Qt=e=>N(e.series),I=class extends n{get chartSubType(){return Qt(this._config)}},Xt=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,At=(e,t,o,c)=>{for(var r=$t(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&Xt(t,o,r),r},te=(e,t)=>{let o;return e.length!==0&&t<e.length&&(o=e[t].dataTooltipValueFormat),o},ee=e=>{let{series:t,seriesIndex:o,valueFormat:c}=e;t.length!==0&&o<t.length&&(t[o].dataTooltipValueFormat=c)},P=class extends n{getDataTooltipValueFormat(t){return te(this._config.series,t)}setDataTooltipValueFormat(t,o){ee({series:this._config.series,seriesIndex:t,valueFormat:o})}};At([l],P.prototype,"setDataTooltipValueFormat");var re=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,ie=(e,t,o,c)=>{for(var r=oe(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&re(t,o,r),r},se=(e,t)=>{t.series.forEach(o=>{o.query&&(o.query.fetchNullValues=e)})},ne=e=>e.series.some(t=>t.query?.fetchNullValues),D=class extends n{get fetchNULLValues(){return ne(this._config)}set fetchNULLValues(t){se(t,this._config)}};ie([l],D.prototype,"fetchNULLValues");var ce=Object.defineProperty,le=Object.getOwnPropertyDescriptor,ae=(e,t,o,c)=>{for(var r=le(t,o),i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=s(t,o,r)||r);return r&&ce(t,o,r),r},pe=e=>e.dataFilters,fe=(e,t)=>{e!==void 0?t.dataFilters=e:delete t.dataFilters},S=class extends n{getDataFilters(){return pe(this._config)}async setDataFilters(t){fe(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}};ae([l],S.prototype,"setDataFilters");var L=class extends n{},be=[g,T,V,E,b,w,d,u,h,y,v,x,m,O,_,j,C,F,B,I,P,D,U,S];R(L,be);return L},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./YP55GB27.js";import a from"./XAWIW6KZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{wb:a},{b:n,c:s}])=>{var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=(t,r,i,h)=>{for(var o=d(r,i),p=t.length-1,e;p>=0;p--)(e=t[p])&&(o=e(r,i,o)||o);return o&&c(r,i,o),o};function B(t){return t!==void 0&&"rotatedState"in t}var S=t=>a(t),g=(t,r)=>{r.rotated=t},m=class extends n{get rotatedState(){return S(this._config)}set rotatedState(r){g(r,this._config)}};f([s],m.prototype,"rotatedState");return{a:B,b:m}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
2
+ import b from"./F7YBMSC7.js";import a from"./GU6JH3VZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{wb:a},{b:n,c:s}])=>{var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=(t,r,i,h)=>{for(var o=d(r,i),p=t.length-1,e;p>=0;p--)(e=t[p])&&(o=e(r,i,o)||o);return o&&c(r,i,o),o};function B(t){return t!==void 0&&"rotatedState"in t}var S=t=>a(t),g=(t,r)=>{r.rotated=t},m=class extends n{get rotatedState(){return S(this._config)}set rotatedState(r){g(r,this._config)}};f([s],m.prototype,"rotatedState");return{a:B,b:m}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import g from"./734N3Q42.js";import f from"./EGTQDORP.js";import e from"./AT5TLS5G.js";import d from"./F7YBMSC7.js";import c from"./46NT4YQ5.js";import{g as oe,i as h,j as b,k as q,l as le,m as _e,n as ze}from"./KZ7WEJMS.js";import a from"./GU6JH3VZ.js";import{B as he,d as H,g as G,m as fe,v as ee}from"./DGTF5KBL.js";import{a as W}from"./EZM4ZDQI.js";import{a as R,b as I,e as Se,h as Fe,k as z,n as j,o as xe,v as A,y as Be}from"./ETLJKITO.js";export default $arcgis.t(([{substitute:O},,,,,,,,,,,,,,{$c:Ue,Ac:De,Bb:L,Da:we,Fc:P,Gc:$e,Ic:te,Jc:je,Lc:ae,Ma:V,Mc:ne,Md:X,Qc:Ee,S:ie,T:ve,Ta:Q,Tb:Me,U:Ie,Vb:se,Xc:Ve,Yc:re,Zc:Pe,_c:U,ad:w,ea:Ce,f:E,ha:Ae,ia:qe,k:be,ka:ke,tb:M,tc:Le,vc:Ne,wc:Oe,x:Te,yc:Re,yd:Xe},{a:D,b:ce,d:k,e:ge,f:We,g:ye,n:Ye,r:Je},{a:Qe},{c:J},{a:Ze,e:He},{a:Ke,b:de,f:$,g:Y,i:ue}])=>{function is(i,e){let s;return e!==void 0&&(s={...e},s.legend!==void 0&&(s.legend.position=i)),s}function ss(i,e){let s;return e!==void 0&&(s={...e},s.legend!==void 0&&(s.legend.visible=i)),s}function ts(i,e){let s;return e!==void 0&&(s={...e,rotated:i}),s}function ni(i){let e;return i!==void 0&&(e={...i},delete e.axes?.[0]?.minimum,delete e.axes?.[0]?.maximum,delete e.axes?.[1]?.minimum,delete e.axes?.[1]?.maximum),e}function as(i,e){return e!=null||oe(i)}async function ri(i){let{queryObject:e,chartConfig:s,options:n,splitByField:a}=i,t=[],o,l=G(s),r=l.series[0],y=Ee({queryObject:e,chartConfig:l,runtimeDataFilters:n?.runtimeDataFilters,ignoreViewExtent:n?.ignoreViewExtent});if(y.outStatistics?.[0]?.outStatisticFieldName&&(y.outStatistics[0].outStatisticFieldName=Te.outStatistics.outStatisticFieldName),w(r)&&Ue({xAxisValueFormatType:be(l),setTimeBinningInfoWhenNotProvided:n?.setTimeBinningInfoWhenNotProvided,seriesConfig:r})&&Le(e)){let{temporalBinning:p,x:g}=r,{uniqueQuery:S}=await se({chartConfig:l,queryConfig:y,queryObject:e,options:n});o=await De({queryObject:e,dateField:g,splitByField:a,queryConfig:S,temporalBinning:p}),t=Array.from(new Set(o.flatMap(f=>{let{stackedAttributes:u}=f,c=[];return u&&(c=u.map(m=>m[a]).filter(m=>m!==void 0)),c})).values())}else{let{uniqueQuery:p}=await se({chartConfig:l,queryObject:e,queryConfig:y,options:n});o=await Re({queryObject:e,queryConfig:p,featureCount:1}),t=Array.from(new Set(o.map(g=>g.attributes[a]).filter(g=>g!==void 0)).values())}return{allValues:t,preFetchedQueryResponse:o}}function oi(i,e){let s=new Map;return i.series.forEach(n=>{let a=re({where:n.query?.where,normalize:!0,escape:!1});e&&a!==null&&(a=Number(a));let t=Be([n]);t!==void 0&&s.set(t,[...s.get(t)??[],a])}),s}function li(i){let{allValues:e,configUniqueValuesPerSeriesType:s,initialConfigWasEmpty:n}=i,a=new Map;return Array.from(s.keys()).forEach(t=>{let o=s.get(t)??[],l=[];n?l=e:e.forEach(r=>{o.includes(r)||l.push(r)}),a.set(t,l)}),a}function ci(i){let{chartConfig:e,missingValue:s,splitByField:n,seriesTemplate:a}=i,t=JSON.parse(JSON.stringify({...e.series[0],...a}));if(t.query){if(t.id=`${s}-${e.series.length}-${Date.now()}`,t.name=`${s}`,t.query.outStatistics?.[0]!==void 0){let l=t.id;t.query.outStatistics[0].outStatisticFieldName=l,"y"in t&&(t.y=l)}let o=typeof s=="number"||s===null?s:`'${s}'`;t.query.where=`${n}=${o}`}return t}async function gi(i){let{updateSplitBySeries:e,config:s,options:n,queryObject:a}=i,{seriesTemplate:t}=e??{},o;if(e!==void 0&&s!==void 0&&(s.series.length>0||t!==void 0)&&e.addMissingSeries){let l=s.series.length===0;s.series.length===0&&t!==void 0&&s.series.push(t);let r=U(s.series);if((r===M.BoxPlotMonoFieldAndSplitBy||r===M.BoxPlotMultiFieldsAndSplitBy||r===M.BoxPlotMonoFieldAndCategoryAndSplitBy||r===M.BarAndLineSplitBy||r===M.BarAndLineSplitByNoAggregation)&&a!==void 0){let y=Ve(s.series[0]?.query?.where),p=Ne(a);await p.load();let g=p.getField(y)?.toJSON(),S=$e(g),f=await ri({queryObject:a,chartConfig:s,splitByField:y,options:n}),{allValues:u}=f;if({preFetchedQueryResponse:o}=f,u.length>0){let c=oi(s,S),m=li({allValues:u,configUniqueValuesPerSeriesType:c,initialConfigWasEmpty:l});Array.from(m.keys()).forEach(B=>{(m.get(B)??[]).forEach(x=>{s.series.push(ci({chartConfig:s,seriesTemplate:t,missingValue:x,splitByField:y}))}),l&&s.series.shift()})}}}return o}function yi(i,e){e&&!oe(e)&&(e=Oe({chartConfig:e,queryObject:i}))}async function ns(i){let{configToAlter:e,layer:s,addMissingSeries:n,updateSplitBySeries:a,chartContainer:t,queryObject:o,options:l}=i,r=e,y;return r&&(yi(s,r),r=await Qe(r,s),n&&(y=await gi({updateSplitBySeries:a,config:r,options:l,queryObject:o})),r=Xe(r,t)),{alteredConfig:r,preFetchedQueryResponse:y}}var di=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.size),e},ui=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.unit),e},mi=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.timeAggregationType),e},pi=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.trimIncompleteTimeInterval),e},fi=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.nullPolicy),e},Ge=(i,e)=>{e?.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.size=i)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},Si=(i,e)=>{e?.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.nullPolicy=i)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},rs=(i,e)=>{e.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.unit=i)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},os=(i,e)=>{e.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.timeAggregationType=i)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},ls=(i,e)=>{e.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.trimIncompleteTimeInterval=i)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},cs=i=>{Ge(0,i)},gs=i=>i.hideEmptyRowsAndColumns,ys=(i,e)=>{i.hideEmptyRowsAndColumns=e},ds=(i,e)=>{let s=i.series[0];s.heatRulesType=e},us=i=>i.series[0].heatRulesType,ms=(i,e)=>{let s=i.series[0];s.gradientRules=e},ps=i=>i.series[0].gradientRules,fs=i=>{let{yField:e,config:s,layerInfo:n}=i,{layerFieldsInfo:a}=n,t=J(1,s),o=Fi(s),l=X(s),r=s.series[0];if(typeof e=="string"&&o!==e&&r&&(r.y=e,ni(s),o===t||l)){let y=L(a,e);D(s,1,y)}},Fi=i=>i.series[0].y??"",Ss=i=>{let{binning:e,config:s,commonStrings:n}=i,a=s.series[0];if(a.xTemporalBinning=e,e?.unit!==void 0&&e.unit in n.utilsStrings.heatChartCalendarDatePartsUnits){let t=n.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];D(s,0,t)}},Fs=i=>i.series[0].xTemporalBinning,xs=i=>{let{binning:e,config:s,commonStrings:n}=i,a=s.series[0];if(a.yTemporalBinning=e,e?.unit!==void 0&&e.unit in n.utilsStrings.heatChartCalendarDatePartsUnits){let t=n.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];D(s,1,t)}},Bs=i=>i.series[0].yTemporalBinning,xi=(i,e)=>{e.orderOptions??={};let s=e.axes?.[0]?.valueFormat?.type==="category"?A.Category:A.YValue,n=me(e)[0],a=e.axes?.[1]?.valueFormat?.type==="category"?A.Category:A.YValue,t=me(e)[1],o={...e.orderOptions.data??{},orderType:A.MultiAxes};n===W.customSort&&s===A.Category&&(o.orderByX=[...i]),t===W.customSort&&a===A.Category&&(o.orderByY=[...i]),Object.keys(o).length>1&&(e.orderOptions.data=o)},hs=(i,e)=>{let s=e.series[0];s.gridLine&&(s.gridLine.width=i)},bs=i=>i.series[0].gridLine?.width,Ts=(i,e)=>{let s=e.series[0],n=i?.length===4&&i.every(a=>typeof a=="number");s.gridLine&&n&&(s.gridLine.color=i)},vs=i=>i.series[0].gridLine?.color,Is=(i,e)=>{let s=e.legend;s&&(s.position=i)},Cs=i=>i.legend?.position??Se.Bottom,As=i=>i.series[0].query?.outStatistics?.[0]?.onStatisticField,qs=(i,e)=>{let s=e.series[0].query?.outStatistics?.[0];s?(s.onStatisticField=i,s.outStatisticFieldName=`${s.statisticType}_${i}`):e.series[0].query={outStatistics:[{onStatisticField:i,outStatisticFieldName:`${I.Count}_${i}`,statisticType:I.Count}]}},ks=i=>i.series[0].query?.outStatistics?.[0].statisticType??I.Count,ws=(i,e)=>{let s=e.series[0]?.query?.outStatistics?.[0];s&&i!==I.NoAggregation&&(s.statisticType=i,s.outStatisticFieldName=`${i}_${s.onStatisticField}`),(i===I.Count||i===I.Sum)&&Bi(j.Zero,e)},Ms=i=>i.nullPolicy,Bi=(i,e)=>{e.nullPolicy=i},Ls=i=>i.series[0].emptyCells,Ns=(i,e)=>{e.series[0].emptyCells=i},Os=i=>i.series[0].emptyCells?.text,Rs=(i,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.text=i:e.series[0].emptyCells={text:i}},Ds=i=>i.includeLeapDay,$s=(i,e)=>{e.includeLeapDay=i},js=i=>i.series[0].emptyCells?.symbol,Es=(i,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.symbol=i:e.series[0].emptyCells={symbol:i}};function Vs(i){return i.viewType}function Ps(i,e){Me(e)||(e.viewType=i)}function Us(i){return i.series[0].classBreaksRules?.breaksCount??V.classBreaks.breaksCount}function Xs(i,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.breaksCount=i??V.classBreaks.breaksCount:e.series[0].classBreaksRules={breaksCount:i??V.classBreaks.breaksCount}}function _s(i){return i.series[0].classBreaksRules?.classificationMethod}function zs(i,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.classificationMethod=i:e.series[0].classBreaksRules={classificationMethod:i},e.series[0].classBreaksRules.breaksCount=e.series[0].classBreaksRules.breaksCount??V.classBreaks.breaksCount}function Qs(i,e){e.firstDayOfWeek=i}function Ws(i){return i.firstDayOfWeek}function _(i){let{seriesIndex:e,xAxisField:s,aggregationType:n,config:a,layerInfo:t,commonStrings:o}=i,l=P(t?.layer).idField,r,y=a.series[e??0],p=!1,g=!1,S=!1;if(y===void 0){let c=a.series;p=c.slice(0,e).every(m=>h(m)),g=c.slice(0,e).every(m=>b(m)),S=c.slice(0,e).every(m=>le(m))}else p=h(y),g=b(y),S=le(y);p?r=Ae({commonStrings:o,seriesIndex:e,objectIDField:l}):g?r=qe({commonStrings:o,seriesIndex:e,objectIDField:l}):S?r=Ce(o,l):r=ke({seriesIndex:e,objectIDField:l,commonStrings:o});let f=a.series[0]?.dataLabels,u={...r,x:s,y:"",dataLabels:{...r.dataLabels,type:r.dataLabels?.type??R.Text,content:{...r.dataLabels?.content,...f?.content,type:he.TS},visible:f?.visible??!1}};if(u.query={groupByFieldsForStatistics:[s]},n!==I.NoAggregation&&l!==void 0){let c=`${n}_${l}_0`.toUpperCase();u.y=c,u.query.outStatistics=[{statisticType:n,onStatisticField:l,outStatisticFieldName:c}]}if(h(u)||b(u)||q(u)&&a.series[0]?.binTemporalData){let c;if(a?.series?.[0]!==void 0&&(c=U(a.series)),c!==M.BarAndLineNoAggregation&&c!==M.BarAndLineSplitByNoAggregation){let m=ui(a);m===z.Quarter&&(m=z.Month),u.temporalBinning={size:di(a),unit:m,timeAggregationType:mi(a),trimIncompleteTimeInterval:pi(a),nullPolicy:fi(a)}}}return G(u)}function ei(i,e,s){let{layerFieldsInfo:n}=e,{idField:a,isTraditionalTypeOID:t}=P(e.layer),o=$(i),l=pe(i),r=si(i),y=K(i),p=t&&(l.length===0||l.includes(a)),g=we(r,s),S=p?"":l.map(d=>L(n??[],d)).join(", "),f=L(n??[],o),u=L(n??[],y),c=i.series.some(d=>q(d)),m=c?"category":"xAxisField",B=f,x="";if(ue({fieldName:o,numericFields:l,fieldList:n}))x=O(s.titleLabels.aggrTypeOfAggrFields,{aggregationType:g,aggregationFields:S});else if(r===I.NoAggregation){let d=p?a:S;if(y===""){let F=c?"aggrTypeCategory":"aggrTypeXAxisField";x=O(s.titleLabels[F],{aggregationType:d,[m]:B})}else{let F=c?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";x=O(s.titleLabels[F],{aggregationType:d,[m]:B,splitByField:u})}}else if(r===I.Count)if(y===""){let d=c?"aggrTypeCategory":"aggrTypeXAxisField";x=O(s.titleLabels[d],{aggregationType:g,[m]:B})}else{let d=c?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";x=O(s.titleLabels[d],{aggregationType:g,[m]:B,splitByField:u})}else if(y!==""){let d=c?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";x=O(s.titleLabels[d],{aggregationType:g,aggregationField:S,[m]:B,splitByField:u})}else if(l.length>0){let d=c?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";x=O(s.titleLabels[d],{aggregationType:g,aggregationFields:S,[m]:B})}return x}var ii=i=>re({where:i.query?.where,normalize:!1,escape:!1})??"",si=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??I.NoAggregation,K=H(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Pe(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),pe=H(i=>{let e=[];if(K(i)==="")e=i?.series.map(s=>{let n=s.query?.outStatistics?.map(a=>a.onStatisticField)??[];return n?.length>0?n:s.y}).flat()??[];else{let s=i?.series?.[0],n=s?.query?.outStatistics?.[0]?.onStatisticField??[s?.y].flat()[0];e=n!==void 0?[n]:[]}return[...new Set(e.filter(s=>s!==""))]},i=>i?.series);function hi(i){let{numericFields:e,aggregationType:s,config:n,layerInfo:a}=i,t=!1;s===I.Count?t=!0:s===I.NoAggregation&&(t=e.every(r=>{let y=a.layerFieldsInfo.find(p=>p.name===r);return y!==void 0?te(y):!1})),ye(n,1,t);let o=n.series.some(r=>h(r)),l=n.series.some(r=>b(r));if(o||l){let r=$(n),y=a.layerFieldsInfo.find(g=>g.name===r),p=y!==void 0&&te(y);ye(n,0,p)}}var me=i=>{let e;if(Q(i)){let s=i.orderOptions?.data?.orderByX??[""],n=i.orderOptions?.data?.orderByY??[""],a=i.axes?.[0]?.valueFormat?.type==="category"?A.Category:A.YValue,t=i.axes?.[1]?.valueFormat?.type==="category"?A.Category:A.YValue;e=[de(s,a),de(n,t)]}else{let s=i.orderOptions?.data?.orderType??A.Category,n=i.orderOptions?.data&&"orderBy"in i.orderOptions.data?i.orderOptions.data.orderBy:Fe.Ascending;e=[Ke(n,s)]}return e};function bi(i){let{xAxisField:e,numericFields:s,aggregationType:n,config:a,layerInfo:t,commonStrings:o}=i,{layerFieldsInfo:l}=t,r=!1,y=_({config:a,xAxisField:e,aggregationType:n,layerInfo:t,seriesIndex:0,commonStrings:o}),p=Y({config:a,xAxisField:e,numericFields:s,aggregationType:n,layer:t.layer,fieldList:l}).name,g={...y,id:`series_${Date.now()}`,name:o.axisLabels.values,x:E,y:p},S=[];for(let u of s)S.push({onStatisticField:u,outStatisticFieldName:`${u}_0`.toUpperCase(),statisticType:n});g.query={outStatistics:S};let f=a.series[0];return f!==void 0&&(g.id=f.id,a.colorMatch||(q(f)&&q(g)?g.fillSymbol=f.fillSymbol:(h(g)&&h(f)||b(g)&&b(f))&&(g.lineSymbol=f.lineSymbol,g.markerSymbol=f.markerSymbol),r=!0),g.id=f.id,f.name!==y.name&&(g.name=f.name)),a.series.length===1&&!a.colorMatch&&(q(g)?g.fillSymbol=a.series[0].fillSymbol:(h(g)||b(g))&&(g.lineSymbol=a.series[0].lineSymbol,g.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[g]}function ti(i){let{xAxisField:e,numericFields:s,aggregationType:n,config:a,layerInfo:t,commonStrings:o}=i,{layerFieldsInfo:l}=t,r=P(t.layer).idField,y=[],p=!1;for(let c=0;c<s.length;c+=1){let m=_({config:a,xAxisField:e,aggregationType:n,layerInfo:t,seriesIndex:c,commonStrings:o}),B=Y({config:a,xAxisField:e,numericFields:s,aggregationType:n,layer:t.layer,numericFieldIndex:c,fieldList:l}).name,x=s[c],d={...m,query:{...m.query}};s&&x!==r&&(d={...d,id:x,name:L(l,x)});let F=x;d.query!==void 0&&(n!==I.NoAggregation?(F=B,d.query.outStatistics=[{...m.query?.outStatistics?.[0]??{},onStatisticField:x,outStatisticFieldName:B,statisticType:n}]):delete d.query.outStatistics),d.y=F;let v=a.series.find(N=>N.query?.outStatistics?.[0]?.onStatisticField===x&&N.query.where===void 0);if(v!==void 0&&typeof v.y=="string"&&v.y.trim()!==""){a.colorMatch||(q(d)&&q(v)?d.fillSymbol=v.fillSymbol:(h(d)&&h(v)||b(d)&&b(v))&&(d.lineSymbol=v.lineSymbol,d.markerSymbol=v.markerSymbol),p=!0);let N=_({config:a,xAxisField:e,aggregationType:n,layerInfo:t,seriesIndex:c,commonStrings:o});d.id=v.id,v.id!==N.id&&v.name!==N.name&&(d.id=v.id,d.name=v.name)}y.push(d)}let g=y.filter(c=>q(c)),S=y.filter(c=>h(c)||b(c)),f=a.series.filter(c=>q(c)),u=a.series.filter(c=>h(c)||b(c));return f.length===1&&g.length===1&&!a.colorMatch&&(q(f[0])&&q(g[0])&&(g[0].fillSymbol=f[0].fillSymbol),p=!0),u.length===1&&S.length===1&&!a.colorMatch&&((h(u[0])&&h(S[0])||b(u[0])&&b(S[0]))&&(S[0].lineSymbol=u[0].lineSymbol,S[0].markerSymbol=u[0].markerSymbol),p=!0),a.colorMatch=!p,y}async function Ti(i){let{splitByField:e,xAxisField:s,numericFields:n,aggregationType:a,config:t,layerInfo:o,commonStrings:l}=i,{layer:r,layerFieldsInfo:y}=o,{fetchNullValues:p}=t?.series?.[0]?.query??{},g=s!==E?s:void 0,{categoriesArray:S,splitByFieldType:f,numericalField:u}=await Ye({config:t,layer:r,layerFieldsInfo:y,xAxisField:g,aggregationFields:n,splitByField:e,fetchNullValues:p}),c=[],m=!1;if(S.length===0){c=ti({xAxisField:s,numericFields:n,aggregationType:a,config:t,layerInfo:o,commonStrings:l});for(let B of c)B.query&&(B.query.where=`${e}=''`)}else for(let B=0;B<S.length;B+=1){let x=S[B],d=Y({config:t,xAxisField:s,numericFields:n,aggregationType:a,layer:o.layer,seriesIndex:B,splitByField:e,fieldList:y}).name,F=_({config:t,xAxisField:s,aggregationType:a,layerInfo:o,seriesIndex:B,commonStrings:l}),v={fieldName:e,fieldValueToMatch:x??"",subtypeInfo:ae(o.layer),fieldList:o.layerFieldsInfo},N=ne(v),Z=`${x}`,T={...F,id:Z,name:N??Z,y:d,query:{...F.query,where:`${e}=${f===ee.String&&x!==null?`'${x}'`:x}`,outStatistics:a!==I.NoAggregation?[{...F.query?.outStatistics?.[0]??{},onStatisticField:u,outStatisticFieldName:d,statisticType:a}]:void 0}};a===I.NoAggregation&&(T.query!==void 0&&(delete T.query.outStatistics,delete T.query.groupByFieldsForStatistics),T.y=u);let C=t.series.find(ai=>String(ii(ai)).trim().replace(/'/gu,"")===Z);C!==void 0&&(t.colorMatch||(q(T)&&q(C)?T.fillSymbol=C.fillSymbol:(h(T)&&h(C)||b(T)&&b(C))&&(T.lineSymbol=C.lineSymbol,T.markerSymbol=C.markerSymbol),m=!0),(h(T)&&h(C)||b(T)&&b(C))&&(T.lineSmoothed=C.lineSmoothed),(h(T)&&h(C)||b(T)&&b(C))&&(T.showArea=C.showArea),T.id=C.id,T.name=C.name),c.push(T)}return t.colorMatch=!m,c}var Ys=async i=>{let{xAxisField:e,splitByField:s,numericFields:n,aggregationType:a,config:t,layerInfo:o,commonStrings:l}=i,{layerFieldsInfo:r}=o??{},y=He(t),p=$(t),g=vi(t,o,l),S=Ii(t,o,l),f=Ci(t,o),u=ge(t),c=t.series.some(F=>q(F)),m=_e(t.series),B=ze(t.series),x=Q(t),d={};if(x&&(d.classBreaksRules=t.series[0]?.classBreaksRules,d.xTemporalBinning=t.series[0]?.xTemporalBinning,d.yTemporalBinning=t.series[0]?.yTemporalBinning),r!==void 0){let F=je(r);!F.includes(p)&&F.includes(e)?u=ve():F.includes(p)&&!F.includes(e)&&(c?u=ie():u=Ie()),r.find(v=>v.name===e)?.type===ee.String&&(u=ie()),u!==void 0&&We(t,l,u)}if(y===0&&(t.series=[_({config:t,xAxisField:e,aggregationType:a,layerInfo:o,commonStrings:l})]),t.series.forEach(F=>{F.x=e,F.query!==void 0&&(F.query.groupByFieldsForStatistics=[e])}),s===""||n.length>1?ue({fieldName:e,numericFields:n,fieldList:r})?t.series=bi({config:t,layerInfo:o,xAxisField:e,numericFields:n,aggregationType:a,commonStrings:l}):t.series=ti({config:t,layerInfo:o,xAxisField:e,numericFields:n,aggregationType:a,commonStrings:l}):(await Promise.resolve(),t.series=await Ti({config:t,layerInfo:o,splitByField:s,xAxisField:e,numericFields:n,aggregationType:a,commonStrings:l})),f){let F=L(r,e);D(t,0,F)}if(S){let F=ce({config:t,layerInfo:o,commonStrings:l,numericFields:n,aggregationType:a});D(t,1,F)}if(t.title&&g&&(t.title.content.text=ei(t,o,l)),k({config:t,value:null,axisIndex:1,isMax:!1}),k({config:t,value:null,axisIndex:1,isMax:!0}),hi({numericFields:n,aggregationType:a,config:t,layerInfo:o}),m||B){k({config:t,value:null,axisIndex:0,isMax:!1}),k({config:t,value:null,axisIndex:0,isMax:!0}),Ge(0,t);let F=u?.type===R.DateAxisFormat?j.Null:j.Interpolate;Si(F,t)}x&&(t.series[0].classBreaksRules=d.classBreaksRules,t.series[0].xTemporalBinning=d.xTemporalBinning,t.series[0].yTemporalBinning=d.yTemporalBinning)},Js=i=>{let{config:e,seriesIndex:s,layerInfo:n,commonStrings:a}=i,t=e.series?.[s],o=K(e),l;if(U(e.series)===M.BarAndLineFromFields)l=a.axisLabels.values;else if(fe(o)){let r=t.query?.outStatistics?.[0]?.onStatisticField;r!==void 0&&r!==P(n.layer).idField&&(l=L(n.layerFieldsInfo,r))}else{let r=String(ii(t)).trim().replace(/'/gu,""),y={fieldName:K(e),fieldValueToMatch:r??"",subtypeInfo:ae(n.layer),fieldList:n.layerFieldsInfo};l=ne(y)??r}return l??t.id},Ks=(i,e)=>{if(Q(e))xi(i,e);else{e.orderOptions??={};let s=e.orderOptions?.data?.orderType;me(e)[0]===W.customSort&&s===A.Category&&(e.orderOptions.data={orderType:A.Category,orderBy:[...i]})}},Zs=async(i,e)=>{let s=$(i),n=ge(i)?.type,a=pe(i),t=U(i.series),o=[];return n===R.CategoryAxisFormat&&(t===M.BarAndLineFromFields||s===E?o=a.map(l=>L(e?.layerFieldsInfo,l)):s.trim()!==""&&s!==E&&e!==void 0&&(o=await Je({layerInfo:e,config:i,category:s}))),o};function vi(i,e,s){let n=ei(i,e,s),a=Ze(i),t=X(i);return n===a||t}function Ii(i,e,s){let n=ce({config:i,layerInfo:e,commonStrings:s,numericFields:pe(i),aggregationType:si(i)}),a=J(1,i),t=X(i);return n===a||t}function Ci(i,e){let s=L(e.layerFieldsInfo,$(i)),n=J(0,i),a=X(i);return s===n||a}function Hs(i){return i.series[0]?.binTemporalData??!1}function Gs(i,e){e?.series.forEach(s=>{(s?.type===R.BarSeries||s?.type===R.LineSeries)&&(s.binTemporalData=i,i?s.temporalBinning={unit:z.Day,size:0,timeAggregationType:xe.Start,trimIncompleteTimeInterval:!0,nullPolicy:j.Null}:delete s.temporalBinning)})}return{a:is,b:ss,c:ts,d:ni,e:as,f:ns,g:di,h:ui,i:mi,j:pi,k:fi,l:Ge,m:Si,n:rs,o:os,p:ls,q:cs,r:gs,s:ys,t:ds,u:us,v:ms,w:ps,x:fs,y:Fi,z:Ss,A:Fs,B:xs,C:Bs,D:hs,E:bs,F:Ts,G:vs,H:Is,I:Cs,J:As,K:qs,L:ks,M:ws,N:Ms,O:Bi,P:Ls,Q:Ns,R:Os,S:Rs,T:Ds,U:$s,V:js,W:Es,X:Vs,Y:Ps,Z:Us,_:Xs,$:_s,aa:zs,ba:Qs,ca:Ws,da:ei,ea:si,fa:K,ga:pe,ha:me,ia:Ys,ja:Js,ka:Ks,la:Zs,ma:Hs,na:Gs}},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,c,d,e,f,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import a from"./XAWIW6KZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{O:a,Q:p,w:s}])=>{var J=(i,e)=>e.axes?.[i]?.labels?.visible??!0,K=(i,e,o)=>{let t=o.axes?.[e];t?.labels!==void 0?t.labels.visible=i:t!==void 0&&t?.labels===void 0&&(t.labels=p({text:"",visible:i,font:a(s.AxisLabels),type:s.AxisLabels}))},m=(i,e)=>e.axes?.[i]?.title?.content.text??"",M=(i,e,o)=>{let t=o.axes?.[e];t?.title!==void 0?t.title.content.text=i:t!==void 0&&t?.title===void 0&&(t.title=p({text:i,visible:!0,font:a(s.AxisTitle)}))},h=(i,e)=>e.axes?.[i]?.title?.visible??!1,j=(i,e,o)=>{let t=o.axes?.[e];t?.title!==void 0?t.title.visible=i:t!==void 0&&t?.title===void 0&&(t.title=p({text:m(e,o),visible:i,font:a(s.AxisTitle)}))},k=(i,e)=>i.axes?.[e]?.title?.content,u=i=>{let{config:e,axisIndex:o,symbol:t}=i,l=e.axes?.[o];if(l!==void 0){let r=l.title?.content.text;(l.title===void 0||t===void 0)&&(l.title=p({text:"",visible:!0,font:a(s.AxisTitle),type:s.AxisTitle})),t!==void 0&&(l.title.content=t),l.title.content.text=r}};return{a:J,b:K,c:m,d:M,e:h,f:j,g:k,h:u}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
2
+ import a from"./GU6JH3VZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{O:a,Q:p,w:s}])=>{var J=(i,e)=>e.axes?.[i]?.labels?.visible??!0,K=(i,e,o)=>{let t=o.axes?.[e];t?.labels!==void 0?t.labels.visible=i:t!==void 0&&t?.labels===void 0&&(t.labels=p({text:"",visible:i,font:a(s.AxisLabels),type:s.AxisLabels}))},m=(i,e)=>e.axes?.[i]?.title?.content.text??"",M=(i,e,o)=>{let t=o.axes?.[e];t?.title!==void 0?t.title.content.text=i:t!==void 0&&t?.title===void 0&&(t.title=p({text:i,visible:!0,font:a(s.AxisTitle)}))},h=(i,e)=>e.axes?.[i]?.title?.visible??!1,j=(i,e,o)=>{let t=o.axes?.[e];t?.title!==void 0?t.title.visible=i:t!==void 0&&t?.title===void 0&&(t.title=p({text:m(e,o),visible:i,font:a(s.AxisTitle)}))},k=(i,e)=>i.axes?.[e]?.title?.content,u=i=>{let{config:e,axisIndex:o,symbol:t}=i,l=e.axes?.[o];if(l!==void 0){let r=l.title?.content.text;(l.title===void 0||t===void 0)&&(l.title=p({text:"",visible:!0,font:a(s.AxisTitle),type:s.AxisTitle})),t!==void 0&&(l.title.content=t),l.title.content.text=r}};return{a:J,b:K,c:m,d:M,e:h,f:j,g:k,h:u}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import s from"./IHPHZSVH.js";import{a as W}from"./3TPTF5I7.js";import{a as $,b as Y,e as Q}from"./RUUYSZO3.js";import{a as ee}from"./SBHIJW76.js";import{a as D}from"./VFP7AKUR.js";import{a as J}from"./HAJ2VWEU.js";import r from"./Z4B2NHJI.js";import{a as f}from"./S5OM65RV.js";import q from"./Y3U6VC3K.js";import{d as l}from"./FPDW4F45.js";import{a as P}from"./6WQPKBUS.js";import p from"./DFSUGOC2.js";import m from"./2FVGG2EI.js";import k from"./DGBFUPHF.js";import j from"./A43B7S7N.js";import i from"./7SSRNOEZ.js";import g from"./734N3Q42.js";import e from"./EGTQDORP.js";import d from"./AT5TLS5G.js";import c from"./F7YBMSC7.js";import b from"./46NT4YQ5.js";import"./KZ7WEJMS.js";import a from"./GU6JH3VZ.js";import{n as S}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import{a as K}from"./XRYZYAL4.js";import{e as I,f as B,j as X,m as L,q as w}from"./MR5ILWAE.js";import"./EZM4ZDQI.js";import{a as o,k as z}from"./ETLJKITO.js";import{A as h,B as U,D as x,F as _,g as F,h as n,m as C,x as N,y as A,z as V}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,{substitute:ie},,,,,,,{Eb:b,Id:O,Ma:H,Md:T,Nb:v,Tb:R},,,,,,{a:Z},,,,,{r:G},{a:j,d:y,e:q},{b:k}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function te(m,e){let a=new Set,t=e;return m?.forEach((i,s)=>{let r=i.chartId;(a.has(r)||r===void 0||r==="")&&(i.chartId=`Chart_${Date.now()}_${s}`,e===r&&(t=i.chartId)),a.add(r)}),t}function se(m,e,a){return m?.filter(t=>b(a,t.config)&&t.layer?.id===e)??[]}function re(m){let{modelList:e,layerList:a,activeLayerId:t,disableEditing:i}=m,s=new Map;return e?.forEach(r=>{let c=r.layer;c&&s.set(c.id,c)}),i||a.forEach(r=>s.set(r.id,r)),Array.from(s.values()).filter(r=>!t||r.id===t)}function oe(m,e){m.forEach(a=>{e.forEach(t=>{a?.id===t.layer?.id&&ae(a,t)})})}function ae(m,e){let a=m;if(a){let t=[...a?.charts??[]],i=t?.findIndex(r=>r.id===e.chartId),s=!1;i!==void 0&&i>-1?(s=!S(t[i],e.config),t[i]=e.config):a&&!T(e.config)&&(s=!0,t.push(e.config)),s&&(a.charts=t)}}function ce(m,e){let a=m;if(a){let t=[...a.charts??[]],i=t.findIndex(s=>s.id===e);i>-1&&(t.splice(i,1),a.charts=t)}}function le(m,e){let a=m;if(a){let t=[...a.charts??[]];t=v({arrayA:t,arrayB:e.map(i=>i.config),getKey:i=>i.id??i.title?.content.text??""}),a.charts=t}}var ne=F`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,E=class extends V{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries,o.HeatSeries],this._messages=P(),this.commonStrings=P({name:"common",blocking:!0}),this.chartDataProcessComplete=e=>{let a=e,{chartData:t,model:i}=a.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.HistogramSeries:this.chartData=t,i&&(i.dataStore.chartData=t);break;case o.PieSeries:{this.chartData=t,i&&(i.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:c,r2:u,aggregated:g}=r,p=u;Number.isFinite(u)||(p=void 0),this.r2=p,X(i)&&(i.dataStore.r2=p,i.dataStore.aggregated=g,g&&(i.additionalTooltipField=void 0)),this.calculatedDataMinMaxBounds=this.getDataExtent(c),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:c}=t;if((B(s)||I(s)&&s.binTemporalData)&&(c?.size!==void 0&&s.temporalBinningSize!==c?.size&&(s.temporalBinningSize=c?.size),c?.unit!==void 0&&s.temporalBinningUnit!==c?.unit&&c?.unit!==z.Quarter&&(s.temporalBinningUnit=c?.unit),c?.size!==void 0&&c?.unit!==void 0&&Q($,{size:c.size,unit:c.unit})),this.calculatedDataMinMaxBounds=this.getDataExtent(r),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds),I(s)){let u=s.xAxisField,g=r.some(M=>M[u]===null),p=s.nullCategory;g&&p===void 0&&(s.nullCategory=H.nullCategory)}break}case o.HeatSeries:{this.chartData=t;break}}},this.chartAxesMinMaxChange=e=>{let a=e,{bounds:t,model:i}=a.detail,s=this.getModel(this.selectedChartId),r=i?.isSameChartAs(s),c=s?.chartType;if(r)switch(c){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,i&&(i.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let a=e,{data:t,model:i}=a.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,i&&(i.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,i&&(i.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let a=e,{propName:t,value:i,model:s}=a.detail,r=this.modelList.find(c=>s?.isSameChartAs(c));if(r)switch(t){case"rotation":typeof i=="boolean"&&Z(r)&&(r.rotatedState=i);break;case"legendPosition":typeof i=="string"&&w(r)&&(r.legendPosition=i);break;case"legendVisibility":typeof i=="boolean"&&w(r)&&(r.legendVisibility=i);break}},this.chartLegendItemVisibilityChange=e=>{let a=e,{legendItemVisibility:t,model:i}=a.detail,s=this.modelList.find(r=>i?.isSameChartAs(r));s?.setSeriesVisibility(t),L(s)&&((s.getMinBound(1)===null||Number.isNaN(s.getMinBound(1)))&&s.setMinBound(null,1),(s.getMaxBound(1)===null||Number.isNaN(s.getMaxBound(1)))&&s.setMaxBound(null,1),B(s)&&((s.getMinBound(0)===null||Number.isNaN(s.getMinBound(0)))&&s.setMinBound(null,0),(s.getMaxBound(0)===null||Number.isNaN(s.getMaxBound(0)))&&s.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:a,layerId:t}=e.target;a!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:a,layerId:t}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let a=e.target;ae(a?.layer,a)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.panelNumber=0,this.arcgisChartsConfigChartViewChartClose=C(),this.arcgisChartsConfigModelListChange=C(),this.arcgisChartsConfigNewChart=C(),this.arcgisChartsConfigPanelNumberChange=C(),this.arcgisChartsConfigSelectedChartChange=C(),this.addChartEventListeners(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:1,activeLayerId:1,disableEditing:5,syncChartsToLayers:5,timeZone:1,headerTitle:1,open:5,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[0,{hasChanged:y}],seriesColor:[0,{hasChanged:q}],popoverPlacement:1,usePopupTemplateFieldsInfo:5,panelNumber:9,filterBySelection:5}}static{this.styles=ne}async setFocus(){await this.chartsListFlowItem.value?.setFocus()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}willUpdate(e){e.has("layerList")&&this.layerListChange(),e.has("panelNumber")&&this.panelNumberChange(this.panelNumber),e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&this.selectedChartIdChange(this.selectedChartId)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover()}modelListReorderChangeListener(e){let{modelList:a}=e.detail;if(this.modelList=v({arrayA:this.modelList,arrayB:a,getKey:t=>t.chartId??t.titleText??""}),this.syncChartsToLayers){let t=a.find(i=>i.layer?.id!==void 0)?.layer?.id;if(t){let i=this.layerList.find(s=>s.id.toString()===t);i&&le(i,a)}}}async layerListChange(){let e=[],a=this.layerList.map(i=>i.id.toString()),t=[...this.modelList.filter(i=>a.includes(i.layer?.id??""))];for(let i of this.layerList??[]){if(i.type==="sublayer"){let r=await i.createFeatureLayer();if(!r)continue;i=r}let s=i.charts;for(let r of s??[]){let c=await K({layer:i,config:r});c!==void 0&&e.push(c)}}te(e),e.forEach(i=>{t.find(s=>s.isSameChartAs(i))===void 0&&t.push(i)}),t=t.filter(i=>!R(i.config)),this.modelList=t}modelListChange(e,a){this.selectedChartId=te(e,this.selectedChartId),a?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.chartType!==void 0?k({chartType:t.chartType,commonStrings:this.commonStrings,config:t.config}):"",this.syncChartsToLayers&&this.allowChartSyncing&&oe(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=l.Data;let a=this.getModel(e);this.setEventBasedPropsFromModelData(a),this.currentChartTypeText=a?.chartType!==void 0?k({chartType:a.chartType,commonStrings:this.commonStrings,config:a.config}):"",e!==void 0&&e!==$.selectedChartId&&($.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:a})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){this.listenOn(document,f.DataProcessComplete,this.chartDataProcessComplete),this.listenOn(document,f.AxesMinMaxChange,this.chartAxesMinMaxChange),this.listenOn(document,f.SeriesColorChange,this.chartSeriesColorChange),this.listenOn(document,f.NoRenderPropChange,this.chartNoRenderPropChange),this.listenOn(document,f.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let a=this.getModel(this.selectedChartId)?.config,t=[];if(a!==void 0&&e!==void 0){let i=O({chartConfig:a,chartData:e}),{minY:s,maxY:r,minX:c,maxX:u}=i;t=[{isXAxis:!0,minimum:c,maximum:u},{isXAxis:!1,minimum:s,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(a=>{let{isXAxis:t,maximum:i,minimum:s}=a,r=this.getModel(this.selectedChartId);if(r!==void 0&&L(r)&&this.selectedChartId!==void 0){let c=new W(r,t),u=Y({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:c.getLogarithmic()}),g=$.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let p=g[this.selectedChartId]?.[u],M={defaultMinBound:p?.defaultMinBound===p?.currMinBound?s:p?.defaultMinBound,currMinBound:s,defaultMaxBound:p?.defaultMaxBound===p?.currMaxBound?i:p?.defaultMaxBound,currMaxBound:i};!S(p,M)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][u]=M)}})}getPlacement(){let e;return this.popoverPlacement!==void 0?e=this.popoverPlacement:e=this.modelList?.filter(a=>b(j,a.config)).length<=2?"bottom":"top",e}onBackFlow(){this.panelNumber-=1}onAddChartClick(e){let{referenceElement:a,layerId:t}=e.detail;this.setupSelectChartTypePopover(a,t)}setupSelectChartTypePopover(e,a){let t=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=x(n`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(a=>a.chartId===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=J(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.config))}onViewChartDelete(e){let{chartId:a}=e.detail;if(a!==void 0){let t=this.modelList.find(s=>s.chartId===a),i=this.layerList.find(s=>s.id===t?.layer?.id);this.modelList=[...this.modelList.filter(s=>s.chartId!==a)],i&&this.syncChartsToLayers&&this.allowChartSyncing&&ce(i,a)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.open=!1,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let a=e.target,t="";switch(a.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=x(n`<calcite-tooltip style=${U({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){G(this.tooltip)}renderViewCharts(){let e=re({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return ee(e,a=>a.id,a=>n`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${se(this.modelList,a.id.toString(),this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.open!==!1?n`<calcite-flow>${D("charts-list",n`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${A(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>`:null}renderTabs(){let e=this.getModel(this.selectedChartId);return D("chart-edit",n`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??l.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?ie(this._messages.pageFlowTitle,{chartName:e?.titleText??this.currentChartTypeText,layerName:e?.layer?.title??""}):""}>${e?.chartType!==void 0?n`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===l.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=l.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType===o.BarSeries?n`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.LineSeries?n`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.BoxPlotSeries?n`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.PieSeries?n`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===l.Slices} @click=${()=>{this.selectedPanel=l.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType!==o.PieSeries&&e?.chartType!==o.HeatSeries?n`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===l.Axes} @click=${()=>{this.selectedPanel=l.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType!==o.PieSeries&&e?.chartType!==o.HeatSeries?n`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===l.Guides} @click=${()=>{this.selectedPanel=l.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===l.Format} @click=${()=>{this.selectedPanel=l.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===l.General} @click=${()=>{this.selectedPanel=l.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),a=e?.layer,t=null;if(e!==void 0&&!this.disableEditing)switch(e?.chartType){case o.BarSeries:t=n`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case o.LineSeries:t=n`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case o.PieSeries:t=n`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case o.HistogramSeries:t=n`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case o.ScatterSeries:t=n`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case o.BoxPlotSeries:t=n`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break;case o.HeatSeries:t=n`<arcgis-charts-config-heat-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .chartData=${this.chartData} .layer=${a} .page=${this.selectedPanel??l.Data}></arcgis-charts-config-heat-chart>`;break}return t}};_("arcgis-charts-config-create-flow",E);return E},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","core/promiseUtils",a,b,c,d,e,g,i,j,k,m,p,q,r,s)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{t as e,y as t}from"./DISBHZRX.js";import{a as o}from"./ETLJKITO.js";var a=153,p={type:o.Guide,style:{type:t.SLS,color:[127,127,127,a],width:2,style:e.Solid},label:{type:t.TS}};export{a,p as b};
2
+ import{B as t,w as e}from"./DGTF5KBL.js";import{a as o}from"./ETLJKITO.js";var a=153,p={type:o.Guide,style:{type:t.SLS,color:[127,127,127,a],width:2,style:e.Solid},label:{type:t.TS}};export{a,p as b};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import e from"./Y3U6VC3K.js";import"./FPDW4F45.js";import{a as S}from"./6WQPKBUS.js";import d from"./46NT4YQ5.js";import"./KZ7WEJMS.js";import b from"./GU6JH3VZ.js";import{B as u,w as t}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{A as l,C as n,F as g,g as m,h as s,m as a,x as o,y as c,z as y}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{f:w,g:f,h:r,i:h}])=>{var d={sizeSection:"size-section",dropdownText:"dropdown-text",colorPickerContainer:"color-picker-container"},v=m`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto}:host arcgis-charts-config-colors{padding:var(--arcgis-charts-panel-padding);padding-bottom:1rem}:host .size-section{padding:1rem;display:flex}:host .size-section calcite-label{flex:1 1 0px;width:0}:host .size-section calcite-label .dropdown-text{max-width:75px;overflow:hidden;white-space:normal;text-overflow:ellipsis;cursor:pointer}:host .color-picker-container{display:flex}:host .color-picker-container calcite-label{flex:1 1 0px;width:0}:host .color-picker-container calcite-label .dropdown-text{max-width:75px;overflow:hidden;white-space:normal;text-overflow:ellipsis;cursor:pointer}`,p=class extends y{constructor(){super(...arguments),this._messages=S(),this.lineWidthInputElement=o(),this.lineStyleDropdownElement=o(),this.lineStyle={type:u.SLS},this.arcgisChartsConfigLineStyleChange=a(),this.arcgisChartsConfigLineStyleClose=a()}static{this.properties={messageOverrides:0,lineStyle:0,header:1,open:5,enableClose:5,usePanel:5}}static{this.styles=v}closePanel(e){e.target.closed&&this.enableClose===!0&&(this.open=!1,this.arcgisChartsConfigLineStyleClose.emit())}colorChange(e){this.lineStyle.color=e.detail,this.emitLineStyleEvent()}lineStyleChange(){let e=this.lineStyleDropdownElement.value?.selectedItems[0].accessKey;this.lineStyle.style!==e&&(this.lineStyle.style=e,this.lineStyle={...this.lineStyle},this.emitLineStyleEvent())}selectedLineStyle(){let e,i;switch(this.lineStyle?.style){case t.Dot:e="line-dotted",i=this._messages.dot??"";break;case t.Dash:e="line-dashed",i=this._messages.dash??"";break;case t.Solid:default:e="line-solid",i=this._messages.solid??"";break}return{icon:e,style:i}}widthChange(){let e=this.lineWidthInputElement.value?.value;e!==void 0&&w(e,this.lineWidthInputElement.value?.min,this.lineWidthInputElement.value?.max)?(this.lineStyle.width=Number.parseInt(e),this.emitLineStyleEvent(),this.lineWidthInputElement.value&&r({inputElement:this.lineWidthInputElement.value,status:h.IDLE})):this.lineWidthInputElement.value&&r({inputElement:this.lineWidthInputElement.value,status:h.INVALID})}emitLineStyleEvent(){Number.isNaN(Number.parseInt(this.lineStyle?.color?.[0]?.toString()??""))&&(this.lineStyle.color=void 0),this.arcgisChartsConfigLineStyleChange.emit(this.lineStyle)}render(){let e=[s`<div class=${l(d.sizeSection)}><calcite-label>${this._messages.style}<calcite-dropdown @calciteDropdownSelect=${this.lineStyleChange} ${c(this.lineStyleDropdownElement)}><calcite-button .iconEnd=${this.selectedLineStyle().icon} slot=trigger kind=neutral appearance=outline-fill scale=m><label class=${l(d.dropdownText)}>${this.selectedLineStyle().style}</label></calcite-button><calcite-dropdown-group><calcite-dropdown-item icon-end=line-solid .selected=${this.lineStyle?.style===t.Solid} accesskey=${t.Solid??n}>${this._messages.solid}</calcite-dropdown-item><calcite-dropdown-item icon-end=line-dotted .selected=${this.lineStyle?.style===t.Dot} accesskey=${t.Dot??n}>${this._messages.dot}</calcite-dropdown-item><calcite-dropdown-item icon-end=line-dashed .selected=${this.lineStyle?.style===t.Dash} accesskey=${t.Dash??n}>${this._messages.dash}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown></calcite-label><calcite-label>${this._messages.width}<calcite-input type=number min=1 step=any .value=${f(this.lineStyle?.width)} @calciteInputInput=${this.widthChange} ${c(this.lineWidthInputElement)}></calcite-input></calcite-label></div>`,s`<div class=${l(d.colorPickerContainer)}><arcgis-charts-config-colors .rgba=${this.lineStyle?.color??void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div>`];return this.usePanel!==!1?s`<calcite-panel .heading=${this.header??this._messages.header} .closed=${this.open===!1} .closable=${this.enableClose} @calcitePanelClose=${this.closePanel}>${e}</calcite-panel>`:e}};g("arcgis-charts-config-line-style",p);return p},b,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as L}from"./SBHIJW76.js";import{a as y}from"./VFP7AKUR.js";import{b as K,c as B}from"./T6J2NNJR.js";import g from"./CCBSYUDL.js";import{f as s}from"./FPDW4F45.js";import{a as f}from"./B227HROY.js";import e from"./F7EELFJY.js";import"./AE43AFN2.js";import d from"./XAWIW6KZ.js";import{k as b,s as x}from"./DISBHZRX.js";import"./SGOQQYBY.js";import"./EZM4ZDQI.js";import{k as c,o as h}from"./ETLJKITO.js";import{A as o,F as P,g as I,h as a,m as u,x as p,y as m,z as F}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Bb:S,Da:A,Ea:E,Gb:T,Gc:v,Hc:D,Ic:z},,{a:C,c:$,g:w,k:d,o:N}])=>{var _=I`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`,r={jsAppFlyout:"js-app-flyout",name:"line-chart-data-popover",numericFieldPickList:"line-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sizeSection:"size-section",applyButton:"apply-button"},k=class extends F{constructor(){super(...arguments),this._messages=f(),this.commonStrings=f({name:"common",blocking:!0}),this.picklist=p(),this.intervalSizeElement=p(),this.intervalTypeElement=p(),this.popoverElement=p(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigLineChartDataPopoverChange=u(),this.arcgisChartsConfigLineChartPopoverClose=u()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=_}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=$.map(l=>A(l,this.commonStrings));b(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[h.Start,h.End].map(l=>E(l,this.commonStrings));b(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(()=>{typeof this.picklist.value?.setFocus=="function"&&this.picklist.value?.setFocus()},C.PopoverTimer),K(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},C.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=B(e,t)}buildAggregationPickListItems(){return L($,e=>e,(e,t)=>a`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildIntervalAlignmentPickListItems(){let e=[h.Start,h.End];return L(e,t=>t,(t,i)=>a`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${d(t,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return y(e.name,a`<calcite-list-item .label=${S(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case s.numericFields:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo?.[l];n&&v(n)&&i.push(this.buildPickListItem(n))}break}case s.xAxisField:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo?.[l];n&&(v(n)||D(n))&&i.push(this.buildPickListItem(n))}break}case s.splitByField:{let l=y(" ",a`<calcite-list-item label=" " value=" " .selected=${d("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let n=0;n<t;n+=1){let g=this.layerFieldsInfo?.[n];g&&(z(g)||g.type===x.String)&&i.push(this.buildPickListItem(g))}break}}return i}closePopover(){if(this.contentKind===s.numericFields){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigLineChartDataPopoverChange,contentKind:this.contentKind};N(e)}this.open=!1,this.arcgisChartsConfigLineChartPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisField(){let e=this.buildPickListItems(s.xAxisField);return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(s.numericFields);return a`<calcite-list label class=${o(r.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(s.splitByField);return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[c.Second,c.Minute,c.Hour,c.Day,c.Week,c.Month,c.Year];return a`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${w(e?.size,1)} ${m(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${m(this.intervalTypeElement)}>${t.map(i=>a`<calcite-option .value=${i} .label=${T(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case s.aggregation:e=this.renderAggregationType();break;case s.xAxisField:e=this.renderXAxisField();break;case s.numericFields:e=this.renderNumericFields();break;case s.splitByField:e=this.renderSplitByField();break;case s.intervalAlignment:e=this.renderIntervalAlignment();break;case s.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===s.numericFields&&(e=a`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),a`<div class=${o(r.jsAppFlyout)}><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(r.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-line-chart-popover",k);return k},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",d,e,g)
2
+ import{a as L}from"./SBHIJW76.js";import{a as y}from"./VFP7AKUR.js";import{b as K,c as B}from"./HAJ2VWEU.js";import g from"./Y3U6VC3K.js";import{f as s}from"./FPDW4F45.js";import{a as f}from"./6WQPKBUS.js";import e from"./46NT4YQ5.js";import"./KZ7WEJMS.js";import d from"./GU6JH3VZ.js";import{n as b,v as x}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./EZM4ZDQI.js";import{k as c,o as h}from"./ETLJKITO.js";import{A as o,F as P,g as I,h as a,m as u,x as p,y as m,z as F}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Bb:S,Da:A,Ea:E,Gb:T,Gc:v,Hc:D,Ic:z},,{a:C,c:$,g:w,k:d,o:N}])=>{var _=I`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`,r={jsAppFlyout:"js-app-flyout",name:"line-chart-data-popover",numericFieldPickList:"line-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sizeSection:"size-section",applyButton:"apply-button"},k=class extends F{constructor(){super(...arguments),this._messages=f(),this.commonStrings=f({name:"common",blocking:!0}),this.picklist=p(),this.intervalSizeElement=p(),this.intervalTypeElement=p(),this.popoverElement=p(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigLineChartDataPopoverChange=u(),this.arcgisChartsConfigLineChartPopoverClose=u()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=_}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=$.map(l=>A(l,this.commonStrings));b(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[h.Start,h.End].map(l=>E(l,this.commonStrings));b(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(()=>{typeof this.picklist.value?.setFocus=="function"&&this.picklist.value?.setFocus()},C.PopoverTimer),K(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},C.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=B(e,t)}buildAggregationPickListItems(){return L($,e=>e,(e,t)=>a`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildIntervalAlignmentPickListItems(){let e=[h.Start,h.End];return L(e,t=>t,(t,i)=>a`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${d(t,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return y(e.name,a`<calcite-list-item .label=${S(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case s.numericFields:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo?.[l];n&&v(n)&&i.push(this.buildPickListItem(n))}break}case s.xAxisField:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo?.[l];n&&(v(n)||D(n))&&i.push(this.buildPickListItem(n))}break}case s.splitByField:{let l=y(" ",a`<calcite-list-item label=" " value=" " .selected=${d("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let n=0;n<t;n+=1){let g=this.layerFieldsInfo?.[n];g&&(z(g)||g.type===x.String)&&i.push(this.buildPickListItem(g))}break}}return i}closePopover(){if(this.contentKind===s.numericFields){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigLineChartDataPopoverChange,contentKind:this.contentKind};N(e)}this.open=!1,this.arcgisChartsConfigLineChartPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisField(){let e=this.buildPickListItems(s.xAxisField);return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(s.numericFields);return a`<calcite-list label class=${o(r.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(s.splitByField);return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return a`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[c.Second,c.Minute,c.Hour,c.Day,c.Week,c.Month,c.Year];return a`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${w(e?.size,1)} ${m(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${m(this.intervalTypeElement)}>${t.map(i=>a`<calcite-option .value=${i} .label=${T(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case s.aggregation:e=this.renderAggregationType();break;case s.xAxisField:e=this.renderXAxisField();break;case s.numericFields:e=this.renderNumericFields();break;case s.splitByField:e=this.renderSplitByField();break;case s.intervalAlignment:e=this.renderIntervalAlignment();break;case s.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===s.numericFields&&(e=a`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),a`<div class=${o(r.jsAppFlyout)}><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(r.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-line-chart-popover",k);return k},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",d,e,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{d as a}from"./FPDW4F45.js";import{g}from"./AE43AFN2.js";import b from"./XAWIW6KZ.js";import{k as r}from"./DISBHZRX.js";import"./SGOQQYBY.js";import"./ETLJKITO.js";import{F as h,g as n,h as s,z as c}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Cc:d,Ec:m}])=>{var p=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends c{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let o=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(o)},this.activeColorMatch=!1,this.popoverPlacement="leading"}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,popoverPlacement:1,seriesColor:0,page:1,calculatedMinMaxBounds:0,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=p}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model),this.updateDataFilters()}willUpdate(e){let o=!1;e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&this.layer!==void 0&&!r(e.get("layer"),this.layer)&&(o=!0),e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==e.get("usePopupTemplateFieldsInfo")&&(o=!0),e.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(o=!0),o&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,o){o?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(e){this.activeColorMatch=e?.get(0)===void 0,this.model.colorMatch&&e?.forEach((o,i)=>{let t;o&&("fillSymbol"in o?t=o.fillSymbol?.color:"lineSymbol"in o&&(t=o.lineSymbol.color)),e?.get(0)!==void 0&&t!==void 0&&!r(this.model.getSeriesColor(i),t)&&this.model.setSeriesColor(t,i)})}async updateDataFilters(){let e=this.model.getDataFilters(),o=e?.where,i=this.layer?.definitionExpression??void 0;r(o,i)||await this.model.setDataFilters({...e,where:i??void 0})}async updateFetchLayerFieldsInfo(e){let o=e??this.model.config,i=this.layer;if(!i){let t=g(o)?o.iLayer:void 0;t&&(i=await d(t))}i&&(this.layerFieldsInfo=await m(i,this.usePopupTemplateFieldsInfo))}render(){let e;switch(this.page){case a.Data:e=s`<arcgis-charts-config-box-plot-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-box-plot-data>`;break;case a.Series:e=s`<arcgis-charts-config-box-plot-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-box-plot-series>`;break;case a.Axes:e=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:e=s`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:e=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:e=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:e="";break}return e}};h("arcgis-charts-config-box-plot",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
2
+ import{d as a}from"./FPDW4F45.js";import{g}from"./KZ7WEJMS.js";import b from"./GU6JH3VZ.js";import{n as r}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./ETLJKITO.js";import{F as h,g as n,h as s,z as c}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Cc:d,Ec:m}])=>{var p=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends c{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let o=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(o)},this.activeColorMatch=!1,this.popoverPlacement="leading"}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,popoverPlacement:1,seriesColor:0,page:1,calculatedMinMaxBounds:0,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=p}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model),this.updateDataFilters()}willUpdate(e){let o=!1;e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&this.layer!==void 0&&!r(e.get("layer"),this.layer)&&(o=!0),e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==e.get("usePopupTemplateFieldsInfo")&&(o=!0),e.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(o=!0),o&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,o){o?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(e){this.activeColorMatch=e?.get(0)===void 0,this.model.colorMatch&&e?.forEach((o,i)=>{let t;o&&("fillSymbol"in o?t=o.fillSymbol?.color:"lineSymbol"in o&&(t=o.lineSymbol.color)),e?.get(0)!==void 0&&t!==void 0&&!r(this.model.getSeriesColor(i),t)&&this.model.setSeriesColor(t,i)})}async updateDataFilters(){let e=this.model.getDataFilters(),o=e?.where,i=this.layer?.definitionExpression??void 0;r(o,i)||await this.model.setDataFilters({...e,where:i??void 0})}async updateFetchLayerFieldsInfo(e){let o=e??this.model.config,i=this.layer;if(!i){let t=g(o)?o.iLayer:void 0;t&&(i=await d(t))}i&&(this.layerFieldsInfo=await m(i,this.usePopupTemplateFieldsInfo))}render(){let e;switch(this.page){case a.Data:e=s`<arcgis-charts-config-box-plot-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-box-plot-data>`;break;case a.Series:e=s`<arcgis-charts-config-box-plot-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-box-plot-series>`;break;case a.Axes:e=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:e=s`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:e=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:e=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:e="";break}return e}};h("arcgis-charts-config-box-plot",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{b as u}from"./T6J2NNJR.js";import f from"./CCBSYUDL.js";import"./FPDW4F45.js";import{a as g}from"./B227HROY.js";import b from"./F7EELFJY.js";import"./AE43AFN2.js";import a from"./XAWIW6KZ.js";import{j as d}from"./DISBHZRX.js";import"./SGOQQYBY.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{A as e,F as h,g as m,h as c,m as i,x as s,y as n,z as p}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,{h:v,i:r}])=>{var t={jsAppFlyout:"js-app-flyout",chartRenameComponent:"chart-rename-component",renameLabelContainer:"rename-label-container",renamePanel:"rename-panel"},C=m`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`,o=class extends p{constructor(){super(...arguments),this._messages=g(),this.characterLimitInputElement=s(),this.popoverElement=s(),this.isChartTitleInvalid=!1,this.changedName="",this.name="",this.arcgisChartsConfigChartRenamePopoverChange=i(),this.arcgisChartsConfigPopoverClose=i()}static{this.properties={isChartTitleInvalid:16,changedName:16,messageOverrides:0,name:1,open:5,referenceElement:0}}static{this.styles=C}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(a){a.has("name")&&(this.changedName=this.name)}updated(){this.popoverElement.value?.reposition(),u(this.popoverElement.value,this.open)}onNameChange(a){let l=a.target.value;this.changedName=l,this.isChartTitleInvalid=d(l.trim()),this.characterLimitInputElement.value&&v({inputElement:this.characterLimitInputElement.value,status:this.isChartTitleInvalid?r.INVALID:r.IDLE})}onCancelClick(){this.changedName=this.name,this.arcgisChartsConfigPopoverClose.emit(),this.open=!1}onSubmitClick(){this.isChartTitleInvalid||(this.name=this.changedName,this.arcgisChartsConfigChartRenamePopoverChange.emit({name:this.changedName}),this.open=!1)}popoverClose(){this.changedName=this.name,this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}render(){return c`<div class=${e({[t.chartRenameComponent]:!0,[t.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${n(this.popoverElement)}><calcite-panel class=${e(t.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${e(t.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${n(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-chart-rename-popover",o);return o},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,f)
2
+ import{b as u}from"./HAJ2VWEU.js";import f from"./Y3U6VC3K.js";import"./FPDW4F45.js";import{a as g}from"./6WQPKBUS.js";import b from"./46NT4YQ5.js";import"./KZ7WEJMS.js";import a from"./GU6JH3VZ.js";import{m as d}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{A as e,F as h,g as m,h as c,m as i,x as s,y as n,z as p}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,{h:v,i:r}])=>{var t={jsAppFlyout:"js-app-flyout",chartRenameComponent:"chart-rename-component",renameLabelContainer:"rename-label-container",renamePanel:"rename-panel"},C=m`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`,o=class extends p{constructor(){super(...arguments),this._messages=g(),this.characterLimitInputElement=s(),this.popoverElement=s(),this.isChartTitleInvalid=!1,this.changedName="",this.name="",this.arcgisChartsConfigChartRenamePopoverChange=i(),this.arcgisChartsConfigPopoverClose=i()}static{this.properties={isChartTitleInvalid:16,changedName:16,messageOverrides:0,name:1,open:5,referenceElement:0}}static{this.styles=C}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(a){a.has("name")&&(this.changedName=this.name)}updated(){this.popoverElement.value?.reposition(),u(this.popoverElement.value,this.open)}onNameChange(a){let l=a.target.value;this.changedName=l,this.isChartTitleInvalid=d(l.trim()),this.characterLimitInputElement.value&&v({inputElement:this.characterLimitInputElement.value,status:this.isChartTitleInvalid?r.INVALID:r.IDLE})}onCancelClick(){this.changedName=this.name,this.arcgisChartsConfigPopoverClose.emit(),this.open=!1}onSubmitClick(){this.isChartTitleInvalid||(this.name=this.changedName,this.arcgisChartsConfigChartRenamePopoverChange.emit({name:this.changedName}),this.open=!1)}popoverClose(){this.changedName=this.name,this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}render(){return c`<div class=${e({[t.chartRenameComponent]:!0,[t.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${n(this.popoverElement)}><calcite-panel class=${e(t.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${e(t.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${n(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-chart-rename-popover",o);return o},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,f)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import d from"./CGRJSESJ.js";import c from"./TW7SDPY6.js";import b from"./PGRROSLP.js";import a from"./YP55GB27.js";export default $arcgis.t(([{c:r},v,{c:I},{a:f,b:h,c:p,d:S,e:l,f:_,g:y,h:d,i:m,j:k,k:M,l:b,m:L,n:c,o:u,p:C,q:x,r:A,s:V}])=>{var j=Object.defineProperty,z=Object.getOwnPropertyDescriptor,t=(n,e,i,O)=>{for(var o=z(e,i),a=n.length-1,g;a>=0;a--)(g=n[a])&&(o=g(e,i,o)||o);return o&&j(e,i,o),o},s=class extends v{getSeriesLineStyle(e){return f(e,this._config)}setSeriesLineStyle(e,i){h(e,i,this._config)}getSeriesLineWidth(e){return p(e,this._config)}setSeriesLineWidth(e,i){S(e,i,this._config)}getSeriesMarkerColor(e){return l(e,this._config)}setSeriesMarkerColor(e,i){_(e,i,this._config)}getSeriesMarkerStyle(e){return y(e,this._config)}setSeriesMarkerStyle(e,i){d(e,i,this._config)}getSeriesMarkerSize(e){return m(e,this._config)}setSeriesMarkerSize(e,i){k(e,i,this._config)}isLineSmoothed(e){return M(e,this._config)}setLineSmoothed(e,i){b({smoothed:e,seriesIndex:i,config:this._config})}getConnectLines(e){return A(e,this._config)}setConnectLines(e,i){V({connect:e,seriesIndex:i,config:this._config})}isAreaVisible(e){return L(e,this._config)}setAreaVisible(e,i){c({visible:e,seriesIndex:i,config:this._config})}isMarkerVisible(e){return u(e,this._config)}setMarkerVisible(e,i){C({visible:e,seriesIndex:i,config:this._config})}getAreaColor(e){return x(e,this._config)}setAreaColor(e,i){c({visible:!0,seriesIndex:i,config:this._config}),I(e,i,this._config)}};t([r],s.prototype,"setSeriesLineStyle");t([r],s.prototype,"setSeriesLineWidth");t([r],s.prototype,"setSeriesMarkerColor");t([r],s.prototype,"setSeriesMarkerStyle");t([r],s.prototype,"setSeriesMarkerSize");t([r],s.prototype,"setLineSmoothed");t([r],s.prototype,"setConnectLines");t([r],s.prototype,"setAreaVisible");t([r],s.prototype,"setMarkerVisible");t([r],s.prototype,"setAreaColor");return s},a,b,c,d)
2
+ import d from"./R6PSD7B7.js";import c from"./ZTF5EW2C.js";import b from"./7OIBIDJX.js";import a from"./F7YBMSC7.js";export default $arcgis.t(([{c:r},v,{c:I},{a:f,b:h,c:p,d:S,e:l,f:_,g:y,h:d,i:m,j:k,k:M,l:b,m:L,n:c,o:u,p:C,q:x,r:A,s:V}])=>{var j=Object.defineProperty,z=Object.getOwnPropertyDescriptor,t=(n,e,i,O)=>{for(var o=z(e,i),a=n.length-1,g;a>=0;a--)(g=n[a])&&(o=g(e,i,o)||o);return o&&j(e,i,o),o},s=class extends v{getSeriesLineStyle(e){return f(e,this._config)}setSeriesLineStyle(e,i){h(e,i,this._config)}getSeriesLineWidth(e){return p(e,this._config)}setSeriesLineWidth(e,i){S(e,i,this._config)}getSeriesMarkerColor(e){return l(e,this._config)}setSeriesMarkerColor(e,i){_(e,i,this._config)}getSeriesMarkerStyle(e){return y(e,this._config)}setSeriesMarkerStyle(e,i){d(e,i,this._config)}getSeriesMarkerSize(e){return m(e,this._config)}setSeriesMarkerSize(e,i){k(e,i,this._config)}isLineSmoothed(e){return M(e,this._config)}setLineSmoothed(e,i){b({smoothed:e,seriesIndex:i,config:this._config})}getConnectLines(e){return A(e,this._config)}setConnectLines(e,i){V({connect:e,seriesIndex:i,config:this._config})}isAreaVisible(e){return L(e,this._config)}setAreaVisible(e,i){c({visible:e,seriesIndex:i,config:this._config})}isMarkerVisible(e){return u(e,this._config)}setMarkerVisible(e,i){C({visible:e,seriesIndex:i,config:this._config})}getAreaColor(e){return x(e,this._config)}setAreaColor(e,i){c({visible:!0,seriesIndex:i,config:this._config}),I(e,i,this._config)}};t([r],s.prototype,"setSeriesLineStyle");t([r],s.prototype,"setSeriesLineWidth");t([r],s.prototype,"setSeriesMarkerColor");t([r],s.prototype,"setSeriesMarkerStyle");t([r],s.prototype,"setSeriesMarkerSize");t([r],s.prototype,"setLineSmoothed");t([r],s.prototype,"setConnectLines");t([r],s.prototype,"setAreaVisible");t([r],s.prototype,"setMarkerVisible");t([r],s.prototype,"setAreaColor");return s},a,b,c,d)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import g from"./734N3Q42.js";import e from"./EGTQDORP.js";import c from"./AT5TLS5G.js";import b from"./46NT4YQ5.js";import a from"./GU6JH3VZ.js";import{B as K,d as $,g as E,m as j,q as z}from"./DGTF5KBL.js";import{d,e as m}from"./EZM4ZDQI.js";import{a as G,b as u,h as F,v as f}from"./ETLJKITO.js";export default $arcgis.t(([,,,{substitute:A},,,,,,,,,,,{Bb:N,Da:_,Fc:O,Md:x,X:R,d:T,e:B,oa:Y},{a:h,b:L},{c:Z},{a:U},{g:Q}])=>{function V(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?q({config:t,layerInfo:e,commonStrings:i,mode:o}):"",g=U(t),l=x(t);return a===g||l}function w(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?L({config:t,layerInfo:e,commonStrings:i,numericFields:S(t),aggregationType:b(t,o)}):"",g=Z(1,t),l=x(t);return a===g||l}var P=r=>r.series?.[0]?.x??"";function W(r,t){let e=r.series?.[0];return[`${t===m.Category?e.y:B} ${F.Descending}`]}var k=(r,t)=>{let e=d.valueDesc,o=r.orderOptions?.data?.orderType??W(r,t),i=r.orderOptions?.data&&"orderBy"in r.orderOptions.data?r.orderOptions.data.orderBy:F.Descending;return o===f.Category&&Array.isArray(i)?e=d.customSort:o===f.Category?i===F.Ascending?e=d.labelAsc:e=d.labelDesc:i===F.Ascending?e=d.valueAsc:e=d.valueDesc,e},S=$(r=>{let t=[];return t=r.series?.[0]?.query?.outStatistics?.map(e=>e.onStatisticField)??[r.series?.[0]?.y??""],[...new Set(t.filter(e=>e!==""))]},r=>r.series),b=(r,t)=>{let e=S(r),o;return t===m.Fields&&e.length===0?o=u.Sum:o=r.series?.[0]?.query?.outStatistics?.[0]?.statisticType??u.NoAggregation,o};function H(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=O(e?.layer).idField,g=Y(i,a),l=P(t),c=t.series[0]?.dataLabels,n={...g,x:o===m.Category?l:T,slices:t.series?.[0]?.slices,dataLabels:{...g.dataLabels,type:g.dataLabels?.type??G.Text,content:{...g.dataLabels?.content,...c?.content,type:K.TS},visible:c?.visible??!1},innerRadiusSize:t.series?.[0]?.innerRadius,sliceGrouping:t.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:t.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:t.series?.[0]?.numericValueFormat,percentValueFormat:t.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:t.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:t.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:t.series?.[0]?.displayPercentageOnDataLabel},s=b(t,o);if(s!==u.NoAggregation&&a!==void 0){let y=`${s}_${a}_0`.toUpperCase();n.y=o===m.Category?y:B,n.query={outStatistics:o===m.Category?[{statisticType:s,onStatisticField:a,outStatisticFieldName:y}]:[]}}return o===m.Category&&n.query!==void 0?n.query.groupByFieldsForStatistics=[l]:delete n.query?.groupByFieldsForStatistics,E(n)}function q(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{layerFieldsInfo:a}=e,{idField:g,isTraditionalTypeOID:l}=O(e.layer),c=P(t),n=S(t),s=b(t,o),y=l&&(n.length===0||n.includes(g)),p=_(s,i),v=y?"":n.map(M=>N(a??[],M)).join(", "),I=N(a??[],c),C="",D;return o===m.Fields?D=n.length===0:D=c==="",D?C=i.utilsStrings.chartType.pieChart:s===u.NoAggregation?C=A(i.titleLabels.aggrFieldsByCategory,{aggregationFields:y?g:v,category:I}):s===u.Count?C=A(i.titleLabels.aggrTypeCategory,{aggregationType:p,category:I}):n.length>0&&(I===T||j(I)||z(I)?C=A(i.titleLabels.aggrTypeOfAggrFields,{aggregationType:p,aggregationFields:v}):C=A(i.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:p,aggregationFields:v,category:I})),C}var he=r=>{let{newSortOrderKind:t,config:e,orderByList:o}=r;e.orderOptions??={},t===d.customSort&&o!==void 0?e.orderOptions.data={orderType:f.Category,orderBy:[...o]}:e.orderOptions.data={orderType:t===d.labelAsc||t===d.labelDesc?f.Category:f.YValue,orderBy:t===d.labelAsc||t===d.valueAsc?F.Ascending:F.Descending}},Ae=r=>{let{newCategory:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,g=e.series?.length??0,l=V({config:e,layerInfo:o,commonStrings:a,mode:i}),c=w({config:e,layerInfo:o,commonStrings:a,mode:i});if(e.series.forEach(n=>{n.x=i===m.Category?t:T,n.query!==void 0&&t!==T?n.query.groupByFieldsForStatistics=[t]:delete n.query?.groupByFieldsForStatistics}),g===0){let n=[H({config:e,layerInfo:o,mode:i,commonStrings:a})];e.series=n}if(o!==void 0){if(c){let s=L({config:e,layerInfo:o,numericFields:S(e),aggregationType:b(e,i),commonStrings:a});h(e,1,s)}e.title&&l&&(e.title.content.text=q({config:e,layerInfo:o,commonStrings:a,mode:i}));let n=i===m.Fields?S(e).filter(s=>s!==O(o.layer).idField):S(e);X({newNumericFields:n,config:e,layerInfo:o,mode:i,commonStrings:a})}};function J(r){let{numericFields:t,aggregationType:e,config:o,layerInfo:i,mode:a,commonStrings:g}=r,{layerFieldsInfo:l}=i,c=[],n=H({config:o,layerInfo:i,mode:a,commonStrings:g}),s={...n,query:{...n.query}};t.length<=1?s.query.where=n.query?.where:delete s.query.where;let y=Q({config:o,xAxisField:P(o),numericFields:t,aggregationType:e,mode:a,layer:i.layer,fieldList:l}).name;if(e!==u.NoAggregation)if(a===m.Category){if(t.length>0){let p=t[0];s.query.outStatistics=[{...n.query?.outStatistics?.[0]??{},onStatisticField:p,outStatisticFieldName:y,statisticType:e}]}}else for(let p of t)s.query.outStatistics?.push({onStatisticField:p,outStatisticFieldName:p,statisticType:e});else s.query={};s.y=y,c.push(s),o.series=c}var qe=r=>{let{newAggregationType:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,g=S(e),l=V({config:e,layerInfo:o,commonStrings:a,mode:i}),c=w({config:e,layerInfo:o,commonStrings:a,mode:i});if(J({config:e,layerInfo:o,numericFields:g,aggregationType:t,commonStrings:a,mode:i}),c){let p=L({config:e,layerInfo:o,commonStrings:a,numericFields:S(e),aggregationType:b(e,i)});h(e,1,p)}e.title&&l&&(e.title.content.text=q({config:e,layerInfo:o,commonStrings:a,mode:i}));let n=e.series?.[0]?.displayCategoryOnDataLabel,s=e.series?.[0]?.displayNumericValueOnDataLabel,y=e.series?.[0]?.displayPercentageOnDataLabel;e.legend={...e.legend??R(),displayNumericValue:s,displayPercentage:y,displayCategory:n}},X=r=>{let{newNumericFields:t}=r,{config:e,layerInfo:o,mode:i,commonStrings:a}=r,g=O(o?.layer).idField,l=b(e,i),c=V({config:e,layerInfo:o,commonStrings:a,mode:i}),n=w({config:e,layerInfo:o,commonStrings:a,mode:i});if(t=t===""?[]:t,t=typeof t=="string"?[t]:t,g!==void 0&&(t.length===0&&i===m.Category?(t.push(g),l=u.Count):l===u.Count&&t.length>=1&&!t.includes(g)&&(l=u.Sum)),o!==void 0){if(J({config:e,layerInfo:o,commonStrings:a,numericFields:t,aggregationType:l,mode:i}),n){let s=L({config:e,layerInfo:o,commonStrings:a,numericFields:S(e),aggregationType:b(e,i)});h(e,1,s)}e.title&&c&&(e.title.content.text=q({config:e,layerInfo:o,commonStrings:a,mode:i}))}else e.series.forEach(s=>{delete s.query,s.y=t[0]})},ve=(r,t)=>{let e=[],o=r.orderOptions?.data?.orderType,i=k(r,t),a=r.orderOptions?.data&&"orderBy"in r.orderOptions.data?r.orderOptions.data.orderBy:void 0;return i===d.customSort&&o===f.Category&&Array.isArray(a)&&(e=a),e},De=r=>{let{values:t,config:e,mode:o}=r;e.orderOptions??={};let i=e.orderOptions?.data?.orderType;k(e,o)===d.customSort&&i===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:[...t]})};return{a:P,b:k,c:S,d:b,e:q,f:he,g:Ae,h:qe,i:X,j:ve,k:De}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,e,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import g from"./FGQ6QTNI.js";import e from"./VQGWUSUK.js";import c from"./YFQBIEH6.js";import b from"./F7EELFJY.js";import{h as O,o as ae}from"./AE43AFN2.js";import a from"./XAWIW6KZ.js";import{d as $,g as E,j as X,k as ee,s as oe}from"./DISBHZRX.js";import{b as d}from"./EZM4ZDQI.js";import{a as f,h as x,v as u}from"./ETLJKITO.js";export default $arcgis.t(([,,,,,,{substitute:V},,,,,,,,{$:R,Bb:B,C:J,E:I,Ed:le,Jc:ne,Ka:K,Lc:Q,Mc:U,Md:L,R:j,S:ie,T:re,Vc:A,Zc:te,_:T,ha:se,la:W},{a:C,d:Y,e:Z,f:ce,n:me,r:ye},{c:P},{a:de},{i:D}])=>{var go=(o,e)=>e?.series?.[o]?.name,uo=(o,e,i)=>{let r=i;r?.series?.[e]!==void 0&&(r.series[e].name=o)},So=(o,e)=>{let i,r=e.series?.[o];return r?.type===f.BoxPlotSeries?i=r.fillSymbol?.color:r?.type===f.LineSeries&&(i=r.lineSymbol?.color),i},ve=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Be=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...T(),color:o})},po=(o,e,i)=>{let r=i?.series?.[e];r?.type===f.BoxPlotSeries&&r.fillSymbol!==void 0?r.fillSymbol.color=o:r?.type===f.LineSeries&&r.lineSymbol!==void 0&&(r.lineSymbol.color=o,r.markerSymbol!==void 0&&(r.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Ae=(o,e)=>{e?.series?.sort((i,r)=>o.findIndex(s=>i.id===s)-o.findIndex(s=>r.id===s))},bo=(o,e,i)=>{let r=Me(i),[s]=r.splice(o,1);r.splice(e,0,s),Ae(r,i)},ho=o=>_(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Le(o,e,i){let r=he(o,e,i),s=de(o),n=L(o);return r===s||n}function fe(o,e,i){let r=k(o,e,i),s=P(1,o),n=L(o);return r===s||n}function Oe(o){let{config:e,layerInfo:i,newCategory:r}=o,{layerFieldsInfo:s}=i,n=M(e),l=r!==I?B(s,n):"",t=P(0,e),a=L(e);return l===t||a||t.trim()===""}var M=o=>A(o)?.x??I,Ce=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return te(e?.query?.where)?"":i},o=>A(o)?.query?.where),ge=$(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),N=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...W(s,i),x:e===void 0||e===""?I:e,y:r,query:{}};return E(n)},ke=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...se({commonStrings:s,seriesIndex:i}),x:e===void 0||e===""?I:e,y:r,query:{}};return E(n)};function ue(o){let{x:e,y:i,seriesTemplate:r,commonStrings:s}=o,{id:n,fillSymbol:l}=r??{},t=W(s),a=n??`series_${Date.now()}`;return t.id=a,t.name=a,t.x=e,t.y=i,l?t.fillSymbol=l:t.fillSymbol&&(t.fillSymbol.color=K,t.fillSymbol?.outline&&(t.fillSymbol.outline.color=K)),t}function Se(o){let{numericFields:e,config:i,layerInfo:r,category:s,commonStrings:n}=o,{layerFieldsInfo:l}=r,t=[],a=s??M(i),m=!1,c=D({fieldName:a,numericFields:e,fieldList:l});if(e.length===0){let S=N({y:"",seriesIndex:0,category:a,commonStrings:n});t.push(S)}else if(c){let S=e.length>1?e:e[0],w=N({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(r.layerFieldsInfo,e[0]),p={...w,id:e[0],name:b,x:c?I:a},g=i.series.find(y=>ee(S,y.y)&&y.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,m=!0),p.id=g.id,p.name=g.name),t.push(p)}else for(let S=0;S<e.length;S+=1){let w=e[S],b=N({y:w,seriesIndex:S,category:a,commonStrings:n}),p=B(l,w),g={...b,id:w,name:p,x:a},y=i.series.find(v=>w===v.y);y!==void 0&&(!i.colorMatch&&"fillSymbol"in y&&(g.fillSymbol=y.fillSymbol,m=!0),g.id=y.id,g.name=y.name),t.push(g)}return i.series.length===1&&t.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(t[0].fillSymbol=i.series[0].fillSymbol,m=!0),i.colorMatch=!m,t}var pe=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function Te(o,e,i){let r=[];return o.forEach(s=>{if(s.type===f.BoxPlotSeries){let{type:n,fillSymbol:l,...t}=s;r.push({...t,type:f.LineSeries,lineSymbol:{...j({width:J}),...l!==void 0?{color:l.color}:{}},markerSymbol:{...R(),...l!==void 0?{color:l.color}:{}}})}}),r.unshift(ue({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),r}function De(o){let e=o.slice(1),i=[];return e.forEach(r=>{if(r.type===f.LineSeries){let{type:s,lineSymbol:n,markerSymbol:l,...t}=r,a=T();i.push({...t,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function be(o){let{formerSeries:e,newSeries:i,showMean:r}=o,s=i,n=a=>a.type===(r?f.LineSeries:f.BoxPlotSeries),l=e.filter(n).map(a=>a.id),t=i.filter(n).map(a=>a.id);return l.length===t.length&&JSON.stringify(l)!==JSON.stringify(t)&&(s=s.sort((a,m)=>l.findIndex(c=>c===a.id)-l.findIndex(c=>c===m.id))),s}async function Pe(o){let{config:e,layerInfo:i,commonStrings:r,splitByField:s,numericFields:n,category:l}=o,{layer:t,layerFieldsInfo:a}=i,{fetchNullValues:m}=A(e)?.query??{},c=l??M(e),{categoriesArray:S,splitByFieldType:w}=await me({config:e,layer:t,layerFieldsInfo:a,xAxisField:G(c)?void 0:c,aggregationFields:n,splitByField:s,fetchNullValues:m}),b=[],p=!1,g=qe(e);if(S.length===0){b=Se({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:r});for(let y of b)y.query&&(y.query.where=`${s}=''`)}else for(let y=0;y<S.length;y+=1){let v=S[y],q={y:n,seriesIndex:y,category:c,commonStrings:r},H=g?ke(q):N(q),we={fieldName:s,fieldValueToMatch:v??"",subtypeInfo:Q(i.layer),fieldList:i.layerFieldsInfo},Fe=U(we),z=`${v}`,F={...H,id:z,name:Fe??z,x:c===void 0||c===""?I:c,query:{...H.query,where:`${s}=${w===oe.String&&v!==null?`'${v}'`:v}`}},h=e.series.find(Ie=>pe(Ie)===z);h!==void 0&&(e.colorMatch||(F.type===f.BoxPlotSeries?O(h)?F.fillSymbol=h.fillSymbol:F.fillSymbol={...T(),color:h.lineSymbol?.color}:O(h)?(F.lineSymbol={...j({width:J}),...h.fillSymbol!==void 0?{color:h.fillSymbol.color}:{}},F.markerSymbol={...R(),...h.fillSymbol!==void 0?{color:h.fillSymbol.color}:{}}):(F.lineSymbol=h.lineSymbol,F.markerSymbol=h.markerSymbol),p=!0),F.id=h.id,F.name=h.name),b.push(F)}if(b=be({formerSeries:e.series,newSeries:b,showMean:_(e)}),e.colorMatch=!p,_(e)){let y=e.series.find(q=>q.type===f.BoxPlotSeries),v=ue({x:c,y:n,seriesTemplate:y,commonStrings:r});b.unshift(v)}return b}var xo=async o=>{let{splitByField:e,numericFields:i,category:r,config:s,layerInfo:n,commonStrings:l}=o,{layerFieldsInfo:t}=n,a=$e(r,i,e),m=ne(t),c=M(s),S=Le(s,n,l),w=fe(s,n,l),b=Oe({config:s,layerInfo:n,newCategory:r}),p=Z(s);if(!m.includes(c)&&m.includes(r)?p=re():m.includes(c)&&!m.includes(r)&&(p=ie()),p!==void 0&&ce(s,l,p),Ne(a?{newShowMeanLines:s.showMean,config:s,commonStrings:l}:{newShowMeanLines:!1,config:s,commonStrings:l}),s.series=a?await Pe({config:s,layerInfo:n,splitByField:e,numericFields:i,category:r,commonStrings:l}):Se({numericFields:i,config:s,layerInfo:n,category:r,commonStrings:l}),b){let g=D({fieldName:r,numericFields:i,fieldList:t})?"":B(t,r);C(s,0,g)}if(w){let g=k(s,n,l);C(s,1,g)}s?.title!==void 0&&S&&(s.title.content.text=he(s,n,l)),Y({config:s,value:null,axisIndex:1,isMax:!1}),Y({config:s,value:null,axisIndex:1,isMax:!0})},Ve=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:r}=e,s=Ve(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(l=>l.y).flat();return n=[...new Set(n)],n.length===1&&(s=B(r,n[0])),s}function he(o,e,i){let{layerFieldsInfo:r}=e,s=M(o),n=ge(o),l=Ce(o),t=n.map(c=>B(r??[],c)).join(", "),a=B(r??[],s),m="";return n.length>0&&(s!==I&&l!==""?m=V(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:t,category:a,splitByField:l}):s!==I?m=V(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:a}):l!==""?m=V(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:l}):m=V(i.titleLabels.distributionOfField,{valueField:t})),m}var wo=o=>{let{series:e,splitByField:i,layerInfo:r,commonStrings:s}=o,n=typeof e.y=="string"?B(r.layerFieldsInfo,e.y):s.axisLabels.values;X(i)||(n=pe(e));let l={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:Q(r.layer),fieldList:r.layerFieldsInfo};return n=U(l)??n,n??e.id},Fo=o=>o?.showOutliers??!1,Io=o=>{let{newShowOutliers:e,config:i,layerInfo:r,commonStrings:s}=o;if(i.showOutliers=e,fe(i,r,s)){let n=k(i,r,s);C(i,1,n)}},vo=o=>{let{newStandardizeValues:e,config:i,layerInfo:r,commonStrings:s}=o,n=P(1,i),l=k(i,r,s),t=L(i);if(i.standardizeValues=e,n===l||t){let a=k(i,r,s);C(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,r=o.orderOptions?.data&&"orderBy"in o.orderOptions.data?o.orderOptions.data.orderBy:x.Ascending;switch(i){case u.Category:e=Array.isArray(r)?d.customSort:r===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=r===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=r===x.Ascending?d.medianAsc:d.medianDesc;break}return e},Bo=(o,e,i)=>{let r=u.Category,s=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{r=u.Category,s=x.Ascending;break}case d.xAxisDesc:{r=u.Category,s=x.Descending;break}case d.meanAsc:{r=u.Mean,s=x.Ascending;break}case d.meanDesc:{r=u.Mean,s=x.Descending;break}case d.medianAsc:{r=u.Median,s=x.Ascending;break}case d.medianDesc:{r=u.Median,s=x.Descending;break}}e.orderOptions.data={orderType:r,orderBy:s}}},_=o=>o.showMean??!1,Ne=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:r,previousMeanLinesBoxColor:s}=o,n=e?s:ve(i),l=(e??!1)!==(i.showMean??!1);if(i.showMean=e,l){let t;e?t=ae(i.series)?Te(i.series,r):i.series:t=De(i.series),t&&(t=be({formerSeries:i.series,newSeries:t,showMean:e}),i.series=t)}return e&&s!==void 0&&Be(s,i),{previousMeanLinesBoxColor:n}},Mo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},Ao=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},Lo=async(o,e)=>{let i=M(o),r=Z(o)?.type,s=ge(o),n=[];return r===f.CategoryAxisFormat&&(D({fieldName:i,numericFields:s,fieldList:e.layerFieldsInfo})?n=s:G(i)||(n=await ye({layerInfo:e,config:o,category:i}))),n},G=o=>o.trim()===""||o===I,ze=(o,e)=>e.length>1&&!G(o),$e=(o,e,i)=>!ze(o,e)&&i!=="";return{a:go,b:uo,c:So,d:ve,e:Be,f:po,g:Me,h:Ae,i:bo,j:ho,k:M,l:Ce,m:ge,n:xo,o:Ve,p:k,q:he,r:wo,s:Fo,t:Io,u:vo,v:xe,w:Bo,x:_,y:Ne,z:Mo,A:Ao,B:Lo,C:ze,D:$e}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,b,c,e,g)
2
+ import g from"./734N3Q42.js";import e from"./EGTQDORP.js";import c from"./AT5TLS5G.js";import b from"./46NT4YQ5.js";import{h as O,o as ae}from"./KZ7WEJMS.js";import a from"./GU6JH3VZ.js";import{d as $,g as E,m as X,n as ee,v as oe}from"./DGTF5KBL.js";import{b as d}from"./EZM4ZDQI.js";import{a as f,h as x,v as u}from"./ETLJKITO.js";export default $arcgis.t(([,,,,,,{substitute:V},,,,,,,,{$:R,Bb:B,C:J,E:I,Ed:le,Jc:ne,Ka:K,Lc:Q,Mc:U,Md:L,R:j,S:ie,T:re,Vc:A,Zc:te,_:T,ha:se,la:W},{a:C,d:Y,e:Z,f:ce,n:me,r:ye},{c:P},{a:de},{i:D}])=>{var go=(o,e)=>e?.series?.[o]?.name,uo=(o,e,i)=>{let r=i;r?.series?.[e]!==void 0&&(r.series[e].name=o)},So=(o,e)=>{let i,r=e.series?.[o];return r?.type===f.BoxPlotSeries?i=r.fillSymbol?.color:r?.type===f.LineSeries&&(i=r.lineSymbol?.color),i},ve=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Be=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...T(),color:o})},po=(o,e,i)=>{let r=i?.series?.[e];r?.type===f.BoxPlotSeries&&r.fillSymbol!==void 0?r.fillSymbol.color=o:r?.type===f.LineSeries&&r.lineSymbol!==void 0&&(r.lineSymbol.color=o,r.markerSymbol!==void 0&&(r.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Ae=(o,e)=>{e?.series?.sort((i,r)=>o.findIndex(s=>i.id===s)-o.findIndex(s=>r.id===s))},bo=(o,e,i)=>{let r=Me(i),[s]=r.splice(o,1);r.splice(e,0,s),Ae(r,i)},ho=o=>_(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Le(o,e,i){let r=he(o,e,i),s=de(o),n=L(o);return r===s||n}function fe(o,e,i){let r=k(o,e,i),s=P(1,o),n=L(o);return r===s||n}function Oe(o){let{config:e,layerInfo:i,newCategory:r}=o,{layerFieldsInfo:s}=i,n=M(e),l=r!==I?B(s,n):"",t=P(0,e),a=L(e);return l===t||a||t.trim()===""}var M=o=>A(o)?.x??I,Ce=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return te(e?.query?.where)?"":i},o=>A(o)?.query?.where),ge=$(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),N=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...W(s,i),x:e===void 0||e===""?I:e,y:r,query:{}};return E(n)},ke=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...se({commonStrings:s,seriesIndex:i}),x:e===void 0||e===""?I:e,y:r,query:{}};return E(n)};function ue(o){let{x:e,y:i,seriesTemplate:r,commonStrings:s}=o,{id:n,fillSymbol:l}=r??{},t=W(s),a=n??`series_${Date.now()}`;return t.id=a,t.name=a,t.x=e,t.y=i,l?t.fillSymbol=l:t.fillSymbol&&(t.fillSymbol.color=K,t.fillSymbol?.outline&&(t.fillSymbol.outline.color=K)),t}function Se(o){let{numericFields:e,config:i,layerInfo:r,category:s,commonStrings:n}=o,{layerFieldsInfo:l}=r,t=[],a=s??M(i),m=!1,c=D({fieldName:a,numericFields:e,fieldList:l});if(e.length===0){let S=N({y:"",seriesIndex:0,category:a,commonStrings:n});t.push(S)}else if(c){let S=e.length>1?e:e[0],w=N({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(r.layerFieldsInfo,e[0]),p={...w,id:e[0],name:b,x:c?I:a},g=i.series.find(y=>ee(S,y.y)&&y.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,m=!0),p.id=g.id,p.name=g.name),t.push(p)}else for(let S=0;S<e.length;S+=1){let w=e[S],b=N({y:w,seriesIndex:S,category:a,commonStrings:n}),p=B(l,w),g={...b,id:w,name:p,x:a},y=i.series.find(v=>w===v.y);y!==void 0&&(!i.colorMatch&&"fillSymbol"in y&&(g.fillSymbol=y.fillSymbol,m=!0),g.id=y.id,g.name=y.name),t.push(g)}return i.series.length===1&&t.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(t[0].fillSymbol=i.series[0].fillSymbol,m=!0),i.colorMatch=!m,t}var pe=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function Te(o,e,i){let r=[];return o.forEach(s=>{if(s.type===f.BoxPlotSeries){let{type:n,fillSymbol:l,...t}=s;r.push({...t,type:f.LineSeries,lineSymbol:{...j({width:J}),...l!==void 0?{color:l.color}:{}},markerSymbol:{...R(),...l!==void 0?{color:l.color}:{}}})}}),r.unshift(ue({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),r}function De(o){let e=o.slice(1),i=[];return e.forEach(r=>{if(r.type===f.LineSeries){let{type:s,lineSymbol:n,markerSymbol:l,...t}=r,a=T();i.push({...t,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function be(o){let{formerSeries:e,newSeries:i,showMean:r}=o,s=i,n=a=>a.type===(r?f.LineSeries:f.BoxPlotSeries),l=e.filter(n).map(a=>a.id),t=i.filter(n).map(a=>a.id);return l.length===t.length&&JSON.stringify(l)!==JSON.stringify(t)&&(s=s.sort((a,m)=>l.findIndex(c=>c===a.id)-l.findIndex(c=>c===m.id))),s}async function Pe(o){let{config:e,layerInfo:i,commonStrings:r,splitByField:s,numericFields:n,category:l}=o,{layer:t,layerFieldsInfo:a}=i,{fetchNullValues:m}=A(e)?.query??{},c=l??M(e),{categoriesArray:S,splitByFieldType:w}=await me({config:e,layer:t,layerFieldsInfo:a,xAxisField:G(c)?void 0:c,aggregationFields:n,splitByField:s,fetchNullValues:m}),b=[],p=!1,g=qe(e);if(S.length===0){b=Se({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:r});for(let y of b)y.query&&(y.query.where=`${s}=''`)}else for(let y=0;y<S.length;y+=1){let v=S[y],q={y:n,seriesIndex:y,category:c,commonStrings:r},H=g?ke(q):N(q),we={fieldName:s,fieldValueToMatch:v??"",subtypeInfo:Q(i.layer),fieldList:i.layerFieldsInfo},Fe=U(we),z=`${v}`,F={...H,id:z,name:Fe??z,x:c===void 0||c===""?I:c,query:{...H.query,where:`${s}=${w===oe.String&&v!==null?`'${v}'`:v}`}},h=e.series.find(Ie=>pe(Ie)===z);h!==void 0&&(e.colorMatch||(F.type===f.BoxPlotSeries?O(h)?F.fillSymbol=h.fillSymbol:F.fillSymbol={...T(),color:h.lineSymbol?.color}:O(h)?(F.lineSymbol={...j({width:J}),...h.fillSymbol!==void 0?{color:h.fillSymbol.color}:{}},F.markerSymbol={...R(),...h.fillSymbol!==void 0?{color:h.fillSymbol.color}:{}}):(F.lineSymbol=h.lineSymbol,F.markerSymbol=h.markerSymbol),p=!0),F.id=h.id,F.name=h.name),b.push(F)}if(b=be({formerSeries:e.series,newSeries:b,showMean:_(e)}),e.colorMatch=!p,_(e)){let y=e.series.find(q=>q.type===f.BoxPlotSeries),v=ue({x:c,y:n,seriesTemplate:y,commonStrings:r});b.unshift(v)}return b}var xo=async o=>{let{splitByField:e,numericFields:i,category:r,config:s,layerInfo:n,commonStrings:l}=o,{layerFieldsInfo:t}=n,a=$e(r,i,e),m=ne(t),c=M(s),S=Le(s,n,l),w=fe(s,n,l),b=Oe({config:s,layerInfo:n,newCategory:r}),p=Z(s);if(!m.includes(c)&&m.includes(r)?p=re():m.includes(c)&&!m.includes(r)&&(p=ie()),p!==void 0&&ce(s,l,p),Ne(a?{newShowMeanLines:s.showMean,config:s,commonStrings:l}:{newShowMeanLines:!1,config:s,commonStrings:l}),s.series=a?await Pe({config:s,layerInfo:n,splitByField:e,numericFields:i,category:r,commonStrings:l}):Se({numericFields:i,config:s,layerInfo:n,category:r,commonStrings:l}),b){let g=D({fieldName:r,numericFields:i,fieldList:t})?"":B(t,r);C(s,0,g)}if(w){let g=k(s,n,l);C(s,1,g)}s?.title!==void 0&&S&&(s.title.content.text=he(s,n,l)),Y({config:s,value:null,axisIndex:1,isMax:!1}),Y({config:s,value:null,axisIndex:1,isMax:!0})},Ve=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:r}=e,s=Ve(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(l=>l.y).flat();return n=[...new Set(n)],n.length===1&&(s=B(r,n[0])),s}function he(o,e,i){let{layerFieldsInfo:r}=e,s=M(o),n=ge(o),l=Ce(o),t=n.map(c=>B(r??[],c)).join(", "),a=B(r??[],s),m="";return n.length>0&&(s!==I&&l!==""?m=V(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:t,category:a,splitByField:l}):s!==I?m=V(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:a}):l!==""?m=V(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:l}):m=V(i.titleLabels.distributionOfField,{valueField:t})),m}var wo=o=>{let{series:e,splitByField:i,layerInfo:r,commonStrings:s}=o,n=typeof e.y=="string"?B(r.layerFieldsInfo,e.y):s.axisLabels.values;X(i)||(n=pe(e));let l={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:Q(r.layer),fieldList:r.layerFieldsInfo};return n=U(l)??n,n??e.id},Fo=o=>o?.showOutliers??!1,Io=o=>{let{newShowOutliers:e,config:i,layerInfo:r,commonStrings:s}=o;if(i.showOutliers=e,fe(i,r,s)){let n=k(i,r,s);C(i,1,n)}},vo=o=>{let{newStandardizeValues:e,config:i,layerInfo:r,commonStrings:s}=o,n=P(1,i),l=k(i,r,s),t=L(i);if(i.standardizeValues=e,n===l||t){let a=k(i,r,s);C(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,r=o.orderOptions?.data&&"orderBy"in o.orderOptions.data?o.orderOptions.data.orderBy:x.Ascending;switch(i){case u.Category:e=Array.isArray(r)?d.customSort:r===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=r===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=r===x.Ascending?d.medianAsc:d.medianDesc;break}return e},Bo=(o,e,i)=>{let r=u.Category,s=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{r=u.Category,s=x.Ascending;break}case d.xAxisDesc:{r=u.Category,s=x.Descending;break}case d.meanAsc:{r=u.Mean,s=x.Ascending;break}case d.meanDesc:{r=u.Mean,s=x.Descending;break}case d.medianAsc:{r=u.Median,s=x.Ascending;break}case d.medianDesc:{r=u.Median,s=x.Descending;break}}e.orderOptions.data={orderType:r,orderBy:s}}},_=o=>o.showMean??!1,Ne=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:r,previousMeanLinesBoxColor:s}=o,n=e?s:ve(i),l=(e??!1)!==(i.showMean??!1);if(i.showMean=e,l){let t;e?t=ae(i.series)?Te(i.series,r):i.series:t=De(i.series),t&&(t=be({formerSeries:i.series,newSeries:t,showMean:e}),i.series=t)}return e&&s!==void 0&&Be(s,i),{previousMeanLinesBoxColor:n}},Mo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},Ao=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},Lo=async(o,e)=>{let i=M(o),r=Z(o)?.type,s=ge(o),n=[];return r===f.CategoryAxisFormat&&(D({fieldName:i,numericFields:s,fieldList:e.layerFieldsInfo})?n=s:G(i)||(n=await ye({layerInfo:e,config:o,category:i}))),n},G=o=>o.trim()===""||o===I,ze=(o,e)=>e.length>1&&!G(o),$e=(o,e,i)=>!ze(o,e)&&i!=="";return{a:go,b:uo,c:So,d:ve,e:Be,f:po,g:Me,h:Ae,i:bo,j:ho,k:M,l:Ce,m:ge,n:xo,o:Ve,p:k,q:he,r:wo,s:Fo,t:Io,u:vo,v:xe,w:Bo,x:_,y:Ne,z:Mo,A:Ao,B:Lo,C:ze,D:$e}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,b,c,e,g)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ var Ka=Array.isArray,d=Ka;function qa(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}var h=qa;var Za=/\s/;function $a(r){for(var e=r.length;e--&&Za.test(r.charAt(e)););return e}var Ce=$a;var Ja=/^\s+/;function ka(r){return r&&r.slice(0,Ce(r)+1).replace(Ja,"")}var we=ka;var Va=typeof global=="object"&&global&&global.Object===Object&&global,Er=Va;var Xa=typeof self=="object"&&self&&self.Object===Object&&self,Ya=Er||Xa||Function("return this")(),y=Ya;var Qa=y.Symbol,_=Qa;var Ie=Object.prototype,rf=Ie.hasOwnProperty,ef=Ie.toString,_r=_?_.toStringTag:void 0;function tf(r){var e=rf.call(r,_r),t=r[_r];try{r[_r]=void 0;var o=!0}catch{}var a=ef.call(r);return o&&(e?r[_r]=t:delete r[_r]),a}var Pe=tf;var of=Object.prototype,af=of.toString;function ff(r){return af.call(r)}var Me=ff;var nf="[object Null]",uf="[object Undefined]",je=_?_.toStringTag:void 0;function pf(r){return r==null?r===void 0?uf:nf:je&&je in Object(r)?Pe(r):Me(r)}var C=pf;function sf(r){return r!=null&&typeof r=="object"}var S=sf;var mf="[object Symbol]";function lf(r){return typeof r=="symbol"||S(r)&&C(r)==mf}var j=lf;var Le=NaN,df=/^[-+]0x[0-9a-f]+$/i,cf=/^0b[01]+$/i,xf=/^0o[0-7]+$/i,gf=parseInt;function bf(r){if(typeof r=="number")return r;if(j(r))return Le;if(h(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=h(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=we(r);var t=cf.test(r);return t||xf.test(r)?gf(r.slice(2),t?2:8):df.test(r)?Le:+r}var Rr=bf;function hf(r,e){for(var t=-1,o=r==null?0:r.length,a=Array(o);++t<o;)a[t]=e(r[t],t,r);return a}var w=hf;var yf=1/0,Ee=_?_.prototype:void 0,Re=Ee?Ee.toString:void 0;function De(r){if(typeof r=="string")return r;if(d(r))return w(r,De)+"";if(j(r))return Re?Re.call(r):"";var e=r+"";return e=="0"&&1/r==-yf?"-0":e}var Fe=De;function Sf(r){return r==null?"":Fe(r)}var M=Sf;function Af(r,e,t){var o=-1,a=r.length;e<0&&(e=-e>a?0:a+e),t=t>a?a:t,t<0&&(t+=a),a=e>t?0:t-e>>>0,e>>>=0;for(var f=Array(a);++o<a;)f[o]=r[o+e];return f}var Be=Af;function Tf(r,e,t){var o=r.length;return t=t===void 0?o:t,!e&&t>=o?r:Be(r,e,t)}var Ne=Tf;var vf="\\ud800-\\udfff",Of="\\u0300-\\u036f",_f="\\ufe20-\\ufe2f",Cf="\\u20d0-\\u20ff",wf=Of+_f+Cf,If="\\ufe0e\\ufe0f",Pf="\\u200d",Mf=RegExp("["+Pf+vf+wf+If+"]");function jf(r){return Mf.test(r)}var Dr=jf;function Lf(r){return r.split("")}var Ue=Lf;var Ge="\\ud800-\\udfff",Ef="\\u0300-\\u036f",Rf="\\ufe20-\\ufe2f",Df="\\u20d0-\\u20ff",Ff=Ef+Rf+Df,Bf="\\ufe0e\\ufe0f",Nf="["+Ge+"]",ge="["+Ff+"]",be="\\ud83c[\\udffb-\\udfff]",Uf="(?:"+ge+"|"+be+")",We="[^"+Ge+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",Gf="\\u200d",Ke=Uf+"?",qe="["+Bf+"]?",Wf="(?:"+Gf+"(?:"+[We,ze,He].join("|")+")"+qe+Ke+")*",zf=qe+Ke+Wf,Hf="(?:"+[We+ge+"?",ge,ze,He,Nf].join("|")+")",Kf=RegExp(be+"(?="+be+")|"+Hf+zf,"g");function qf(r){return r.match(Kf)||[]}var Ze=qf;function Zf(r){return Dr(r)?Ze(r):Ue(r)}var $e=Zf;function $f(r){return function(e){e=M(e);var t=Dr(e)?$e(e):void 0,o=t?t[0]:e.charAt(0),a=t?Ne(t,1).join(""):e.slice(1);return o[r]()+a}}var Je=$f;var Jf=Je("toUpperCase"),ke=Jf;function kf(r){return ke(M(r).toLowerCase())}var he=kf;function Vf(r,e,t,o){var a=-1,f=r==null?0:r.length;for(o&&f&&(t=r[++a]);++a<f;)t=e(t,r[a],a,r);return t}var Ve=Vf;function Xf(r){return function(e){return r?.[e]}}var Xe=Xf;var Yf={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Qf=Xe(Yf),Ye=Qf;var rn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,en="\\u0300-\\u036f",tn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=en+tn+on,fn="["+an+"]",nn=RegExp(fn,"g");function un(r){return r=M(r),r&&r.replace(rn,Ye).replace(nn,"")}var Qe=un;var pn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function sn(r){return r.match(pn)||[]}var rt=sn;var mn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function ln(r){return mn.test(r)}var et=ln;var nt="\\ud800-\\udfff",dn="\\u0300-\\u036f",cn="\\ufe20-\\ufe2f",xn="\\u20d0-\\u20ff",gn=dn+cn+xn,it="\\u2700-\\u27bf",ut="a-z\\xdf-\\xf6\\xf8-\\xff",bn="\\xac\\xb1\\xd7\\xf7",hn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",yn="\\u2000-\\u206f",Sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="A-Z\\xc0-\\xd6\\xd8-\\xde",An="\\ufe0e\\ufe0f",st=bn+hn+yn+Sn,mt="['\u2019]",tt="["+st+"]",Tn="["+gn+"]",lt="\\d+",vn="["+it+"]",dt="["+ut+"]",ct="[^"+nt+st+lt+it+ut+pt+"]",On="\\ud83c[\\udffb-\\udfff]",_n="(?:"+Tn+"|"+On+")",Cn="[^"+nt+"]",xt="(?:\\ud83c[\\udde6-\\uddff]){2}",gt="[\\ud800-\\udbff][\\udc00-\\udfff]",fr="["+pt+"]",wn="\\u200d",ot="(?:"+dt+"|"+ct+")",In="(?:"+fr+"|"+ct+")",at="(?:"+mt+"(?:d|ll|m|re|s|t|ve))?",ft="(?:"+mt+"(?:D|LL|M|RE|S|T|VE))?",bt=_n+"?",ht="["+An+"]?",Pn="(?:"+wn+"(?:"+[Cn,xt,gt].join("|")+")"+ht+bt+")*",Mn="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ln=ht+bt+Pn,En="(?:"+[vn,xt,gt].join("|")+")"+Ln,Rn=RegExp([fr+"?"+dt+"+"+at+"(?="+[tt,fr,"$"].join("|")+")",In+"+"+ft+"(?="+[tt,fr+ot,"$"].join("|")+")",fr+"?"+ot+"+"+at,fr+"+"+ft,jn,Mn,lt,En].join("|"),"g");function Dn(r){return r.match(Rn)||[]}var yt=Dn;function Fn(r,e,t){return r=M(r),e=t?void 0:e,e===void 0?et(r)?yt(r):rt(r):r.match(e)||[]}var St=Fn;var Bn="['\u2019]",Nn=RegExp(Bn,"g");function Un(r){return function(e){return Ve(St(Qe(e).replace(Nn,"")),r,"")}}var At=Un;var Gn=At(function(r,e,t){return e=e.toLowerCase(),r+(t?he(e):e)}),Wn=Gn;function zn(){this.__data__=[],this.size=0}var Tt=zn;function Hn(r,e){return r===e||r!==r&&e!==e}var F=Hn;function Kn(r,e){for(var t=r.length;t--;)if(F(r[t][0],e))return t;return-1}var $=Kn;var qn=Array.prototype,Zn=qn.splice;function $n(r){var e=this.__data__,t=$(e,r);if(t<0)return!1;var o=e.length-1;return t==o?e.pop():Zn.call(e,t,1),--this.size,!0}var vt=$n;function Jn(r){var e=this.__data__,t=$(e,r);return t<0?void 0:e[t][1]}var Ot=Jn;function kn(r){return $(this.__data__,r)>-1}var _t=kn;function Vn(r,e){var t=this.__data__,o=$(t,r);return o<0?(++this.size,t.push([r,e])):t[o][1]=e,this}var Ct=Vn;function nr(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1])}}nr.prototype.clear=Tt;nr.prototype.delete=vt;nr.prototype.get=Ot;nr.prototype.has=_t;nr.prototype.set=Ct;var J=nr;function Xn(){this.__data__=new J,this.size=0}var wt=Xn;function Yn(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}var It=Yn;function Qn(r){return this.__data__.get(r)}var Pt=Qn;function ri(r){return this.__data__.has(r)}var Mt=ri;var ei="[object AsyncFunction]",ti="[object Function]",oi="[object GeneratorFunction]",ai="[object Proxy]";function fi(r){if(!h(r))return!1;var e=C(r);return e==ti||e==oi||e==ei||e==ai}var ir=fi;var ni=y["__core-js_shared__"],Fr=ni;var jt=(function(){var r=/[^.]+$/.exec(Fr&&Fr.keys&&Fr.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function ii(r){return!!jt&&jt in r}var Lt=ii;var ui=Function.prototype,pi=ui.toString;function si(r){if(r!=null){try{return pi.call(r)}catch{}try{return r+""}catch{}}return""}var z=si;var mi=/[\\^$.*+?()[\]{}|]/g,li=/^\[object .+?Constructor\]$/,di=Function.prototype,ci=Object.prototype,xi=di.toString,gi=ci.hasOwnProperty,bi=RegExp("^"+xi.call(gi).replace(mi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hi(r){if(!h(r)||Lt(r))return!1;var e=ir(r)?bi:li;return e.test(z(r))}var Et=hi;function yi(r,e){return r?.[e]}var Rt=yi;function Si(r,e){var t=Rt(r,e);return Et(t)?t:void 0}var I=Si;var Ai=I(y,"Map"),k=Ai;var Ti=I(Object,"create"),H=Ti;function vi(){this.__data__=H?H(null):{},this.size=0}var Dt=vi;function Oi(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var Ft=Oi;var _i="__lodash_hash_undefined__",Ci=Object.prototype,wi=Ci.hasOwnProperty;function Ii(r){var e=this.__data__;if(H){var t=e[r];return t===_i?void 0:t}return wi.call(e,r)?e[r]:void 0}var Bt=Ii;var Pi=Object.prototype,Mi=Pi.hasOwnProperty;function ji(r){var e=this.__data__;return H?e[r]!==void 0:Mi.call(e,r)}var Nt=ji;var Li="__lodash_hash_undefined__";function Ei(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=H&&e===void 0?Li:e,this}var Ut=Ei;function ur(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1])}}ur.prototype.clear=Dt;ur.prototype.delete=Ft;ur.prototype.get=Bt;ur.prototype.has=Nt;ur.prototype.set=Ut;var ye=ur;function Ri(){this.size=0,this.__data__={hash:new ye,map:new(k||J),string:new ye}}var Gt=Ri;function Di(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}var Wt=Di;function Fi(r,e){var t=r.__data__;return Wt(e)?t[typeof e=="string"?"string":"hash"]:t.map}var V=Fi;function Bi(r){var e=V(this,r).delete(r);return this.size-=e?1:0,e}var zt=Bi;function Ni(r){return V(this,r).get(r)}var Ht=Ni;function Ui(r){return V(this,r).has(r)}var Kt=Ui;function Gi(r,e){var t=V(this,r),o=t.size;return t.set(r,e),this.size+=t.size==o?0:1,this}var qt=Gi;function pr(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1])}}pr.prototype.clear=Gt;pr.prototype.delete=zt;pr.prototype.get=Ht;pr.prototype.has=Kt;pr.prototype.set=qt;var tr=pr;var Wi=200;function zi(r,e){var t=this.__data__;if(t instanceof J){var o=t.__data__;if(!k||o.length<Wi-1)return o.push([r,e]),this.size=++t.size,this;t=this.__data__=new tr(o)}return t.set(r,e),this.size=t.size,this}var Zt=zi;function sr(r){var e=this.__data__=new J(r);this.size=e.size}sr.prototype.clear=wt;sr.prototype.delete=It;sr.prototype.get=Pt;sr.prototype.has=Mt;sr.prototype.set=Zt;var B=sr;function Hi(r,e){for(var t=-1,o=r==null?0:r.length;++t<o&&e(r[t],t,r)!==!1;);return r}var $t=Hi;var Ki=(function(){try{var r=I(Object,"defineProperty");return r({},"",{}),r}catch{}})(),mr=Ki;function qi(r,e,t){e=="__proto__"&&mr?mr(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}var lr=qi;var Zi=Object.prototype,$i=Zi.hasOwnProperty;function Ji(r,e,t){var o=r[e];(!($i.call(r,e)&&F(o,t))||t===void 0&&!(e in r))&&lr(r,e,t)}var Br=Ji;function ki(r,e,t,o){var a=!t;t||(t={});for(var f=-1,n=e.length;++f<n;){var i=e[f],u=o?o(t[i],r[i],i,t,r):void 0;u===void 0&&(u=r[i]),a?lr(t,i,u):Br(t,i,u)}return t}var N=ki;function Vi(r,e){for(var t=-1,o=Array(r);++t<r;)o[t]=e(t);return o}var Nr=Vi;var Xi="[object Arguments]";function Yi(r){return S(r)&&C(r)==Xi}var Se=Yi;var Jt=Object.prototype,Qi=Jt.hasOwnProperty,ru=Jt.propertyIsEnumerable,eu=Se((function(){return arguments})())?Se:function(r){return S(r)&&Qi.call(r,"callee")&&!ru.call(r,"callee")},L=eu;function tu(){return!1}var kt=tu;var Yt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vt=Yt&&typeof module=="object"&&module&&!module.nodeType&&module,ou=Vt&&Vt.exports===Yt,Xt=ou?y.Buffer:void 0,au=Xt?Xt.isBuffer:void 0,fu=au||kt,E=fu;var nu=9007199254740991,iu=/^(?:0|[1-9]\d*)$/;function uu(r,e){var t=typeof r;return e=e??nu,!!e&&(t=="number"||t!="symbol"&&iu.test(r))&&r>-1&&r%1==0&&r<e}var dr=uu;var pu=9007199254740991;function su(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=pu}var cr=su;var mu="[object Arguments]",lu="[object Array]",du="[object Boolean]",cu="[object Date]",xu="[object Error]",gu="[object Function]",bu="[object Map]",hu="[object Number]",yu="[object Object]",Su="[object RegExp]",Au="[object Set]",Tu="[object String]",vu="[object WeakMap]",Ou="[object ArrayBuffer]",_u="[object DataView]",Cu="[object Float32Array]",wu="[object Float64Array]",Iu="[object Int8Array]",Pu="[object Int16Array]",Mu="[object Int32Array]",ju="[object Uint8Array]",Lu="[object Uint8ClampedArray]",Eu="[object Uint16Array]",Ru="[object Uint32Array]",b={};b[Cu]=b[wu]=b[Iu]=b[Pu]=b[Mu]=b[ju]=b[Lu]=b[Eu]=b[Ru]=!0;b[mu]=b[lu]=b[Ou]=b[du]=b[_u]=b[cu]=b[xu]=b[gu]=b[bu]=b[hu]=b[yu]=b[Su]=b[Au]=b[Tu]=b[vu]=!1;function Du(r){return S(r)&&cr(r.length)&&!!b[C(r)]}var Qt=Du;function Fu(r){return function(e){return r(e)}}var U=Fu;var ro=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Cr=ro&&typeof module=="object"&&module&&!module.nodeType&&module,Bu=Cr&&Cr.exports===ro,Ae=Bu&&Er.process,Nu=(function(){try{var r=Cr&&Cr.require&&Cr.require("util").types;return r||Ae&&Ae.binding&&Ae.binding("util")}catch{}})(),K=Nu;var eo=K&&K.isTypedArray,Uu=eo?U(eo):Qt,X=Uu;var Gu=Object.prototype,Wu=Gu.hasOwnProperty;function zu(r,e){var t=d(r),o=!t&&L(r),a=!t&&!o&&E(r),f=!t&&!o&&!a&&X(r),n=t||o||a||f,i=n?Nr(r.length,String):[],u=i.length;for(var p in r)(e||Wu.call(r,p))&&!(n&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||dr(p,u)))&&i.push(p);return i}var Ur=zu;var Hu=Object.prototype;function Ku(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||Hu;return r===t}var Y=Ku;function qu(r,e){return function(t){return r(e(t))}}var Gr=qu;var Zu=Gr(Object.keys,Object),to=Zu;var $u=Object.prototype,Ju=$u.hasOwnProperty;function ku(r){if(!Y(r))return to(r);var e=[];for(var t in Object(r))Ju.call(r,t)&&t!="constructor"&&e.push(t);return e}var Wr=ku;function Vu(r){return r!=null&&cr(r.length)&&!ir(r)}var P=Vu;function Xu(r){return P(r)?Ur(r):Wr(r)}var G=Xu;function Yu(r,e){return r&&N(e,G(e),r)}var oo=Yu;function Qu(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var ao=Qu;var rp=Object.prototype,ep=rp.hasOwnProperty;function tp(r){if(!h(r))return ao(r);var e=Y(r),t=[];for(var o in r)o=="constructor"&&(e||!ep.call(r,o))||t.push(o);return t}var fo=tp;function op(r){return P(r)?Ur(r,!0):fo(r)}var W=op;function ap(r,e){return r&&N(e,W(e),r)}var no=ap;var so=typeof exports=="object"&&exports&&!exports.nodeType&&exports,io=so&&typeof module=="object"&&module&&!module.nodeType&&module,fp=io&&io.exports===so,uo=fp?y.Buffer:void 0,po=uo?uo.allocUnsafe:void 0;function np(r,e){if(e)return r.slice();var t=r.length,o=po?po(t):new r.constructor(t);return r.copy(o),o}var zr=np;function ip(r,e){var t=-1,o=r.length;for(e||(e=Array(o));++t<o;)e[t]=r[t];return e}var Hr=ip;function up(r,e){for(var t=-1,o=r==null?0:r.length,a=0,f=[];++t<o;){var n=r[t];e(n,t,r)&&(f[a++]=n)}return f}var Kr=up;function pp(){return[]}var qr=pp;var sp=Object.prototype,mp=sp.propertyIsEnumerable,mo=Object.getOwnPropertySymbols,lp=mo?function(r){return r==null?[]:(r=Object(r),Kr(mo(r),function(e){return mp.call(r,e)}))}:qr,xr=lp;function dp(r,e){return N(r,xr(r),e)}var lo=dp;function cp(r,e){for(var t=-1,o=e.length,a=r.length;++t<o;)r[a+t]=e[t];return r}var gr=cp;var xp=Gr(Object.getPrototypeOf,Object),br=xp;var gp=Object.getOwnPropertySymbols,bp=gp?function(r){for(var e=[];r;)gr(e,xr(r)),r=br(r);return e}:qr,Zr=bp;function hp(r,e){return N(r,Zr(r),e)}var co=hp;function yp(r,e,t){var o=e(r);return d(r)?o:gr(o,t(r))}var $r=yp;function Sp(r){return $r(r,G,xr)}var wr=Sp;function Ap(r){return $r(r,W,Zr)}var xo=Ap;var Tp=I(y,"DataView"),Jr=Tp;var vp=I(y,"Promise"),kr=vp;var Op=I(y,"Set"),Vr=Op;var _p=I(y,"WeakMap"),Xr=_p;var go="[object Map]",Cp="[object Object]",bo="[object Promise]",ho="[object Set]",yo="[object WeakMap]",So="[object DataView]",wp=z(Jr),Ip=z(k),Pp=z(kr),Mp=z(Vr),jp=z(Xr),or=C;(Jr&&or(new Jr(new ArrayBuffer(1)))!=So||k&&or(new k)!=go||kr&&or(kr.resolve())!=bo||Vr&&or(new Vr)!=ho||Xr&&or(new Xr)!=yo)&&(or=function(r){var e=C(r),t=e==Cp?r.constructor:void 0,o=t?z(t):"";if(o)switch(o){case wp:return So;case Ip:return go;case Pp:return bo;case Mp:return ho;case jp:return yo}return e});var R=or;var Lp=Object.prototype,Ep=Lp.hasOwnProperty;function Rp(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&Ep.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Ao=Rp;var Dp=y.Uint8Array,hr=Dp;function Fp(r){var e=new r.constructor(r.byteLength);return new hr(e).set(new hr(r)),e}var yr=Fp;function Bp(r,e){var t=e?yr(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var To=Bp;var Np=/\w*$/;function Up(r){var e=new r.constructor(r.source,Np.exec(r));return e.lastIndex=r.lastIndex,e}var vo=Up;var Oo=_?_.prototype:void 0,_o=Oo?Oo.valueOf:void 0;function Gp(r){return _o?Object(_o.call(r)):{}}var Co=Gp;function Wp(r,e){var t=e?yr(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var Yr=Wp;var zp="[object Boolean]",Hp="[object Date]",Kp="[object Map]",qp="[object Number]",Zp="[object RegExp]",$p="[object Set]",Jp="[object String]",kp="[object Symbol]",Vp="[object ArrayBuffer]",Xp="[object DataView]",Yp="[object Float32Array]",Qp="[object Float64Array]",rs="[object Int8Array]",es="[object Int16Array]",ts="[object Int32Array]",os="[object Uint8Array]",as="[object Uint8ClampedArray]",fs="[object Uint16Array]",ns="[object Uint32Array]";function is(r,e,t){var o=r.constructor;switch(e){case Vp:return yr(r);case zp:case Hp:return new o(+r);case Xp:return To(r,t);case Yp:case Qp:case rs:case es:case ts:case os:case as:case fs:case ns:return Yr(r,t);case Kp:return new o;case qp:case Jp:return new o(r);case Zp:return vo(r);case $p:return new o;case kp:return Co(r)}}var wo=is;var Io=Object.create,us=(function(){function r(){}return function(e){if(!h(e))return{};if(Io)return Io(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}})(),Po=us;function ps(r){return typeof r.constructor=="function"&&!Y(r)?Po(br(r)):{}}var Qr=ps;var ss="[object Map]";function ms(r){return S(r)&&R(r)==ss}var Mo=ms;var jo=K&&K.isMap,ls=jo?U(jo):Mo,Lo=ls;var ds="[object Set]";function cs(r){return S(r)&&R(r)==ds}var Eo=cs;var Ro=K&&K.isSet,xs=Ro?U(Ro):Eo,Do=xs;var gs=1,bs=2,hs=4,Fo="[object Arguments]",ys="[object Array]",Ss="[object Boolean]",As="[object Date]",Ts="[object Error]",Bo="[object Function]",vs="[object GeneratorFunction]",Os="[object Map]",_s="[object Number]",No="[object Object]",Cs="[object RegExp]",ws="[object Set]",Is="[object String]",Ps="[object Symbol]",Ms="[object WeakMap]",js="[object ArrayBuffer]",Ls="[object DataView]",Es="[object Float32Array]",Rs="[object Float64Array]",Ds="[object Int8Array]",Fs="[object Int16Array]",Bs="[object Int32Array]",Ns="[object Uint8Array]",Us="[object Uint8ClampedArray]",Gs="[object Uint16Array]",Ws="[object Uint32Array]",x={};x[Fo]=x[ys]=x[js]=x[Ls]=x[Ss]=x[As]=x[Es]=x[Rs]=x[Ds]=x[Fs]=x[Bs]=x[Os]=x[_s]=x[No]=x[Cs]=x[ws]=x[Is]=x[Ps]=x[Ns]=x[Us]=x[Gs]=x[Ws]=!0;x[Ts]=x[Bo]=x[Ms]=!1;function re(r,e,t,o,a,f){var n,i=e&gs,u=e&bs,p=e&hs;if(t&&(n=a?t(r,o,a,f):t(r)),n!==void 0)return n;if(!h(r))return r;var s=d(r);if(s){if(n=Ao(r),!i)return Hr(r,n)}else{var m=R(r),l=m==Bo||m==vs;if(E(r))return zr(r,i);if(m==No||m==Fo||l&&!a){if(n=u||l?{}:Qr(r),!i)return u?co(r,no(n,r)):lo(r,oo(n,r))}else{if(!x[m])return a?r:{};n=wo(r,m,i)}}f||(f=new B);var c=f.get(r);if(c)return c;f.set(r,n),Do(r)?r.forEach(function(A){n.add(re(A,e,t,A,r,f))}):Lo(r)&&r.forEach(function(A,T){n.set(T,re(A,e,t,T,r,f))});var g=p?u?xo:wr:u?W:G,v=s?void 0:g(r);return $t(v||r,function(A,T){v&&(T=A,A=r[T]),Br(n,T,re(A,e,t,T,r,f))}),n}var Uo=re;var zs=1,Hs=4;function Ks(r){return Uo(r,zs|Hs)}var qs=Ks;var Zs=function(){return y.Date.now()},ee=Zs;var $s="Expected a function",Js=Math.max,ks=Math.min;function Vs(r,e,t){var o,a,f,n,i,u,p=0,s=!1,m=!1,l=!0;if(typeof r!="function")throw new TypeError($s);e=Rr(e)||0,h(t)&&(s=!!t.leading,m="maxWait"in t,f=m?Js(Rr(t.maxWait)||0,e):f,l="trailing"in t?!!t.trailing:l);function c(O){var Z=o,Or=a;return o=a=void 0,p=O,n=r.apply(Or,Z),n}function g(O){return p=O,i=setTimeout(T,e),s?c(O):n}function v(O){var Z=O-u,Or=O-p,_e=e-Z;return m?ks(_e,f-Or):_e}function A(O){var Z=O-u,Or=O-p;return u===void 0||Z>=e||Z<0||m&&Or>=f}function T(){var O=ee();if(A(O))return D(O);i=setTimeout(T,v(O))}function D(O){return i=void 0,l&&o?c(O):(o=a=void 0,n)}function Lr(){i!==void 0&&clearTimeout(i),p=0,o=u=a=i=void 0}function ar(){return i===void 0?n:D(ee())}function q(){var O=ee(),Z=A(O);if(o=arguments,a=this,u=O,Z){if(i===void 0)return g(u);if(m)return clearTimeout(i),i=setTimeout(T,e),c(u)}return i===void 0&&(i=setTimeout(T,e)),n}return q.cancel=Lr,q.flush=ar,q}var Xs=Vs;function Ys(r,e,t){(t!==void 0&&!F(r[e],t)||t===void 0&&!(e in r))&&lr(r,e,t)}var Ir=Ys;function Qs(r){return function(e,t,o){for(var a=-1,f=Object(e),n=o(e),i=n.length;i--;){var u=n[r?i:++a];if(t(f[u],u,f)===!1)break}return e}}var Go=Qs;var rm=Go(),te=rm;function em(r){return S(r)&&P(r)}var Sr=em;var tm="[object Object]",om=Function.prototype,am=Object.prototype,Wo=om.toString,fm=am.hasOwnProperty,nm=Wo.call(Object);function im(r){if(!S(r)||C(r)!=tm)return!1;var e=br(r);if(e===null)return!0;var t=fm.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&Wo.call(t)==nm}var zo=im;function um(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}var Pr=um;function pm(r){return N(r,W(r))}var Ho=pm;function sm(r,e,t,o,a,f,n){var i=Pr(r,t),u=Pr(e,t),p=n.get(u);if(p){Ir(r,t,p);return}var s=f?f(i,u,t+"",r,e,n):void 0,m=s===void 0;if(m){var l=d(u),c=!l&&E(u),g=!l&&!c&&X(u);s=u,l||c||g?d(i)?s=i:Sr(i)?s=Hr(i):c?(m=!1,s=zr(u,!0)):g?(m=!1,s=Yr(u,!0)):s=[]:zo(u)||L(u)?(s=i,L(i)?s=Ho(i):(!h(i)||ir(i))&&(s=Qr(u))):m=!1}m&&(n.set(u,s),a(s,u,o,f,n),n.delete(u)),Ir(r,t,s)}var Ko=sm;function qo(r,e,t,o,a){r!==e&&te(e,function(f,n){if(a||(a=new B),h(f))Ko(r,e,n,t,qo,o,a);else{var i=o?o(Pr(r,n),f,n+"",r,e,a):void 0;i===void 0&&(i=f),Ir(r,n,i)}},W)}var oe=qo;function mm(r){return r}var Q=mm;function lm(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}var Zo=lm;var $o=Math.max;function dm(r,e,t){return e=$o(e===void 0?r.length-1:e,0),function(){for(var o=arguments,a=-1,f=$o(o.length-e,0),n=Array(f);++a<f;)n[a]=o[e+a];a=-1;for(var i=Array(e+1);++a<e;)i[a]=o[a];return i[e]=t(n),Zo(r,this,i)}}var Jo=dm;function cm(r){return function(){return r}}var ko=cm;var xm=mr?function(r,e){return mr(r,"toString",{configurable:!0,enumerable:!1,value:ko(e),writable:!0})}:Q,Vo=xm;var gm=800,bm=16,hm=Date.now;function ym(r){var e=0,t=0;return function(){var o=hm(),a=bm-(o-t);if(t=o,a>0){if(++e>=gm)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}var Xo=ym;var Sm=Xo(Vo),Yo=Sm;function Am(r,e){return Yo(Jo(r,e,Q),r+"")}var rr=Am;function Tm(r,e,t){if(!h(t))return!1;var o=typeof e;return(o=="number"?P(t)&&dr(e,t.length):o=="string"&&e in t)?F(t[e],r):!1}var Mr=Tm;function vm(r){return rr(function(e,t){var o=-1,a=t.length,f=a>1?t[a-1]:void 0,n=a>2?t[2]:void 0;for(f=r.length>3&&typeof f=="function"?(a--,f):void 0,n&&Mr(t[0],t[1],n)&&(f=a<3?void 0:f,a=1),e=Object(e);++o<a;){var i=t[o];i&&r(e,i,o,f)}return e})}var ae=vm;var Om=ae(function(r,e,t,o){oe(r,e,t,o)}),_m=Om;var Cm="[object Map]",wm="[object Set]",Im=Object.prototype,Pm=Im.hasOwnProperty;function Mm(r){if(r==null)return!0;if(P(r)&&(d(r)||typeof r=="string"||typeof r.splice=="function"||E(r)||X(r)||L(r)))return!r.length;var e=R(r);if(e==Cm||e==wm)return!r.size;if(Y(r))return!Wr(r).length;for(var t in r)if(Pm.call(r,t))return!1;return!0}var jm=Mm;var Lm="__lodash_hash_undefined__";function Em(r){return this.__data__.set(r,Lm),this}var Qo=Em;function Rm(r){return this.__data__.has(r)}var ra=Rm;function fe(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new tr;++e<t;)this.add(r[e])}fe.prototype.add=fe.prototype.push=Qo;fe.prototype.has=ra;var ne=fe;function Dm(r,e){for(var t=-1,o=r==null?0:r.length;++t<o;)if(e(r[t],t,r))return!0;return!1}var ea=Dm;function Fm(r,e){return r.has(e)}var jr=Fm;var Bm=1,Nm=2;function Um(r,e,t,o,a,f){var n=t&Bm,i=r.length,u=e.length;if(i!=u&&!(n&&u>i))return!1;var p=f.get(r),s=f.get(e);if(p&&s)return p==e&&s==r;var m=-1,l=!0,c=t&Nm?new ne:void 0;for(f.set(r,e),f.set(e,r);++m<i;){var g=r[m],v=e[m];if(o)var A=n?o(v,g,m,e,r,f):o(g,v,m,r,e,f);if(A!==void 0){if(A)continue;l=!1;break}if(c){if(!ea(e,function(T,D){if(!jr(c,D)&&(g===T||a(g,T,t,o,f)))return c.push(D)})){l=!1;break}}else if(!(g===v||a(g,v,t,o,f))){l=!1;break}}return f.delete(r),f.delete(e),l}var ie=Um;function Gm(r){var e=-1,t=Array(r.size);return r.forEach(function(o,a){t[++e]=[a,o]}),t}var ta=Gm;function Wm(r){var e=-1,t=Array(r.size);return r.forEach(function(o){t[++e]=o}),t}var oa=Wm;var zm=1,Hm=2,Km="[object Boolean]",qm="[object Date]",Zm="[object Error]",$m="[object Map]",Jm="[object Number]",km="[object RegExp]",Vm="[object Set]",Xm="[object String]",Ym="[object Symbol]",Qm="[object ArrayBuffer]",rl="[object DataView]",aa=_?_.prototype:void 0,Te=aa?aa.valueOf:void 0;function el(r,e,t,o,a,f,n){switch(t){case rl:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Qm:return!(r.byteLength!=e.byteLength||!f(new hr(r),new hr(e)));case Km:case qm:case Jm:return F(+r,+e);case Zm:return r.name==e.name&&r.message==e.message;case km:case Xm:return r==e+"";case $m:var i=ta;case Vm:var u=o&zm;if(i||(i=oa),r.size!=e.size&&!u)return!1;var p=n.get(r);if(p)return p==e;o|=Hm,n.set(r,e);var s=ie(i(r),i(e),o,a,f,n);return n.delete(r),s;case Ym:if(Te)return Te.call(r)==Te.call(e)}return!1}var fa=el;var tl=1,ol=Object.prototype,al=ol.hasOwnProperty;function fl(r,e,t,o,a,f){var n=t&tl,i=wr(r),u=i.length,p=wr(e),s=p.length;if(u!=s&&!n)return!1;for(var m=u;m--;){var l=i[m];if(!(n?l in e:al.call(e,l)))return!1}var c=f.get(r),g=f.get(e);if(c&&g)return c==e&&g==r;var v=!0;f.set(r,e),f.set(e,r);for(var A=n;++m<u;){l=i[m];var T=r[l],D=e[l];if(o)var Lr=n?o(D,T,l,e,r,f):o(T,D,l,r,e,f);if(!(Lr===void 0?T===D||a(T,D,t,o,f):Lr)){v=!1;break}A||(A=l=="constructor")}if(v&&!A){var ar=r.constructor,q=e.constructor;ar!=q&&"constructor"in r&&"constructor"in e&&!(typeof ar=="function"&&ar instanceof ar&&typeof q=="function"&&q instanceof q)&&(v=!1)}return f.delete(r),f.delete(e),v}var na=fl;var nl=1,ia="[object Arguments]",ua="[object Array]",ue="[object Object]",il=Object.prototype,pa=il.hasOwnProperty;function ul(r,e,t,o,a,f){var n=d(r),i=d(e),u=n?ua:R(r),p=i?ua:R(e);u=u==ia?ue:u,p=p==ia?ue:p;var s=u==ue,m=p==ue,l=u==p;if(l&&E(r)){if(!E(e))return!1;n=!0,s=!1}if(l&&!s)return f||(f=new B),n||X(r)?ie(r,e,t,o,a,f):fa(r,e,u,t,o,a,f);if(!(t&nl)){var c=s&&pa.call(r,"__wrapped__"),g=m&&pa.call(e,"__wrapped__");if(c||g){var v=c?r.value():r,A=g?e.value():e;return f||(f=new B),a(v,A,t,o,f)}}return l?(f||(f=new B),na(r,e,t,o,a,f)):!1}var sa=ul;function ma(r,e,t,o,a){return r===e?!0:r==null||e==null||!S(r)&&!S(e)?r!==r&&e!==e:sa(r,e,t,o,ma,a)}var Ar=ma;function pl(r,e){return Ar(r,e)}var sl=pl;var ml=ae(function(r,e,t){oe(r,e,t)}),ll=ml;var dl=/^\s+/,cl=y.parseInt;function xl(r,e,t){return t||e==null?e=0:e&&(e=+e),cl(M(r).replace(dl,""),e||0)}var gl=xl;function bl(r,e,t,o){for(var a=r.length,f=t+(o?1:-1);o?f--:++f<a;)if(e(r[f],f,r))return f;return-1}var la=bl;function hl(r){return r!==r}var da=hl;function yl(r,e,t){for(var o=t-1,a=r.length;++o<a;)if(r[o]===e)return o;return-1}var ca=yl;function Sl(r,e,t){return e===e?ca(r,e,t):la(r,da,t)}var xa=Sl;function Al(r,e){var t=r==null?0:r.length;return!!t&&xa(r,e,0)>-1}var ga=Al;var Tl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vl=/^\w*$/;function Ol(r,e){if(d(r))return!1;var t=typeof r;return t=="number"||t=="symbol"||t=="boolean"||r==null||j(r)?!0:vl.test(r)||!Tl.test(r)||e!=null&&r in Object(e)}var Tr=Ol;var _l="Expected a function";function ve(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(_l);var t=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=t.cache;if(f.has(a))return f.get(a);var n=r.apply(this,o);return t.cache=f.set(a,n)||f,n};return t.cache=new(ve.Cache||tr),t}ve.Cache=tr;var Oe=ve;var Cl=500;function wl(r){var e=Oe(r,function(o){return t.size===Cl&&t.clear(),o}),t=e.cache;return e}var ba=wl;var Il=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pl=/\\(\\)?/g,Ml=ba(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(Il,function(t,o,a,f){e.push(a?f.replace(Pl,"$1"):o||t)}),e}),ha=Ml;function jl(r,e){return d(r)?r:Tr(r,e)?[r]:ha(M(r))}var pe=jl;var Ll=1/0;function El(r){if(typeof r=="string"||j(r))return r;var e=r+"";return e=="0"&&1/r==-Ll?"-0":e}var er=El;function Rl(r,e){e=pe(e,r);for(var t=0,o=e.length;r!=null&&t<o;)r=r[er(e[t++])];return t&&t==o?r:void 0}var vr=Rl;function Dl(r,e,t){var o=r==null?void 0:vr(r,e);return o===void 0?t:o}var ya=Dl;var Sa=_?_.isConcatSpreadable:void 0;function Fl(r){return d(r)||L(r)||!!(Sa&&r&&r[Sa])}var Aa=Fl;function Ta(r,e,t,o,a){var f=-1,n=r.length;for(t||(t=Aa),a||(a=[]);++f<n;){var i=r[f];e>0&&t(i)?e>1?Ta(i,e-1,t,o,a):gr(a,i):o||(a[a.length]=i)}return a}var se=Ta;function Bl(r){for(var e=-1,t=r==null?0:r.length,o=0,a=[];++e<t;){var f=r[e];f&&(a[o++]=f)}return a}var Nl=Bl;var Ul=1,Gl=2;function Wl(r,e,t,o){var a=t.length,f=a,n=!o;if(r==null)return!f;for(r=Object(r);a--;){var i=t[a];if(n&&i[2]?i[1]!==r[i[0]]:!(i[0]in r))return!1}for(;++a<f;){i=t[a];var u=i[0],p=r[u],s=i[1];if(n&&i[2]){if(p===void 0&&!(u in r))return!1}else{var m=new B;if(o)var l=o(p,s,u,r,e,m);if(!(l===void 0?Ar(s,p,Ul|Gl,o,m):l))return!1}}return!0}var va=Wl;function zl(r){return r===r&&!h(r)}var me=zl;function Hl(r){for(var e=G(r),t=e.length;t--;){var o=e[t],a=r[o];e[t]=[o,a,me(a)]}return e}var Oa=Hl;function Kl(r,e){return function(t){return t==null?!1:t[r]===e&&(e!==void 0||r in Object(t))}}var le=Kl;function ql(r){var e=Oa(r);return e.length==1&&e[0][2]?le(e[0][0],e[0][1]):function(t){return t===r||va(t,r,e)}}var _a=ql;function Zl(r,e){return r!=null&&e in Object(r)}var Ca=Zl;function $l(r,e,t){e=pe(e,r);for(var o=-1,a=e.length,f=!1;++o<a;){var n=er(e[o]);if(!(f=r!=null&&t(r,n)))break;r=r[n]}return f||++o!=a?f:(a=r==null?0:r.length,!!a&&cr(a)&&dr(n,a)&&(d(r)||L(r)))}var wa=$l;function Jl(r,e){return r!=null&&wa(r,e,Ca)}var Ia=Jl;var kl=1,Vl=2;function Xl(r,e){return Tr(r)&&me(e)?le(er(r),e):function(t){var o=ya(t,r);return o===void 0&&o===e?Ia(t,r):Ar(e,o,kl|Vl)}}var Pa=Xl;function Yl(r){return function(e){return e?.[r]}}var de=Yl;function Ql(r){return function(e){return vr(e,r)}}var Ma=Ql;function rd(r){return Tr(r)?de(er(r)):Ma(r)}var ja=rd;function ed(r){return typeof r=="function"?r:r==null?Q:typeof r=="object"?d(r)?Pa(r[0],r[1]):_a(r):ja(r)}var ce=ed;function td(r,e){return r&&te(r,e,G)}var La=td;function od(r,e){return function(t,o){if(t==null)return t;if(!P(t))return r(t,o);for(var a=t.length,f=e?a:-1,n=Object(t);(e?f--:++f<a)&&o(n[f],f,n)!==!1;);return t}}var Ea=od;var ad=Ea(La),Ra=ad;function fd(r,e,t){for(var o=-1,a=r==null?0:r.length;++o<a;)if(t(e,r[o]))return!0;return!1}var Da=fd;function nd(r,e){var t=-1,o=P(r)?Array(r.length):[];return Ra(r,function(a,f,n){o[++t]=e(a,f,n)}),o}var xe=nd;function id(r,e){var t=d(r)?w:xe;return t(r,ce(e,3))}var Fa=id;function ud(r,e){return se(Fa(r,e),1)}var pd=ud;var sd=Math.min;function md(r,e,t){for(var o=t?Da:ga,a=r[0].length,f=r.length,n=f,i=Array(f),u=1/0,p=[];n--;){var s=r[n];n&&e&&(s=w(s,U(e))),u=sd(s.length,u),i[n]=!t&&(e||a>=120&&s.length>=120)?new ne(n&&s):void 0}s=r[0];var m=-1,l=i[0];r:for(;++m<a&&p.length<u;){var c=s[m],g=e?e(c):c;if(c=t||c!==0?c:0,!(l?jr(l,g):o(p,g,t))){for(n=f;--n;){var v=i[n];if(!(v?jr(v,g):o(r[n],g,t)))continue r}l&&l.push(g),p.push(c)}}return p}var Ba=md;function ld(r){return Sr(r)?r:[]}var Na=ld;var dd=rr(function(r){var e=w(r,Na);return e.length&&e[0]===r[0]?Ba(e):[]}),cd=dd;var xd="[object Number]";function gd(r){return typeof r=="number"||S(r)&&C(r)==xd}var bd=gd;function hd(r){return r==null}var yd=hd;function Sd(r){return r===null}var Ad=Sd;function Td(r,e){var t=r.length;for(r.sort(e);t--;)r[t]=r[t].value;return r}var Ua=Td;function vd(r,e){if(r!==e){var t=r!==void 0,o=r===null,a=r===r,f=j(r),n=e!==void 0,i=e===null,u=e===e,p=j(e);if(!i&&!p&&!f&&r>e||f&&n&&u&&!i&&!p||o&&n&&u||!t&&u||!a)return 1;if(!o&&!f&&!p&&r<e||p&&t&&a&&!o&&!f||i&&t&&a||!n&&a||!u)return-1}return 0}var Ga=vd;function Od(r,e,t){for(var o=-1,a=r.criteria,f=e.criteria,n=a.length,i=t.length;++o<n;){var u=Ga(a[o],f[o]);if(u){if(o>=i)return u;var p=t[o];return u*(p=="desc"?-1:1)}}return r.index-e.index}var Wa=Od;function _d(r,e,t){e.length?e=w(e,function(f){return d(f)?function(n){return vr(n,f.length===1?f[0]:f)}:f}):e=[Q];var o=-1;e=w(e,U(ce));var a=xe(r,function(f,n,i){var u=w(e,function(p){return p(f)});return{criteria:u,index:++o,value:f}});return Ua(a,function(f,n){return Wa(f,n,t)})}var za=_d;var Cd=rr(function(r,e){if(r==null)return[];var t=e.length;return t>1&&Mr(r,e[0],e[1])?e=[]:t>2&&Mr(e[0],e[1],e[2])&&(e=[e[0]]),za(r,se(e,1),[])}),wd=Cd;var Id=Math.max;function Pd(r){if(!(r&&r.length))return[];var e=0;return r=Kr(r,function(t){if(Sr(t))return e=Id(t.length,e),!0}),Nr(e,function(t){return w(r,de(t))})}var Ha=Pd;var Md=rr(Ha),jd=Md;var Uv={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},Gv={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},Wv={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},zv={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},Hv={Left:"left",Right:"right",Center:"center",Justify:"justify"},Kv={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},qv={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},Zv={Italic:"italic",Normal:"normal",Oblique:"oblique"},$v={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},Jv={LineThrough:"line-through",Underline:"underline",None:"none"},kv={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Vv={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};export{d as a,h as b,Rr as c,Oe as d,he as e,Wn as f,qs as g,Nl as h,Xs as i,_m as j,pd as k,cd as l,jm as m,sl as n,bd as o,yd as p,Ad as q,ll as r,gl as s,wd as t,jd as u,Uv as v,Gv as w,Wv as x,zv as y,Hv as z,Kv as A,qv as B,Zv as C,$v as D,Jv as E,kv as F,Vv as G};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./WI7OSEXJ.js";import b from"./YP55GB27.js";import a from"./F7EELFJY.js";import{j as s}from"./EZM4ZDQI.js";export default $arcgis.t(([{q:f},{c:a},{c:g,d:c,e:d}])=>{var u=Object.defineProperty,x=Object.getOwnPropertyDescriptor,m=(r,e,o,G)=>{for(var t=x(e,o),n=r.length-1,p;n>=0;n--)(p=r[n])&&(t=p(e,o,t)||t);return t&&u(e,o,t),t},i=class extends d{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,o){g({config:this._config,name:e,index:o,orientation:s.X})}deleteXAxisGuide(e){c({config:this._config,index:e,orientation:s.X})}};m([a],i.prototype,"addXAxisGuide");m([a],i.prototype,"deleteXAxisGuide");var h=[d];f(i,h);return i},a,b,c)
2
+ import c from"./WHQ6EWYY.js";import b from"./F7YBMSC7.js";import a from"./46NT4YQ5.js";import{j as s}from"./EZM4ZDQI.js";export default $arcgis.t(([{q:f},{c:a},{c:g,d:c,e:d}])=>{var u=Object.defineProperty,x=Object.getOwnPropertyDescriptor,m=(r,e,o,G)=>{for(var t=x(e,o),n=r.length-1,p;n>=0;n--)(p=r[n])&&(t=p(e,o,t)||t);return t&&u(e,o,t),t},i=class extends d{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,o){g({config:this._config,name:e,index:o,orientation:s.X})}deleteXAxisGuide(e){c({config:this._config,index:e,orientation:s.X})}};m([a],i.prototype,"addXAxisGuide");m([a],i.prototype,"deleteXAxisGuide");var h=[d];f(i,h);return i},a,b,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./YP55GB27.js";import a from"./XAWIW6KZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{O:a,Q:l,Yc:c,w:n},{b:e,c:g}])=>{var x=Object.defineProperty,d=Object.getOwnPropertyDescriptor,v=(t,r,o,_)=>{for(var i=d(r,o),s=t.length-1,m;s>=0;s--)(m=t[s])&&(i=m(r,o,i)||i);return i&&x(r,o,i),i},b=t=>t.title?.content.text??"",u=(t,r)=>{r.title!==void 0?r.title.content.text=t:r.title===void 0&&t!==void 0&&(r.title=l({text:t,visible:!0,font:a(n.ChartTitle)}))},p=class extends e{get titleText(){return b(this._config)}set titleText(r){u(r,this._config)}};v([g],p.prototype,"titleText");var y=t=>t.series.map(r=>String(c({where:r.query?.where}))).filter(r=>r!==void 0&&r.trim()!==""),f=class extends e{get splitByValues(){return y(this._config)}},T=t=>t.series.length??0,h=class extends e{get seriesLength(){return T(this._config)}};return{a:b,b:p,c:y,d:f,e:T,f:h}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
2
+ import b from"./F7YBMSC7.js";import a from"./GU6JH3VZ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{O:a,Q:l,Yc:c,w:n},{b:e,c:g}])=>{var x=Object.defineProperty,d=Object.getOwnPropertyDescriptor,v=(t,r,o,_)=>{for(var i=d(r,o),s=t.length-1,m;s>=0;s--)(m=t[s])&&(i=m(r,o,i)||i);return i&&x(r,o,i),i},b=t=>t.title?.content.text??"",u=(t,r)=>{r.title!==void 0?r.title.content.text=t:r.title===void 0&&t!==void 0&&(r.title=l({text:t,visible:!0,font:a(n.ChartTitle)}))},p=class extends e{get titleText(){return b(this._config)}set titleText(r){u(r,this._config)}};v([g],p.prototype,"titleText");var y=t=>t.series.map(r=>String(c({where:r.query?.where}))).filter(r=>r!==void 0&&r.trim()!==""),f=class extends e{get splitByValues(){return y(this._config)}},T=t=>t.series.length??0,h=class extends e{get seriesLength(){return T(this._config)}};return{a:b,b:p,c:y,d:f,e:T,f:h}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{d as a}from"./FPDW4F45.js";import{g as f}from"./AE43AFN2.js";import b from"./XAWIW6KZ.js";import{k as t}from"./DISBHZRX.js";import"./SGOQQYBY.js";import"./ETLJKITO.js";import{F as c,g as n,h as s,m,z as h}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Cc:d,Ec:g,Gc:p,Hc:y}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=m()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(i){let e=!1;i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&this.layer!==void 0&&!t(i.get("layer"),this.layer)&&(e=!0),i.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==i.get("usePopupTemplateFieldsInfo")&&(e=!0),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.colorMatch&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!t(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!t(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!t(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!t(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!t(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.config,o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await d(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.xAxisField),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case a.Data:o=s`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case a.Series:o=s`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case a.Axes:o=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:o=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:o=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:o=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
2
+ import{d as a}from"./FPDW4F45.js";import{g as f}from"./KZ7WEJMS.js";import b from"./GU6JH3VZ.js";import{n as t}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./ETLJKITO.js";import{F as c,g as n,h as s,m,z as h}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Cc:d,Ec:g,Gc:p,Hc:y}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=m()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(i){let e=!1;i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&this.layer!==void 0&&!t(i.get("layer"),this.layer)&&(e=!0),i.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==i.get("usePopupTemplateFieldsInfo")&&(e=!0),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.colorMatch&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!t(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!t(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!t(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!t(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!t(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.config,o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await d(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.xAxisField),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case a.Data:o=s`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case a.Series:o=s`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case a.Axes:o=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:o=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:o=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:o=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as u}from"./B227HROY.js";import"./SGOQQYBY.js";import{F as d,g as o,h as n,z as e}from"./XQ26L3RE.js";import"./QPIMTXPL.js";var l=o`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width)}`,t=class extends e{constructor(){super(...arguments),this._messages=u(),this.open=!1}static{this.properties={messageOverrides:0,model:0,calculatedDataMinMaxBounds:0,open:5,showMinXBoundOption:5,showMaxXBoundOption:5,showMinYBoundOption:5,showMaxYBoundOption:5,showEnableXLogOption:5,showEnableYLogOption:5,calculatedMinMaxBounds:0}}static{this.styles=l}getMinFromCalculatedDataBounds(i){return this.calculatedDataMinMaxBounds?.find(a=>a.isXAxis===i)?.minimum??Number.NaN}getMaxFromCalculatedDataBounds(i){return this.calculatedDataMinMaxBounds?.find(a=>a.isXAxis===i)?.maximum??Number.NaN}render(){let i=this.calculatedMinMaxBounds?.find(s=>s.isXAxis),a=this.calculatedMinMaxBounds?.find(s=>!s.isXAxis);return n`<arcgis-charts-config-axis .model=${this.model} is-x-axis .axisTitle=${this._messages.xAxis} .showMinBoundOption=${this.showMinXBoundOption} .showMaxBoundOption=${this.showMaxXBoundOption} .showEnableLogOption=${this.showEnableXLogOption} .dataMinValue=${this.getMinFromCalculatedDataBounds(!0)} .dataMaxValue=${this.getMaxFromCalculatedDataBounds(!0)} .initialMaxBound=${i?.maximum} .initialMinBound=${i?.minimum}></arcgis-charts-config-axis><arcgis-charts-config-axis .model=${this.model} .axisTitle=${this._messages.yAxis} .showMinBoundOption=${this.showMinYBoundOption} .showMaxBoundOption=${this.showMaxYBoundOption} .showEnableLogOption=${this.showEnableYLogOption} .dataMinValue=${this.getMinFromCalculatedDataBounds(!1)} .dataMaxValue=${this.getMaxFromCalculatedDataBounds(!1)} .initialMaxBound=${a?.maximum} .initialMinBound=${a?.minimum}></arcgis-charts-config-axis>`}};d("arcgis-charts-config-axes",t);export{t as ArcgisChartsConfigAxes};
2
+ import{a as u}from"./6WQPKBUS.js";import"./SPAXIJWK.js";import{F as d,g as o,h as n,z as e}from"./XQ26L3RE.js";import"./QPIMTXPL.js";var l=o`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width)}`,t=class extends e{constructor(){super(...arguments),this._messages=u(),this.open=!1}static{this.properties={messageOverrides:0,model:0,calculatedDataMinMaxBounds:0,open:5,showMinXBoundOption:5,showMaxXBoundOption:5,showMinYBoundOption:5,showMaxYBoundOption:5,showEnableXLogOption:5,showEnableYLogOption:5,calculatedMinMaxBounds:0}}static{this.styles=l}getMinFromCalculatedDataBounds(i){return this.calculatedDataMinMaxBounds?.find(a=>a.isXAxis===i)?.minimum??Number.NaN}getMaxFromCalculatedDataBounds(i){return this.calculatedDataMinMaxBounds?.find(a=>a.isXAxis===i)?.maximum??Number.NaN}render(){let i=this.calculatedMinMaxBounds?.find(s=>s.isXAxis),a=this.calculatedMinMaxBounds?.find(s=>!s.isXAxis);return n`<arcgis-charts-config-axis .model=${this.model} is-x-axis .axisTitle=${this._messages.xAxis} .showMinBoundOption=${this.showMinXBoundOption} .showMaxBoundOption=${this.showMaxXBoundOption} .showEnableLogOption=${this.showEnableXLogOption} .dataMinValue=${this.getMinFromCalculatedDataBounds(!0)} .dataMaxValue=${this.getMaxFromCalculatedDataBounds(!0)} .initialMaxBound=${i?.maximum} .initialMinBound=${i?.minimum}></arcgis-charts-config-axis><arcgis-charts-config-axis .model=${this.model} .axisTitle=${this._messages.yAxis} .showMinBoundOption=${this.showMinYBoundOption} .showMaxBoundOption=${this.showMaxYBoundOption} .showEnableLogOption=${this.showEnableYLogOption} .dataMinValue=${this.getMinFromCalculatedDataBounds(!1)} .dataMaxValue=${this.getMaxFromCalculatedDataBounds(!1)} .initialMaxBound=${a?.maximum} .initialMinBound=${a?.minimum}></arcgis-charts-config-axis>`}};d("arcgis-charts-config-axes",t);export{t as ArcgisChartsConfigAxes};