billboard.js 4.1.0-next.2 → 4.1.0

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 (233) hide show
  1. package/dist/billboard.css +1 -1
  2. package/dist/billboard.js +268 -107
  3. package/dist/billboard.min.css +1 -1
  4. package/dist/billboard.min.js +16 -16
  5. package/dist/billboard.pkgd.js +3198 -1755
  6. package/dist/billboard.pkgd.min.js +23 -23
  7. package/dist/billboard.react.js +28 -49
  8. package/dist/billboard.react.min.js +2 -2
  9. package/dist/billboard.worker.js +1 -1
  10. package/dist/plugin/billboardjs-plugin-bubblecompare.js +14 -31
  11. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-sparkline.js +14 -31
  13. package/dist/plugin/billboardjs-plugin-sparkline.min.js +3 -3
  14. package/dist/plugin/billboardjs-plugin-stanford.js +21 -35
  15. package/dist/plugin/billboardjs-plugin-stanford.min.js +7 -7
  16. package/dist/plugin/billboardjs-plugin-tableview.js +15 -30
  17. package/dist/plugin/billboardjs-plugin-tableview.min.js +5 -5
  18. package/dist/plugin/billboardjs-plugin-textoverlap.js +15 -30
  19. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  20. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +2959 -1684
  21. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +8 -8
  22. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2960 -1685
  23. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +10 -10
  24. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2961 -1686
  25. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +18 -18
  26. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +2962 -1687
  27. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +11 -11
  28. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2963 -1688
  29. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +8 -8
  30. package/dist/theme/dark.css +1 -1
  31. package/dist/theme/dark.min.css +1 -1
  32. package/dist/theme/datalab.css +1 -1
  33. package/dist/theme/datalab.min.css +1 -1
  34. package/dist/theme/graph.css +1 -1
  35. package/dist/theme/graph.min.css +1 -1
  36. package/dist/theme/insight.css +1 -1
  37. package/dist/theme/insight.min.css +1 -1
  38. package/dist/theme/modern.css +1 -1
  39. package/dist/theme/modern.min.css +1 -1
  40. package/dist-esm/Chart/Chart.js +1 -1
  41. package/dist-esm/Chart/api/axis.js +1 -1
  42. package/dist-esm/Chart/api/category.js +1 -1
  43. package/dist-esm/Chart/api/chart.js +9 -7
  44. package/dist-esm/Chart/api/color.js +1 -1
  45. package/dist-esm/Chart/api/data.js +3 -3
  46. package/dist-esm/Chart/api/export.js +1 -1
  47. package/dist-esm/Chart/api/flow.js +1 -1
  48. package/dist-esm/Chart/api/focus.js +1 -1
  49. package/dist-esm/Chart/api/grid.js +1 -1
  50. package/dist-esm/Chart/api/group.js +1 -1
  51. package/dist-esm/Chart/api/legend.js +1 -1
  52. package/dist-esm/Chart/api/load.js +1 -1
  53. package/dist-esm/Chart/api/regions.js +1 -1
  54. package/dist-esm/Chart/api/selection.js +1 -1
  55. package/dist-esm/Chart/api/show.js +1 -1
  56. package/dist-esm/Chart/api/stubs.js +1 -1
  57. package/dist-esm/Chart/api/subchart.js +1 -1
  58. package/dist-esm/Chart/api/tooltip.js +1 -1
  59. package/dist-esm/Chart/api/x.js +11 -9
  60. package/dist-esm/Chart/api/zoom.js +8 -7
  61. package/dist-esm/ChartInternal/Axis/Axis.js +7 -6
  62. package/dist-esm/ChartInternal/Axis/AxisRenderer.js +1 -1
  63. package/dist-esm/ChartInternal/Axis/AxisRendererHelper.js +1 -1
  64. package/dist-esm/ChartInternal/ChartInternal.js +32 -8
  65. package/dist-esm/ChartInternal/data/convert.helper.js +7 -5
  66. package/dist-esm/ChartInternal/data/convert.js +1 -1
  67. package/dist-esm/ChartInternal/data/data.js +64 -33
  68. package/dist-esm/ChartInternal/data/load.js +1 -1
  69. package/dist-esm/ChartInternal/interactions/drag.js +1 -1
  70. package/dist-esm/ChartInternal/interactions/eventrect.js +1 -1
  71. package/dist-esm/ChartInternal/interactions/flow.js +17 -15
  72. package/dist-esm/ChartInternal/interactions/interaction.js +1 -1
  73. package/dist-esm/ChartInternal/interactions/subchart.js +8 -6
  74. package/dist-esm/ChartInternal/interactions/zoom.js +8 -6
  75. package/dist-esm/ChartInternal/internals/category.js +1 -1
  76. package/dist-esm/ChartInternal/internals/class.js +1 -1
  77. package/dist-esm/ChartInternal/internals/clip.js +1 -1
  78. package/dist-esm/ChartInternal/internals/color.js +1 -1
  79. package/dist-esm/ChartInternal/internals/domain.js +13 -9
  80. package/dist-esm/ChartInternal/internals/format.js +5 -3
  81. package/dist-esm/ChartInternal/internals/grid.js +5 -4
  82. package/dist-esm/ChartInternal/internals/legend.js +8 -7
  83. package/dist-esm/ChartInternal/internals/redraw.js +2 -2
  84. package/dist-esm/ChartInternal/internals/region.js +1 -1
  85. package/dist-esm/ChartInternal/internals/scale.js +1 -1
  86. package/dist-esm/ChartInternal/internals/selection.js +1 -1
  87. package/dist-esm/ChartInternal/internals/size.axis.js +1 -1
  88. package/dist-esm/ChartInternal/internals/size.js +56 -10
  89. package/dist-esm/ChartInternal/internals/style.js +1 -1
  90. package/dist-esm/ChartInternal/internals/subchart.util.js +1 -1
  91. package/dist-esm/ChartInternal/internals/text.arc.js +1 -1
  92. package/dist-esm/ChartInternal/internals/text.js +12 -9
  93. package/dist-esm/ChartInternal/internals/text.util.js +4 -4
  94. package/dist-esm/ChartInternal/internals/title.js +3 -2
  95. package/dist-esm/ChartInternal/internals/tooltip.js +25 -20
  96. package/dist-esm/ChartInternal/internals/transform.js +1 -1
  97. package/dist-esm/ChartInternal/internals/type.js +1 -1
  98. package/dist-esm/ChartInternal/shape/arc.js +3 -2
  99. package/dist-esm/ChartInternal/shape/area.js +3 -2
  100. package/dist-esm/ChartInternal/shape/bar.js +1 -1
  101. package/dist-esm/ChartInternal/shape/bubble.js +1 -1
  102. package/dist-esm/ChartInternal/shape/candlestick.js +1 -1
  103. package/dist-esm/ChartInternal/shape/core/barRadius.js +1 -1
  104. package/dist-esm/ChartInternal/shape/core/bubble.js +1 -1
  105. package/dist-esm/ChartInternal/shape/core/candlestick.js +1 -1
  106. package/dist-esm/ChartInternal/shape/core/dataRegion.js +1 -1
  107. package/dist-esm/ChartInternal/shape/core/geometry.js +1 -1
  108. package/dist-esm/ChartInternal/shape/core/path.js +1 -1
  109. package/dist-esm/ChartInternal/shape/core/point.js +1 -1
  110. package/dist-esm/ChartInternal/shape/core/treemap.js +3 -2
  111. package/dist-esm/ChartInternal/shape/funnel.js +1 -1
  112. package/dist-esm/ChartInternal/shape/gauge.js +1 -1
  113. package/dist-esm/ChartInternal/shape/line.js +3 -2
  114. package/dist-esm/ChartInternal/shape/point.js +1 -1
  115. package/dist-esm/ChartInternal/shape/polar.js +1 -1
  116. package/dist-esm/ChartInternal/shape/radar.js +1 -1
  117. package/dist-esm/ChartInternal/shape/shape.js +3 -2
  118. package/dist-esm/ChartInternal/shape/treemap.js +1 -1
  119. package/dist-esm/canvas/CanvasAxisRenderer.js +27 -21
  120. package/dist-esm/canvas/CanvasEngine.js +1 -1
  121. package/dist-esm/canvas/CanvasPainter.js +1 -1
  122. package/dist-esm/canvas/CanvasRenderer.js +1 -1
  123. package/dist-esm/canvas/CanvasTheme.js +7 -8
  124. package/dist-esm/canvas/HitDetector.js +1 -1
  125. package/dist-esm/canvas/axisTicks.js +3 -2
  126. package/dist-esm/canvas/classes.js +1 -1
  127. package/dist-esm/canvas/color.js +1 -1
  128. package/dist-esm/canvas/geometry.js +1 -1
  129. package/dist-esm/canvas/labels.js +4 -4
  130. package/dist-esm/canvas/pointPattern.js +1 -1
  131. package/dist-esm/canvas/util.js +1 -1
  132. package/dist-esm/config/Options/Options.js +1 -1
  133. package/dist-esm/config/Options/axis/axis.js +1 -1
  134. package/dist-esm/config/Options/axis/x.js +1 -1
  135. package/dist-esm/config/Options/axis/y.js +1 -1
  136. package/dist-esm/config/Options/axis/y2.js +1 -13
  137. package/dist-esm/config/Options/common/boost.js +1 -1
  138. package/dist-esm/config/Options/common/color.js +1 -1
  139. package/dist-esm/config/Options/common/grid.js +1 -1
  140. package/dist-esm/config/Options/common/legend.js +1 -1
  141. package/dist-esm/config/Options/common/main.js +44 -2
  142. package/dist-esm/config/Options/common/point.js +1 -1
  143. package/dist-esm/config/Options/common/title.js +1 -1
  144. package/dist-esm/config/Options/common/tooltip.js +1 -1
  145. package/dist-esm/config/Options/data/axis.js +1 -1
  146. package/dist-esm/config/Options/data/data.js +1 -1
  147. package/dist-esm/config/Options/data/selection.js +1 -1
  148. package/dist-esm/config/Options/interaction/interaction.js +1 -1
  149. package/dist-esm/config/Options/interaction/subchart.js +1 -1
  150. package/dist-esm/config/Options/interaction/zoom.js +1 -1
  151. package/dist-esm/config/Options/shape/arc.js +1 -1
  152. package/dist-esm/config/Options/shape/area.js +1 -1
  153. package/dist-esm/config/Options/shape/bar.js +1 -1
  154. package/dist-esm/config/Options/shape/bubble.js +1 -1
  155. package/dist-esm/config/Options/shape/candlestick.js +1 -1
  156. package/dist-esm/config/Options/shape/donut.js +1 -1
  157. package/dist-esm/config/Options/shape/funnel.js +1 -1
  158. package/dist-esm/config/Options/shape/gauge.js +1 -1
  159. package/dist-esm/config/Options/shape/line.js +1 -1
  160. package/dist-esm/config/Options/shape/pie.js +1 -1
  161. package/dist-esm/config/Options/shape/polar.js +1 -1
  162. package/dist-esm/config/Options/shape/radar.js +1 -1
  163. package/dist-esm/config/Options/shape/scatter.js +1 -1
  164. package/dist-esm/config/Options/shape/spline.js +1 -1
  165. package/dist-esm/config/Options/shape/treemap.js +1 -1
  166. package/dist-esm/config/Store/Element.js +1 -1
  167. package/dist-esm/config/Store/State.js +4 -1
  168. package/dist-esm/config/Store/Store.js +1 -1
  169. package/dist-esm/config/classes.js +1 -1
  170. package/dist-esm/config/config.js +1 -1
  171. package/dist-esm/config/const.js +1 -1
  172. package/dist-esm/config/resolver/axis.core.js +1 -1
  173. package/dist-esm/config/resolver/axis.js +1 -1
  174. package/dist-esm/config/resolver/canvas.js +17 -12
  175. package/dist-esm/config/resolver/canvasShape.js +1 -1
  176. package/dist-esm/config/resolver/category.js +1 -1
  177. package/dist-esm/config/resolver/export.js +1 -1
  178. package/dist-esm/config/resolver/flow.js +1 -1
  179. package/dist-esm/config/resolver/grid.js +1 -1
  180. package/dist-esm/config/resolver/interaction/selection.js +1 -1
  181. package/dist-esm/config/resolver/interaction/subchart.js +1 -1
  182. package/dist-esm/config/resolver/interaction/zoom.js +1 -1
  183. package/dist-esm/config/resolver/regions.js +1 -1
  184. package/dist-esm/config/resolver/shape/arc.helpers.js +1 -1
  185. package/dist-esm/config/resolver/shape/area.js +1 -1
  186. package/dist-esm/config/resolver/shape/axis.helpers.js +1 -1
  187. package/dist-esm/config/resolver/shape/bar.js +1 -1
  188. package/dist-esm/config/resolver/shape/bubble.js +1 -1
  189. package/dist-esm/config/resolver/shape/candlestick.js +1 -1
  190. package/dist-esm/config/resolver/shape/donut.js +1 -1
  191. package/dist-esm/config/resolver/shape/funnel.js +1 -1
  192. package/dist-esm/config/resolver/shape/gauge.js +1 -1
  193. package/dist-esm/config/resolver/shape/line.js +1 -1
  194. package/dist-esm/config/resolver/shape/pie.js +1 -1
  195. package/dist-esm/config/resolver/shape/polar.js +1 -1
  196. package/dist-esm/config/resolver/shape/radar.js +1 -1
  197. package/dist-esm/config/resolver/shape/scatter.js +1 -1
  198. package/dist-esm/config/resolver/shape/treemap.js +1 -1
  199. package/dist-esm/core.js +5 -4
  200. package/dist-esm/index.canvas.js +1 -1
  201. package/dist-esm/index.esm.js +1 -1
  202. package/dist-esm/module/Cache.js +2 -2
  203. package/dist-esm/module/browser.js +2 -2
  204. package/dist-esm/module/dsv.js +1 -1
  205. package/dist-esm/module/error.js +1 -1
  206. package/dist-esm/module/generator.js +16 -3
  207. package/dist-esm/module/sanitize.js +1 -1
  208. package/dist-esm/module/util/brush.js +1 -1
  209. package/dist-esm/module/util/dom.js +9 -7
  210. package/dist-esm/module/util/object.js +1 -1
  211. package/dist-esm/module/util/type-checks.js +1 -1
  212. package/dist-esm/module/worker.js +1 -1
  213. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  214. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -40
  215. package/dist-esm/plugin/billboardjs-plugin-stanford.js +4 -41
  216. package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
  217. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
  218. package/dist-esm/react/index.js +1 -1
  219. package/package.json +36 -36
  220. package/src/Chart/api/chart.ts +1 -0
  221. package/src/Chart/api/data.ts +5 -3
  222. package/src/ChartInternal/ChartInternal.ts +72 -25
  223. package/src/ChartInternal/data/data.ts +68 -34
  224. package/src/ChartInternal/internals/redraw.ts +8 -1
  225. package/src/ChartInternal/internals/size.ts +99 -2
  226. package/src/config/Options/axis/y2.ts +0 -13
  227. package/src/config/Options/common/main.ts +43 -1
  228. package/src/config/Store/State.ts +4 -0
  229. package/src/config/const.ts +4 -0
  230. package/src/config/resolver/canvas.ts +3 -0
  231. package/src/module/Cache.ts +1 -1
  232. package/src/module/generator.ts +27 -2
  233. package/types/options.d.ts +38 -0
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  */
10
10
  (function webpackUniversalModuleDefinition(root, factory) {
11
11
  if(typeof exports === 'object' && typeof module === 'object')
@@ -18,12 +18,13 @@
18
18
  root["BillboardReact"] = factory(root["React"]);
19
19
  })(this, function(__WEBPACK_EXTERNAL_MODULE__13__) {
20
20
  return /******/ (function() { // webpackBootstrap
21
- /******/ "use strict";
21
+ /******/ // runtime can't be in strict mode because 'output.globalObject' reads 'this'.
22
22
  /******/ var __webpack_modules__ = ({
23
23
 
24
24
  /***/ 13:
25
25
  /***/ (function(module) {
26
26
 
27
+ "use strict";
27
28
  module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
28
29
 
29
30
  /***/ })
@@ -56,64 +57,42 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
56
57
  /******/
57
58
  /************************************************************************/
58
59
  /******/ /* webpack/runtime/compat get default export */
59
- /******/ !function() {
60
- /******/ // getDefaultExport function for compatibility with non-harmony modules
61
- /******/ __webpack_require__.n = function(module) {
62
- /******/ var getter = module && module.__esModule ?
63
- /******/ function() { return module['default']; } :
64
- /******/ function() { return module; };
65
- /******/ __webpack_require__.d(getter, { a: getter });
66
- /******/ return getter;
67
- /******/ };
68
- /******/ }();
60
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
61
+ /******/ __webpack_require__.n = function(module) {
62
+ /******/ var getter = module && module.__esModule ?
63
+ /******/ function() { return module['default']; } :
64
+ /******/ function() { return module; };
65
+ /******/ __webpack_require__.d(getter, { a: getter });
66
+ /******/ return getter;
67
+ /******/ };
69
68
  /******/
70
69
  /******/ /* webpack/runtime/define property getters */
71
- /******/ !function() {
72
- /******/ // define getter/value functions for harmony exports
73
- /******/ __webpack_require__.d = function(exports, definition) {
74
- /******/ if(Array.isArray(definition)) {
75
- /******/ var i = 0;
76
- /******/ while(i < definition.length) {
77
- /******/ var key = definition[i++];
78
- /******/ var binding = definition[i++];
79
- /******/ if(!__webpack_require__.o(exports, key)) {
80
- /******/ if(binding === 0) {
81
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
82
- /******/ } else {
83
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
84
- /******/ }
85
- /******/ } else if(binding === 0) { i++; }
86
- /******/ }
87
- /******/ } else {
88
- /******/ for(var key in definition) {
89
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
90
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
91
- /******/ }
92
- /******/ }
70
+ /******/ // define getter/value functions for harmony exports
71
+ /******/ __webpack_require__.d = function(exports, definition) {
72
+ /******/ for(var key in definition) {
73
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
74
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
93
75
  /******/ }
94
- /******/ };
95
- /******/ }();
76
+ /******/ }
77
+ /******/ };
96
78
  /******/
97
79
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
98
- /******/ !function() {
99
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
100
- /******/ }();
80
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); };
101
81
  /******/
102
82
  /******/ /* webpack/runtime/make namespace object */
103
- /******/ !function() {
104
- /******/ // define __esModule on exports
105
- /******/ __webpack_require__.r = function(exports) {
106
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
107
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
108
- /******/ }
109
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
110
- /******/ };
111
- /******/ }();
83
+ /******/ // define __esModule on exports
84
+ /******/ __webpack_require__.r = function(exports) {
85
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
86
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
87
+ /******/ }
88
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
89
+ /******/ };
112
90
  /******/
113
91
  /************************************************************************/
114
92
  var __webpack_exports__ = {};
115
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
93
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
116
94
  !function() {
95
+ "use strict";
117
96
  __webpack_require__.r(__webpack_exports__);
118
97
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
119
98
  /* harmony export */ Chart: function() { return /* binding */ Chart; }
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
9
- */(function(_,l){typeof exports=="object"&&typeof module=="object"?module.exports=l(require("react")):typeof define=="function"&&define.amd?define(["react"],l):typeof exports=="object"?exports.BillboardReact=l(require("react")):_.BillboardReact=l(_.React)})(this,function(b){return(function(){"use strict";var _={13:(function(e){e.exports=b})},l={};function u(e){var o=l[e];if(o!==void 0)return o.exports;var f=l[e]={exports:{}};return _[e](f,f.exports,u),f.exports}(function(){u.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(o,{a:o}),o}})(),(function(){u.d=function(e,o){if(Array.isArray(o))for(var f=0;f<o.length;){var c=o[f++],i=o[f++];u.o(e,c)?i===0&&f++:i===0?Object.defineProperty(e,c,{enumerable:!0,value:o[f++]}):Object.defineProperty(e,c,{enumerable:!0,get:i})}else for(var c in o)u.o(o,c)&&!u.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:o[c]})}})(),(function(){u.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)}})(),(function(){u.r=function(e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var s={};return(function(){u.r(s),u.d(s,{Chart:function(){return w}});var e=u(13),o=u.n(e),f=Object.defineProperty,c=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,P=(r,t,n)=>t in r?f(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n,d=(r,t)=>{for(var n in t||(t={}))O.call(t,n)&&P(r,n,t[n]);if(p)for(var n of p(t))y.call(t,n)&&P(r,n,t[n]);return r},m=(r,t)=>c(r,i(t)),M=(r,t)=>{var n={};for(var a in r)O.call(r,a)&&t.indexOf(a)<0&&(n[a]=r[a]);if(r!=null&&p)for(var a of p(r))t.indexOf(a)<0&&y.call(r,a)&&(n[a]=r[a]);return n};function D(r){return typeof r=="function"?r():r}function S(r,t){const n=D(t);return d(d({},r),n?{data:m(d({},r.data),{type:n})}:{})}const w=(0,e.forwardRef)((r,t)=>{const n=(0,e.useRef)(null),a=(0,e.useRef)(null),g=r,{bb:j,options:h,type:x,modules:E}=g,T=M(g,["bb","options","type","modules"]);return(0,e.useEffect)(()=>{if(!j||!h){console.warn("Required props('bb' or 'options') are not defined.");return}E==null||E.forEach(v=>v());const R=S(h,x);return R.bindto=n.current,a.current=j.generate(R),()=>{var v;(v=a.current)==null||v.destroy(),a.current=null}},[]),(0,e.useImperativeHandle)(t,()=>({get instance(){return a.current}}),[]),(0,e.createElement)("div",m(d({},T),{ref:n}))});s.default=w})(),s})()});
8
+ * @version 4.1.0
9
+ */(function(c,f){typeof exports=="object"&&typeof module=="object"?module.exports=f(require("react")):typeof define=="function"&&define.amd?define(["react"],f):typeof exports=="object"?exports.BillboardReact=f(require("react")):c.BillboardReact=f(c.React)})(this,function(d){return(function(){var c={13:(function(e){"use strict";e.exports=d})},f={};function i(e){var a=f[e];if(a!==void 0)return a.exports;var u=f[e]={exports:{}};return c[e](u,u.exports,i),u.exports}i.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(a,{a}),a},i.d=function(e,a){for(var u in a)i.o(a,u)&&!i.o(e,u)&&Object.defineProperty(e,u,{enumerable:!0,get:a[u]})},i.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},i.r=function(e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var _={};return(function(){"use strict";i.r(_),i.d(_,{Chart:function(){return y}});var e=i(13),a=i.n(e),u=Object.defineProperty,E=Object.defineProperties,R=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,O=(r,t,n)=>t in r?u(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n,s=(r,t)=>{for(var n in t||(t={}))v.call(t,n)&&O(r,n,t[n]);if(l)for(var n of l(t))b.call(t,n)&&O(r,n,t[n]);return r},P=(r,t)=>E(r,R(t)),x=(r,t)=>{var n={};for(var o in r)v.call(r,o)&&t.indexOf(o)<0&&(n[o]=r[o]);if(r!=null&&l)for(var o of l(r))t.indexOf(o)<0&&b.call(r,o)&&(n[o]=r[o]);return n};function M(r){return typeof r=="function"?r():r}function D(r,t){const n=M(t);return s(s({},r),n?{data:P(s({},r.data),{type:n})}:{})}const y=(0,e.forwardRef)((r,t)=>{const n=(0,e.useRef)(null),o=(0,e.useRef)(null),m=r,{bb:g,options:w,type:S,modules:j}=m,T=x(m,["bb","options","type","modules"]);return(0,e.useEffect)(()=>{if(!g||!w){console.warn("Required props('bb' or 'options') are not defined.");return}j==null||j.forEach(p=>p());const h=D(w,S);return h.bindto=n.current,o.current=g.generate(h),()=>{var p;(p=o.current)==null||p.destroy(),o.current=null}},[]),(0,e.useImperativeHandle)(t,()=>({get instance(){return o.current}}),[]),(0,e.createElement)("div",P(s({},T),{ref:n}))});_.default=y})(),_})()});
@@ -5,6 +5,6 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  */
10
10
  var bbWorker=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){let t=[];return e.forEach(function(e,n){let r=e[0];e.forEach(function(e,i){if(i>0){if(t[i-1]===void 0&&(t[i-1]={}),e===void 0)throw Error(`Source data is missing a component at (${n}, ${i})!`);t[i-1][r]=e}})}),t}function n(e){let t=e[0],n=[];return e.forEach(function(e,r){if(r>0){let i={};e.forEach(function(e,n){if(e===void 0)throw Error(`Source data is missing a component at (${r}, ${n})!`);i[t[n]]=e}),n.push(i)}}),n}function r(e,r){let i=[],a,o;if(Array.isArray(e)){let t=function(e,t){if(e[t]!==void 0)return e[t];let n=t.replace(/\[(\w+)\]/g,`.$1`).replace(/^\./,``).split(`.`),r=e;return n.some(function(e){return!(r=r&&typeof r==`object`&&e in r?r[e]:void 0)}),r};a=r.x?r.value.concat(r.x):r.value,i.push(a),e.forEach(function(e){let n=a.map(function(n){let r=t(e,n);return r===void 0&&(r=null),r});i.push(n)}),o=n(i)}else Object.keys(e).forEach(function(t){let n=[].concat(e[t]);n.unshift?.(t),i.push(n)}),o=t(i);return o}let i={columns:t,json:r,rows:n},a=self;function o({data:e}){let{args:t,id:n,op:r}=e;try{let e=i[r];if(!e)throw Error(`Unknown worker op: ${r}`);a.postMessage({id:n,result:e(...t)})}catch(e){a.postMessage({id:n,error:e&&(e.message||e.name)||String(e)})}}return typeof window>`u`&&(a.onmessage=o),e.handleMessage=o,e.ops=i,e})({});
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -20,12 +20,13 @@
20
20
  root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["bubblecompare"] = factory(root["d3"]);
