/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import d from"./NG2WISQ2.js";import c from"./S6PFI7AC.js";import a from"./AD6GOUND.js";import{g as b}from"./4B3QBH5T.js";export default $arcgis.t(([{T:m,V:p,W:g,w:c},{b:i,c:l},{g:v,h:S}])=>{var d=Object.defineProperty,u=Object.getOwnPropertyDescriptor,L=(e,t,o,a)=>{for(var s=u(t,o),r=e.length-1,n;r>=0;r--)(n=e[r])&&(s=n(t,o,s)||s);return s&&d(t,o,s),s};function Q(e){return e!==void 0&&"xAxisTitleSymbol"in e}var f=class extends i{get xAxisTitleSymbol(){return v(this._config,0)}set xAxisTitleSymbol(t){S({symbol:t,axisIndex:0,config:this._config})}};L([l],f.prototype,"xAxisTitleSymbol");var h=Object.defineProperty,O=Object.getOwnPropertyDescriptor,j=(e,t,o,a)=>{for(var s=O(t,o),r=e.length-1,n;r>=0;r--)(n=e[r])&&(s=n(t,o,s)||s);return s&&h(t,o,s),s},A=e=>{for(let t of e.axes??[])if(t?.labels!==void 0)return t.labels.content},_=(e,t)=>{for(let o of t.axes??[])if(o!==void 0){let a=o.labels?.content.text;e===void 0?o.labels=p({text:"",visible:!0,font:m(c.AxisLabels),type:c.AxisLabels}):o.labels.content=b(e),o.labels.content.text=a}};function X(e){return e!==void 0&&"axisLabelsSymbol"in e}var x=class extends i{get axisLabelsSymbol(){return A(this._config)}set axisLabelsSymbol(t){_(t,this._config)}};j([l],x.prototype,"axisLabelsSymbol");var P=Object.defineProperty,D=Object.getOwnPropertyDescriptor,T=(e,t,o,a)=>{for(var s=D(t,o),r=e.length-1,n;r>=0;r--)(n=e[r])&&(s=n(t,o,s)||s);return s&&P(t,o,s),s},I=e=>{for(let t of e.axes??[])if(t?.lineSymbol!==void 0)return t.lineSymbol},w=(e,t)=>{for(let o of t.axes??[])o!==void 0&&(o.lineSymbol=b(e)??g())};function k(e){return e!==void 0&&"axisLinesSymbol"in e}var y=class extends i{get axisLinesSymbol(){return I(this._config)}set axisLinesSymbol(t){w(t,this._config)}};T([l],y.prototype,"axisLinesSymbol");return{a:Q,b:f,c:X,d:x,e:k,f:y}},a,c,d)