highcharts 12.0.1 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Core/Axis/Axis.js +1 -1
  3. package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -2
  4. package/es-modules/Core/Renderer/SVG/TextBuilder.js +1 -1
  5. package/es-modules/Core/Tooltip.js +2 -1
  6. package/es-modules/Core/Utilities.js +53 -53
  7. package/es-modules/Extensions/Boost/WGLRenderer.js +12 -4
  8. package/es-modules/Extensions/Drilldown/Drilldown.js +3 -3
  9. package/es-modules/Series/Line/LineSeries.js +2 -4
  10. package/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
  11. package/es-modules/tsconfig.tsbuildinfo +1 -1
  12. package/highcharts-3d.js +2 -2
  13. package/highcharts-3d.src.js +5 -5
  14. package/highcharts-gantt.js +5 -5
  15. package/highcharts-gantt.src.js +30 -25
  16. package/highcharts-more.js +2 -2
  17. package/highcharts-more.src.js +5 -5
  18. package/highcharts.js +3 -3
  19. package/highcharts.src.js +24 -19
  20. package/highmaps.js +5 -5
  21. package/highmaps.src.js +27 -22
  22. package/highstock.js +5 -5
  23. package/highstock.src.js +30 -25
  24. package/indicators/acceleration-bands.js +2 -2
  25. package/indicators/acceleration-bands.src.js +5 -5
  26. package/indicators/accumulation-distribution.js +2 -2
  27. package/indicators/accumulation-distribution.src.js +5 -5
  28. package/indicators/ao.js +2 -2
  29. package/indicators/ao.src.js +5 -5
  30. package/indicators/apo.js +2 -2
  31. package/indicators/apo.src.js +5 -5
  32. package/indicators/aroon-oscillator.js +2 -2
  33. package/indicators/aroon-oscillator.src.js +5 -5
  34. package/indicators/aroon.js +2 -2
  35. package/indicators/aroon.src.js +5 -5
  36. package/indicators/atr.js +2 -2
  37. package/indicators/atr.src.js +5 -5
  38. package/indicators/bollinger-bands.js +2 -2
  39. package/indicators/bollinger-bands.src.js +5 -5
  40. package/indicators/cci.js +2 -2
  41. package/indicators/cci.src.js +5 -5
  42. package/indicators/chaikin.js +2 -2
  43. package/indicators/chaikin.src.js +5 -5
  44. package/indicators/cmf.js +2 -2
  45. package/indicators/cmf.src.js +5 -5
  46. package/indicators/cmo.js +2 -2
  47. package/indicators/cmo.src.js +5 -5
  48. package/indicators/dema.js +2 -2
  49. package/indicators/dema.src.js +5 -5
  50. package/indicators/disparity-index.js +2 -2
  51. package/indicators/disparity-index.src.js +5 -5
  52. package/indicators/dmi.js +2 -2
  53. package/indicators/dmi.src.js +5 -5
  54. package/indicators/dpo.js +2 -2
  55. package/indicators/dpo.src.js +5 -5
  56. package/indicators/ema.js +1 -1
  57. package/indicators/ema.src.js +4 -4
  58. package/indicators/ichimoku-kinko-hyo.js +2 -2
  59. package/indicators/ichimoku-kinko-hyo.src.js +5 -5
  60. package/indicators/indicators-all.js +2 -2
  61. package/indicators/indicators-all.src.js +5 -5
  62. package/indicators/indicators.js +2 -2
  63. package/indicators/indicators.src.js +5 -5
  64. package/indicators/keltner-channels.js +2 -2
  65. package/indicators/keltner-channels.src.js +5 -5
  66. package/indicators/klinger.js +2 -2
  67. package/indicators/klinger.src.js +5 -5
  68. package/indicators/macd.js +2 -2
  69. package/indicators/macd.src.js +5 -5
  70. package/indicators/mfi.js +2 -2
  71. package/indicators/mfi.src.js +5 -5
  72. package/indicators/momentum.js +2 -2
  73. package/indicators/momentum.src.js +5 -5
  74. package/indicators/natr.js +2 -2
  75. package/indicators/natr.src.js +5 -5
  76. package/indicators/obv.js +2 -2
  77. package/indicators/obv.src.js +5 -5
  78. package/indicators/pivot-points.js +2 -2
  79. package/indicators/pivot-points.src.js +5 -5
  80. package/indicators/ppo.js +2 -2
  81. package/indicators/ppo.src.js +5 -5
  82. package/indicators/price-channel.js +2 -2
  83. package/indicators/price-channel.src.js +5 -5
  84. package/indicators/price-envelopes.js +2 -2
  85. package/indicators/price-envelopes.src.js +5 -5
  86. package/indicators/psar.js +2 -2
  87. package/indicators/psar.src.js +5 -5
  88. package/indicators/regressions.js +2 -2
  89. package/indicators/regressions.src.js +5 -5
  90. package/indicators/roc.js +2 -2
  91. package/indicators/roc.src.js +5 -5
  92. package/indicators/rsi.js +2 -2
  93. package/indicators/rsi.src.js +5 -5
  94. package/indicators/slow-stochastic.js +2 -2
  95. package/indicators/slow-stochastic.src.js +5 -5
  96. package/indicators/stochastic.js +2 -2
  97. package/indicators/stochastic.src.js +5 -5
  98. package/indicators/supertrend.js +2 -2
  99. package/indicators/supertrend.src.js +5 -5
  100. package/indicators/tema.js +2 -2
  101. package/indicators/tema.src.js +5 -5
  102. package/indicators/trendline.js +2 -2
  103. package/indicators/trendline.src.js +5 -5
  104. package/indicators/trix.js +2 -2
  105. package/indicators/trix.src.js +5 -5
  106. package/indicators/volume-by-price.js +2 -2
  107. package/indicators/volume-by-price.src.js +5 -5
  108. package/indicators/vwap.js +2 -2
  109. package/indicators/vwap.src.js +5 -5
  110. package/indicators/williams-r.js +2 -2
  111. package/indicators/williams-r.src.js +5 -5
  112. package/indicators/wma.js +2 -2
  113. package/indicators/wma.src.js +5 -5
  114. package/indicators/zigzag.js +2 -2
  115. package/indicators/zigzag.src.js +5 -5
  116. package/modules/accessibility.js +2 -2
  117. package/modules/accessibility.src.js +5 -5
  118. package/modules/annotations-advanced.js +4 -4
  119. package/modules/annotations-advanced.src.js +8 -8
  120. package/modules/annotations.js +2 -2
  121. package/modules/annotations.src.js +7 -7
  122. package/modules/arc-diagram.js +2 -2
  123. package/modules/arc-diagram.src.js +5 -5
  124. package/modules/arrow-symbols.js +2 -2
  125. package/modules/arrow-symbols.src.js +5 -5
  126. package/modules/boost-canvas.js +2 -2
  127. package/modules/boost-canvas.src.js +21 -10
  128. package/modules/boost.js +2 -2
  129. package/modules/boost.src.js +21 -10
  130. package/modules/broken-axis.js +2 -2
  131. package/modules/broken-axis.src.js +5 -5
  132. package/modules/bullet.js +2 -2
  133. package/modules/bullet.src.js +5 -5
  134. package/modules/coloraxis.js +2 -2
  135. package/modules/coloraxis.src.js +5 -5
  136. package/modules/current-date-indicator.js +2 -2
  137. package/modules/current-date-indicator.src.js +5 -5
  138. package/modules/cylinder.js +2 -2
  139. package/modules/cylinder.src.js +5 -5
  140. package/modules/data-tools.js +2 -2
  141. package/modules/data-tools.src.js +5 -5
  142. package/modules/data.js +2 -2
  143. package/modules/data.src.js +5 -5
  144. package/modules/datagrouping.js +2 -2
  145. package/modules/datagrouping.src.js +5 -5
  146. package/modules/debugger.js +2 -2
  147. package/modules/debugger.src.js +5 -5
  148. package/modules/dependency-wheel.js +2 -2
  149. package/modules/dependency-wheel.src.js +5 -5
  150. package/modules/dotplot.js +2 -2
  151. package/modules/dotplot.src.js +5 -5
  152. package/modules/drag-panes.js +2 -2
  153. package/modules/drag-panes.src.js +5 -5
  154. package/modules/draggable-points.js +2 -2
  155. package/modules/draggable-points.src.js +5 -5
  156. package/modules/drilldown.js +2 -2
  157. package/modules/drilldown.src.js +8 -8
  158. package/modules/dumbbell.js +2 -2
  159. package/modules/dumbbell.src.js +5 -5
  160. package/modules/export-data.js +2 -2
  161. package/modules/export-data.src.js +5 -5
  162. package/modules/exporting.js +2 -2
  163. package/modules/exporting.src.js +5 -5
  164. package/modules/flowmap.js +2 -2
  165. package/modules/flowmap.src.js +5 -5
  166. package/modules/full-screen.js +2 -2
  167. package/modules/full-screen.src.js +5 -5
  168. package/modules/funnel.js +2 -2
  169. package/modules/funnel.src.js +5 -5
  170. package/modules/funnel3d.js +2 -2
  171. package/modules/funnel3d.src.js +5 -5
  172. package/modules/gantt.js +5 -5
  173. package/modules/gantt.src.js +9 -9
  174. package/modules/geoheatmap.js +2 -2
  175. package/modules/geoheatmap.src.js +5 -5
  176. package/modules/grid-axis.js +2 -2
  177. package/modules/grid-axis.src.js +5 -5
  178. package/modules/heatmap.js +3 -3
  179. package/modules/heatmap.src.js +6 -6
  180. package/modules/heikinashi.js +2 -2
  181. package/modules/heikinashi.src.js +5 -5
  182. package/modules/histogram-bellcurve.js +2 -2
  183. package/modules/histogram-bellcurve.src.js +5 -5
  184. package/modules/hollowcandlestick.js +2 -2
  185. package/modules/hollowcandlestick.src.js +5 -5
  186. package/modules/item-series.js +2 -2
  187. package/modules/item-series.src.js +5 -5
  188. package/modules/lollipop.js +2 -2
  189. package/modules/lollipop.src.js +5 -5
  190. package/modules/map.js +4 -4
  191. package/modules/map.src.js +6 -6
  192. package/modules/marker-clusters.js +2 -2
  193. package/modules/marker-clusters.src.js +5 -5
  194. package/modules/mouse-wheel-zoom.js +2 -2
  195. package/modules/mouse-wheel-zoom.src.js +5 -5
  196. package/modules/navigator.js +2 -2
  197. package/modules/navigator.src.js +5 -5
  198. package/modules/networkgraph.js +2 -2
  199. package/modules/networkgraph.src.js +5 -5
  200. package/modules/no-data-to-display.js +2 -2
  201. package/modules/no-data-to-display.src.js +5 -5
  202. package/modules/offline-exporting.js +2 -2
  203. package/modules/offline-exporting.src.js +6 -6
  204. package/modules/organization.js +2 -2
  205. package/modules/organization.src.js +5 -5
  206. package/modules/overlapping-datalabels.js +2 -2
  207. package/modules/overlapping-datalabels.src.js +5 -5
  208. package/modules/parallel-coordinates.js +2 -2
  209. package/modules/parallel-coordinates.src.js +5 -5
  210. package/modules/pareto.js +2 -2
  211. package/modules/pareto.src.js +5 -5
  212. package/modules/pathfinder.js +2 -2
  213. package/modules/pathfinder.src.js +5 -5
  214. package/modules/pattern-fill.js +2 -2
  215. package/modules/pattern-fill.src.js +5 -5
  216. package/modules/pictorial.js +2 -2
  217. package/modules/pictorial.src.js +5 -5
  218. package/modules/pointandfigure.js +2 -2
  219. package/modules/pointandfigure.src.js +5 -5
  220. package/modules/price-indicator.js +2 -2
  221. package/modules/price-indicator.src.js +5 -5
  222. package/modules/pyramid3d.js +2 -2
  223. package/modules/pyramid3d.src.js +5 -5
  224. package/modules/renko.js +2 -2
  225. package/modules/renko.src.js +5 -5
  226. package/modules/sankey.js +2 -2
  227. package/modules/sankey.src.js +5 -5
  228. package/modules/series-label.js +2 -2
  229. package/modules/series-label.src.js +5 -5
  230. package/modules/series-on-point.js +2 -2
  231. package/modules/series-on-point.src.js +5 -5
  232. package/modules/solid-gauge.js +2 -2
  233. package/modules/solid-gauge.src.js +5 -5
  234. package/modules/sonification.js +2 -2
  235. package/modules/sonification.src.js +5 -5
  236. package/modules/static-scale.js +2 -2
  237. package/modules/static-scale.src.js +5 -5
  238. package/modules/stock-tools.js +2 -2
  239. package/modules/stock-tools.src.js +7 -7
  240. package/modules/stock.js +5 -5
  241. package/modules/stock.src.js +9 -9
  242. package/modules/streamgraph.js +2 -2
  243. package/modules/streamgraph.src.js +5 -5
  244. package/modules/sunburst.js +2 -2
  245. package/modules/sunburst.src.js +5 -5
  246. package/modules/textpath.js +2 -2
  247. package/modules/textpath.src.js +5 -5
  248. package/modules/tiledwebmap.js +2 -2
  249. package/modules/tiledwebmap.src.js +5 -5
  250. package/modules/tilemap.js +2 -2
  251. package/modules/tilemap.src.js +5 -5
  252. package/modules/timeline.js +2 -2
  253. package/modules/timeline.src.js +5 -5
  254. package/modules/treegraph.js +2 -2
  255. package/modules/treegraph.src.js +5 -5
  256. package/modules/treegrid.js +2 -2
  257. package/modules/treegrid.src.js +5 -5
  258. package/modules/treemap.js +2 -2
  259. package/modules/treemap.src.js +5 -5
  260. package/modules/variable-pie.js +2 -2
  261. package/modules/variable-pie.src.js +5 -5
  262. package/modules/variwide.js +2 -2
  263. package/modules/variwide.src.js +5 -5
  264. package/modules/vector.js +2 -2
  265. package/modules/vector.src.js +5 -5
  266. package/modules/venn.js +2 -2
  267. package/modules/venn.src.js +5 -5
  268. package/modules/windbarb.js +2 -2
  269. package/modules/windbarb.src.js +5 -5
  270. package/modules/wordcloud.js +2 -2
  271. package/modules/wordcloud.src.js +5 -5
  272. package/modules/xrange.js +2 -2
  273. package/modules/xrange.src.js +5 -5
  274. package/package.json +1 -1
  275. package/standalone-navigator.js +3 -3
  276. package/standalone-navigator.src.js +25 -20
  277. package/themes/avocado.js +2 -2
  278. package/themes/avocado.src.js +5 -5
  279. package/themes/brand-dark.js +2 -2
  280. package/themes/brand-dark.src.js +5 -5
  281. package/themes/brand-light.js +2 -2
  282. package/themes/brand-light.src.js +5 -5
  283. package/themes/dark-blue.js +2 -2
  284. package/themes/dark-blue.src.js +5 -5
  285. package/themes/dark-green.js +2 -2
  286. package/themes/dark-green.src.js +5 -5
  287. package/themes/dark-unica.js +2 -2
  288. package/themes/dark-unica.src.js +5 -5
  289. package/themes/gray.js +2 -2
  290. package/themes/gray.src.js +5 -5
  291. package/themes/grid-light.js +2 -2
  292. package/themes/grid-light.src.js +5 -5
  293. package/themes/grid.js +2 -2
  294. package/themes/grid.src.js +5 -5
  295. package/themes/high-contrast-dark.js +2 -2
  296. package/themes/high-contrast-dark.src.js +5 -5
  297. package/themes/high-contrast-light.js +2 -2
  298. package/themes/high-contrast-light.src.js +5 -5
  299. package/themes/sand-signika.js +2 -2
  300. package/themes/sand-signika.src.js +5 -5
  301. package/themes/skies.js +2 -2
  302. package/themes/skies.src.js +5 -5
  303. package/themes/sunset.js +2 -2
  304. package/themes/sunset.src.js +5 -5
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/trendline
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/trendline", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/trendline", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/trendline"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/trendline"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highstock JS v12.0.1 (2024-11-28)
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/trix
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -9,4 +9,4 @@
9
9
  * (c) 2010-2024 Rafal Sebestjanski
