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,CAAJ,CAAA,CAIIX,CAAA,CAAQa,CAAA,CAAK,CAAL,CAAR,CAAJ,GACID,CADJ,CACYgB,CAAAhB,MAAA,CAAegB,CAAAhB,MAAf,CAA8B,CAD1C,CAIAE,EAAA,CAAM,IAAAL,uBAAA,CAA4BE,CAA5B;AAAoCC,CAApC,CAA2CC,CAA3C,CAIN,KAFMC,CAEN,EAFYH,CAEZ,CAAiBI,CAAjB,CAAqBe,CAArB,CAA+B,CAA/B,CAAkCf,CAAA,EAAlC,CAAuC,CACnC,IAAAmB,EAAW,IAAAjB,aAAA,CAAkBE,CAAlB,CAAwBN,CAAxB,CAA8BE,CAA9B,CAAiCK,CAAjC,CAA6CC,CAA7C,CAAqDT,CAArD,CAA4DU,CAA5D,CACXW,EAAAE,KAAA,CAASD,CAAT,CACAL,EAAAM,KAAA,CAAWD,CAAA,CAAS,CAAT,CAAX,CACAH,EAAAI,KAAA,CAAWD,CAAA,CAAS,CAAT,CAAX,CACAb,EAAA,CAASa,CAAA,CAAS,CAAT,CAL0B,CAOvC,MAAO,CACHE,OAAQH,CADL,CAEHJ,MAAOA,CAFJ,CAGHE,MAAOA,CAHJ,CAnBP,CAhByD,CAuD7D7B,EAAAmC,eAAA,CAA8BpC,CAAA,CAAML,CAAAyC,eAAN,CAAmC,CAC7DT,OAAQ,CAWJhB,MAAO,CAXH,CAYJD,OAAQ,CAZJ,CADqD,CAAnC,CAgB9B,OAAOT,EAjHyC,CAAlB,CAkHhCN,CAlHgC,CAmHlCf,EAAAyD,mBAAA,CAAkC,KAAlC,CAAyCpC,CAAzC,CAkBA,GAEA,OAAOA,EAjLgK,CAA3K,CAmLA7B,EAAA,CAAgBO,CAAhB,CAA0B,+BAA1B,CAA2D,EAA3D,CAA+D,QAAS,EAAG,EAA3E,CA1LoB,CAbvB;","sources":["ema.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","_modules","SeriesRegistry","U","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","prototype","create","SMAIndicator","seriesTypes","sma","correctFloat","isArray","merge","EMAIndicator","_super","_this","arguments","data","options","points","accumulatePeriodPoints","EMAIndicator.prototype.accumulatePeriodPoints","period","index","yVal","sum","i","y","calculateEma","EMAIndicator.prototype.calculateEma","xVal","EMApercent","calEMA","SMA","x","yValue","getValues","EMAIndicator.prototype.getValues","series","params","xData","yValLen","yData","length","EMA","EMAPoint","push","values","defaultOptions","registerSeriesType"]}