/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../chunks/_rollupPluginBabelHelpers","../../../../chunks/tslib.es6","../../../../core/Logger","../../../../core/accessorSupport/ensureType","../../../../core/arrayUtils","../../../../core/has","../../../../core/accessorSupport/set","../../../../core/accessorSupport/decorators/subclass","../css","./TooltipContent","../support/TooltipField","../../../../widgets/support/widgetUtils","../../../../widgets/support/jsxFactory"],(function(o,t,e,s,r,i,l,n,a,c,p,u,d,T){"use strict";const g=`${c.CONTENT}--draw-polygon`,v={base:`${c.CONTENT} ${g}`};o.TooltipContentDrawPolygon=function(o){function e(){return o.apply(this,arguments)||this}return t._inheritsLoose(e,o),e.prototype.render=function(){var o;const{area:t,elevation:e}=this.info,s=null==(o=this._messagesTooltip)?void 0:o.sketch;return T.tsx("div",{class:v.base},T.tsx(u.TooltipField,{title:null==s?void 0:s.elevation,value:this._formatVerticalLength(e)}),T.tsx(u.TooltipField,{title:null==s?void 0:s.area,value:this._formatArea(t)}))},e}(p.TooltipContent),o.TooltipContentDrawPolygon=e.__decorate([a.subclass("esri.views.interactive.tooltip.content.TooltipContentDrawPolygon")],o.TooltipContentDrawPolygon),Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