10
10
  *
11
11
  * License: www.highcharts.com/license
12
- */function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/trix",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],r):"object"==typeof exports?exports["highcharts/trix"]=r(require("highcharts"),require("highcharts").SeriesRegistry):e.Highcharts=r(e.Highcharts,e.Highcharts.SeriesRegistry)}(this,(e,r)=>(()=>{"use strict";var t={512:e=>{e.exports=r},944:r=>{r.exports=e}},i={};function s(e){var r=i[e];if(void 0!==r)return r.exports;var h=i[e]={exports:{}};return t[e](h,h.exports,s),h.exports}s.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return s.d(r,{a:r}),r},s.d=(e,r)=>{for(var t in r)s.o(r,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},s.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var h={};s.d(h,{default:()=>f});var o=s(944),a=/*#__PURE__*/s.n(o),n=s(512),p=/*#__PURE__*/s.n(n);let{tema:c}=p().seriesTypes,{correctFloat:u,merge:l}=a();class g extends c{getTemaPoint(e,r,t,i){if(i>r)return[e[i-3],0!==t.prevLevel3?u(t.level3-t.prevLevel3)/t.prevLevel3*100:null]}}g.defaultOptions=l(c.defaultOptions),p().registerSeriesType("trix",g);let f=a();return h.default})());
12
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/trix",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/trix"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e](o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};s.d(o,{default:()=>l});var n=s(944),a=/*#__PURE__*/s.n(n),h=s(512),p=/*#__PURE__*/s.n(h);let{tema:c}=p().seriesTypes,{correctFloat:d,merge:f}=a();class u extends c{getTemaPoint(e,t,r,i){if(i>t)return[e[i-3],0!==r.prevLevel3?d(r.level3-r.prevLevel3)/r.prevLevel3*100:null]}}u.defaultOptions=f(c.defaultOptions),p().registerSeriesType("trix",u);let l=a();return o.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/trix
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/trix", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/trix", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/trix"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/trix"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highstock JS v12.0.1 (2024-11-28)
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/volume-by-price
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -9,4 +9,4 @@
9
9
  * (c) 2010-2024 Paweł Dalek
