/*
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/maybe","../../../../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(t,e,o,s,i,l,r,n,a,c,p,u,d,T,h){"use strict";const v=`${p.CONTENT}--translate-vertex`,g={base:`${p.CONTENT} ${v}`};t.TooltipContentTranslateVertex=function(t){function o(){return t.apply(this,arguments)||this}return e._inheritsLoose(o,t),o.prototype.render=function(){var t;const{area:e,distance:o,elevation:i,totalLength:l}=this.info,r=null==(t=this._messagesTooltip)?void 0:t.sketch;return h.tsx("div",{class:g.base},h.tsx(d.TooltipField,{title:null==r?void 0:r.distance,value:this._formatLength(o)}),s.isSome(i)&&h.tsx(d.TooltipField,{title:null==r?void 0:r.elevation,value:this._formatVerticalLength(i)}),s.isSome(e)&&h.tsx(d.TooltipField,{title:null==r?void 0:r.area,value:this._formatArea(e)}),s.isSome(l)&&h.tsx(d.TooltipField,{title:null==r?void 0:r.totalLength,value:this._formatLength(l)}))},o}(u.TooltipContent),t.TooltipContentTranslateVertex=o.__decorate([c.subclass("esri.views.interactive.tooltip.content.TooltipContentTranslateVertex")],t.TooltipContentTranslateVertex),Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
