/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{subclass as e}from"../../../../core/accessorSupport/decorators.js";import{TooltipField as o}from"../components/TooltipField.js";import{ValueByValue as s}from"../components/ValueByValue.js";import{TooltipContent as l}from"./TooltipContent.js";import{tsx as i,tsxFragment as r}from"../../../../widgets/support/widget.js";let n=class extends l{_renderContent(){const t=this.info,{visibleElements:e}=t,l=this._messagesTooltip.sketch,n=this._formatters;return i(r,null,e.size?i(o,{title:l.size,value:i(s,{left:n.length(t.xSize),right:n.length(t.ySize)})}):null,e.scale?i(o,{title:l.scale,value:i(s,{left:n.scale(t.xScale),right:n.scale(t.yScale)})}):null)}};n=t([e("esri.views.interactive.tooltip.content.TooltipContentExtentScale")],n);export{n as TooltipContentExtentScale};