10
10
  *
11
11
  * License: www.highcharts.com/license
12
- */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/volume-by-price",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],t):"object"==typeof exports?exports["highcharts/volume-by-price"]=t(require("highcharts"),require("highcharts").SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}(this,(e,t)=>(()=>{"use strict";var i={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var a=s[e]={exports:{}};return i[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a={};o.d(a,{default:()=>A});var n=o(944),r=/*#__PURE__*/o.n(n),l=o(512),h=/*#__PURE__*/o.n(l);let{sma:{prototype:{pointClass:p}}}=h().seriesTypes,u=class extends p{destroy(){this.negativeGraphic&&(this.negativeGraphic=this.negativeGraphic.destroy()),super.destroy.apply(this,arguments)}},{animObject:d}=r(),{noop:m}=r(),{column:{prototype:c},sma:g}=h().seriesTypes,{addEvent:v,arrayMax:f,arrayMin:y,correctFloat:x,defined:D,error:S,extend:V,isArray:b,merge:P}=r(),C=Math.abs;class w extends g{init(e,t){let i=this;delete t.data,super.init.apply(i,arguments);let s=v(this.chart.constructor,"afterLinkSeries",function(){if(i.options){let t=i.options.params,s=i.linkedParent,o=e.get(t.volumeSeriesID);i.addCustomEvents(s,o)}s()},{order:1});return i}addCustomEvents(e,t){let i=this,s=()=>{i.chart.redraw(),i.setData([]),i.zoneStarts=[],i.zoneLinesSVG&&(i.zoneLinesSVG=i.zoneLinesSVG.destroy())};return i.dataEventsToUnbind.push(v(e,"remove",function(){s()})),t&&i.dataEventsToUnbind.push(v(t,"remove",function(){s()})),i}animate(e){let t=this,i=t.chart.inverted,s=t.group,o={};if(!e&&s){let e=i?t.yAxis.top:t.xAxis.left;i?(s["forceAnimate:translateY"]=!0,o.translateY=e):(s["forceAnimate:translateX"]=!0,o.translateX=e),s.animate(o,V(d(t.options.animation),{step:function(e,i){t.group.attr({scaleX:Math.max(.001,i.pos)})}}))}}drawPoints(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),c.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1)),c.drawPoints.apply(this,arguments)}posNegVolume(e,t){let i=t?["positive","negative"]:["negative","positive"],s=this.options.volumeDivision,o=this.points.length,a=[],n=[],r=0,l,h,p,u;for(e?(this.posWidths=a,this.negWidths=n):(a=this.posWidths,n=this.negWidths);r<o;r++)(u=this.points[r])[i[0]+"Graphic"]=u.graphic,u.graphic=u[i[1]+"Graphic"],e&&(l=u.shapeArgs.width,(p=(h=this.priceZones[r]).wholeVolumeData)?(a.push(l/p*h.positiveVolumeData),n.push(l/p*h.negativeVolumeData)):(a.push(0),n.push(0))),u.color=t?s.styles.positiveColor:s.styles.negativeColor,u.shapeArgs.width=t?this.posWidths[r]:this.negWidths[r],u.shapeArgs.x=t?u.shapeArgs.x:this.posWidths[r]}translate(){let e=this,t=e.options,i=e.chart,s=e.yAxis,o=s.min,a=e.options.zoneLines,n=e.priceZones,r=0,l,h,p,u,d,m,g,v,y,D;c.translate.apply(e);let S=e.points;S.length&&(g=t.pointPadding<.5?t.pointPadding:.1,l=f(e.volumeDataArray),h=i.plotWidth/2,v=i.plotTop,p=C(s.toPixels(o)-s.toPixels(o+e.rangeStep)),d=C(s.toPixels(o)-s.toPixels(o+e.rangeStep)),g&&(u=C(p*(1-2*g)),r=C((p-u)/2),p=C(u)),S.forEach(function(t,i){y=t.barX=t.plotX=0,D=t.plotY=s.toPixels(n[i].start)-v-(s.reversed?p-d:p)-r,m=x(h*n[i].wholeVolumeData/l),t.pointWidth=m,t.shapeArgs=e.crispCol.apply(e,[y,D,m,p]),t.volumeNeg=n[i].negativeVolumeData,t.volumePos=n[i].positiveVolumeData,t.volumeAll=n[i].wholeVolumeData}),a.enabled&&e.drawZones(i,s,e.zoneStarts,a.styles))}getExtremes(){let e;let t=this.options.compare,i=this.options.cumulative;return this.options.compare?(this.options.compare=void 0,e=super.getExtremes(),this.options.compare=t):this.options.cumulative?(this.options.cumulative=!1,e=super.getExtremes(),this.options.cumulative=i):e=super.getExtremes(),e}getValues(e,t){let i=e.getColumn("x",!0),s=e.processedYData,o=this.chart,a=t.ranges,n=[],r=[],l=[],h=o.get(t.volumeSeriesID);if(!e.chart){S("Base series not found! In case it has been removed, add a new one.",!0,o);return}if(!h||!h.getColumn("x",!0).length){let e=h&&!h.getColumn("x",!0).length?" does not contain any data.":" not found! Check `volumeSeriesID`.";S("Series "+t.volumeSeriesID+e,!0,o);return}let p=b(s[0]);if(p&&4!==s[0].length){S("Type of "+e.name+" series is different than line, OHLC or candlestick.",!0,o);return}return(this.priceZones=this.specifyZones(p,i,s,a,h)).forEach(function(e,t){n.push([e.x,e.end]),r.push(n[t][0]),l.push(n[t][1])}),{values:n,xData:r,yData:l}}specifyZones(e,t,i,s,o){let a=!!e&&function(e){let t=e.length,i=e[0][3],s=i,o=1,a;for(;o<t;o++)(a=e[o][3])<i&&(i=a),a>s&&(s=a);return{min:i,max:s}}(i),n=this.zoneStarts=[],r=[],l=a?a.min:y(i),h=a?a.max:f(i),p=0,u=1,d=this.linkedParent;if(!this.options.compareToMain&&d.dataModify&&(l=d.dataModify.modifyValue(l),h=d.dataModify.modifyValue(h)),!D(l)||!D(h))return this.points.length&&(this.setData([]),this.zoneStarts=[],this.zoneLinesSVG&&(this.zoneLinesSVG=this.zoneLinesSVG.destroy())),[];let m=this.rangeStep=x(h-l)/s;for(n.push(l);p<s-1;p++)n.push(x(n[p]+m));n.push(h);let c=n.length;for(;u<c;u++)r.push({index:u-1,x:t[0],start:n[u-1],end:n[u]});return this.volumePerZone(e,r,o,t,i)}volumePerZone(e,t,i,s,o){let a,n,r,l,h;let p=this,u=i.getColumn("x",!0),d=i.getColumn("y",!0),m=t.length-1,c=o.length,g=d.length;return C(c-g)&&(s[0]!==u[0]&&d.unshift(0),s[c-1]!==u[g-1]&&d.push(0)),p.volumeDataArray=[],t.forEach(function(t){for(h=0,t.wholeVolumeData=0,t.positiveVolumeData=0,t.negativeVolumeData=0;h<c;h++){n=!1,r=!1,l=e?o[h][3]:o[h],a=h?e?o[h-1][3]:o[h-1]:l;let i=p.linkedParent;!p.options.compareToMain&&i.dataModify&&(l=i.dataModify.modifyValue(l),a=i.dataModify.modifyValue(a)),l<=t.start&&0===t.index&&(n=!0),l>=t.end&&t.index===m&&(r=!0),(l>t.start||n)&&(l<t.end||r)&&(t.wholeVolumeData+=d[h],a>l?t.negativeVolumeData+=d[h]:t.positiveVolumeData+=d[h])}p.volumeDataArray.push(t.wholeVolumeData)}),t}drawZones(e,t,i,s){let o=e.renderer,a=e.plotWidth,n=e.plotTop,r=this.zoneLinesSVG,l=[],h;i.forEach(function(i){h=t.toPixels(i)-n,l=l.concat(e.renderer.crispLine([["M",0,h],["L",a,h]],s.lineWidth))}),r?r.animate({d:l}):r=this.zoneLinesSVG=o.path(l).attr({"stroke-width":s.lineWidth,stroke:s.color,dashstyle:s.dashStyle,zIndex:this.group.zIndex+.1}).add(this.group)}}w.defaultOptions=P(g.defaultOptions,{params:{index:void 0,period:void 0,ranges:12,volumeSeriesID:"volume"},zoneLines:{enabled:!0,styles:{color:"#0A9AC9",dashStyle:"LongDash",lineWidth:1}},volumeDivision:{enabled:!0,styles:{positiveColor:"rgba(144, 237, 125, 0.8)",negativeColor:"rgba(244, 91, 91, 0.8)"}},animationLimit:1e3,enableMouseTracking:!1,pointPadding:0,zIndex:-1,crisp:!0,dataGrouping:{enabled:!1},dataLabels:{allowOverlap:!0,enabled:!0,format:"P: {point.volumePos:.2f} | N: {point.volumeNeg:.2f}",padding:0,style:{fontSize:"0.5em"},verticalAlign:"top"}}),V(w.prototype,{nameBase:"Volume by Price",nameComponents:["ranges"],calculateOn:{chart:"render",xAxis:"afterSetExtremes"},pointClass:u,markerAttribs:m,drawGraph:m,getColumnMetrics:c.getColumnMetrics,crispCol:c.crispCol}),h().registerSeriesType("vbp",w);let A=r();return a.default})());
12
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/volume-by-price",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/volume-by-price"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var i={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var a=s[e]={exports:{}};return i[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a={};o.d(a,{default:()=>A});var n=o(944),r=/*#__PURE__*/o.n(n),l=o(512),p=/*#__PURE__*/o.n(l);let{sma:{prototype:{pointClass:h}}}=p().seriesTypes,d=class extends h{destroy(){this.negativeGraphic&&(this.negativeGraphic=this.negativeGraphic.destroy()),super.destroy.apply(this,arguments)}},{animObject:u}=r(),{noop:m}=r(),{column:{prototype:c},sma:g}=p().seriesTypes,{addEvent:f,arrayMax:v,arrayMin:y,correctFloat:x,defined:D,error:S,extend:V,isArray:b,merge:w}=r(),P=Math.abs;class C extends g{init(e,t){let i=this;delete t.data,super.init.apply(i,arguments);let s=f(this.chart.constructor,"afterLinkSeries",function(){if(i.options){let t=i.options.params,s=i.linkedParent,o=e.get(t.volumeSeriesID);i.addCustomEvents(s,o)}s()},{order:1});return i}addCustomEvents(e,t){let i=this,s=()=>{i.chart.redraw(),i.setData([]),i.zoneStarts=[],i.zoneLinesSVG&&(i.zoneLinesSVG=i.zoneLinesSVG.destroy())};return i.dataEventsToUnbind.push(f(e,"remove",function(){s()})),t&&i.dataEventsToUnbind.push(f(t,"remove",function(){s()})),i}animate(e){let t=this,i=t.chart.inverted,s=t.group,o={};if(!e&&s){let e=i?t.yAxis.top:t.xAxis.left;i?(s["forceAnimate:translateY"]=!0,o.translateY=e):(s["forceAnimate:translateX"]=!0,o.translateX=e),s.animate(o,V(u(t.options.animation),{step:function(e,i){t.group.attr({scaleX:Math.max(.001,i.pos)})}}))}}drawPoints(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),c.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1)),c.drawPoints.apply(this,arguments)}posNegVolume(e,t){let i=t?["positive","negative"]:["negative","positive"],s=this.options.volumeDivision,o=this.points.length,a=[],n=[],r=0,l,p,h,d;for(e?(this.posWidths=a,this.negWidths=n):(a=this.posWidths,n=this.negWidths);r<o;r++)(d=this.points[r])[i[0]+"Graphic"]=d.graphic,d.graphic=d[i[1]+"Graphic"],e&&(l=d.shapeArgs.width,(h=(p=this.priceZones[r]).wholeVolumeData)?(a.push(l/h*p.positiveVolumeData),n.push(l/h*p.negativeVolumeData)):(a.push(0),n.push(0))),d.color=t?s.styles.positiveColor:s.styles.negativeColor,d.shapeArgs.width=t?this.posWidths[r]:this.negWidths[r],d.shapeArgs.x=t?d.shapeArgs.x:this.posWidths[r]}translate(){let e=this,t=e.options,i=e.chart,s=e.yAxis,o=s.min,a=e.options.zoneLines,n=e.priceZones,r=0,l,p,h,d,u,m,g,f,y,D;c.translate.apply(e);let S=e.points;S.length&&(g=t.pointPadding<.5?t.pointPadding:.1,l=v(e.volumeDataArray),p=i.plotWidth/2,f=i.plotTop,h=P(s.toPixels(o)-s.toPixels(o+e.rangeStep)),u=P(s.toPixels(o)-s.toPixels(o+e.rangeStep)),g&&(d=P(h*(1-2*g)),r=P((h-d)/2),h=P(d)),S.forEach(function(t,i){y=t.barX=t.plotX=0,D=t.plotY=s.toPixels(n[i].start)-f-(s.reversed?h-u:h)-r,m=x(p*n[i].wholeVolumeData/l),t.pointWidth=m,t.shapeArgs=e.crispCol.apply(e,[y,D,m,h]),t.volumeNeg=n[i].negativeVolumeData,t.volumePos=n[i].positiveVolumeData,t.volumeAll=n[i].wholeVolumeData}),a.enabled&&e.drawZones(i,s,e.zoneStarts,a.styles))}getExtremes(){let e;let t=this.options.compare,i=this.options.cumulative;return this.options.compare?(this.options.compare=void 0,e=super.getExtremes(),this.options.compare=t):this.options.cumulative?(this.options.cumulative=!1,e=super.getExtremes(),this.options.cumulative=i):e=super.getExtremes(),e}getValues(e,t){let i=e.getColumn("x",!0),s=e.processedYData,o=this.chart,a=t.ranges,n=[],r=[],l=[],p=o.get(t.volumeSeriesID);if(!e.chart){S("Base series not found! In case it has been removed, add a new one.",!0,o);return}if(!p||!p.getColumn("x",!0).length){let e=p&&!p.getColumn("x",!0).length?" does not contain any data.":" not found! Check `volumeSeriesID`.";S("Series "+t.volumeSeriesID+e,!0,o);return}let h=b(s[0]);if(h&&4!==s[0].length){S("Type of "+e.name+" series is different than line, OHLC or candlestick.",!0,o);return}return(this.priceZones=this.specifyZones(h,i,s,a,p)).forEach(function(e,t){n.push([e.x,e.end]),r.push(n[t][0]),l.push(n[t][1])}),{values:n,xData:r,yData:l}}specifyZones(e,t,i,s,o){let a=!!e&&function(e){let t=e.length,i=e[0][3],s=i,o=1,a;for(;o<t;o++)(a=e[o][3])<i&&(i=a),a>s&&(s=a);return{min:i,max:s}}(i),n=this.zoneStarts=[],r=[],l=a?a.min:y(i),p=a?a.max:v(i),h=0,d=1,u=this.linkedParent;if(!this.options.compareToMain&&u.dataModify&&(l=u.dataModify.modifyValue(l),p=u.dataModify.modifyValue(p)),!D(l)||!D(p))return this.points.length&&(this.setData([]),this.zoneStarts=[],this.zoneLinesSVG&&(this.zoneLinesSVG=this.zoneLinesSVG.destroy())),[];let m=this.rangeStep=x(p-l)/s;for(n.push(l);h<s-1;h++)n.push(x(n[h]+m));n.push(p);let c=n.length;for(;d<c;d++)r.push({index:d-1,x:t[0],start:n[d-1],end:n[d]});return this.volumePerZone(e,r,o,t,i)}volumePerZone(e,t,i,s,o){let a,n,r,l,p;let h=this,d=i.getColumn("x",!0),u=i.getColumn("y",!0),m=t.length-1,c=o.length,g=u.length;return P(c-g)&&(s[0]!==d[0]&&u.unshift(0),s[c-1]!==d[g-1]&&u.push(0)),h.volumeDataArray=[],t.forEach(function(t){for(p=0,t.wholeVolumeData=0,t.positiveVolumeData=0,t.negativeVolumeData=0;p<c;p++){n=!1,r=!1,l=e?o[p][3]:o[p],a=p?e?o[p-1][3]:o[p-1]:l;let i=h.linkedParent;!h.options.compareToMain&&i.dataModify&&(l=i.dataModify.modifyValue(l),a=i.dataModify.modifyValue(a)),l<=t.start&&0===t.index&&(n=!0),l>=t.end&&t.index===m&&(r=!0),(l>t.start||n)&&(l<t.end||r)&&(t.wholeVolumeData+=u[p],a>l?t.negativeVolumeData+=u[p]:t.positiveVolumeData+=u[p])}h.volumeDataArray.push(t.wholeVolumeData)}),t}drawZones(e,t,i,s){let o=e.renderer,a=e.plotWidth,n=e.plotTop,r=this.zoneLinesSVG,l=[],p;i.forEach(function(i){p=t.toPixels(i)-n,l=l.concat(e.renderer.crispLine([["M",0,p],["L",a,p]],s.lineWidth))}),r?r.animate({d:l}):r=this.zoneLinesSVG=o.path(l).attr({"stroke-width":s.lineWidth,stroke:s.color,dashstyle:s.dashStyle,zIndex:this.group.zIndex+.1}).add(this.group)}}C.defaultOptions=w(g.defaultOptions,{params:{index:void 0,period:void 0,ranges:12,volumeSeriesID:"volume"},zoneLines:{enabled:!0,styles:{color:"#0A9AC9",dashStyle:"LongDash",lineWidth:1}},volumeDivision:{enabled:!0,styles:{positiveColor:"rgba(144, 237, 125, 0.8)",negativeColor:"rgba(244, 91, 91, 0.8)"}},animationLimit:1e3,enableMouseTracking:!1,pointPadding:0,zIndex:-1,crisp:!0,dataGrouping:{enabled:!1},dataLabels:{allowOverlap:!0,enabled:!0,format:"P: {point.volumePos:.2f} | N: {point.volumeNeg:.2f}",padding:0,style:{fontSize:"0.5em"},verticalAlign:"top"}}),V(C.prototype,{nameBase:"Volume by Price",nameComponents:["ranges"],calculateOn:{chart:"render",xAxis:"afterSetExtremes"},pointClass:d,markerAttribs:m,drawGraph:m,getColumnMetrics:c.getColumnMetrics,crispCol:c.crispCol}),p().registerSeriesType("vbp",C);let A=r();return a.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/volume-by-price
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/volume-by-price", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/volume-by-price", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/volume-by-price"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/volume-by-price"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highstock JS v12.0.1 (2024-11-28)
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/vwap
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -9,4 +9,4 @@
9
9
  * (c) 2010-2024 Paweł Dalek
