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