/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{a as o}from"./IUTE24ZY.js";import b from"./AD6GOUND.js";import"./4B3QBH5T.js";import"./FUPYXGG6.js";import"./NKG4FLLR.js";import{A as r,B as i,F as m,g as l,h as a,z as d}from"./RPU6VCJ4.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{K:p,L:c,M:h,N:g,O:f,Ob:b,Ub:u}])=>{var $=l`.hide{visibility:hidden}.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{display:block;width:auto;height:auto;overflow:auto}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.info-modal-container{box-sizing:border-box;width:-webkit-fill-available;height:100%;display:grid;position:absolute;place-items:center;align-content:center;justify-content:center;padding:1rem;text-align:start}.info-modal-container h3.heading-true{margin-bottom:auto;background:#0000000d;height:30px;padding-left:.5rem;padding-top:.5rem;justify-self:stretch;text-align:start}.info-modal-container h3.heading-false{background:#0000000d;margin-bottom:auto;text-align:start}.info-modal-container p{justify-self:stretch;text-align:start}.chart-loader-overlay{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1001}`,s=class extends d{constructor(){super(...arguments),this.message="",this.heading="",this.showErrorModalInfo=!1,this.showLoader=!1,this.enableAutoTheming=!1}static{this.properties={message:1,heading:1,showErrorModalInfo:5,showLoader:5,loaderColors:0,calciteThemeApplied:1,enableAutoTheming:5}}static{this.styles=$}render(){let e=null,x=this.calciteThemeApplied==="dark"&&this.enableAutoTheming,t=this.loaderColors?.curtainColor??(x?c:p),y=this.loaderColors?.spinnerColor??h,n=u({r:t[0],g:t[1],b:t[2],a:t[3]/255})?f:g;return this.showErrorModalInfo?e=a`<div class=${r(o.InfoModalContainer)} style=${i({background:`rgb(${t.toString()})`})}><h3 class=${r(this.heading!==""?"heading-true":"heading-false")} style=${i({color:`rgb(${n.toString()})`})}>${this.heading}</h3><p style=${i({color:`rgb(${n.toString()})`})} .innerHTML=${b(this.message)??""}></p></div>`:this.showLoader?e=a`<div class=${r(o.ChartLoaderOverlay)} style=${i({background:`rgb(${t.toString()})`,"--calcite-loader-progress-color":`rgb(${y.toString()})`})}><calcite-loader scale=s label=Loading></calcite-loader></div>`:e=a`<div class=${`${o.InfoModalContainer} ${o.Hide}`}></div>`,e}};m("arcgis-charts-info-modal",s);return s},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)