10
10
  *
11
11
  * License: www.highcharts.com/license
12
- */function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/vwap",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],r):"object"==typeof exports?exports["highcharts/vwap"]=r(require("highcharts"),require("highcharts").SeriesRegistry):e.Highcharts=r(e.Highcharts,e.Highcharts.SeriesRegistry)}(this,(e,r)=>(()=>{"use strict";var t={512:e=>{e.exports=r},944:r=>{r.exports=e}},s={};function a(e){var r=s[e];if(void 0!==r)return r.exports;var i=s[e]={exports:{}};return t[e](i,i.exports,a),i.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var i={};a.d(i,{default:()=>f});var h=a(944),o=/*#__PURE__*/a.n(h),u=a(512),l=/*#__PURE__*/a.n(u);let{sma:p}=l().seriesTypes,{error:n,isArray:c,merge:g}=o();class d extends p{getValues(e,r){let t=e.chart,s=e.xData,a=e.yData,i=r.period,h=!0,o;if(!(o=t.get(r.volumeSeriesID))){n("Series "+r.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,t);return}return c(a[0])||(h=!1),this.calculateVWAPValues(h,s,a,o,i)}calculateVWAPValues(e,r,t,s,a){let i,h,o,u,l,p;let n=s.getColumn("y"),c=n.length,g=r.length,d=[],f=[],v=[],y=[],x=[];for(l=0,i=g<=c?g:c,p=0;l<i;l++)h=(e?(t[l][1]+t[l][2]+t[l][3])/3:t[l])*n[l],o=p?d[l-1]+h:h,u=p?f[l-1]+n[l]:n[l],d.push(o),f.push(u),x.push([r[l],o/u]),v.push(x[l][0]),y.push(x[l][1]),++p===a&&(p=0);return{values:x,xData:v,yData:y}}}d.defaultOptions=g(p.defaultOptions,{params:{index:void 0,period:30,volumeSeriesID:"volume"}}),l().registerSeriesType("vwap",d);let f=o();return i.default})());
12
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/vwap",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/vwap"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var a=s[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a={};i.d(a,{default:()=>g});var o=i(944),n=/*#__PURE__*/i.n(o),u=i(512),h=/*#__PURE__*/i.n(u);let{sma:p}=h().seriesTypes,{error:l,isArray:c,merge:d}=n();class f extends p{getValues(e,t){let r=e.chart,s=e.xData,i=e.yData,a=t.period,o=!0,n;if(!(n=r.get(t.volumeSeriesID))){l("Series "+t.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,r);return}return c(i[0])||(o=!1),this.calculateVWAPValues(o,s,i,n,a)}calculateVWAPValues(e,t,r,s,i){let a,o,n,u,h,p;let l=s.getColumn("y"),c=l.length,d=t.length,f=[],g=[],v=[],y=[],x=[];for(h=0,a=d<=c?d:c,p=0;h<a;h++)o=(e?(r[h][1]+r[h][2]+r[h][3])/3:r[h])*l[h],n=p?f[h-1]+o:o,u=p?g[h-1]+l[h]:l[h],f.push(n),g.push(u),x.push([t[h],n/u]),v.push(x[h][0]),y.push(x[h][1]),++p===i&&(p=0);return{values:x,xData:v,yData:y}}}f.defaultOptions=d(p.defaultOptions,{params:{index:void 0,period:30,volumeSeriesID:"volume"}}),h().registerSeriesType("vwap",f);let g=n();return a.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/vwap
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/vwap", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/vwap", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/vwap"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/vwap"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highstock JS v12.0.1 (2024-11-28)
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/williams-r
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -9,4 +9,4 @@
9
9
  * (c) 2010-2024 Wojciech Chmiel
10
10
  *
11
11
  * License: www.highcharts.com/license
12
- */function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/williams-r",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],r):"object"==typeof exports?exports["highcharts/williams-r"]=r(require("highcharts"),require("highcharts").SeriesRegistry):e.Highcharts=r(e.Highcharts,e.Highcharts.SeriesRegistry)}(this,(e,r)=>(()=>{"use strict";var t={512:e=>{e.exports=r},944:r=>{r.exports=e}},s={};function i(e){var r=s[e];if(void 0!==r)return r.exports;var a=s[e]={exports:{}};return t[e](a,a.exports,i),a.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var a={};i.d(a,{default:()=>y});var h=i(944),o=/*#__PURE__*/i.n(h);let n={getArrayExtremes:function(e,r,t){return e.reduce((e,s)=>[Math.min(e[0],s[r]),Math.max(e[1],s[t])],[Number.MAX_VALUE,-Number.MAX_VALUE])}};var u=i(512),l=/*#__PURE__*/i.n(u);let{sma:p}=l().seriesTypes,{extend:c,isArray:g,merge:d}=o();class f extends p{getValues(e,r){let t,s,i,a,h,o;let u=r.period,l=e.xData,p=e.yData,c=p?p.length:0,d=[],f=[],y=[];if(!(l.length<u)&&g(p[0])&&4===p[0].length){for(o=u-1;o<c;o++)t=p.slice(o-u+1,o+1),h=(s=n.getArrayExtremes(t,2,1))[0],i=-(((a=s[1])-p[o][3])/(a-h)*100),l[o]&&(d.push([l[o],i]),f.push(l[o]),y.push(i));return{values:d,xData:f,yData:y}}}}f.defaultOptions=d(p.defaultOptions,{params:{index:void 0,period:14}}),c(f.prototype,{nameBase:"Williams %R"}),l().registerSeriesType("williamsr",f);let y=o();return a.default})());
12
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/williams-r",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/williams-r"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var a=s[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a={};i.d(a,{default:()=>y});var o=i(944),n=/*#__PURE__*/i.n(o);let h={getArrayExtremes:function(e,t,r){return e.reduce((e,s)=>[Math.min(e[0],s[t]),Math.max(e[1],s[r])],[Number.MAX_VALUE,-Number.MAX_VALUE])}};var l=i(512),p=/*#__PURE__*/i.n(l);let{sma:u}=p().seriesTypes,{extend:d,isArray:c,merge:f}=n();class g extends u{getValues(e,t){let r,s,i,a,o,n;let l=t.period,p=e.xData,u=e.yData,d=u?u.length:0,f=[],g=[],y=[];if(!(p.length<l)&&c(u[0])&&4===u[0].length){for(n=l-1;n<d;n++)r=u.slice(n-l+1,n+1),o=(s=h.getArrayExtremes(r,2,1))[0],i=-(((a=s[1])-u[n][3])/(a-o)*100),p[n]&&(f.push([p[n],i]),g.push(p[n]),y.push(i));return{values:f,xData:g,yData:y}}}}g.defaultOptions=f(u.defaultOptions,{params:{index:void 0,period:14}}),d(g.prototype,{nameBase:"Williams %R"}),p().registerSeriesType("williamsr",g);let y=n();return a.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/williams-r
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/williams-r", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/williams-r", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/williams-r"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/williams-r"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({
package/indicators/wma.js CHANGED
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highstock JS v12.0.1 (2024-11-28)
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/wma
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -9,4 +9,4 @@
9
9
  * (c) 2010-2024 Kacper Madej
10
10
  *
11
11
  * License: www.highcharts.com/license
12
- */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/wma",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],t):"object"==typeof exports?exports["highcharts/wma"]=t(require("highcharts"),require("highcharts").SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}(this,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var h=s[e]={exports:{}};return r[e](h,h.exports,i),h.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var h={};i.d(h,{default:()=>x});var a=i(944),o=/*#__PURE__*/i.n(a),n=i(512),u=/*#__PURE__*/i.n(n);let{sma:p}=u().seriesTypes,{isArray:c,merge:f}=o();function l(e,t,r,s,i){let h=t[s],a=i<0?r[s]:r[s][i];e.push([h,a])}function d(e,t,r,s){let i=e.length,h=e.reduce(function(e,t,r){return[null,e[1]+t[1]*(r+1)]})[1]/((i+1)/2*i),a=t[s-1];return e.shift(),[a,h]}class g extends p{getValues(e,t){let r=t.period,s=e.xData,i=e.yData,h=i?i.length:0,a=s[0],o=[],n=[],u=[],p=1,f=-1,g,x,y=i[0];if(s.length<r)return;c(i[0])&&(f=t.index,y=i[0][f]);let m=[[a,y]];for(;p!==r;)l(m,s,i,p,f),p++;for(g=p;g<h;g++)o.push(x=d(m,s,i,g)),n.push(x[0]),u.push(x[1]),l(m,s,i,g,f);return o.push(x=d(m,s,i,g)),n.push(x[0]),u.push(x[1]),{values:o,xData:n,yData:u}}}g.defaultOptions=f(p.defaultOptions,{params:{index:3,period:9}}),u().registerSeriesType("wma",g);let x=o();return h.default})());
12
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/wma",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/wma"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};i.d(n,{default:()=>y});var a=i(944),o=/*#__PURE__*/i.n(a),h=i(512),u=/*#__PURE__*/i.n(h);let{sma:p}=u().seriesTypes,{isArray:c,merge:d}=o();function f(e,t,r,s,i){let n=t[s],a=i<0?r[s]:r[s][i];e.push([n,a])}function l(e,t,r,s){let i=e.length,n=e.reduce(function(e,t,r){return[null,e[1]+t[1]*(r+1)]})[1]/((i+1)/2*i),a=t[s-1];return e.shift(),[a,n]}class g extends p{getValues(e,t){let r=t.period,s=e.xData,i=e.yData,n=i?i.length:0,a=s[0],o=[],h=[],u=[],p=1,d=-1,g,y,x=i[0];if(s.length<r)return;c(i[0])&&(d=t.index,x=i[0][d]);let m=[[a,x]];for(;p!==r;)f(m,s,i,p,d),p++;for(g=p;g<n;g++)o.push(y=l(m,s,i,g)),h.push(y[0]),u.push(y[1]),f(m,s,i,g,d);return o.push(y=l(m,s,i,g)),h.push(y[0]),u.push(y[1]),{values:o,xData:h,yData:u}}}g.defaultOptions=d(p.defaultOptions,{params:{index:3,period:9}}),u().registerSeriesType("wma",g);let y=o();return n.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/wma
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/wma", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/wma", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/wma"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/wma"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highstock JS v12.0.1 (2024-11-28)
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/zigzag
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -9,4 +9,4 @@
9
9
  * (c) 2010-2024 Kacper Madej
10
10
  *
11
11
  * License: www.highcharts.com/license
12
- */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/zigzag",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],t):"object"==typeof exports?exports["highcharts/zigzag"]=t(require("highcharts"),require("highcharts").SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}(this,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var h=i[e]={exports:{}};return r[e](h,h.exports,s),h.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var h={};s.d(h,{default:()=>c});var a=s(944),o=/*#__PURE__*/s.n(a),n=s(512),p=/*#__PURE__*/s.n(n);let{sma:g}=p().seriesTypes,{merge:u,extend:d}=o();class l extends g{getValues(e,t){let r=t.lowIndex,i=t.highIndex,s=t.deviation/100,h={low:1+s,high:1-s},a=e.xData,o=e.yData,n=o?o.length:0,p=[],g=[],u=[],d,l,c,f,x=!1,v=!1;if(!a||a.length<=1||n&&(void 0===o[0][r]||void 0===o[0][i]))return;let y=o[0][r],m=o[0][i];for(d=1;d<n;d++)o[d][r]<=m*h.high?(p.push([a[0],m]),c=[a[d],o[d][r]],f=!0,x=!0):o[d][i]>=y*h.low&&(p.push([a[0],y]),c=[a[d],o[d][i]],f=!1,x=!0),x&&(g.push(p[0][0]),u.push(p[0][1]),l=d++,d=n);for(d=l;d<n;d++)f?(o[d][r]<=c[1]&&(c=[a[d],o[d][r]]),o[d][i]>=c[1]*h.low&&(v=i)):(o[d][i]>=c[1]&&(c=[a[d],o[d][i]]),o[d][r]<=c[1]*h.high&&(v=r)),!1!==v&&(p.push(c),g.push(c[0]),u.push(c[1]),c=[a[d],o[d][v]],f=!f,v=!1);let b=p.length;return 0!==b&&p[b-1][0]<a[n-1]&&(p.push(c),g.push(c[0]),u.push(c[1])),{values:p,xData:g,yData:u}}}l.defaultOptions=u(g.defaultOptions,{params:{index:void 0,period:void 0,lowIndex:2,highIndex:1,deviation:1}}),d(l.prototype,{nameComponents:["deviation"],nameSuffixes:["%"],nameBase:"Zig Zag"}),p().registerSeriesType("zigzag",l);let c=o();return h.default})());
12
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/zigzag",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/zigzag"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e](o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};s.d(o,{default:()=>f});var a=s(944),h=/*#__PURE__*/s.n(a),n=s(512),p=/*#__PURE__*/s.n(n);let{sma:d}=p().seriesTypes,{merge:u,extend:g}=h();class l extends d{getValues(e,t){let r=t.lowIndex,i=t.highIndex,s=t.deviation/100,o={low:1+s,high:1-s},a=e.xData,h=e.yData,n=h?h.length:0,p=[],d=[],u=[],g,l,f,c,x=!1,y=!1;if(!a||a.length<=1||n&&(void 0===h[0][r]||void 0===h[0][i]))return;let v=h[0][r],m=h[0][i];for(g=1;g<n;g++)h[g][r]<=m*o.high?(p.push([a[0],m]),f=[a[g],h[g][r]],c=!0,x=!0):h[g][i]>=v*o.low&&(p.push([a[0],v]),f=[a[g],h[g][i]],c=!1,x=!0),x&&(d.push(p[0][0]),u.push(p[0][1]),l=g++,g=n);for(g=l;g<n;g++)c?(h[g][r]<=f[1]&&(f=[a[g],h[g][r]]),h[g][i]>=f[1]*o.low&&(y=i)):(h[g][i]>=f[1]&&(f=[a[g],h[g][i]]),h[g][r]<=f[1]*o.high&&(y=r)),!1!==y&&(p.push(f),d.push(f[0]),u.push(f[1]),f=[a[g],h[g][y]],c=!c,y=!1);let w=p.length;return 0!==w&&p[w-1][0]<a[n-1]&&(p.push(f),d.push(f[0]),u.push(f[1])),{values:p,xData:d,yData:u}}}l.defaultOptions=u(d.defaultOptions,{params:{index:void 0,period:void 0,lowIndex:2,highIndex:1,deviation:1}}),g(l.prototype,{nameComponents:["deviation"],nameSuffixes:["%"],nameBase:"Zig Zag"}),p().registerSeriesType("zigzag",l);let f=h();return o.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v12.0.1 (2024-11-28)
2
+ * @license Highstock JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/indicators/zigzag
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -12,14 +12,14 @@
12
12
  */
13
13
  (function webpackUniversalModuleDefinition(root, factory) {
14
14
  if(typeof exports === 'object' && typeof module === 'object')
15
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
15
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
16
16
  else if(typeof define === 'function' && define.amd)
17
- define("highcharts/zigzag", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
17
+ define("highcharts/indicators/zigzag", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
18
18
  else if(typeof exports === 'object')
19
- exports["highcharts/zigzag"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
19
+ exports["highcharts/indicators/zigzag"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
20
20
  else
21
21
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
22
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
23
23
  return /******/ (() => { // webpackBootstrap
24
24
  /******/ "use strict";
25
25
  /******/ var __webpack_modules__ = ({