"use strict";import H from"../parts/Globals.js";import U from"../parts/Utilities.js";var correctFloat=U.correctFloat,seriesType=U.seriesType;import requiredIndicator from"../mixins/indicator-required.js";var TEMA=H.seriesTypes.tema;seriesType("trix","tema",{},{init:function(){var e=arguments,r=this;requiredIndicator.isParentLoaded(TEMA,"tema",r.type,function(t){t.prototype.init.apply(r,e)})},getTemaPoint:function(e,r,t,i){if(i>r)var o=[e[i-3],0!==t.prevLevel3?correctFloat(t.level3-t.prevLevel3)/t.prevLevel3*100:null];return o}});