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