21
21
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1__) {
22
22
  return /******/ (function() { // webpackBootstrap
23
- /******/ "use strict";
23
+ /******/ // runtime can't be in strict mode because 'output.globalObject' reads 'this'.
24
24
  /******/ var __webpack_modules__ = ([
25
25
  /* 0 */,
26
26
  /* 1 */
27
27
  /***/ (function(module) {
28
28
 
29
+ "use strict";
29
30
  module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
30
31
 
31
32
  /***/ })
@@ -57,41 +58,23 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
57
58
  /******/
58
59
  /************************************************************************/
59
60
  /******/ /* webpack/runtime/define property getters */
60
- /******/ !function() {
61
- /******/ // define getter/value functions for harmony exports
62
- /******/ __webpack_require__.d = function(exports, definition) {
63
- /******/ if(Array.isArray(definition)) {
64
- /******/ var i = 0;
65
- /******/ while(i < definition.length) {
66
- /******/ var key = definition[i++];
67
- /******/ var binding = definition[i++];
68
- /******/ if(!__webpack_require__.o(exports, key)) {
69
- /******/ if(binding === 0) {
70
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
71
- /******/ } else {
72
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
73
- /******/ }
74
- /******/ } else if(binding === 0) { i++; }
75
- /******/ }
76
- /******/ } else {
77
- /******/ for(var key in definition) {
78
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
79
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
80
- /******/ }
81
- /******/ }
61
+ /******/ // define getter/value functions for harmony exports
62
+ /******/ __webpack_require__.d = function(exports, definition) {
63
+ /******/ for(var key in definition) {
64
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
65
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
82
66
  /******/ }
83
- /******/ };
84
- /******/ }();
67
+ /******/ }
68
+ /******/ };
85
69
  /******/
86
70
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
87
- /******/ !function() {
88
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
89
- /******/ }();
71
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); };
90
72
  /******/
91
73
  /************************************************************************/
92
74
  var __webpack_exports__ = {};
93
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
75
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
94
76
  !function() {
77
+ "use strict";
95
78
 
96
79
  // EXPORTS
97
80
  __webpack_require__.d(__webpack_exports__, {
@@ -215,7 +198,7 @@ class Plugin {
215
198
  });
216
199
  }
217
200
  }
218
- __publicField(Plugin, "version", "4.1.0-next.2");
201
+ __publicField(Plugin, "version", "4.1.0");
219
202
 
220
203
  ;// ./src/Plugin/bubblecompare/index.ts
221
204
  var bubblecompare_defProp = Object.defineProperty;
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
- */(function(a,l){typeof exports=="object"&&typeof module=="object"?module.exports=l(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],l):typeof exports=="object"?exports.bb=l(require("d3-selection")):(a.bb=a.bb||{},a.bb.plugin=a.bb.plugin||{},a.bb.plugin.bubblecompare=l(a.d3))})(this,function(f){return(function(){"use strict";var a={747:(function(e){e.exports=f})},l={};function c(e){var t=l[e];if(t!==void 0)return t.exports;var n=l[e]={exports:{}};return a[e](n,n.exports,c),n.exports}(function(){c.d=function(e,t){if(Array.isArray(t))for(var n=0;n<t.length;){var r=t[n++],s=t[n++];c.o(e,r)?s===0&&n++:s===0?Object.defineProperty(e,r,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,r,{enumerable:!0,get:s})}else for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(function(){c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})();var u={};c.d(u,{default:function(){return M}});var y=c(747);const T=e=>e||e===0,q=e=>typeof e=="function",g=e=>typeof e=="string",v=e=>typeof e=="number",$=e=>typeof e=="undefined",x=e=>typeof e!="undefined",z=e=>typeof e=="boolean",L=e=>Math.ceil(e/10)*10,S=e=>Math.ceil(e)+.5,U=e=>e[1]-e[0],p=e=>typeof e=="object",P=e=>{for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},B=e=>$(e)||e===null||g(e)&&e.length===0||p(e)&&!(e instanceof Date)&&P(e)||v(e)&&isNaN(e),V=e=>!B(e),O=e=>Array.isArray(e),H=e=>e&&!(e!=null&&e.nodeType)&&p(e)&&!O(e);function w(e){const t=this.config;let n,r,s;const o=()=>{const i=r.shift();if(i&&n&&p(n)&&i in n)return n=n[i],o();if(!i)return n};Object.keys(t).forEach(i=>{n=e,r=i.split("_"),s=o(),x(s)&&(t[i]=s)}),this.api&&(this.state.orgConfig=e)}var C=Object.defineProperty,R=(e,t,n)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b=(e,t,n)=>R(e,typeof t!="symbol"?t+"":t,n);class d{constructor(t={}){b(this,"$$"),b(this,"options"),b(this,"config"),this.options=t}loadConfig(){w.call(this,this.options)}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}b(d,"version","4.1.0-next.2");var j=Object.defineProperty,D=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>D(e,typeof t!="symbol"?t+"":t,n);const h=class m extends d{constructor(t){return super(t),this}$init(){const{$$:t}=this;t.findClosest=this.findClosest.bind(this),t.getBubbleR=this.getBubbleR.bind(this),t.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(t){const n=this.getBubbleR(t),{expandScale:r=1}=this.options;return m.raiseFocusedBubbleLayer(t),this.changeCursorPoint(),n*r}static raiseFocusedBubbleLayer(t){t.raise&&(0,y.select)(t.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(t,n){const{$$:r}=this;return t.filter(s=>s&&!r.isBarType(s.id)).reduce((s,o)=>r.dist(o,n)<this.getBubbleR(o)?o:s,0)}getBubbleR(t){const{minR:n,maxR:r}=this.options,s=this.getZData(t);if(!s)return n;const[o,i]=this.$$.data.targets.reduce(([A,F],Z)=>{const _=this.getZData(Z.values[0]);return[Math.min(A,_),Math.max(F,_)]},[1e4,0]),N=o>0&&i===o?0:s/i;return Math.abs(N)*(r-n)+n}getZData(t){return this.$$.isBubbleZType(t)?this.$$.getBubbleZData(t.value,"z"):t.value}};E(h,"version","0.0.1");let M=h;return u=u.default,u})()});
11
+ */(function(u,b){typeof exports=="object"&&typeof module=="object"?module.exports=b(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],b):typeof exports=="object"?exports.bb=b(require("d3-selection")):(u.bb=u.bb||{},u.bb.plugin=u.bb.plugin||{},u.bb.plugin.bubblecompare=b(u.d3))})(this,function(_){return(function(){var u={747:(function(i){"use strict";i.exports=_})},b={};function p(i){var o=b[i];if(o!==void 0)return o.exports;var a=b[i]={exports:{}};return u[i](a,a.exports,p),a.exports}p.d=function(i,o){for(var a in o)p.o(o,a)&&!p.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:o[a]})},p.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)};var f={};return(function(){"use strict";p.d(f,{default:function(){return F}});var i=p(747);const o=e=>e||e===0,a=e=>typeof e=="function",x=e=>typeof e=="string",v=e=>typeof e=="number",B=e=>typeof e=="undefined",P=e=>typeof e!="undefined",z=e=>typeof e=="boolean",L=e=>Math.ceil(e/10)*10,S=e=>Math.ceil(e)+.5,U=e=>e[1]-e[0],h=e=>typeof e=="object",C=e=>{for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},O=e=>B(e)||e===null||x(e)&&e.length===0||h(e)&&!(e instanceof Date)&&C(e)||v(e)&&isNaN(e),V=e=>!O(e),R=e=>Array.isArray(e),H=e=>e&&!(e!=null&&e.nodeType)&&h(e)&&!R(e);function w(e){const t=this.config;let n,c,s;const l=()=>{const r=c.shift();if(r&&n&&h(n)&&r in n)return n=n[r],l();if(!r)return n};Object.keys(t).forEach(r=>{n=e,c=r.split("_"),s=l(),P(s)&&(t[r]=s)}),this.api&&(this.state.orgConfig=e)}var D=Object.defineProperty,E=(e,t,n)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t,n)=>E(e,typeof t!="symbol"?t+"":t,n);class m{constructor(t={}){d(this,"$$"),d(this,"options"),d(this,"config"),this.options=t}loadConfig(){w.call(this,this.options)}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}d(m,"version","4.1.0");var j=Object.defineProperty,M=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t,n)=>M(e,typeof t!="symbol"?t+"":t,n);const g=class $ extends m{constructor(t){return super(t),this}$init(){const{$$:t}=this;t.findClosest=this.findClosest.bind(this),t.getBubbleR=this.getBubbleR.bind(this),t.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(t){const n=this.getBubbleR(t),{expandScale:c=1}=this.options;return $.raiseFocusedBubbleLayer(t),this.changeCursorPoint(),n*c}static raiseFocusedBubbleLayer(t){t.raise&&(0,i.select)(t.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(t,n){const{$$:c}=this;return t.filter(s=>s&&!c.isBarType(s.id)).reduce((s,l)=>c.dist(l,n)<this.getBubbleR(l)?l:s,0)}getBubbleR(t){const{minR:n,maxR:c}=this.options,s=this.getZData(t);if(!s)return n;const[l,r]=this.$$.data.targets.reduce(([T,q],A)=>{const y=this.getZData(A.values[0]);return[Math.min(T,y),Math.max(q,y)]},[1e4,0]),Z=l>0&&r===l?0:s/r;return Math.abs(Z)*(c-n)+n}getZData(t){return this.$$.isBubbleZType(t)?this.$$.getBubbleZData(t.value,"z"):t.value}};N(g,"version","0.0.1");let F=g})(),f=f.default,f})()});
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -20,12 +20,13 @@
20
20
  root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["sparkline"] = factory(root["d3"]);
21
21
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1__) {
22
22
  return /******/ (function() { // webpackBootstrap
23
- /******/ "use strict";
23
+ /******/ // runtime can't be in strict mode because 'output.globalObject' reads 'this'.
24
24
  /******/ var __webpack_modules__ = ([
25
25
  /* 0 */,
26
26
  /* 1 */
27
27
  /***/ (function(module) {
28
28
 
29
+ "use strict";
29
30
  module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
30
31
 
31
32
  /***/ })
@@ -57,41 +58,23 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
57
58
  /******/
58
59
  /************************************************************************/
59
60
  /******/ /* webpack/runtime/define property getters */
60
- /******/ !function() {
61
- /******/ // define getter/value functions for harmony exports
62
- /******/ __webpack_require__.d = function(exports, definition) {
63
- /******/ if(Array.isArray(definition)) {
64
- /******/ var i = 0;
65
- /******/ while(i < definition.length) {
66
- /******/ var key = definition[i++];
67
- /******/ var binding = definition[i++];
68
- /******/ if(!__webpack_require__.o(exports, key)) {
69
- /******/ if(binding === 0) {
70
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
71
- /******/ } else {
72
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
73
- /******/ }
74
- /******/ } else if(binding === 0) { i++; }
75
- /******/ }
76
- /******/ } else {
77
- /******/ for(var key in definition) {
78
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
79
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
80
- /******/ }
81
- /******/ }
61
+ /******/ // define getter/value functions for harmony exports
62
+ /******/ __webpack_require__.d = function(exports, definition) {
63
+ /******/ for(var key in definition) {
64
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
65
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
82
66
  /******/ }
83
- /******/ };
84
- /******/ }();
67
+ /******/ }
68
+ /******/ };
85
69
  /******/
86
70
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
87
- /******/ !function() {
88
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
89
- /******/ }();
71
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); };
90
72
  /******/
91
73
  /************************************************************************/
92
74
  var __webpack_exports__ = {};
93
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
75
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
94
76
  !function() {
77
+ "use strict";
95
78
 
96
79
  // EXPORTS
97
80
  __webpack_require__.d(__webpack_exports__, {
@@ -1234,7 +1217,7 @@ class Plugin {
1234
1217
  });
1235
1218
  }
1236
1219
  }
1237
- __publicField(Plugin, "version", "4.1.0-next.2");
1220
+ __publicField(Plugin, "version", "4.1.0");
1238
1221
 
1239
1222
  ;// ./src/Plugin/sparkline/Options.ts
1240
1223
  class Options {
@@ -5,9 +5,9 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
- */(function(u,h){typeof exports=="object"&&typeof module=="object"?module.exports=h():typeof define=="function"&&define.amd?define("bb",[],h):typeof exports=="object"?exports.bb=h():(u.bb=u.bb||{},u.bb.plugin=u.bb.plugin||{},u.bb.plugin.sparkline=h())})(this,function(){return(function(){"use strict";var d={};(function(){d.d=function(e,t){if(Array.isArray(t))for(var n=0;n<t.length;){var r=t[n++],i=t[n++];d.o(e,r)?i===0&&n++:i===0?Object.defineProperty(e,r,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,r,{enumerable:!0,get:i})}else for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(function(){d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})();var u={};d.d(u,{default:function(){return H}});var h=Object.defineProperty,T=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,A=(e,t,n)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))k.call(t,n)&&A(e,n,t[n]);if(T)for(var n of T(t))X.call(t,n)&&A(e,n,t[n]);return e};const w={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_",dummy:"_dummy_"},U={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcLabelLineText:"bb-arc-label-line-text",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},Y={area:"bb-area",areas:"bb-areas"},V={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip",axisTooltipX:"bb-axis-tooltip-x",axisTooltipY:"bb-axis-tooltip-y"},G={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars",barConnectLine:"bb-bar-connectLine"},z={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},W={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},K={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},Z={dragarea:"bb-dragarea",INCLUDED:"_included_"},J={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},Q={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},ee={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},te={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},ne={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},re={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",xgridFocusContinuous:"bb-xgrid-focus-continuous",ygridFocus:"bb-ygrid-focus"},ie={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},oe={level:"bb-level",levels:"bb-levels"},se={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},ce={region:"bb-region",regions:"bb-regions"},le={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},ae={shape:"bb-shape",shapes:"bb-shapes"},ue={brush:"bb-brush",subchart:"bb-subchart"},be={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",textBorderRect:"bb-text-border",textLabelImage:"bb-text-label-image",TextOverlapping:"text-overlapping"},fe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},de={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},he={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var Ke=c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c({},w),U),Y),V),G),z),W),K),Z),Q),ee),te),ne),re),J),ie),oe),se),ce),le),ae),ue),be),fe),de),he);function pe(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function ge(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",r=o=>setTimeout(o,1),i=o=>clearTimeout(o);return[t?e.requestAnimationFrame:r,t?e.cancelAnimationFrame:i,n?e.requestIdleCallback:r,n?e.cancelIdleCallback:i]}const g=pe(),me=g==null?void 0:g.document,[Ze,Je,Qe,et]=ge(g),tt=e=>e||e===0,nt=e=>typeof e=="function",ve=e=>typeof e=="string",ye=e=>typeof e=="number",_e=e=>typeof e=="undefined",xe=e=>typeof e!="undefined",rt=e=>typeof e=="boolean",it=e=>Math.ceil(e/10)*10,ot=e=>Math.ceil(e)+.5,st=e=>e[1]-e[0],v=e=>typeof e=="object",$e=e=>{for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},Ee=e=>_e(e)||e===null||ve(e)&&e.length===0||v(e)&&!(e instanceof Date)&&$e(e)||ye(e)&&isNaN(e),ct=e=>!Ee(e),C=e=>Array.isArray(e),y=e=>e&&!(e!=null&&e.nodeType)&&v(e)&&!C(e);var Oe,Te,P,Ae,R,I,we,S,_,Ce=Object.defineProperty,j=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,D=(e,t,n)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))Pe.call(t,n)&&D(e,n,t[n]);if(j)for(var n of j(t))Re.call(t,n)&&D(e,n,t[n]);return e};function F(e,t){for(let n=0;n<e.length;n++){const r=e[n];r!==null&&P(r)&&t(r,n)}}function lt(e,t,n){return P(e[t])?e[t]:n}function at(e,t){for(const n in e)if(e[n]===t)return!0;return!1}function ut(e,t,...n){const r=Ae(e);return r&&e.call(t,...n),r}function bt(e,t){let n=0;const r=function(...i){!--n&&t.apply(this,i)};"duration"in e?e.each(()=>++n).on("end",r):(++n,e.call(r))}const ft=e=>e.charAt(0).toUpperCase()+e.slice(1);function dt(e,t="-"){return e.split(t).map((n,r)=>r?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const ht=e=>[].slice.call(e);function pt(...e){const t=n=>{if(R(n))return n.map(t);if(I(n)&&n.constructor){const r=new n.constructor;for(const i in n)r[i]=t(n[i]);return r}return n};return e.map(n=>t(n)).reduce((n,r)=>L(L({},n),r))}function Ie(e={},t){R(t)&&t.forEach(n=>Ie(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}function gt(e){const t=e[0]instanceof Date,n=Array.from(new Set(t?e.map(Number):e));return t?n.map(r=>new Date(r)):n}function mt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function x(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return y(e)&&y(n)&&Object.keys(n).forEach(r=>{if(!/^(__proto__|constructor|prototype)$/i.test(r)){const i=n[r];i instanceof Date?e[r]=new Date(i.getTime()):y(i)?(!e[r]&&(e[r]={}),e[r]=x(e[r],i)):e[r]=C(i)?i.concat():i}}),x(e,...t)}function Se(e,t=!0){let n;return e[0]instanceof Date?n=t?(r,i)=>r-i:(r,i)=>i-r:t&&!e.every(isNaN)?n=(r,i)=>r-i:t||(n=(r,i)=>r>i&&-1||r<i&&1||r===i&&0),e.concat().sort(n)}function vt(e,t){let n=t.filter(r=>we(r));if(n.length)if(S(n[0])){let r=e==="min"?1/0:-1/0;for(const i of n)(e==="min"?i<r:i>r)&&(r=i);n=r}else n[0]instanceof Date&&(n=Se(n,e==="min")[0]);else n=void 0;return n}const yt=(e,t,n=1)=>{const r=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let o=0;o<i;o++)r.push(e+o*n);return r};let je=0;function _t(e=!0){const t=++je;return e?String(t):t}function M(e,t,n,r,i){if(n>r)return-1;const o=Math.floor((n+r)/2);let{x:s,w:l=0}=e[o];return i&&(s=e[o].y,l=e[o].h),t>=s&&t<=s+l?o:t<s?M(e,t,n,o-1,i):M(e,t,o+1,r,i)}function xt(e,t){return Te(e.replace(/\{=([^}]+)\}/g,(n,r)=>{var i;return(i=t[r])!=null?i:""}))}function $t(e){var t;let n;if(e instanceof Date)n=e;else if(_(e)){const{config:r,format:i}=this;n=(t=i.dataTime(r.data_xFormat)(e))!=null?t:new Date(e)}else S(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Et(e){if(I(e)&&!_(e)){const s=e;return{top:s.top||0,right:s.right||0,bottom:s.bottom||0,left:s.left||0}}const t=(_(e)?e.trim().split(/\s+/):[e]).map(s=>+s||0),[n,r=n,i=n,o=r]=t;return{top:n,right:r,bottom:i,left:o}}function De(e,t){t()===!1?Oe(()=>De(e,t)):e()}function Ot(e,t=(n=>n)){const n=new Set;return F(e,(r,i)=>{n.add(t(r,i))}),n}function Tt(e,t,n=(r=>r)){const r=new Map;return F(e,(i,o)=>{r.set(t(i,o),n(i,o))}),r}var Le,b,$,Fe,Me;const Be=/\s?(bb-)/g,Ne=/\.+/g;function qe(e){return e.replace(Be,".$1").replace(Ne,".")}function B(e,t,n=!1){const r=o=>o[e?"getBoundingClientRect":"getBBox"](),i=e?"rectClient":"rectBBox";return n?r(t):!(i in t)||t.hasAttribute("width")&&t[i].width!==+(t.getAttribute("width")||0)?t[i]=r(t):t[i]}function At(e,t,n=[-1,1],r=!1){if(!(!e||!Me(t)))if(t.indexOf(`
11
+ */(function(p,g){typeof exports=="object"&&typeof module=="object"?module.exports=g(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],g):typeof exports=="object"?exports.bb=g(require("d3-selection")):(p.bb=p.bb||{},p.bb.plugin=p.bb.plugin||{},p.bb.plugin.sparkline=g(p.d3))})(this,function(P){return(function(){var p={747:(function(u){"use strict";u.exports=P})},g={};function m(u){var b=g[u];if(b!==void 0)return b.exports;var f=g[u]={exports:{}};return p[u](f,f.exports,m),f.exports}m.d=function(u,b){for(var f in b)m.o(b,f)&&!m.o(u,f)&&Object.defineProperty(u,f,{enumerable:!0,get:b[f]})},m.o=function(u,b){return Object.prototype.hasOwnProperty.call(u,b)};var _={};return(function(){"use strict";m.d(_,{default:function(){return Y}});var u=Object.defineProperty,b=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,R=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&R(e,n,t[n]);if(b)for(var n of b(t))V.call(t,n)&&R(e,n,t[n]);return e};const I={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_",dummy:"_dummy_"},G={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcLabelLineText:"bb-arc-label-line-text",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},z={area:"bb-area",areas:"bb-areas"},W={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip",axisTooltipX:"bb-axis-tooltip-x",axisTooltipY:"bb-axis-tooltip-y"},K={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars",barConnectLine:"bb-bar-connectLine"},Z={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},J={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},Q={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},ee={dragarea:"bb-dragarea",INCLUDED:"_included_"},te={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},ne={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},re={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},ie={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},oe={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},se={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",xgridFocusContinuous:"bb-xgrid-focus-continuous",ygridFocus:"bb-ygrid-focus"},ce={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},le={level:"bb-level",levels:"bb-levels"},ae={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},ue={region:"bb-region",regions:"bb-regions"},be={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},fe={shape:"bb-shape",shapes:"bb-shapes"},de={brush:"bb-brush",subchart:"bb-subchart"},he={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",textBorderRect:"bb-text-border",textLabelImage:"bb-text-label-image",TextOverlapping:"text-overlapping"},pe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},ge={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},me={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var Qe=c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c({},I),G),z),W),K),Z),J),Q),ee),ne),re),ie),oe),se),te),ce),le),ae),ue),be),fe),de),he),pe),ge),me),et=m(747);function ve(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function _e(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",r=o=>setTimeout(o,1),i=o=>clearTimeout(o);return[t?e.requestAnimationFrame:r,t?e.cancelAnimationFrame:i,n?e.requestIdleCallback:r,n?e.cancelIdleCallback:i]}const x=ve(),xe=x==null?void 0:x.document,[tt,nt,rt,it]=_e(x),ot=e=>e||e===0,st=e=>typeof e=="function",ye=e=>typeof e=="string",$e=e=>typeof e=="number",Ee=e=>typeof e=="undefined",Oe=e=>typeof e!="undefined",ct=e=>typeof e=="boolean",lt=e=>Math.ceil(e/10)*10,at=e=>Math.ceil(e)+.5,ut=e=>e[1]-e[0],$=e=>typeof e=="object",Te=e=>{for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},we=e=>Ee(e)||e===null||ye(e)&&e.length===0||$(e)&&!(e instanceof Date)&&Te(e)||$e(e)&&isNaN(e),bt=e=>!we(e),S=e=>Array.isArray(e),E=e=>e&&!(e!=null&&e.nodeType)&&$(e)&&!S(e);var Ce,Ae,j,Pe,D,L,Re,F,O,Ie=Object.defineProperty,M=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,B=(e,t,n)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))Se.call(t,n)&&B(e,n,t[n]);if(M)for(var n of M(t))je.call(t,n)&&B(e,n,t[n]);return e};function q(e,t){for(let n=0;n<e.length;n++){const r=e[n];r!==null&&j(r)&&t(r,n)}}function ft(e,t,n){return j(e[t])?e[t]:n}function dt(e,t){for(const n in e)if(e[n]===t)return!0;return!1}function ht(e,t,...n){const r=Pe(e);return r&&e.call(t,...n),r}function pt(e,t){let n=0;const r=function(...i){!--n&&t.apply(this,i)};"duration"in e?e.each(()=>++n).on("end",r):(++n,e.call(r))}const gt=e=>e.charAt(0).toUpperCase()+e.slice(1);function mt(e,t="-"){return e.split(t).map((n,r)=>r?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const vt=e=>[].slice.call(e);function _t(...e){const t=n=>{if(D(n))return n.map(t);if(L(n)&&n.constructor){const r=new n.constructor;for(const i in n)r[i]=t(n[i]);return r}return n};return e.map(n=>t(n)).reduce((n,r)=>N(N({},n),r))}function De(e={},t){D(t)&&t.forEach(n=>De(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}function xt(e){const t=e[0]instanceof Date,n=Array.from(new Set(t?e.map(Number):e));return t?n.map(r=>new Date(r)):n}function yt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function T(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return E(e)&&E(n)&&Object.keys(n).forEach(r=>{if(!/^(__proto__|constructor|prototype)$/i.test(r)){const i=n[r];i instanceof Date?e[r]=new Date(i.getTime()):E(i)?(!e[r]&&(e[r]={}),e[r]=T(e[r],i)):e[r]=S(i)?i.concat():i}}),T(e,...t)}function Le(e,t=!0){let n;return e[0]instanceof Date?n=t?(r,i)=>r-i:(r,i)=>i-r:t&&!e.every(isNaN)?n=(r,i)=>r-i:t||(n=(r,i)=>r>i&&-1||r<i&&1||r===i&&0),e.concat().sort(n)}function $t(e,t){let n=t.filter(r=>Re(r));if(n.length)if(F(n[0])){let r=e==="min"?1/0:-1/0;for(const i of n)(e==="min"?i<r:i>r)&&(r=i);n=r}else n[0]instanceof Date&&(n=Le(n,e==="min")[0]);else n=void 0;return n}const Et=(e,t,n=1)=>{const r=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let o=0;o<i;o++)r.push(e+o*n);return r};let Fe=0;function Ot(e=!0){const t=++Fe;return e?String(t):t}function H(e,t,n,r,i){if(n>r)return-1;const o=Math.floor((n+r)/2);let{x:s,w:l=0}=e[o];return i&&(s=e[o].y,l=e[o].h),t>=s&&t<=s+l?o:t<s?H(e,t,n,o-1,i):H(e,t,o+1,r,i)}function Tt(e,t){return Ae(e.replace(/\{=([^}]+)\}/g,(n,r)=>{var i;return(i=t[r])!=null?i:""}))}function wt(e){var t;let n;if(e instanceof Date)n=e;else if(O(e)){const{config:r,format:i}=this;n=(t=i.dataTime(r.data_xFormat)(e))!=null?t:new Date(e)}else F(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Ct(e){if(L(e)&&!O(e)){const s=e;return{top:s.top||0,right:s.right||0,bottom:s.bottom||0,left:s.left||0}}const t=(O(e)?e.trim().split(/\s+/):[e]).map(s=>+s||0),[n,r=n,i=n,o=r]=t;return{top:n,right:r,bottom:i,left:o}}function Me(e,t){t()===!1?Ce(()=>Me(e,t)):e()}function At(e,t=(n=>n)){const n=new Set;return q(e,(r,i)=>{n.add(t(r,i))}),n}function Pt(e,t,n=(r=>r)){const r=new Map;return q(e,(i,o)=>{r.set(t(i,o),n(i,o))}),r}var Be,d,w,Ne,qe;const He=/\s?(bb-)/g,ke=/\.+/g;function Xe(e){return e.replace(He,".$1").replace(ke,".")}function k(e,t,n=!1){const r=o=>o[e?"getBoundingClientRect":"getBBox"](),i=e?"rectClient":"rectBBox";return n?r(t):!(i in t)||t.hasAttribute("width")&&t[i].width!==+(t.getAttribute("width")||0)?t[i]=r(t):t[i]}function Rt(e,t,n=[-1,1],r=!1){if(!(!e||!qe(t)))if(t.indexOf(`
12
12
  `)===-1)e.text(t);else{const i=[e.text(),t].map(o=>o.replace(/[\s\n]/g,""));if(i[0]!==i[1]){const o=t.split(`
13
- `),s=r?o.length-1:1;e.html(""),o.forEach((l,a)=>{e.append("tspan").attr("x",0).attr("dy",`${a===0?n[0]*s:n[1]}em`).text(l)})}}}function He(e){const{x:t,y:n,width:r,height:i}=ke(e,!0);return[{x:t,y:n+i},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i}]}function wt(e){const{width:t,height:n}=E(e),r=He(e),i=r[0].x,o=Math.min(r[0].y,r[1].y);return{x:i,y:o,width:t,height:n}}function Ct(e,t){var n;const r=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=Le(r||e,t)}catch(o){}return i.map(o=>isNaN(o)?0:o)}function E(e,t=!1){return B(!0,e,t)}function ke(e,t=!1){return B(!1,e,t)}function Pt(e,t,n){const{rootSelector:r="",sheet:i}=e,o=`${r} ${qe(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](o,i.cssRules.length)}function Rt(e){let t=[];return e.forEach(n=>{var r;try{n.cssRules&&n.cssRules.length&&(t=t.concat(Fe(n.cssRules)))}catch(i){(r=b.console)==null||r.warn(`Error while reading rules from ${n.href}: ${String(i)}`)}}),t}function It(e){var t,n,r,i,o,s;return{x:((n=(t=b.pageXOffset)!=null?t:b.scrollX)!=null?n:0)+((r=e.scrollLeft)!=null?r:0),y:((o=(i=b.pageYOffset)!=null?i:b.scrollY)!=null?o:0)+((s=e.scrollTop)!=null?s:0)}}function St(e,t=0,n=0,r=!0){const i=new DOMPoint(t,n),o=e.getScreenCTM(),s=i.matrixTransform(r?o==null?void 0:o.inverse():o);if(r===!1){const l=E(e);s.x-=l.x,s.y-=l.y}return s}function Xe(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function jt(e,t){var n;const r=(n=e==null?void 0:e.getAttribute)==null?void 0:n.call(e,t);if(r)return parseFloat(r);const i=Xe(e);return t==="x"?i.e:i.f}function Dt(e){const t=e.attr("viewBox");return t?t.trim().split(/[\s,]+/).length===4:!1}function Lt(e,t,n=!1){const r=!!e.node;let i=!1;for(const[o,s]of Object.entries(t))if(i=r?e.style(o)===s:e.style[o]===s,n?!i:i)break;return i}function Ft(){var e,t;return((e=$)==null?void 0:e.hidden)===!1||((t=$)==null?void 0:t.visibilityState)==="visible"}function Mt(e,t){const{DocumentTouch:n,matchMedia:r,navigator:i}=b,o=r==null?void 0:r("(pointer:coarse)").matches;let s=!1;if(t)if(i&&"maxTouchPoints"in i)s=i.maxTouchPoints>0;else if("ontouchmove"in b||n&&$ instanceof n)s=!0;else if(o)s=!0;else{const a=i.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(a)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(a)}return e&&!o&&(r==null?void 0:r("(pointer:fine)").matches)&&"mouse"||s&&"touch"||"mouse"}function Bt(e,t){e.pendingRaf!==null?(b.cancelAnimationFrame(e.pendingRaf),e.pendingRaf=b.requestAnimationFrame(()=>{e.pendingRaf=null,t()})):(e.pendingRaf=b.requestAnimationFrame(()=>{e.pendingRaf=null}),t())}const Nt={mouse:(()=>{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,r=e())=>{t.dispatchEvent(new MouseEvent(n,r))}}catch(t){return(n,r,i=e())=>{const o=me.createEvent("MouseEvent");o.initMouseEvent(r,i.bubbles,i.cancelable,g,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(o)}}})(),touch:(e,t,n)=>{const r=new Touch(x({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function Ue(e){const t=this.config;let n,r,i;const o=()=>{const s=r.shift();if(s&&n&&v(n)&&s in n)return n=n[s],o();if(!s)return n};Object.keys(t).forEach(s=>{n=e,r=s.split("_"),i=o(),xe(i)&&(t[s]=i)}),this.api&&(this.state.orgConfig=e)}var Ye=Object.defineProperty,Ve=(e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t,n)=>Ve(e,typeof t!="symbol"?t+"":t,n);class N{constructor(t={}){m(this,"$$"),m(this,"options"),m(this,"config"),this.options=t}loadConfig(){Ue.call(this,this.options)}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}m(N,"version","4.1.0-next.2");class Ge{constructor(){return{selector:void 0}}}var ze=Object.defineProperty,We=(e,t,n)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t,n)=>We(e,typeof t!="symbol"?t+"":t,n);class H extends N{constructor(t){return super(t),q(this,"element"),this.config=new Ge,this}$beforeInit(){this.loadConfig(),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:t,config:n}=this;let r="";if((!n.selector||!document.querySelector(n.selector))&&(r="No holder elements found from given selector option."),(t.hasType("bubble")||t.hasType("scatter")||t.hasArcType(t.data.targets))&&(r="Contains non supported chart types."),r)throw new Error(`[Sparkline plugin] ${r}`)}overrideInternals(){const{$$:t}=this,{getBarW:n,getIndices:r}=t;t.getIndices=function(i,o,s){return s==="getShapeX"?{}:r.call(this,i,o)},t.getBarW=function(i,o){return n.call(this,i,o,1)}}overrideOptions(){const{config:t}=this.$$;if(t.legend_show=!1,t.resize_auto=!1,t.axis_x_show=!1,t.padding!==!1){const n=r=>Object.keys(r||{}).length>0;n(t.axis_x_padding)&&(t.axis_x_padding={left:15,right:15,unit:"px"}),n(t.axis_y_padding)&&(t.axis_y_padding=5)}t.axis_y_show=!1,t.tooltip_position||(t.tooltip_position=function(n,r,i){const{internal:{state:{event:o}}}=this;let s=o.pageY-i*1.35,l=o.pageX-r/2;return s<0&&(s=0),l<0&&(l=0),{top:s,left:l}})}$init(){var t;const{$$:{$el:n}}=this;n.chart.style("width","0").style("height","0").style("pointer-events","none"),(t=n.tooltip)!=null&&t.node()&&document.body.appendChild(n.tooltip.node())}$afterInit(){const{$$:t}=this;t.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(t=!0){const{$$:{config:n}}=this;if(n.interaction_enabled&&n.tooltip_show){const r=`${t?"add":"remove"}EventListener`;this.element.forEach(i=>{const o=i.querySelector("svg");o[r]("mouseover",this.overHandler),o[r]("mousemove",this.moveHandler),o[r]("mouseout",this.outHandler)})}}overHandler(t){const{$$:n}=this,{state:{eventReceiver:r}}=n;r.rect=E(t.target,!0)}moveHandler(t){var n,r,i,o;const{$$:s}=this,l=s.getDataIndexFromEvent(t),a=(n=s.api.data(t.target.__id))==null?void 0:n[0],f=(r=a==null?void 0:a.values)==null?void 0:r[l];f&&!f.name&&(f.name=f.id),s.state.event=t,(i=s.isPointFocusOnly)!=null&&i.call(s)&&f&&((o=s.showCircleFocus)==null||o.call(s,[f])),s.setExpand(l,a.id,!0),s.showTooltip([f],t.target)}outHandler(t){const{$$:n}=this;n.state.event=t,n.isPointFocusOnly()?n.hideCircleFocus():n.unexpandCircles(),n.hideTooltip()}$redraw(){var t;const{$$:n}=this,{$el:r}=n;let i=this.element;const o=n.api.data(),s=(t=r.chart.html().match(/<svg[^>]*>/))==null?void 0:t[0];if(i.length<o.length){const l=r.chart.node();for(let a=o.length-i.length;a>0;a--)l.parentNode.insertBefore(i[0].cloneNode(),l.nextSibling);this.element=document.querySelectorAll(this.config.selector),i=this.element}o.map(l=>l.id).forEach((l,a)=>{const f=`.${w.target}-${l}`,O=r.main.selectAll(f);let p=i[a].querySelector("svg");p||(i[a].innerHTML=`${s}</svg>`,p=i[a].querySelector("svg"),p.__id=l),p.querySelector(f)||O.style("opacity",null),O.style("fill","none").style("opacity",null),p.innerHTML="",p.appendChild(O.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(t=>{t.innerHTML=""})}}return q(H,"version","0.0.1"),u=u.default,u})()});
13
+ `),s=r?o.length-1:1;e.html(""),o.forEach((l,a)=>{e.append("tspan").attr("x",0).attr("dy",`${a===0?n[0]*s:n[1]}em`).text(l)})}}}function Ue(e){const{x:t,y:n,width:r,height:i}=Ye(e,!0);return[{x:t,y:n+i},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i}]}function It(e){const{width:t,height:n}=C(e),r=Ue(e),i=r[0].x,o=Math.min(r[0].y,r[1].y);return{x:i,y:o,width:t,height:n}}function St(e,t){var n;const r=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=Be(r||e,t)}catch(o){}return i.map(o=>isNaN(o)?0:o)}function C(e,t=!1){return k(!0,e,t)}function Ye(e,t=!1){return k(!1,e,t)}function jt(e,t,n){const{rootSelector:r="",sheet:i}=e,o=`${r} ${Xe(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](o,i.cssRules.length)}function Dt(e){let t=[];return e.forEach(n=>{var r;try{n.cssRules&&n.cssRules.length&&(t=t.concat(Ne(n.cssRules)))}catch(i){(r=d.console)==null||r.warn(`Error while reading rules from ${n.href}: ${String(i)}`)}}),t}function Lt(e){var t,n,r,i,o,s;return{x:((n=(t=d.pageXOffset)!=null?t:d.scrollX)!=null?n:0)+((r=e.scrollLeft)!=null?r:0),y:((o=(i=d.pageYOffset)!=null?i:d.scrollY)!=null?o:0)+((s=e.scrollTop)!=null?s:0)}}function Ft(e,t=0,n=0,r=!0){const i=new DOMPoint(t,n),o=e.getScreenCTM(),s=i.matrixTransform(r?o==null?void 0:o.inverse():o);if(r===!1){const l=C(e);s.x-=l.x,s.y-=l.y}return s}function Ve(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Mt(e,t){var n;const r=(n=e==null?void 0:e.getAttribute)==null?void 0:n.call(e,t);if(r)return parseFloat(r);const i=Ve(e);return t==="x"?i.e:i.f}function Bt(e){const t=e.attr("viewBox");return t?t.trim().split(/[\s,]+/).length===4:!1}function Nt(e,t,n=!1){const r=!!e.node;let i=!1;for(const[o,s]of Object.entries(t))if(i=r?e.style(o)===s:e.style[o]===s,n?!i:i)break;return i}function qt(){var e,t;return((e=w)==null?void 0:e.hidden)===!1||((t=w)==null?void 0:t.visibilityState)==="visible"}function Ht(e,t){const{DocumentTouch:n,matchMedia:r,navigator:i}=d,o=r==null?void 0:r("(pointer:coarse)").matches;let s=!1;if(t)if(i&&"maxTouchPoints"in i)s=i.maxTouchPoints>0;else if("ontouchmove"in d||n&&w instanceof n)s=!0;else if(o)s=!0;else{const a=i.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(a)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(a)}return e&&!o&&(r==null?void 0:r("(pointer:fine)").matches)&&"mouse"||s&&"touch"||"mouse"}function kt(e,t){e.pendingRaf!==null?(d.cancelAnimationFrame(e.pendingRaf),e.pendingRaf=d.requestAnimationFrame(()=>{e.pendingRaf=null,t()})):(e.pendingRaf=d.requestAnimationFrame(()=>{e.pendingRaf=null}),t())}const Xt={mouse:(()=>{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,r=e())=>{t.dispatchEvent(new MouseEvent(n,r))}}catch(t){return(n,r,i=e())=>{const o=xe.createEvent("MouseEvent");o.initMouseEvent(r,i.bubbles,i.cancelable,x,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(o)}}})(),touch:(e,t,n)=>{const r=new Touch(T({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function Ge(e){const t=this.config;let n,r,i;const o=()=>{const s=r.shift();if(s&&n&&$(n)&&s in n)return n=n[s],o();if(!s)return n};Object.keys(t).forEach(s=>{n=e,r=s.split("_"),i=o(),Oe(i)&&(t[s]=i)}),this.api&&(this.state.orgConfig=e)}var ze=Object.defineProperty,We=(e,t,n)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t,n)=>We(e,typeof t!="symbol"?t+"":t,n);class X{constructor(t={}){y(this,"$$"),y(this,"options"),y(this,"config"),this.options=t}loadConfig(){Ge.call(this,this.options)}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}y(X,"version","4.1.0");class Ke{constructor(){return{selector:void 0}}}var Ze=Object.defineProperty,Je=(e,t,n)=>t in e?Ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t,n)=>Je(e,typeof t!="symbol"?t+"":t,n);class Y extends X{constructor(t){return super(t),U(this,"element"),this.config=new Ke,this}$beforeInit(){this.loadConfig(),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:t,config:n}=this;let r="";if((!n.selector||!document.querySelector(n.selector))&&(r="No holder elements found from given selector option."),(t.hasType("bubble")||t.hasType("scatter")||t.hasArcType(t.data.targets))&&(r="Contains non supported chart types."),r)throw new Error(`[Sparkline plugin] ${r}`)}overrideInternals(){const{$$:t}=this,{getBarW:n,getIndices:r}=t;t.getIndices=function(i,o,s){return s==="getShapeX"?{}:r.call(this,i,o)},t.getBarW=function(i,o){return n.call(this,i,o,1)}}overrideOptions(){const{config:t}=this.$$;if(t.legend_show=!1,t.resize_auto=!1,t.axis_x_show=!1,t.padding!==!1){const n=r=>Object.keys(r||{}).length>0;n(t.axis_x_padding)&&(t.axis_x_padding={left:15,right:15,unit:"px"}),n(t.axis_y_padding)&&(t.axis_y_padding=5)}t.axis_y_show=!1,t.tooltip_position||(t.tooltip_position=function(n,r,i){const{internal:{state:{event:o}}}=this;let s=o.pageY-i*1.35,l=o.pageX-r/2;return s<0&&(s=0),l<0&&(l=0),{top:s,left:l}})}$init(){var t;const{$$:{$el:n}}=this;n.chart.style("width","0").style("height","0").style("pointer-events","none"),(t=n.tooltip)!=null&&t.node()&&document.body.appendChild(n.tooltip.node())}$afterInit(){const{$$:t}=this;t.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(t=!0){const{$$:{config:n}}=this;if(n.interaction_enabled&&n.tooltip_show){const r=`${t?"add":"remove"}EventListener`;this.element.forEach(i=>{const o=i.querySelector("svg");o[r]("mouseover",this.overHandler),o[r]("mousemove",this.moveHandler),o[r]("mouseout",this.outHandler)})}}overHandler(t){const{$$:n}=this,{state:{eventReceiver:r}}=n;r.rect=C(t.target,!0)}moveHandler(t){var n,r,i,o;const{$$:s}=this,l=s.getDataIndexFromEvent(t),a=(n=s.api.data(t.target.__id))==null?void 0:n[0],h=(r=a==null?void 0:a.values)==null?void 0:r[l];h&&!h.name&&(h.name=h.id),s.state.event=t,(i=s.isPointFocusOnly)!=null&&i.call(s)&&h&&((o=s.showCircleFocus)==null||o.call(s,[h])),s.setExpand(l,a.id,!0),s.showTooltip([h],t.target)}outHandler(t){const{$$:n}=this;n.state.event=t,n.isPointFocusOnly()?n.hideCircleFocus():n.unexpandCircles(),n.hideTooltip()}$redraw(){var t;const{$$:n}=this,{$el:r}=n;let i=this.element;const o=n.api.data(),s=(t=r.chart.html().match(/<svg[^>]*>/))==null?void 0:t[0];if(i.length<o.length){const l=r.chart.node();for(let a=o.length-i.length;a>0;a--)l.parentNode.insertBefore(i[0].cloneNode(),l.nextSibling);this.element=document.querySelectorAll(this.config.selector),i=this.element}o.map(l=>l.id).forEach((l,a)=>{const h=`.${I.target}-${l}`,A=r.main.selectAll(h);let v=i[a].querySelector("svg");v||(i[a].innerHTML=`${s}</svg>`,v=i[a].querySelector("svg"),v.__id=l),v.querySelector(h)||A.style("opacity",null),A.style("fill","none").style("opacity",null),v.innerHTML="",v.appendChild(A.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(t=>{t.innerHTML=""})}}U(Y,"version","0.0.1")})(),_=_.default,_})()});
@@ -5,27 +5,28 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.0-next.2
8
+ * @version 4.1.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
12
12
  (function webpackUniversalModuleDefinition(root, factory) {
13
13
  if(typeof exports === 'object' && typeof module === 'object')
14
- module.exports = factory(require("d3-interpolate"), require("d3-scale"), require("d3-axis"), require("d3-selection"));
14
+ module.exports = factory(require("d3-axis"), require("d3-interpolate"), require("d3-scale"), require("d3-selection"));
15
15
  else if(typeof define === 'function' && define.amd)
16
- define("bb", ["d3-interpolate", "d3-scale", "d3-axis", "d3-selection"], factory);
16
+ define("bb", ["d3-axis", "d3-interpolate", "d3-scale", "d3-selection"], factory);
17
17
  else if(typeof exports === 'object')
18
- exports["bb"] = factory(require("d3-interpolate"), require("d3-scale"), require("d3-axis"), require("d3-selection"));
18
+ exports["bb"] = factory(require("d3-axis"), require("d3-interpolate"), require("d3-scale"), require("d3-selection"));
19
19
  else
20
20
  root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["stanford"] = factory(root["d3"], root["d3"], root["d3"], root["d3"]);
21
- })(this, function(__WEBPACK_EXTERNAL_MODULE__4__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__1__) {
21
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__4__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__1__) {
22
22
  return /******/ (function() { // webpackBootstrap
23
- /******/ "use strict";
23
+ /******/ // runtime can't be in strict mode because 'output.globalObject' reads 'this'.
24
24
  /******/ var __webpack_modules__ = ([
25
25
  /* 0 */,
26
26
  /* 1 */
27
27
  /***/ (function(module) {
28
28
 
29
+ "use strict";
29
30
  module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
30
31
 
31
32
  /***/ }),
@@ -34,18 +35,21 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1__;
34
35
  /* 4 */
35
36
  /***/ (function(module) {
36
37
 
38
+ "use strict";
37
39
  module.exports = __WEBPACK_EXTERNAL_MODULE__4__;
38
40
 
39
41
  /***/ }),
40
42
  /* 5 */
41
43
  /***/ (function(module) {
42
44
 
45
+ "use strict";
43
46
  module.exports = __WEBPACK_EXTERNAL_MODULE__5__;
44
47
 
45
48
  /***/ }),
46
49
  /* 6 */
47
50
  /***/ (function(module) {
48
51
 
52
+ "use strict";
49
53
  module.exports = __WEBPACK_EXTERNAL_MODULE__6__;
50
54
 
51
55
  /***/ })
@@ -77,41 +81,23 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__6__;
77
81
  /******/
78
82
  /************************************************************************/
79
83
  /******/ /* webpack/runtime/define property getters */
80
- /******/ !function() {
81
- /******/ // define getter/value functions for harmony exports
82
- /******/ __webpack_require__.d = function(exports, definition) {
83
- /******/ if(Array.isArray(definition)) {
84
- /******/ var i = 0;
85
- /******/ while(i < definition.length) {
86
- /******/ var key = definition[i++];
87
- /******/ var binding = definition[i++];
88
- /******/ if(!__webpack_require__.o(exports, key)) {
89
- /******/ if(binding === 0) {
90
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
91
- /******/ } else {
92
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
93
- /******/ }
94
- /******/ } else if(binding === 0) { i++; }
95
- /******/ }
96
- /******/ } else {
97
- /******/ for(var key in definition) {
98
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
99
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
100
- /******/ }
101
- /******/ }
84
+ /******/ // define getter/value functions for harmony exports
85
+ /******/ __webpack_require__.d = function(exports, definition) {
86
+ /******/ for(var key in definition) {
87
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
88
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
102
89
  /******/ }
103
- /******/ };
104
- /******/ }();
90
+ /******/ }
91
+ /******/ };
105
92
  /******/
106
93
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
107
- /******/ !function() {
108
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
109
- /******/ }();
94
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); };
110
95
  /******/
111
96
  /************************************************************************/
112
97
  var __webpack_exports__ = {};
113
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
98
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
114
99
  !function() {
100
+ "use strict";
115
101
 
116
102
  // EXPORTS
117
103
  __webpack_require__.d(__webpack_exports__, {
@@ -426,7 +412,7 @@ class Plugin {
426
412
  });
427
413
  }
428
414
  }
429
- __publicField(Plugin, "version", "4.1.0-next.2");
415
+ __publicField(Plugin, "version", "4.1.0");
430
416
 
431
417
  // EXTERNAL MODULE: external {"commonjs":"d3-axis","commonjs2":"d3-axis","amd":"d3-axis","root":"d3"}
432
418
  var external_commonjs_d3_axis_commonjs2_d3_axis_amd_d3_axis_root_d3_ = __webpack_require__(6);