Hacked By AnonymousFox
{"version":3,"sources":["<anon>"],"sourcesContent":["/**\n * @license Highstock JS v12.1.2 (2025-01-09)\n * @module highcharts/indicators/price-channel\n * @requires highcharts\n * @requires highcharts/modules/stock\n *\n * Indicator series type for Highcharts Stock\n *\n * (c) 2010-2024 Daniel Studencki\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"highcharts\"), require(\"highcharts\")[\"SeriesRegistry\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/indicators/price-channel\", [[\"highcharts/highcharts\"], [\"highcharts/highcharts\",\"SeriesRegistry\"]], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/indicators/price-channel\"] = factory(require(\"highcharts\"), require(\"highcharts\")[\"SeriesRegistry\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"SeriesRegistry\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 512:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ price_channel_src; }\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n;// ./code/es5/es-modules/Stock/Indicators/ArrayUtilities.js\n/**\n *\n * (c) 2010-2024 Pawel Fus & Daniel Studencki\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n * Functions\n *\n * */\n/**\n * Get extremes of array filled by OHLC data.\n *\n * @private\n *\n * @param {Array<Array<number>>} arr\n * Array of OHLC points (arrays).\n *\n * @param {number} minIndex\n * Index of \"low\" value in point array.\n *\n * @param {number} maxIndex\n * Index of \"high\" value in point array.\n *\n * @return {Array<number,number>}\n * Returns array with min and max value.\n */\nfunction getArrayExtremes(arr, minIndex, maxIndex) {\n return arr.reduce(function (prev, target) { return [\n Math.min(prev[0], target[minIndex]),\n Math.max(prev[1], target[maxIndex])\n ]; }, [Number.MAX_VALUE, -Number.MAX_VALUE]);\n}\n/* *\n *\n * Default Export\n *\n * */\nvar ArrayUtilities = {\n getArrayExtremes: getArrayExtremes\n};\n/* harmony default export */ var Indicators_ArrayUtilities = (ArrayUtilities);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es5/es-modules/Stock/Indicators/MultipleLinesComposition.js\n/**\n *\n * (c) 2010-2024 Wojciech Chmiel\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nvar smaProto = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.sma.prototype;\n\nvar defined = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).defined, error = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).error, merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge;\n/* *\n *\n * Composition\n *\n * */\nvar MultipleLinesComposition;\n(function (MultipleLinesComposition) {\n /* *\n *\n * Declarations\n *\n * */\n /* *\n *\n * Constants\n *\n * */\n /**\n * Additional lines DOCS names. Elements of linesApiNames array should\n * be consistent with DOCS line names defined in your implementation.\n * Notice that linesApiNames should have decreased amount of elements\n * relative to pointArrayMap (without pointValKey).\n *\n * @private\n * @type {Array<string>}\n */\n var linesApiNames = ['bottomLine'];\n /**\n * Lines ids. Required to plot appropriate amount of lines.\n * Notice that pointArrayMap should have more elements than\n * linesApiNames, because it contains main line and additional lines ids.\n * Also it should be consistent with amount of lines calculated in\n * getValues method from your implementation.\n *\n * @private\n * @type {Array<string>}\n */\n var pointArrayMap = ['top', 'bottom'];\n /**\n * Names of the lines, between which the area should be plotted.\n * If the drawing of the area should\n * be disabled for some indicators, leave this option as an empty array.\n * Names should be the same as the names in the pointArrayMap.\n *\n * @private\n * @type {Array<string>}\n */\n var areaLinesNames = ['top'];\n /**\n * Main line id.\n *\n * @private\n * @type {string}\n */\n var pointValKey = 'top';\n /* *\n *\n * Functions\n *\n * */\n /**\n * Composition useful for all indicators that have more than one line.\n * Compose it with your implementation where you will provide the\n * `getValues` method appropriate to your indicator and `pointArrayMap`,\n * `pointValKey`, `linesApiNames` properties. Notice that `pointArrayMap`\n * should be consistent with the amount of lines calculated in the\n * `getValues` method.\n *\n * @private\n */\n function compose(IndicatorClass) {\n var proto = IndicatorClass.prototype;\n proto.linesApiNames = (proto.linesApiNames ||\n linesApiNames.slice());\n proto.pointArrayMap = (proto.pointArrayMap ||\n pointArrayMap.slice());\n proto.pointValKey = (proto.pointValKey ||\n pointValKey);\n proto.areaLinesNames = (proto.areaLinesNames ||\n areaLinesNames.slice());\n proto.drawGraph = indicatorDrawGraph;\n proto.getGraphPath = indicatorGetGraphPath;\n proto.toYData = indicatorToYData;\n proto.translate = indicatorTranslate;\n return IndicatorClass;\n }\n MultipleLinesComposition.compose = compose;\n /**\n * Generate the API name of the line\n *\n * @private\n * @param propertyName name of the line\n */\n function getLineName(propertyName) {\n return ('plot' +\n propertyName.charAt(0).toUpperCase() +\n propertyName.slice(1));\n }\n /**\n * Create translatedLines Collection based on pointArrayMap.\n *\n * @private\n * @param {string} [excludedValue]\n * Main line id\n * @return {Array<string>}\n * Returns translated lines names without excluded value.\n */\n function getTranslatedLinesNames(indicator, excludedValue) {\n var translatedLines = [];\n (indicator.pointArrayMap || []).forEach(function (propertyName) {\n if (propertyName !== excludedValue) {\n translatedLines.push(getLineName(propertyName));\n }\n });\n return translatedLines;\n }\n /**\n * Draw main and additional lines.\n *\n * @private\n */\n function indicatorDrawGraph() {\n var indicator = this,\n pointValKey = indicator.pointValKey,\n linesApiNames = indicator.linesApiNames,\n areaLinesNames = indicator.areaLinesNames,\n mainLinePoints = indicator.points,\n mainLineOptions = indicator.options,\n mainLinePath = indicator.graph,\n gappedExtend = {\n options: {\n gapSize: mainLineOptions.gapSize\n }\n }, \n // Additional lines point place holders:\n secondaryLines = [],\n secondaryLinesNames = getTranslatedLinesNames(indicator,\n pointValKey);\n var pointsLength = mainLinePoints.length,\n point;\n // Generate points for additional lines:\n secondaryLinesNames.forEach(function (plotLine, index) {\n // Create additional lines point place holders\n secondaryLines[index] = [];\n while (pointsLength--) {\n point = mainLinePoints[pointsLength];\n secondaryLines[index].push({\n x: point.x,\n plotX: point.plotX,\n plotY: point[plotLine],\n isNull: !defined(point[plotLine])\n });\n }\n pointsLength = mainLinePoints.length;\n });\n // Modify options and generate area fill:\n if (indicator.userOptions.fillColor && areaLinesNames.length) {\n var index = secondaryLinesNames.indexOf(getLineName(areaLinesNames[0])),\n secondLinePoints = secondaryLines[index],\n firstLinePoints = areaLinesNames.length === 1 ?\n mainLinePoints :\n secondaryLines[secondaryLinesNames.indexOf(getLineName(areaLinesNames[1]))],\n originalColor = indicator.color;\n indicator.points = firstLinePoints;\n indicator.nextPoints = secondLinePoints;\n indicator.color = indicator.userOptions.fillColor;\n indicator.options = merge(mainLinePoints, gappedExtend);\n indicator.graph = indicator.area;\n indicator.fillGraph = true;\n smaProto.drawGraph.call(indicator);\n indicator.area = indicator.graph;\n // Clean temporary properties:\n delete indicator.nextPoints;\n delete indicator.fillGraph;\n indicator.color = originalColor;\n }\n // Modify options and generate additional lines:\n linesApiNames.forEach(function (lineName, i) {\n if (secondaryLines[i]) {\n indicator.points = secondaryLines[i];\n if (mainLineOptions[lineName]) {\n indicator.options = merge(mainLineOptions[lineName].styles, gappedExtend);\n }\n else {\n error('Error: \"There is no ' + lineName +\n ' in DOCS options declared. Check if linesApiNames' +\n ' are consistent with your DOCS line names.\"');\n }\n indicator.graph = indicator['graph' + lineName];\n smaProto.drawGraph.call(indicator);\n // Now save lines:\n indicator['graph' + lineName] = indicator.graph;\n }\n else {\n error('Error: \"' + lineName + ' doesn\\'t have equivalent ' +\n 'in pointArrayMap. To many elements in linesApiNames ' +\n 'relative to pointArrayMap.\"');\n }\n });\n // Restore options and draw a main line:\n indicator.points = mainLinePoints;\n indicator.options = mainLineOptions;\n indicator.graph = mainLinePath;\n smaProto.drawGraph.call(indicator);\n }\n /**\n * Create the path based on points provided as argument.\n * If indicator.nextPoints option is defined, create the areaFill.\n *\n * @private\n * @param points Points on which the path should be created\n */\n function indicatorGetGraphPath(points) {\n var areaPath,\n path = [],\n higherAreaPath = [];\n points = points || this.points;\n // Render Span\n if (this.fillGraph && this.nextPoints) {\n areaPath = smaProto.getGraphPath.call(this, this.nextPoints);\n if (areaPath && areaPath.length) {\n areaPath[0][0] = 'L';\n path = smaProto.getGraphPath.call(this, points);\n higherAreaPath = areaPath.slice(0, path.length);\n // Reverse points, so that the areaFill will start from the end:\n for (var i = higherAreaPath.length - 1; i >= 0; i--) {\n path.push(higherAreaPath[i]);\n }\n }\n }\n else {\n path = smaProto.getGraphPath.apply(this, arguments);\n }\n return path;\n }\n /**\n * @private\n * @param {Highcharts.Point} point\n * Indicator point\n * @return {Array<number>}\n * Returns point Y value for all lines\n */\n function indicatorToYData(point) {\n var pointColl = [];\n (this.pointArrayMap || []).forEach(function (propertyName) {\n pointColl.push(point[propertyName]);\n });\n return pointColl;\n }\n /**\n * Add lines plot pixel values.\n *\n * @private\n */\n function indicatorTranslate() {\n var _this = this;\n var pointArrayMap = this.pointArrayMap;\n var LinesNames = [],\n value;\n LinesNames = getTranslatedLinesNames(this);\n smaProto.translate.apply(this, arguments);\n this.points.forEach(function (point) {\n pointArrayMap.forEach(function (propertyName, i) {\n value = point[propertyName];\n // If the modifier, like for example compare exists,\n // modified the original value by that method, #15867.\n if (_this.dataModify) {\n value = _this.dataModify.modifyValue(value);\n }\n if (value !== null) {\n point[LinesNames[i]] = _this.yAxis.toPixels(value, true);\n }\n });\n });\n }\n})(MultipleLinesComposition || (MultipleLinesComposition = {}));\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Indicators_MultipleLinesComposition = (MultipleLinesComposition);\n\n;// ./code/es5/es-modules/Core/Color/Palettes.js\n/*\n * Series palettes for Highcharts. Series colors are defined in highcharts.css.\n * **Do not edit this file!** This file is generated using the 'gulp palette' task.\n */\nvar SeriesPalettes = {\n /**\n * Colors for data series and points\n */\n colors: [\n '#2caffe',\n '#544fc5',\n '#00e272',\n '#fe6a35',\n '#6b8abc',\n '#d568fb',\n '#2ee0ca',\n '#fa4b42',\n '#feb56a',\n '#91e8e1'\n ],\n};\n/* harmony default export */ var Palettes = (SeriesPalettes);\n\n;// ./code/es5/es-modules/Stock/Indicators/PC/PCIndicator.js\n/* *\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d,\n b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d,\n b) { d.__proto__ = b; }) ||\n function (d,\n b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\nvar SMAIndicator = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).seriesTypes.sma;\n\nvar PCIndicator_merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge, extend = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).extend;\n/* *\n *\n * Class\n *\n * */\n/**\n * The Price Channel series type.\n *\n * @private\n * @class\n * @name Highcharts.seriesTypes.pc\n *\n * @augments Highcharts.Series\n */\nvar PCIndicator = /** @class */ (function (_super) {\n __extends(PCIndicator, _super);\n function PCIndicator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /* *\n *\n * Functions\n *\n * */\n PCIndicator.prototype.getValues = function (series, params) {\n var period = params.period,\n xVal = series.xData,\n yVal = series.yData,\n yValLen = yVal ? yVal.length : 0, \n // 0- date, 1-top line, 2-middle line, 3-bottom line\n PC = [], \n // Middle line, top line and bottom line\n low = 2,\n high = 1,\n xData = [],\n yData = [];\n var ML,\n TL,\n BL,\n date,\n slicedY,\n extremes,\n i;\n if (yValLen < period) {\n return;\n }\n for (i = period; i <= yValLen; i++) {\n date = xVal[i - 1];\n slicedY = yVal.slice(i - period, i);\n extremes = Indicators_ArrayUtilities.getArrayExtremes(slicedY, low, high);\n TL = extremes[1];\n BL = extremes[0];\n ML = (TL + BL) / 2;\n PC.push([date, TL, ML, BL]);\n xData.push(date);\n yData.push([TL, ML, BL]);\n }\n return {\n values: PC,\n xData: xData,\n yData: yData\n };\n };\n /* *\n *\n * Static Properties\n *\n * */\n /**\n * Price channel (PC). This series requires the `linkedTo` option to be\n * set and should be loaded after the `stock/indicators/indicators.js`.\n *\n * @sample {highstock} stock/indicators/price-channel\n * Price Channel\n *\n * @extends plotOptions.sma\n * @since 7.0.0\n * @product highstock\n * @excluding allAreas, colorAxis, compare, compareBase, joinBy, keys,\n * navigatorOptions, pointInterval, pointIntervalUnit,\n * pointPlacement, pointRange, pointStart, showInNavigator,\n * stacking\n * @requires stock/indicators/indicators\n * @requires stock/indicators/price-channel\n * @optionparent plotOptions.pc\n */\n PCIndicator.defaultOptions = PCIndicator_merge(SMAIndicator.defaultOptions, {\n /**\n * Option for fill color between lines in Price channel Indicator.\n *\n * @sample {highstock} stock/indicators/indicator-area-fill\n * background fill between lines\n *\n * @type {Highcharts.Color}\n * @apioption plotOptions.pc.fillColor\n *\n */\n /**\n * @excluding index\n */\n params: {\n index: void 0, // Unchangeable index, do not inherit (#15362)\n period: 20\n },\n lineWidth: 1,\n topLine: {\n styles: {\n /**\n * Color of the top line. If not set, it's inherited from\n * [plotOptions.pc.color](#plotOptions.pc.color).\n *\n * @type {Highcharts.ColorString}\n */\n lineColor: Palettes.colors[2],\n /**\n * Pixel width of the line.\n */\n lineWidth: 1\n }\n },\n bottomLine: {\n styles: {\n /**\n * Color of the bottom line. If not set, it's inherited from\n * [plotOptions.pc.color](#plotOptions.pc.color).\n *\n * @type {Highcharts.ColorString}\n */\n lineColor: Palettes.colors[8],\n /**\n * Pixel width of the line.\n */\n lineWidth: 1\n }\n },\n dataGrouping: {\n approximation: 'averages'\n }\n });\n return PCIndicator;\n}(SMAIndicator));\nextend(PCIndicator.prototype, {\n areaLinesNames: ['top', 'bottom'],\n nameBase: 'Price Channel',\n nameComponents: ['period'],\n linesApiNames: ['topLine', 'bottomLine'],\n pointArrayMap: ['top', 'middle', 'bottom'],\n pointValKey: 'middle'\n});\nIndicators_MultipleLinesComposition.compose(PCIndicator);\nhighcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default().registerSeriesType('pc', PCIndicator);\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var PC_PCIndicator = ((/* unused pure expression or super */ null && (PCIndicator)));\n/* *\n *\n * API Options\n *\n * */\n/**\n * A Price channel indicator. If the [type](#series.pc.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends series,plotOptions.pc\n * @since 7.0.0\n * @product highstock\n * @excluding allAreas, colorAxis, compare, compareBase, dataParser, dataURL,\n * joinBy, keys, navigatorOptions, pointInterval,\n * pointIntervalUnit, pointPlacement, pointRange, pointStart,\n * showInNavigator, stacking\n * @requires stock/indicators/indicators\n * @requires stock/indicators/price-channel\n * @apioption series.pc\n */\n''; // To include the above in the js output\n\n;// ./code/es5/es-modules/masters/indicators/price-channel.src.js\n\n\n\n\n/* harmony default export */ var price_channel_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});"],"names":["root","factory","exports","module","require","define","amd","__WEBPACK_EXTERNAL_MODULE__944__","__WEBPACK_EXTERNAL_MODULE__512__","extendStatics","MultipleLinesComposition","__webpack_modules__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","__webpack_exports__","price_channel_src","highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_","highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default","Indicators_ArrayUtilities","getArrayExtremes","arr","minIndex","maxIndex","reduce","prev","target","Math","min","max","Number","MAX_VALUE","highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_","highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default","smaProto","seriesTypes","sma","defined","error","merge","linesApiNames","pointArrayMap","areaLinesNames","getLineName","propertyName","charAt","toUpperCase","slice","getTranslatedLinesNames","indicator","excludedValue","translatedLines","forEach","push","indicatorDrawGraph","point","pointValKey","mainLinePoints","points","mainLineOptions","options","mainLinePath","graph","gappedExtend","gapSize","secondaryLines","secondaryLinesNames","pointsLength","length","plotLine","index","x","plotX","plotY","isNull","userOptions","fillColor","secondLinePoints","indexOf","firstLinePoints","originalColor","color","nextPoints","area","fillGraph","drawGraph","lineName","i","styles","indicatorGetGraphPath","areaPath","path","higherAreaPath","getGraphPath","apply","arguments","indicatorToYData","pointColl","indicatorTranslate","value","_this","LinesNames","translate","dataModify","modifyValue","yAxis","toPixels","compose","IndicatorClass","proto","toYData","Indicators_MultipleLinesComposition","__extends","b","setPrototypeOf","__proto__","Array","p","__","constructor","create","SMAIndicator","PCIndicator_merge","extend","PCIndicator","_super","getValues","series","params","ML","TL","BL","date","slicedY","extremes","period","xVal","xData","yVal","yData","yValLen","PC","values","defaultOptions","lineWidth","topLine","lineColor","bottomLine","dataGrouping","approximation","nameBase","nameComponents","registerSeriesType"],"mappings":"CAYA,AAZA;;;;;;;;;;;CAWC,EACA,SAA0CA,CAAI,CAAEC,C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