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