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