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oB,KAAA,CAzKLL,UAAA,CAyKwBV,CAzKbW,QAAA,CAyKmBV,CAzKnB,CAAX,CAyKK,CAGA;AAFAG,CAEA,CAFoBQ,CAEpB,CADAA,CACA,CADYU,CACZ,CAAA1B,CAAA,CAAe2B,CAjBnB,CAR4C,CA4BhD,MAAO,CACHU,OAAQ9B,CADL,CAEHV,MAAOA,CAFJ,CAGHE,MAAOA,CAHJ,CA1CP,CA9B0D,CA6F9Dd,EAAAqD,eAAA,CAA+BvD,CAAA,CAAMH,CAAA0D,eAAN,CAAmC,CAC9DC,UAAW,CADmD,CAE9DC,OAAQ,CACJC,QAAS,CAAA,CADL,CAFsD,CAK9DC,OAAQ,CACJC,MAAO,CACHC,cAAe,CADZ,CADH,CALsD,CAa9DjD,OAAQ,CACJkD,OAAQ,IAAK,EADT,CAUJ1C,0BAA2B,GAVvB,CAgBJF,sBAAuB,EAhBnB,CAuBJC,UAAW,GAvBP,CA6BJI,MAAO,CA7BH,CAmCJD,SAAU,CAnCN,CAbsD,CAAnC,CAmD/B,OAAOpB,EApK0C,CAAlB,CAqKjCL,CArKiC,CAsKnCI,EAAA,CAAOC,CAAAP,UAAP,CAAgC,CAC5BoE,eAAgB,IAAK,EADO,CAAhC,CAGAjF,EAAAkF,mBAAA,CAAkC,MAAlC,CAA0C9D,CAA1C,CAkBA,GAEA,OAAOA,EAlTkK,CAA7K,CAoTA5B,EAAA,CAAgBO,CAAhB,CAA0B,gCAA1B,CAA4D,EAA5D,CAAgE,QAAS,EAAG,EAA5E,CA3ToB,CAbvB;","sources":["psar.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","merge","extend","PSARIndicator","_super","_this","arguments","data","points","options","getValues","PSARIndicator.prototype.getValues","series","params","xVal","xData","yVal","yData","extremePoint","maxAccelerationFactor","increment","initialAccelerationFactor","PSAR","decimals","index","PSARArr","previousDirection","ind","length","Math","max","min","parseFloat","toFixed","direction","accelerationFactor","accelerationFactorMultiply","push","prevLow","prevPrevLow","prevHigh","prevPrevHigh","high","low","newDirection","newExtremePoint","dir","eP","pEP","pAcc","maxAcc","inc","n","initAcc","EPMinusPSAR","values","defaultOptions","lineWidth","marker","enabled","states","hover","lineWidthPlus","period","nameComponents","registerSeriesType"]}