(function () {
  function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }

  function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }

  function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }

  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

  function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }

  function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }

  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }

  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

  function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }

  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }

  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }

  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }

  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

  function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }

  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }

  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }

  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }

  (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["default~dashboards-analytics-analytics-module-ngfactory~dashboards-project-project-module-ngfactory~~e78aef06"], {
    /***/
    "+3eq": function eq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./linear.js */
      "ZRP+");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeLinear", function () {
        return _linear_js__WEBPACK_IMPORTED_MODULE_0__["linear"];
      });
      /* harmony import */


      var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./quad.js */
      "TXIv");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeQuad", function () {
        return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeQuadIn", function () {
        return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeQuadOut", function () {
        return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeQuadInOut", function () {
        return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadInOut"];
      });
      /* harmony import */


      var _cubic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./cubic.js */
      "iSFD");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCubic", function () {
        return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCubicIn", function () {
        return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCubicOut", function () {
        return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCubicInOut", function () {
        return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicInOut"];
      });
      /* harmony import */


      var _poly_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./poly.js */
      "5Xrj");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easePoly", function () {
        return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easePolyIn", function () {
        return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easePolyOut", function () {
        return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easePolyInOut", function () {
        return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyInOut"];
      });
      /* harmony import */


      var _sin_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./sin.js */
      "62fh");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeSin", function () {
        return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeSinIn", function () {
        return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeSinOut", function () {
        return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeSinInOut", function () {
        return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinInOut"];
      });
      /* harmony import */


      var _exp_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./exp.js */
      "LOX7");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeExp", function () {
        return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeExpIn", function () {
        return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeExpOut", function () {
        return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeExpInOut", function () {
        return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expInOut"];
      });
      /* harmony import */


      var _circle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./circle.js */
      "tIkd");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCircle", function () {
        return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCircleIn", function () {
        return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCircleOut", function () {
        return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeCircleInOut", function () {
        return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleInOut"];
      });
      /* harmony import */


      var _bounce_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./bounce.js */
      "MHiR");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBounce", function () {
        return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBounceIn", function () {
        return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBounceOut", function () {
        return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBounceInOut", function () {
        return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceInOut"];
      });
      /* harmony import */


      var _back_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./back.js */
      "iUY2");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBack", function () {
        return _back_js__WEBPACK_IMPORTED_MODULE_8__["backInOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBackIn", function () {
        return _back_js__WEBPACK_IMPORTED_MODULE_8__["backIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBackOut", function () {
        return _back_js__WEBPACK_IMPORTED_MODULE_8__["backOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeBackInOut", function () {
        return _back_js__WEBPACK_IMPORTED_MODULE_8__["backInOut"];
      });
      /* harmony import */


      var _elastic_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./elastic.js */
      "uc95");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeElastic", function () {
        return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeElasticIn", function () {
        return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticIn"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeElasticOut", function () {
        return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticOut"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "easeElasticInOut", function () {
        return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticInOut"];
      });
      /***/

    },

    /***/
    "+HKQ": function HKQ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _namespace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../namespace */
      "bNSl");

      function attrRemove(name) {
        return function () {
          this.removeAttribute(name);
        };
      }

      function attrRemoveNS(fullname) {
        return function () {
          this.removeAttributeNS(fullname.space, fullname.local);
        };
      }

      function attrConstant(name, value) {
        return function () {
          this.setAttribute(name, value);
        };
      }

      function attrConstantNS(fullname, value) {
        return function () {
          this.setAttributeNS(fullname.space, fullname.local, value);
        };
      }

      function attrFunction(name, value) {
        return function () {
          var v = value.apply(this, arguments);
          if (v == null) this.removeAttribute(name);else this.setAttribute(name, v);
        };
      }

      function attrFunctionNS(fullname, value) {
        return function () {
          var v = value.apply(this, arguments);
          if (v == null) this.removeAttributeNS(fullname.space, fullname.local);else this.setAttributeNS(fullname.space, fullname.local, v);
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value) {
        var fullname = Object(_namespace__WEBPACK_IMPORTED_MODULE_0__["default"])(name);

        if (arguments.length < 2) {
          var node = this.node();
          return fullname.local ? node.getAttributeNS(fullname.space, fullname.local) : node.getAttribute(fullname);
        }

        return this.each((value == null ? fullname.local ? attrRemoveNS : attrRemove : typeof value === "function" ? fullname.local ? attrFunctionNS : attrFunction : fullname.local ? attrConstantNS : attrConstant)(fullname, value));
      };
      /***/

    },

    /***/
    "+Nd1": function Nd1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _treemap_round_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./treemap/round.js */
      "DdT1");
      /* harmony import */


      var _treemap_dice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./treemap/dice.js */
      "FPPI");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var dx = 1,
            dy = 1,
            padding = 0,
            round = false;

        function partition(root) {
          var n = root.height + 1;
          root.x0 = root.y0 = padding;
          root.x1 = dx;
          root.y1 = dy / n;
          root.eachBefore(positionNode(dy, n));
          if (round) root.eachBefore(_treemap_round_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
          return root;
        }

        function positionNode(dy, n) {
          return function (node) {
            if (node.children) {
              Object(_treemap_dice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);
            }

            var x0 = node.x0,
                y0 = node.y0,
                x1 = node.x1 - padding,
                y1 = node.y1 - padding;
            if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
            if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
            node.x0 = x0;
            node.y0 = y0;
            node.x1 = x1;
            node.y1 = y1;
          };
        }

        partition.round = function (x) {
          return arguments.length ? (round = !!x, partition) : round;
        };

        partition.size = function (x) {
          return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];
        };

        partition.padding = function (x) {
          return arguments.length ? (padding = +x, partition) : padding;
        };

        return partition;
      };
      /***/

    },

    /***/
    "+O7D": function O7D(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
        return utcMinutes;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var utcMinute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCSeconds(0, 0);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
      }, function (date) {
        return date.getUTCMinutes();
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcMinute;
      var utcMinutes = utcMinute.range;
      /***/
    },

    /***/
    "+Tjx": function Tjx(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var nodes = [];
        this.each(function (node) {
          nodes.push(node);
        });
        return nodes;
      };
      /***/

    },

    /***/
    "+ugm": function ugm(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-path */
      "83xM");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./constant.js */
      "2K37");
      /* harmony import */


      var _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./curve/linear.js */
      "SDD1");
      /* harmony import */


      var _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./point.js */
      "/aQN");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var x = _point_js__WEBPACK_IMPORTED_MODULE_3__["x"],
            y = _point_js__WEBPACK_IMPORTED_MODULE_3__["y"],
            defined = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(true),
            context = null,
            curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__["default"],
            output = null;

        function line(data) {
          var i,
              n = data.length,
              d,
              defined0 = false,
              buffer;
          if (context == null) output = curve(buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])());

          for (i = 0; i <= n; ++i) {
            if (!(i < n && defined(d = data[i], i, data)) === defined0) {
              if (defined0 = !defined0) output.lineStart();else output.lineEnd();
            }

            if (defined0) output.point(+x(d, i, data), +y(d, i, data));
          }

          if (buffer) return output = null, buffer + "" || null;
        }

        line.x = function (_) {
          return arguments.length ? (x = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), line) : x;
        };

        line.y = function (_) {
          return arguments.length ? (y = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), line) : y;
        };

        line.defined = function (_) {
          return arguments.length ? (defined = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), line) : defined;
        };

        line.curve = function (_) {
          return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;
        };

        line.context = function (_) {
          return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;
        };

        return line;
      };
      /***/

    },

    /***/
    "+w/h": function wH(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony import */


      var _selectorAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../selectorAll */
      "QjDJ");
      /* harmony default export */


      __webpack_exports__["default"] = function (select) {
        if (typeof select !== "function") select = Object(_selectorAll__WEBPACK_IMPORTED_MODULE_1__["default"])(select);

        for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
            if (node = group[i]) {
              subgroups.push(select.call(node, node.__data__, i, group));
              parents.push(node);
            }
          }
        }

        return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](subgroups, parents);
      };
      /***/

    },

    /***/
    "+y6k": function y6k(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _transpose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./transpose.js */
      "cyYV");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return Object(_transpose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arguments);
      };
      /***/

    },

    /***/
    "/+7g": function g(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _tween_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./tween.js */
      "Nehl");
      /* harmony import */


      var _interpolate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./interpolate.js */
      "5aFE");

      function attrRemove(name) {
        return function () {
          this.removeAttribute(name);
        };
      }

      function attrRemoveNS(fullname) {
        return function () {
          this.removeAttributeNS(fullname.space, fullname.local);
        };
      }

      function attrConstant(name, interpolate, value1) {
        var string00,
            string1 = value1 + "",
            interpolate0;
        return function () {
          var string0 = this.getAttribute(name);
          return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1);
        };
      }

      function attrConstantNS(fullname, interpolate, value1) {
        var string00,
            string1 = value1 + "",
            interpolate0;
        return function () {
          var string0 = this.getAttributeNS(fullname.space, fullname.local);
          return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1);
        };
      }

      function attrFunction(name, interpolate, value) {
        var string00, string10, interpolate0;
        return function () {
          var string0,
              value1 = value(this),
              string1;
          if (value1 == null) return void this.removeAttribute(name);
          string0 = this.getAttribute(name);
          string1 = value1 + "";
          return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
        };
      }

      function attrFunctionNS(fullname, interpolate, value) {
        var string00, string10, interpolate0;
        return function () {
          var string0,
              value1 = value(this),
              string1;
          if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);
          string0 = this.getAttributeNS(fullname.space, fullname.local);
          string1 = value1 + "";
          return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value) {
        var fullname = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["namespace"])(name),
            i = fullname === "transform" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateTransformSvg"] : _interpolate_js__WEBPACK_IMPORTED_MODULE_3__["default"];
        return this.attrTween(name, typeof value === "function" ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, Object(_tween_js__WEBPACK_IMPORTED_MODULE_2__["tweenValue"])(this, "attr." + name, value)) : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname) : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));
      };
      /***/

    },

    /***/
    "/CzE": function CzE(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return leastIndex;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony import */


      var _minIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./minIndex.js */
      "JQqb");

      function leastIndex(values) {
        var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
        if (compare.length === 1) return Object(_minIndex_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, compare);
        var minValue;
        var min = -1;
        var index = -1;

        var _iterator = _createForOfIteratorHelper(values),
            _step;

        try {
          for (_iterator.s(); !(_step = _iterator.n()).done;) {
            var value = _step.value;
            ++index;

            if (min < 0 ? compare(value, value) === 0 : compare(value, minValue) < 0) {
              minValue = value;
              min = index;
            }
          }
        } catch (err) {
          _iterator.e(err);
        } finally {
          _iterator.f();
        }

        return min;
      }
      /***/

    },

    /***/
    "/KiP": function KiP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function removeFunction(id) {
        return function () {
          var parent = this.parentNode;

          for (var i in this.__transition) {
            if (+i !== id) return;
          }

          if (parent) parent.removeChild(this);
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return this.on("end.remove", removeFunction(this._id));
      };
      /***/

    },

    /***/
    "/TIM": function TIM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./create */
      "qLhn");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "create", function () {
        return _create__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _creator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./creator */
      "V/Wt");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "creator", function () {
        return _creator__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _local__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./local */
      "HFJB");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "local", function () {
        return _local__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _matcher__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./matcher */
      "Cnj1");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "matcher", function () {
        return _matcher__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _mouse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./mouse */
      "4k54");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "mouse", function () {
        return _mouse__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _namespace__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./namespace */
      "bNSl");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "namespace", function () {
        return _namespace__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony import */


      var _namespaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./namespaces */
      "4xGt");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "namespaces", function () {
        return _namespaces__WEBPACK_IMPORTED_MODULE_6__["default"];
      });
      /* harmony import */


      var _point__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./point */
      "8H8W");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "clientPoint", function () {
        return _point__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony import */


      var _select__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./select */
      "AKWm");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "select", function () {
        return _select__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony import */


      var _selectAll__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./selectAll */
      "Enya");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "selectAll", function () {
        return _selectAll__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony import */


      var _selection_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./selection/index */
      "5Iso");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "selection", function () {
        return _selection_index__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony import */


      var _selector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./selector */
      "b9Oj");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "selector", function () {
        return _selector__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony import */


      var _selectorAll__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./selectorAll */
      "QjDJ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "selectorAll", function () {
        return _selectorAll__WEBPACK_IMPORTED_MODULE_12__["default"];
      });
      /* harmony import */


      var _selection_style__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./selection/style */
      "Nkvg");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "style", function () {
        return _selection_style__WEBPACK_IMPORTED_MODULE_13__["styleValue"];
      });
      /* harmony import */


      var _touch__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./touch */
      "YJZE");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "touch", function () {
        return _touch__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony import */


      var _touches__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./touches */
      "Yp+Y");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "touches", function () {
        return _touches__WEBPACK_IMPORTED_MODULE_15__["default"];
      });
      /* harmony import */


      var _window__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./window */
      "oxeV");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "window", function () {
        return _window__WEBPACK_IMPORTED_MODULE_16__["default"];
      });
      /* harmony import */


      var _selection_on__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./selection/on */
      "AWXE");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "event", function () {
        return _selection_on__WEBPACK_IMPORTED_MODULE_17__["event"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "customEvent", function () {
        return _selection_on__WEBPACK_IMPORTED_MODULE_17__["customEvent"];
      });
      /***/

    },

    /***/
    "/aQN": function aQN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "x", function () {
        return x;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "y", function () {
        return y;
      });

      function x(p) {
        return p[0];
      }

      function y(p) {
        return p[1];
      }
      /***/

    },

    /***/
    "0K5P": function K5P(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {};
      /***/

    },

    /***/
    "0ND3": function ND3(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");
      /* harmony import */


      var _tween_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./tween.js */
      "Nehl");
      /* harmony import */


      var _interpolate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./interpolate.js */
      "5aFE");

      function styleNull(name, interpolate) {
        var string00, string10, interpolate0;
        return function () {
          var string0 = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name),
              string1 = (this.style.removeProperty(name), Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name));
          return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : interpolate0 = interpolate(string00 = string0, string10 = string1);
        };
      }

      function styleRemove(name) {
        return function () {
          this.style.removeProperty(name);
        };
      }

      function styleConstant(name, interpolate, value1) {
        var string00,
            string1 = value1 + "",
            interpolate0;
        return function () {
          var string0 = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name);
          return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1);
        };
      }

      function styleFunction(name, interpolate, value) {
        var string00, string10, interpolate0;
        return function () {
          var string0 = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name),
              value1 = value(this),
              string1 = value1 + "";
          if (value1 == null) string1 = value1 = (this.style.removeProperty(name), Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name));
          return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
        };
      }

      function styleMaybeRemove(id, name) {
        var on0,
            on1,
            listener0,
            key = "style." + name,
            event = "end." + key,
            remove;
        return function () {
          var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["set"])(this, id),
              on = schedule.on,
              listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined; // If this node shared a dispatch with the previous node,
          // just assign the updated shared dispatch and we’re done!
          // Otherwise, copy-on-write.

          if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);
          schedule.on = on1;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value, priority) {
        var i = (name += "") === "transform" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateTransformCss"] : _interpolate_js__WEBPACK_IMPORTED_MODULE_4__["default"];
        return value == null ? this.styleTween(name, styleNull(name, i)).on("end.style." + name, styleRemove(name)) : typeof value === "function" ? this.styleTween(name, styleFunction(name, i, Object(_tween_js__WEBPACK_IMPORTED_MODULE_3__["tweenValue"])(this, "style." + name, value))).each(styleMaybeRemove(this._id, name)) : this.styleTween(name, styleConstant(name, i, value), priority).on("end.style." + name, null);
      };
      /***/

    },

    /***/
    "0T5i": function T5i(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (series, order) {
        if (!((n = series.length) > 1)) return;

        for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {
          s0 = s1, s1 = series[order[i]];

          for (j = 0; j < m; ++j) {
            s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];
          }
        }
      };
      /***/

    },

    /***/
    "0W9s": function W9s(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Transition", function () {
        return Transition;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return transition;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "newId", function () {
        return newId;
      });
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _attr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./attr.js */
      "/+7g");
      /* harmony import */


      var _attrTween_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./attrTween.js */
      "DF+l");
      /* harmony import */


      var _delay_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./delay.js */
      "hl/D");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./duration.js */
      "8nbz");
      /* harmony import */


      var _ease_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./ease.js */
      "WFWS");
      /* harmony import */


      var _filter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./filter.js */
      "zyLn");
      /* harmony import */


      var _merge_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./merge.js */
      "qR3b");
      /* harmony import */


      var _on_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./on.js */
      "aNk7");
      /* harmony import */


      var _remove_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./remove.js */
      "/KiP");
      /* harmony import */


      var _select_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./select.js */
      "r5Py");
      /* harmony import */


      var _selectAll_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./selectAll.js */
      "7VZX");
      /* harmony import */


      var _selection_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./selection.js */
      "cKk/");
      /* harmony import */


      var _style_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./style.js */
      "0ND3");
      /* harmony import */


      var _styleTween_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./styleTween.js */
      "D/GG");
      /* harmony import */


      var _text_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./text.js */
      "31Y3");
      /* harmony import */


      var _textTween_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./textTween.js */
      "Xl5i");
      /* harmony import */


      var _transition_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./transition.js */
      "4bGx");
      /* harmony import */


      var _tween_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
      /*! ./tween.js */
      "Nehl");
      /* harmony import */


      var _end_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
      /*! ./end.js */
      "mKzq");

      var id = 0;

      function Transition(groups, parents, name, id) {
        this._groups = groups;
        this._parents = parents;
        this._name = name;
        this._id = id;
      }

      function transition(name) {
        return Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"])().transition(name);
      }

      function newId() {
        return ++id;
      }

      var selection_prototype = d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype;
      Transition.prototype = transition.prototype = {
        constructor: Transition,
        select: _select_js__WEBPACK_IMPORTED_MODULE_10__["default"],
        selectAll: _selectAll_js__WEBPACK_IMPORTED_MODULE_11__["default"],
        filter: _filter_js__WEBPACK_IMPORTED_MODULE_6__["default"],
        merge: _merge_js__WEBPACK_IMPORTED_MODULE_7__["default"],
        selection: _selection_js__WEBPACK_IMPORTED_MODULE_12__["default"],
        transition: _transition_js__WEBPACK_IMPORTED_MODULE_17__["default"],
        call: selection_prototype.call,
        nodes: selection_prototype.nodes,
        node: selection_prototype.node,
        size: selection_prototype.size,
        empty: selection_prototype.empty,
        each: selection_prototype.each,
        on: _on_js__WEBPACK_IMPORTED_MODULE_8__["default"],
        attr: _attr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
        attrTween: _attrTween_js__WEBPACK_IMPORTED_MODULE_2__["default"],
        style: _style_js__WEBPACK_IMPORTED_MODULE_13__["default"],
        styleTween: _styleTween_js__WEBPACK_IMPORTED_MODULE_14__["default"],
        text: _text_js__WEBPACK_IMPORTED_MODULE_15__["default"],
        textTween: _textTween_js__WEBPACK_IMPORTED_MODULE_16__["default"],
        remove: _remove_js__WEBPACK_IMPORTED_MODULE_9__["default"],
        tween: _tween_js__WEBPACK_IMPORTED_MODULE_18__["default"],
        delay: _delay_js__WEBPACK_IMPORTED_MODULE_3__["default"],
        duration: _duration_js__WEBPACK_IMPORTED_MODULE_4__["default"],
        ease: _ease_js__WEBPACK_IMPORTED_MODULE_5__["default"],
        end: _end_js__WEBPACK_IMPORTED_MODULE_19__["default"]
      };
      /***/
    },

    /***/
    "0llg": function llg(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function () {
          return x;
        };
      };
      /***/

    },

    /***/
    "0sQp": function sQp(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
      };
      /***/

    },

    /***/
    "0xxc": function xxc(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _interrupt_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../interrupt.js */
      "dW/k");
      /* harmony default export */


      __webpack_exports__["default"] = function (name) {
        return this.each(function () {
          Object(_interrupt_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, name);
        });
      };
      /***/

    },

    /***/
    "1Cbu": function Cbu(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./dice.js */
      "FPPI");
      /* harmony import */


      var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./slice.js */
      "7IPS");
      /* harmony import */


      var _squarify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./squarify.js */
      "I4jL");
      /* harmony default export */


      __webpack_exports__["default"] = function custom(ratio) {
        function resquarify(parent, x0, y0, x1, y1) {
          if ((rows = parent._squarify) && rows.ratio === ratio) {
            var rows,
                row,
                nodes,
                i,
                j = -1,
                n,
                m = rows.length,
                value = parent.value;

            while (++j < m) {
              row = rows[j], nodes = row.children;

              for (i = row.value = 0, n = nodes.length; i < n; ++i) {
                row.value += nodes[i].value;
              }

              if (row.dice) Object(_dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);else Object(_slice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);
              value -= row.value;
            }
          } else {
            parent._squarify = rows = Object(_squarify_js__WEBPACK_IMPORTED_MODULE_2__["squarifyRatio"])(ratio, parent, x0, y0, x1, y1);
            rows.ratio = ratio;
          }
        }

        resquarify.ratio = function (x) {
          return custom((x = +x) > 1 ? x : 1);
        };

        return resquarify;
      }(_squarify_js__WEBPACK_IMPORTED_MODULE_2__["phi"]);
      /***/

    },

    /***/
    "1Ix/": function Ix(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "initRange", function () {
        return initRange;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "initInterpolator", function () {
        return initInterpolator;
      });

      function initRange(domain, range) {
        switch (arguments.length) {
          case 0:
            break;

          case 1:
            this.range(domain);
            break;

          default:
            this.range(range).domain(domain);
            break;
        }

        return this;
      }

      function initInterpolator(domain, interpolator) {
        switch (arguments.length) {
          case 0:
            break;

          case 1:
            {
              if (typeof domain === "function") this.interpolator(domain);else this.range(domain);
              break;
            }

          default:
            {
              this.domain(domain);
              if (typeof interpolator === "function") this.interpolator(interpolator);else this.range(interpolator);
              break;
            }
        }

        return this;
      }
      /***/

    },

    /***/
    "1OKp": function OKp(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return identity;
      });
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./number.js */
      "4m7i");

      function identity(domain) {
        var unknown;

        function scale(x) {
          return x == null || isNaN(x = +x) ? unknown : x;
        }

        scale.invert = scale;

        scale.domain = scale.range = function (_) {
          return arguments.length ? (domain = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_1__["default"]), scale) : domain.slice();
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        scale.copy = function () {
          return identity(domain).unknown(unknown);
        };

        domain = arguments.length ? Array.from(domain, _number_js__WEBPACK_IMPORTED_MODULE_1__["default"]) : [0, 1];
        return Object(_linear_js__WEBPACK_IMPORTED_MODULE_0__["linearish"])(scale);
      }
      /***/

    },

    /***/
    "1SON": function SON(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return greatest;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");

      function greatest(values) {
        var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
        var max;
        var defined = false;

        if (compare.length === 1) {
          var maxValue;

          var _iterator2 = _createForOfIteratorHelper(values),
              _step2;

          try {
            for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
              var element = _step2.value;
              var value = compare(element);

              if (defined ? Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, maxValue) > 0 : Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, value) === 0) {
                max = element;
                maxValue = value;
                defined = true;
              }
            }
          } catch (err) {
            _iterator2.e(err);
          } finally {
            _iterator2.f();
          }
        } else {
          var _iterator3 = _createForOfIteratorHelper(values),
              _step3;

          try {
            for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
              var _value = _step3.value;

              if (defined ? compare(_value, max) > 0 : compare(_value, _value) === 0) {
                max = _value;
                defined = true;
              }
            }
          } catch (err) {
            _iterator3.e(err);
          } finally {
            _iterator3.f();
          }
        }

        return max;
      }
      /***/

    },

    /***/
    "1afE": function afE(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var w = Math.sqrt(size),
              x = -w / 2;
          context.rect(x, x, w, w);
        }
      };
      /***/
    },

    /***/
    "1byx": function byx(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./timer.js */
      "dPRQ");
      /* harmony default export */


      __webpack_exports__["default"] = function (callback, delay, time) {
        var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__["Timer"](),
            total = delay;
        if (delay == null) return t.restart(callback, delay, time), t;
        delay = +delay, time = time == null ? Object(_timer_js__WEBPACK_IMPORTED_MODULE_0__["now"])() : +time;
        t.restart(function tick(elapsed) {
          elapsed += total;
          t.restart(tick, total += delay, time);
          callback(elapsed);
        }, delay, time);
        return t;
      };
      /***/

    },

    /***/
    "1nUc": function nUc(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./basis.js */
      "jICm");

      function BasisOpen(context) {
        this._context = context;
      }

      BasisOpen.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._y0 = this._y1 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              break;

            case 1:
              this._point = 2;
              break;

            case 2:
              this._point = 3;
              var x0 = (this._x0 + 4 * this._x1 + x) / 6,
                  y0 = (this._y0 + 4 * this._y1 + y) / 6;
              this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0);
              break;

            case 3:
              this._point = 4;
            // proceed

            default:
              Object(_basis_js__WEBPACK_IMPORTED_MODULE_0__["point"])(this, x, y);
              break;
          }

          this._x0 = this._x1, this._x1 = x;
          this._y0 = this._y1, this._y1 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (context) {
        return new BasisOpen(context);
      };
      /***/

    },

    /***/
    "2/3s": function s(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _transition_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../transition/index.js */
      "0W9s");
      /* harmony import */


      var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../transition/schedule.js */
      "rtYu");
      /* harmony import */


      var d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! d3-ease */
      "+3eq");
      /* harmony import */


      var d3_timer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! d3-timer */
      "ta7q");

      var defaultTiming = {
        time: null,
        // Set on use.
        delay: 0,
        duration: 250,
        ease: d3_ease__WEBPACK_IMPORTED_MODULE_2__["easeCubicInOut"]
      };

      function inherit(node, id) {
        var timing;

        while (!(timing = node.__transition) || !(timing = timing[id])) {
          if (!(node = node.parentNode)) {
            return defaultTiming.time = Object(d3_timer__WEBPACK_IMPORTED_MODULE_3__["now"])(), defaultTiming;
          }
        }

        return timing;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name) {
        var id, timing;

        if (name instanceof _transition_index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"]) {
          id = name._id, name = name._name;
        } else {
          id = Object(_transition_index_js__WEBPACK_IMPORTED_MODULE_0__["newId"])(), (timing = defaultTiming).time = Object(d3_timer__WEBPACK_IMPORTED_MODULE_3__["now"])(), name = name == null ? null : name + "";
        }

        for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
            if (node = group[i]) {
              Object(_transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, name, id, i, group, timing || inherit(node, id));
            }
          }
        }

        return new _transition_index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"](groups, this._parents, name, id);
      };
      /***/

    },

    /***/
    "230S": function S(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../creator */
      "V/Wt");
      /* harmony default export */


      __webpack_exports__["default"] = function (name) {
        var create = typeof name === "function" ? name : Object(_creator__WEBPACK_IMPORTED_MODULE_0__["default"])(name);
        return this.select(function () {
          return this.appendChild(create.apply(this, arguments));
        });
      };
      /***/

    },

    /***/
    "2K37": function K37(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function constant() {
          return x;
        };
      };
      /***/

    },

    /***/
    "2TPD": function TPD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./exponent.js */
      "p/1U");
      /* harmony default export */


      __webpack_exports__["default"] = function (step, value) {
        return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3 - Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
      };
      /***/

    },

    /***/
    "2Ynt": function Ynt(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./exponent.js */
      "p/1U");
      /* harmony default export */


      __webpack_exports__["default"] = function (step, max) {
        step = Math.abs(step), max = Math.abs(max) - step;
        return Math.max(0, Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(max) - Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(step)) + 1;
      };
      /***/

    },

    /***/
    "2bil": function bil(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function () {
          return x;
        };
      };
      /***/

    },

    /***/
    "2nV0": function nV0(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "parseCss", function () {
        return parseCss;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "parseSvg", function () {
        return parseSvg;
      });
      /* harmony import */


      var _decompose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./decompose.js */
      "Mlif");

      var cssNode, cssRoot, cssView, svgNode;

      function parseCss(value) {
        if (value === "none") return _decompose_js__WEBPACK_IMPORTED_MODULE_0__["identity"];
        if (!cssNode) cssNode = document.createElement("DIV"), cssRoot = document.documentElement, cssView = document.defaultView;
        cssNode.style.transform = value;
        value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue("transform");
        cssRoot.removeChild(cssNode);
        value = value.slice(7, -1).split(",");
        return Object(_decompose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);
      }

      function parseSvg(value) {
        if (value == null) return _decompose_js__WEBPACK_IMPORTED_MODULE_0__["identity"];
        if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
        svgNode.setAttribute("transform", value);
        if (!(value = svgNode.transform.baseVal.consolidate())) return _decompose_js__WEBPACK_IMPORTED_MODULE_0__["identity"];
        value = value.matrix;
        return Object(_decompose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value.a, value.b, value.c, value.d, value.e, value.f);
      }
      /***/

    },

    /***/
    "2tFh": function tFh(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./exponent.js */
      "p/1U");
      /* harmony default export */


      __webpack_exports__["default"] = function (step) {
        return Math.max(0, -Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
      };
      /***/

    },

    /***/
    "30U6": function U6(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _dispatch_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./dispatch.js */
      "xo8x");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "dispatch", function () {
        return _dispatch_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /***/

    },

    /***/
    "31Y3": function Y3(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _tween_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./tween.js */
      "Nehl");

      function textConstant(value) {
        return function () {
          this.textContent = value;
        };
      }

      function textFunction(value) {
        return function () {
          var value1 = value(this);
          this.textContent = value1 == null ? "" : value1;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        return this.tween("text", typeof value === "function" ? textFunction(Object(_tween_js__WEBPACK_IMPORTED_MODULE_0__["tweenValue"])(this, "text", value)) : textConstant(value == null ? "" : value + ""));
      };
      /***/

    },

    /***/
    "39FP": function FP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "months", function () {
        return months;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");

      var month = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setDate(1);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setMonth(date.getMonth() + step);
      }, function (start, end) {
        return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
      }, function (date) {
        return date.getMonth();
      });
      /* harmony default export */

      __webpack_exports__["default"] = month;
      var months = month.range;
      /***/
    },

    /***/
    "3O/B": function OB(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return superset;
      });

      function superset(values, other) {
        var iterator = values[Symbol.iterator](),
            set = new Set();

        var _iterator4 = _createForOfIteratorHelper(other),
            _step4;

        try {
          for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
            var o = _step4.value;
            if (set.has(o)) continue;
            var value = void 0,
                done = void 0;

            while (_iterator$next = iterator.next(), value = _iterator$next.value, done = _iterator$next.done, _iterator$next) {
              var _iterator$next;

              if (done) return false;
              set.add(value);
              if (Object.is(o, value)) break;
            }
          }
        } catch (err) {
          _iterator4.e(err);
        } finally {
          _iterator4.f();
        }

        return true;
      }
      /***/

    },

    /***/
    "3Ryo": function Ryo(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return reduce;
      });

      function reduce(values, reducer, value) {
        if (typeof reducer !== "function") throw new TypeError("reducer is not a function");
        var iterator = values[Symbol.iterator]();
        var done,
            next,
            index = -1;

        if (arguments.length < 3) {
          var _iterator$next2 = iterator.next();

          done = _iterator$next2.done;
          value = _iterator$next2.value;
          if (done) return;
          ++index;
        }

        while ((_iterator$next3 = iterator.next(), done = _iterator$next3.done, next = _iterator$next3.value, _iterator$next3), !done) {
          var _iterator$next3;

          value = reducer(value, next, ++index, values);
        }

        return value;
      }
      /***/

    },

    /***/
    "3oVi": function oVi(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return difference;
      });

      function difference(values) {
        values = new Set(values);

        for (var _len = arguments.length, others = new Array(_len > 1 ? _len - 1 : 0), _key2 = 1; _key2 < _len; _key2++) {
          others[_key2 - 1] = arguments[_key2];
        }

        for (var _i = 0, _others = others; _i < _others.length; _i++) {
          var other = _others[_i];

          var _iterator5 = _createForOfIteratorHelper(other),
              _step5;

          try {
            for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
              var value = _step5.value;
              values["delete"](value);
            }
          } catch (err) {
            _iterator5.e(err);
          } finally {
            _iterator5.f();
          }
        }

        return values;
      }
      /***/

    },

    /***/
    "3pBD": function pBD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function count(node) {
        var sum = 0,
            children = node.children,
            i = children && children.length;
        if (!i) sum = 1;else while (--i >= 0) {
          sum += children[i].value;
        }
        node.value = sum;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return this.eachAfter(count);
      };
      /***/

    },

    /***/
    "3xmg": function xmg(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "implicit", function () {
        return implicit;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return ordinal;
      });
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      var implicit = Symbol("implicit");

      function ordinal() {
        var index = new Map(),
            domain = [],
            range = [],
            unknown = implicit;

        function scale(d) {
          var key = d + "",
              i = index.get(key);

          if (!i) {
            if (unknown !== implicit) return unknown;
            index.set(key, i = domain.push(d));
          }

          return range[(i - 1) % range.length];
        }

        scale.domain = function (_) {
          if (!arguments.length) return domain.slice();
          domain = [], index = new Map();

          var _iterator6 = _createForOfIteratorHelper(_),
              _step6;

          try {
            for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
              var value = _step6.value;
              var key = value + "";
              if (index.has(key)) continue;
              index.set(key, domain.push(value));
            }
          } catch (err) {
            _iterator6.e(err);
          } finally {
            _iterator6.f();
          }

          return scale;
        };

        scale.range = function (_) {
          return arguments.length ? (range = Array.from(_), scale) : range.slice();
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        scale.copy = function () {
          return ordinal(domain, range).unknown(unknown);
        };

        _init_js__WEBPACK_IMPORTED_MODULE_0__["initRange"].apply(scale, arguments);

        return scale;
      }
      /***/

    },

    /***/
    "42CK": function CK(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rgbBasis", function () {
        return rgbBasis;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rgbBasisClosed", function () {
        return rgbBasisClosed;
      });
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./basis.js */
      "yEp2");
      /* harmony import */


      var _basisClosed_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./basisClosed.js */
      "S83q");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./color.js */
      "sFV2");
      /* harmony default export */


      __webpack_exports__["default"] = function rgbGamma(y) {
        var color = Object(_color_js__WEBPACK_IMPORTED_MODULE_3__["gamma"])(y);

        function rgb(start, end) {
          var r = color((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["rgb"])(start)).r, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["rgb"])(end)).r),
              g = color(start.g, end.g),
              b = color(start.b, end.b),
              opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_3__["default"])(start.opacity, end.opacity);
          return function (t) {
            start.r = r(t);
            start.g = g(t);
            start.b = b(t);
            start.opacity = opacity(t);
            return start + "";
          };
        }

        rgb.gamma = rgbGamma;
        return rgb;
      }(1);

      function rgbSpline(spline) {
        return function (colors) {
          var n = colors.length,
              r = new Array(n),
              g = new Array(n),
              b = new Array(n),
              i,
              color;

          for (i = 0; i < n; ++i) {
            color = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["rgb"])(colors[i]);
            r[i] = color.r || 0;
            g[i] = color.g || 0;
            b[i] = color.b || 0;
          }

          r = spline(r);
          g = spline(g);
          b = spline(b);
          color.opacity = 1;
          return function (t) {
            color.r = r(t);
            color.g = g(t);
            color.b = b(t);
            return color + "";
          };
        };
      }

      var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
      var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_2__["default"]);
      /***/
    },

    /***/
    "44y/": function y(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-path */
      "83xM");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./constant.js */
      "2K37");
      /* harmony import */


      var _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./curve/linear.js */
      "SDD1");
      /* harmony import */


      var _line_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./line.js */
      "+ugm");
      /* harmony import */


      var _point_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./point.js */
      "/aQN");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var x0 = _point_js__WEBPACK_IMPORTED_MODULE_4__["x"],
            x1 = null,
            y0 = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0),
            y1 = _point_js__WEBPACK_IMPORTED_MODULE_4__["y"],
            defined = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(true),
            context = null,
            curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__["default"],
            output = null;

        function area(data) {
          var i,
              j,
              k,
              n = data.length,
              d,
              defined0 = false,
              buffer,
              x0z = new Array(n),
              y0z = new Array(n);
          if (context == null) output = curve(buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])());

          for (i = 0; i <= n; ++i) {
            if (!(i < n && defined(d = data[i], i, data)) === defined0) {
              if (defined0 = !defined0) {
                j = i;
                output.areaStart();
                output.lineStart();
              } else {
                output.lineEnd();
                output.lineStart();

                for (k = i - 1; k >= j; --k) {
                  output.point(x0z[k], y0z[k]);
                }

                output.lineEnd();
                output.areaEnd();
              }
            }

            if (defined0) {
              x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);
              output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);
            }
          }

          if (buffer) return output = null, buffer + "" || null;
        }

        function arealine() {
          return Object(_line_js__WEBPACK_IMPORTED_MODULE_3__["default"])().defined(defined).curve(curve).context(context);
        }

        area.x = function (_) {
          return arguments.length ? (x0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), x1 = null, area) : x0;
        };

        area.x0 = function (_) {
          return arguments.length ? (x0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : x0;
        };

        area.x1 = function (_) {
          return arguments.length ? (x1 = _ == null ? null : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : x1;
        };

        area.y = function (_) {
          return arguments.length ? (y0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), y1 = null, area) : y0;
        };

        area.y0 = function (_) {
          return arguments.length ? (y0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : y0;
        };

        area.y1 = function (_) {
          return arguments.length ? (y1 = _ == null ? null : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : y1;
        };

        area.lineX0 = area.lineY0 = function () {
          return arealine().x(x0).y(y0);
        };

        area.lineY1 = function () {
          return arealine().x(x0).y(y1);
        };

        area.lineX1 = function () {
          return arealine().x(x1).y(y0);
        };

        area.defined = function (_) {
          return arguments.length ? (defined = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), area) : defined;
        };

        area.curve = function (_) {
          return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;
        };

        area.context = function (_) {
          return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;
        };

        return area;
      };
      /***/

    },

    /***/
    "4TqM": function TqM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return group;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "groups", function () {
        return groups;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rollup", function () {
        return rollup;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rollups", function () {
        return rollups;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "index", function () {
        return index;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "indexes", function () {
        return indexes;
      });
      /* harmony import */


      var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! internmap */
      "vobT");
      /* harmony import */


      var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./identity.js */
      "i202");

      function group(values) {
        for (var _len2 = arguments.length, keys = new Array(_len2 > 1 ? _len2 - 1 : 0), _key3 = 1; _key3 < _len2; _key3++) {
          keys[_key3 - 1] = arguments[_key3];
        }

        return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], keys);
      }

      function groups(values) {
        for (var _len3 = arguments.length, keys = new Array(_len3 > 1 ? _len3 - 1 : 0), _key4 = 1; _key4 < _len3; _key4++) {
          keys[_key4 - 1] = arguments[_key4];
        }

        return nest(values, Array.from, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], keys);
      }

      function rollup(values, reduce) {
        for (var _len4 = arguments.length, keys = new Array(_len4 > 2 ? _len4 - 2 : 0), _key5 = 2; _key5 < _len4; _key5++) {
          keys[_key5 - 2] = arguments[_key5];
        }

        return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], reduce, keys);
      }

      function rollups(values, reduce) {
        for (var _len5 = arguments.length, keys = new Array(_len5 > 2 ? _len5 - 2 : 0), _key6 = 2; _key6 < _len5; _key6++) {
          keys[_key6 - 2] = arguments[_key6];
        }

        return nest(values, Array.from, reduce, keys);
      }

      function index(values) {
        for (var _len6 = arguments.length, keys = new Array(_len6 > 1 ? _len6 - 1 : 0), _key7 = 1; _key7 < _len6; _key7++) {
          keys[_key7 - 1] = arguments[_key7];
        }

        return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], unique, keys);
      }

      function indexes(values) {
        for (var _len7 = arguments.length, keys = new Array(_len7 > 1 ? _len7 - 1 : 0), _key8 = 1; _key8 < _len7; _key8++) {
          keys[_key8 - 1] = arguments[_key8];
        }

        return nest(values, Array.from, unique, keys);
      }

      function unique(values) {
        if (values.length !== 1) throw new Error("duplicate key");
        return values[0];
      }

      function nest(values, map, reduce, keys) {
        return function regroup(values, i) {
          if (i >= keys.length) return reduce(values);
          var groups = new internmap__WEBPACK_IMPORTED_MODULE_0__["InternMap"]();
          var keyof = keys[i++];
          var index = -1;

          var _iterator7 = _createForOfIteratorHelper(values),
              _step7;

          try {
            for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
              var value = _step7.value;
              var key = keyof(value, ++index, values);

              var _group = groups.get(key);

              if (_group) _group.push(value);else groups.set(key, [value]);
            }
          } catch (err) {
            _iterator7.e(err);
          } finally {
            _iterator7.f();
          }

          var _iterator8 = _createForOfIteratorHelper(groups),
              _step8;

          try {
            for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
              var _step8$value = _slicedToArray(_step8.value, 2),
                  _key9 = _step8$value[0],
                  _values = _step8$value[1];

              groups.set(_key9, regroup(_values, i));
            }
          } catch (err) {
            _iterator8.e(err);
          } finally {
            _iterator8.f();
          }

          return map(groups);
        }(values, 0);
      }
      /***/

    },

    /***/
    "4bGx": function bGx(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index.js */
      "0W9s");
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var name = this._name,
            id0 = this._id,
            id1 = Object(_index_js__WEBPACK_IMPORTED_MODULE_0__["newId"])();

        for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
            if (node = group[i]) {
              var inherit = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_1__["get"])(node, id0);
              Object(_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, name, id1, i, group, {
                time: inherit.time + inherit.delay + inherit.duration,
                delay: 0,
                duration: inherit.duration,
                ease: inherit.ease
              });
            }
          }
        }

        return new _index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"](groups, this._parents, name, id1);
      };
      /***/

    },

    /***/
    "4bmp": function bmp(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (series, order) {
        if (!((n = series.length) > 0)) return;

        for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {
          for (yp = yn = 0, i = 0; i < n; ++i) {
            if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {
              d[0] = yp, d[1] = yp += dy;
            } else if (dy < 0) {
              d[1] = yn, d[0] = yn += dy;
            } else {
              d[0] = 0, d[1] = dy;
            }
          }
        }
      };
      /***/

    },

    /***/
    "4k54": function k54(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _sourceEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./sourceEvent */
      "T9TN");
      /* harmony import */


      var _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./point */
      "8H8W");
      /* harmony default export */


      __webpack_exports__["default"] = function (node) {
        var event = Object(_sourceEvent__WEBPACK_IMPORTED_MODULE_0__["default"])();
        if (event.changedTouches) event = event.changedTouches[0];
        return Object(_point__WEBPACK_IMPORTED_MODULE_1__["default"])(node, event);
      };
      /***/

    },

    /***/
    "4m7i": function m7i(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return number;
      });

      function number(x) {
        return +x;
      }
      /***/

    },

    /***/
    "4xGt": function xGt(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "xhtml", function () {
        return xhtml;
      });

      var xhtml = "http://www.w3.org/1999/xhtml";
      /* harmony default export */

      __webpack_exports__["default"] = {
        svg: "http://www.w3.org/2000/svg",
        xhtml: xhtml,
        xlink: "http://www.w3.org/1999/xlink",
        xml: "http://www.w3.org/XML/1998/namespace",
        xmlns: "http://www.w3.org/2000/xmlns/"
      };
      /***/
    },

    /***/
    "4xfg": function xfg(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        return a = +a, b = +b, function (t) {
          return a * (1 - t) + b * t;
        };
      };
      /***/

    },

    /***/
    "5Iso": function Iso(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "root", function () {
        return root;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Selection", function () {
        return Selection;
      });
      /* harmony import */


      var _select__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./select */
      "uvNp");
      /* harmony import */


      var _selectAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./selectAll */
      "+w/h");
      /* harmony import */


      var _filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./filter */
      "DN/c");
      /* harmony import */


      var _data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./data */
      "EgnQ");
      /* harmony import */


      var _enter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./enter */
      "9om9");
      /* harmony import */


      var _exit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./exit */
      "87ba");
      /* harmony import */


      var _join__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./join */
      "P3dq");
      /* harmony import */


      var _merge__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./merge */
      "i3vF");
      /* harmony import */


      var _order__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./order */
      "oUm1");
      /* harmony import */


      var _sort__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./sort */
      "yp+X");
      /* harmony import */


      var _call__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./call */
      "Ct04");
      /* harmony import */


      var _nodes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./nodes */
      "mwYI");
      /* harmony import */


      var _node__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./node */
      "luAU");
      /* harmony import */


      var _size__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./size */
      "mrS5");
      /* harmony import */


      var _empty__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./empty */
      "yhWi");
      /* harmony import */


      var _each__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./each */
      "zv5K");
      /* harmony import */


      var _attr__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./attr */
      "+HKQ");
      /* harmony import */


      var _style__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./style */
      "Nkvg");
      /* harmony import */


      var _property__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
      /*! ./property */
      "zcMM");
      /* harmony import */


      var _classed__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
      /*! ./classed */
      "ULlS");
      /* harmony import */


      var _text__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
      /*! ./text */
      "YbCY");
      /* harmony import */


      var _html__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
      /*! ./html */
      "skEf");
      /* harmony import */


      var _raise__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
      /*! ./raise */
      "GRP9");
      /* harmony import */


      var _lower__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
      /*! ./lower */
      "F8PK");
      /* harmony import */


      var _append__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
      /*! ./append */
      "230S");
      /* harmony import */


      var _insert__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
      /*! ./insert */
      "WmHh");
      /* harmony import */


      var _remove__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
      /*! ./remove */
      "JZGO");
      /* harmony import */


      var _clone__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
      /*! ./clone */
      "6hMD");
      /* harmony import */


      var _datum__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
      /*! ./datum */
      "yAGa");
      /* harmony import */


      var _on__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
      /*! ./on */
      "AWXE");
      /* harmony import */


      var _dispatch__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
      /*! ./dispatch */
      "TisH");

      var root = [null];

      function Selection(groups, parents) {
        this._groups = groups;
        this._parents = parents;
      }

      function selection() {
        return new Selection([[document.documentElement]], root);
      }

      Selection.prototype = selection.prototype = {
        constructor: Selection,
        select: _select__WEBPACK_IMPORTED_MODULE_0__["default"],
        selectAll: _selectAll__WEBPACK_IMPORTED_MODULE_1__["default"],
        filter: _filter__WEBPACK_IMPORTED_MODULE_2__["default"],
        data: _data__WEBPACK_IMPORTED_MODULE_3__["default"],
        enter: _enter__WEBPACK_IMPORTED_MODULE_4__["default"],
        exit: _exit__WEBPACK_IMPORTED_MODULE_5__["default"],
        join: _join__WEBPACK_IMPORTED_MODULE_6__["default"],
        merge: _merge__WEBPACK_IMPORTED_MODULE_7__["default"],
        order: _order__WEBPACK_IMPORTED_MODULE_8__["default"],
        sort: _sort__WEBPACK_IMPORTED_MODULE_9__["default"],
        call: _call__WEBPACK_IMPORTED_MODULE_10__["default"],
        nodes: _nodes__WEBPACK_IMPORTED_MODULE_11__["default"],
        node: _node__WEBPACK_IMPORTED_MODULE_12__["default"],
        size: _size__WEBPACK_IMPORTED_MODULE_13__["default"],
        empty: _empty__WEBPACK_IMPORTED_MODULE_14__["default"],
        each: _each__WEBPACK_IMPORTED_MODULE_15__["default"],
        attr: _attr__WEBPACK_IMPORTED_MODULE_16__["default"],
        style: _style__WEBPACK_IMPORTED_MODULE_17__["default"],
        property: _property__WEBPACK_IMPORTED_MODULE_18__["default"],
        classed: _classed__WEBPACK_IMPORTED_MODULE_19__["default"],
        text: _text__WEBPACK_IMPORTED_MODULE_20__["default"],
        html: _html__WEBPACK_IMPORTED_MODULE_21__["default"],
        raise: _raise__WEBPACK_IMPORTED_MODULE_22__["default"],
        lower: _lower__WEBPACK_IMPORTED_MODULE_23__["default"],
        append: _append__WEBPACK_IMPORTED_MODULE_24__["default"],
        insert: _insert__WEBPACK_IMPORTED_MODULE_25__["default"],
        remove: _remove__WEBPACK_IMPORTED_MODULE_26__["default"],
        clone: _clone__WEBPACK_IMPORTED_MODULE_27__["default"],
        datum: _datum__WEBPACK_IMPORTED_MODULE_28__["default"],
        on: _on__WEBPACK_IMPORTED_MODULE_29__["default"],
        dispatch: _dispatch__WEBPACK_IMPORTED_MODULE_30__["default"]
      };
      /* harmony default export */

      __webpack_exports__["default"] = selection;
      /***/
    },

    /***/
    "5Xrj": function Xrj(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "polyIn", function () {
        return polyIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "polyOut", function () {
        return polyOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "polyInOut", function () {
        return polyInOut;
      });

      var exponent = 3;

      var polyIn = function custom(e) {
        e = +e;

        function polyIn(t) {
          return Math.pow(t, e);
        }

        polyIn.exponent = custom;
        return polyIn;
      }(exponent);

      var polyOut = function custom(e) {
        e = +e;

        function polyOut(t) {
          return 1 - Math.pow(1 - t, e);
        }

        polyOut.exponent = custom;
        return polyOut;
      }(exponent);

      var polyInOut = function custom(e) {
        e = +e;

        function polyInOut(t) {
          return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
        }

        polyInOut.exponent = custom;
        return polyInOut;
      }(exponent);
      /***/

    },

    /***/
    "5aFE": function aFE(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        var c;
        return (typeof b === "number" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateNumber"] : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_0__["color"] ? d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateRgb"] : (c = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["color"])(b)) ? (b = c, d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateRgb"]) : d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateString"])(a, b);
      };
      /***/

    },

    /***/
    "62fh": function fh(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sinIn", function () {
        return sinIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sinOut", function () {
        return sinOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sinInOut", function () {
        return sinInOut;
      });

      var pi = Math.PI,
          halfPi = pi / 2;

      function sinIn(t) {
        return +t === 1 ? 1 : 1 - Math.cos(t * halfPi);
      }

      function sinOut(t) {
        return Math.sin(t * halfPi);
      }

      function sinInOut(t) {
        return (1 - Math.cos(pi * t)) / 2;
      }
      /***/

    },

    /***/
    "6YF4": function YF4(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "identity", function () {
        return identity;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "copy", function () {
        return copy;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "transformer", function () {
        return transformer;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return continuous;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./constant.js */
      "TfGn");
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./number.js */
      "4m7i");

      var unit = [0, 1];

      function identity(x) {
        return x;
      }

      function normalize(a, b) {
        return (b -= a = +a) ? function (x) {
          return (x - a) / b;
        } : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(isNaN(b) ? NaN : 0.5);
      }

      function clamper(a, b) {
        var t;
        if (a > b) t = a, a = b, b = t;
        return function (x) {
          return Math.max(a, Math.min(b, x));
        };
      } // normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].
      // interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].


      function bimap(domain, range, interpolate) {
        var d0 = domain[0],
            d1 = domain[1],
            r0 = range[0],
            r1 = range[1];
        if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);
        return function (x) {
          return r0(d0(x));
        };
      }

      function polymap(domain, range, interpolate) {
        var j = Math.min(domain.length, range.length) - 1,
            d = new Array(j),
            r = new Array(j),
            i = -1; // Reverse descending domains.

        if (domain[j] < domain[0]) {
          domain = domain.slice().reverse();
          range = range.slice().reverse();
        }

        while (++i < j) {
          d[i] = normalize(domain[i], domain[i + 1]);
          r[i] = interpolate(range[i], range[i + 1]);
        }

        return function (x) {
          var i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 1, j) - 1;
          return r[i](d[i](x));
        };
      }

      function copy(source, target) {
        return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
      }

      function transformer() {
        var domain = unit,
            range = unit,
            interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolate"],
            transform,
            untransform,
            unknown,
            clamp = identity,
            piecewise,
            output,
            input;

        function rescale() {
          var n = Math.min(domain.length, range.length);
          if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
          piecewise = n > 2 ? polymap : bimap;
          output = input = null;
          return scale;
        }

        function scale(x) {
          return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
        }

        scale.invert = function (y) {
          return clamp(untransform((input || (input = piecewise(range, domain.map(transform), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateNumber"])))(y)));
        };

        scale.domain = function (_) {
          return arguments.length ? (domain = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_3__["default"]), rescale()) : domain.slice();
        };

        scale.range = function (_) {
          return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
        };

        scale.rangeRound = function (_) {
          return range = Array.from(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateRound"], rescale();
        };

        scale.clamp = function (_) {
          return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
        };

        scale.interpolate = function (_) {
          return arguments.length ? (interpolate = _, rescale()) : interpolate;
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        return function (t, u) {
          transform = t, untransform = u;
          return rescale();
        };
      }

      function continuous() {
        return transformer()(identity, identity);
      }
      /***/

    },

    /***/
    "6ZHU": function ZHU(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tpmt", function () {
        return tpmt;
      }); // tpmt is two power minus ten times t scaled to [0,1]


      function tpmt(x) {
        return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;
      }
      /***/

    },

    /***/
    "6h3Y": function h3Y(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var _rgb_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./rgb.js */
      "42CK");
      /* harmony import */


      var _array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./array.js */
      "ZzDG");
      /* harmony import */


      var _date_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./date.js */
      "G21l");
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./number.js */
      "4xfg");
      /* harmony import */


      var _object_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./object.js */
      "cb2h");
      /* harmony import */


      var _string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./string.js */
      "kO9b");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./constant.js */
      "xpj1");
      /* harmony import */


      var _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./numberArray.js */
      "Ud7J");
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        var t = typeof b,
            c;
        return b == null || t === "boolean" ? Object(_constant_js__WEBPACK_IMPORTED_MODULE_7__["default"])(b) : (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_4__["default"] : t === "string" ? (c = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["color"])(b)) ? (b = c, _rgb_js__WEBPACK_IMPORTED_MODULE_1__["default"]) : _string_js__WEBPACK_IMPORTED_MODULE_6__["default"] : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_0__["color"] ? _rgb_js__WEBPACK_IMPORTED_MODULE_1__["default"] : b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_3__["default"] : Object(_numberArray_js__WEBPACK_IMPORTED_MODULE_8__["isNumberArray"])(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_8__["default"] : Array.isArray(b) ? _array_js__WEBPACK_IMPORTED_MODULE_2__["genericArray"] : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_5__["default"] : _number_js__WEBPACK_IMPORTED_MODULE_4__["default"])(a, b);
      };
      /***/

    },

    /***/
    "6hMD": function hMD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function selection_cloneShallow() {
        var clone = this.cloneNode(false),
            parent = this.parentNode;
        return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
      }

      function selection_cloneDeep() {
        var clone = this.cloneNode(true),
            parent = this.parentNode;
        return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (deep) {
        return this.select(deep ? selection_cloneDeep : selection_cloneShallow);
      };
      /***/

    },

    /***/
    "6nXi": function nXi(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _transition_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./transition/index.js */
      "0W9s");
      /* harmony import */


      var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./transition/schedule.js */
      "rtYu");

      var root = [null];
      /* harmony default export */

      __webpack_exports__["default"] = function (node, name) {
        var schedules = node.__transition,
            schedule,
            i;

        if (schedules) {
          name = name == null ? null : name + "";

          for (i in schedules) {
            if ((schedule = schedules[i]).state > _transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__["SCHEDULED"] && schedule.name === name) {
              return new _transition_index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"]([[node]], root, name, +i);
            }
          }
        }

        return null;
      };
      /***/

    },

    /***/
    "6txh": function txh(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      var pi = Math.PI,
          tau = 2 * pi,
          epsilon = 1e-6,
          tauEpsilon = tau - epsilon;

      function Path() {
        this._x0 = this._y0 = // start of current subpath
        this._x1 = this._y1 = null; // end of current subpath

        this._ = "";
      }

      function path() {
        return new Path();
      }

      Path.prototype = path.prototype = {
        constructor: Path,
        moveTo: function moveTo(x, y) {
          this._ += "M" + (this._x0 = this._x1 = +x) + "," + (this._y0 = this._y1 = +y);
        },
        closePath: function closePath() {
          if (this._x1 !== null) {
            this._x1 = this._x0, this._y1 = this._y0;
            this._ += "Z";
          }
        },
        lineTo: function lineTo(x, y) {
          this._ += "L" + (this._x1 = +x) + "," + (this._y1 = +y);
        },
        quadraticCurveTo: function quadraticCurveTo(x1, y1, x, y) {
          this._ += "Q" + +x1 + "," + +y1 + "," + (this._x1 = +x) + "," + (this._y1 = +y);
        },
        bezierCurveTo: function bezierCurveTo(x1, y1, x2, y2, x, y) {
          this._ += "C" + +x1 + "," + +y1 + "," + +x2 + "," + +y2 + "," + (this._x1 = +x) + "," + (this._y1 = +y);
        },
        arcTo: function arcTo(x1, y1, x2, y2, r) {
          x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;
          var x0 = this._x1,
              y0 = this._y1,
              x21 = x2 - x1,
              y21 = y2 - y1,
              x01 = x0 - x1,
              y01 = y0 - y1,
              l01_2 = x01 * x01 + y01 * y01; // Is the radius negative? Error.

          if (r < 0) throw new Error("negative radius: " + r); // Is this path empty? Move to (x1,y1).

          if (this._x1 === null) {
            this._ += "M" + (this._x1 = x1) + "," + (this._y1 = y1);
          } // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.
          else if (!(l01_2 > epsilon)) ; // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?
          // Equivalently, is (x1,y1) coincident with (x2,y2)?
          // Or, is the radius zero? Line to (x1,y1).
          else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {
            this._ += "L" + (this._x1 = x1) + "," + (this._y1 = y1);
          } // Otherwise, draw an arc!
          else {
            var x20 = x2 - x0,
                y20 = y2 - y0,
                l21_2 = x21 * x21 + y21 * y21,
                l20_2 = x20 * x20 + y20 * y20,
                l21 = Math.sqrt(l21_2),
                l01 = Math.sqrt(l01_2),
                l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
                t01 = l / l01,
                t21 = l / l21; // If the start tangent is not coincident with (x0,y0), line to.

            if (Math.abs(t01 - 1) > epsilon) {
              this._ += "L" + (x1 + t01 * x01) + "," + (y1 + t01 * y01);
            }

            this._ += "A" + r + "," + r + ",0,0," + +(y01 * x20 > x01 * y20) + "," + (this._x1 = x1 + t21 * x21) + "," + (this._y1 = y1 + t21 * y21);
          }
        },
        arc: function arc(x, y, r, a0, a1, ccw) {
          x = +x, y = +y, r = +r, ccw = !!ccw;
          var dx = r * Math.cos(a0),
              dy = r * Math.sin(a0),
              x0 = x + dx,
              y0 = y + dy,
              cw = 1 ^ ccw,
              da = ccw ? a0 - a1 : a1 - a0; // Is the radius negative? Error.

          if (r < 0) throw new Error("negative radius: " + r); // Is this path empty? Move to (x0,y0).

          if (this._x1 === null) {
            this._ += "M" + x0 + "," + y0;
          } // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).
          else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {
            this._ += "L" + x0 + "," + y0;
          } // Is this arc empty? We’re done.


          if (!r) return; // Does the angle go the wrong way? Flip the direction.

          if (da < 0) da = da % tau + tau; // Is this a complete circle? Draw two arcs to complete the circle.

          if (da > tauEpsilon) {
            this._ += "A" + r + "," + r + ",0,1," + cw + "," + (x - dx) + "," + (y - dy) + "A" + r + "," + r + ",0,1," + cw + "," + (this._x1 = x0) + "," + (this._y1 = y0);
          } // Is this arc non-empty? Draw an arc!
          else if (da > epsilon) {
            this._ += "A" + r + "," + r + ",0," + +(da >= pi) + "," + cw + "," + (this._x1 = x + r * Math.cos(a1)) + "," + (this._y1 = y + r * Math.sin(a1));
          }
        },
        rect: function rect(x, y, w, h) {
          this._ += "M" + (this._x0 = this._x1 = +x) + "," + (this._y0 = this._y1 = +y) + "h" + +w + "v" + +h + "h" + -w + "Z";
        },
        toString: function toString() {
          return this._;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = path;
      /***/
    },

    /***/
    "6x6I": function x6I(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (callback) {
        var node = this,
            current,
            next = [node],
            children,
            i,
            n;

        do {
          current = next.reverse(), next = [];

          while (node = current.pop()) {
            callback(node), children = node.children;
            if (children) for (i = 0, n = children.length; i < n; ++i) {
              next.push(children[i]);
            }
          }
        } while (next.length);

        return this;
      };
      /***/

    },

    /***/
    "7C4L": function C4L(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
        return utcMinutes;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var utcMinute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCSeconds(0, 0);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
      }, function (date) {
        return date.getUTCMinutes();
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcMinute;
      var utcMinutes = utcMinute.range;
      /***/
    },

    /***/
    "7IPS": function IPS(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
        var nodes = parent.children,
            node,
            i = -1,
            n = nodes.length,
            k = parent.value && (y1 - y0) / parent.value;

        while (++i < n) {
          node = nodes[i], node.x0 = x0, node.x1 = x1;
          node.y0 = y0, node.y1 = y0 += node.value * k;
        }
      };
      /***/

    },

    /***/
    "7Mu7": function Mu7(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../array.js */
      "j1BO");
      /* harmony default export */


      __webpack_exports__["default"] = function (circles) {
        var i = 0,
            n = (circles = Object(_array_js__WEBPACK_IMPORTED_MODULE_0__["shuffle"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(circles))).length,
            B = [],
            p,
            e;

        while (i < n) {
          p = circles[i];
          if (e && enclosesWeak(e, p)) ++i;else e = encloseBasis(B = extendBasis(B, p)), i = 0;
        }

        return e;
      };

      function extendBasis(B, p) {
        var i, j;
        if (enclosesWeakAll(p, B)) return [p]; // If we get here then B must have at least one element.

        for (i = 0; i < B.length; ++i) {
          if (enclosesNot(p, B[i]) && enclosesWeakAll(encloseBasis2(B[i], p), B)) {
            return [B[i], p];
          }
        } // If we get here then B must have at least two elements.


        for (i = 0; i < B.length - 1; ++i) {
          for (j = i + 1; j < B.length; ++j) {
            if (enclosesNot(encloseBasis2(B[i], B[j]), p) && enclosesNot(encloseBasis2(B[i], p), B[j]) && enclosesNot(encloseBasis2(B[j], p), B[i]) && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) {
              return [B[i], B[j], p];
            }
          }
        } // If we get here then something is very wrong.


        throw new Error();
      }

      function enclosesNot(a, b) {
        var dr = a.r - b.r,
            dx = b.x - a.x,
            dy = b.y - a.y;
        return dr < 0 || dr * dr < dx * dx + dy * dy;
      }

      function enclosesWeak(a, b) {
        var dr = a.r - b.r + 1e-6,
            dx = b.x - a.x,
            dy = b.y - a.y;
        return dr > 0 && dr * dr > dx * dx + dy * dy;
      }

      function enclosesWeakAll(a, B) {
        for (var i = 0; i < B.length; ++i) {
          if (!enclosesWeak(a, B[i])) {
            return false;
          }
        }

        return true;
      }

      function encloseBasis(B) {
        switch (B.length) {
          case 1:
            return encloseBasis1(B[0]);

          case 2:
            return encloseBasis2(B[0], B[1]);

          case 3:
            return encloseBasis3(B[0], B[1], B[2]);
        }
      }

      function encloseBasis1(a) {
        return {
          x: a.x,
          y: a.y,
          r: a.r
        };
      }

      function encloseBasis2(a, b) {
        var x1 = a.x,
            y1 = a.y,
            r1 = a.r,
            x2 = b.x,
            y2 = b.y,
            r2 = b.r,
            x21 = x2 - x1,
            y21 = y2 - y1,
            r21 = r2 - r1,
            l = Math.sqrt(x21 * x21 + y21 * y21);
        return {
          x: (x1 + x2 + x21 / l * r21) / 2,
          y: (y1 + y2 + y21 / l * r21) / 2,
          r: (l + r1 + r2) / 2
        };
      }

      function encloseBasis3(a, b, c) {
        var x1 = a.x,
            y1 = a.y,
            r1 = a.r,
            x2 = b.x,
            y2 = b.y,
            r2 = b.r,
            x3 = c.x,
            y3 = c.y,
            r3 = c.r,
            a2 = x1 - x2,
            a3 = x1 - x3,
            b2 = y1 - y2,
            b3 = y1 - y3,
            c2 = r2 - r1,
            c3 = r3 - r1,
            d1 = x1 * x1 + y1 * y1 - r1 * r1,
            d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2,
            d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3,
            ab = a3 * b2 - a2 * b3,
            xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1,
            xb = (b3 * c2 - b2 * c3) / ab,
            ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1,
            yb = (a2 * c3 - a3 * c2) / ab,
            A = xb * xb + yb * yb - 1,
            B = 2 * (r1 + xa * xb + ya * yb),
            C = xa * xa + ya * ya - r1 * r1,
            r = -(A ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B);
        return {
          x: x1 + xa + xb * r,
          y: y1 + ya + yb * r,
          r: r
        };
      }
      /***/

    },

    /***/
    "7VZX": function VZX(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./index.js */
      "0W9s");
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");
      /* harmony default export */


      __webpack_exports__["default"] = function (select) {
        var name = this._name,
            id = this._id;
        if (typeof select !== "function") select = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["selectorAll"])(select);

        for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
            if (node = group[i]) {
              for (var children = select.call(node, node.__data__, i, group), child, inherit = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["get"])(node, id), k = 0, l = children.length; k < l; ++k) {
                if (child = children[k]) {
                  Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["default"])(child, name, id, k, children, inherit);
                }
              }

              subgroups.push(children);
              parents.push(node);
            }
          }
        }

        return new _index_js__WEBPACK_IMPORTED_MODULE_1__["Transition"](subgroups, parents, name, id);
      };
      /***/

    },

    /***/
    "7sdT": function sdT(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return variance;
      });

      function variance(values, valueof) {
        var count = 0;
        var delta;
        var mean = 0;
        var sum = 0;

        if (valueof === undefined) {
          var _iterator9 = _createForOfIteratorHelper(values),
              _step9;

          try {
            for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
              var value = _step9.value;

              if (value != null && (value = +value) >= value) {
                delta = value - mean;
                mean += delta / ++count;
                sum += delta * (value - mean);
              }
            }
          } catch (err) {
            _iterator9.e(err);
          } finally {
            _iterator9.f();
          }
        } else {
          var index = -1;

          var _iterator10 = _createForOfIteratorHelper(values),
              _step10;

          try {
            for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
              var _value2 = _step10.value;

              if ((_value2 = valueof(_value2, ++index, values)) != null && (_value2 = +_value2) >= _value2) {
                delta = _value2 - mean;
                mean += delta / ++count;
                sum += delta * (_value2 - mean);
              }
            }
          } catch (err) {
            _iterator10.e(err);
          } finally {
            _iterator10.f();
          }
        }

        if (count > 1) return sum / (count - 1);
      }
      /***/

    },

    /***/
    "7ssf": function ssf(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tickIncrement", function () {
        return tickIncrement;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tickStep", function () {
        return tickStep;
      });

      var e10 = Math.sqrt(50),
          e5 = Math.sqrt(10),
          e2 = Math.sqrt(2);
      /* harmony default export */

      __webpack_exports__["default"] = function (start, stop, count) {
        var reverse,
            i = -1,
            n,
            ticks,
            step;
        stop = +stop, start = +start, count = +count;
        if (start === stop && count > 0) return [start];
        if (reverse = stop < start) n = start, start = stop, stop = n;
        if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];

        if (step > 0) {
          var r0 = Math.round(start / step),
              r1 = Math.round(stop / step);
          if (r0 * step < start) ++r0;
          if (r1 * step > stop) --r1;
          ticks = new Array(n = r1 - r0 + 1);

          while (++i < n) {
            ticks[i] = (r0 + i) * step;
          }
        } else {
          step = -step;

          var _r = Math.round(start * step),
              _r2 = Math.round(stop * step);

          if (_r / step < start) ++_r;
          if (_r2 / step > stop) --_r2;
          ticks = new Array(n = _r2 - _r + 1);

          while (++i < n) {
            ticks[i] = (_r + i) / step;
          }
        }

        if (reverse) ticks.reverse();
        return ticks;
      };

      function tickIncrement(start, stop, count) {
        var step = (stop - start) / Math.max(0, count),
            power = Math.floor(Math.log(step) / Math.LN10),
            error = step / Math.pow(10, power);
        return power >= 0 ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
      }

      function tickStep(start, stop, count) {
        var step0 = Math.abs(stop - start) / Math.max(0, count),
            step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
            error = step0 / step1;
        if (error >= e10) step1 *= 10;else if (error >= e5) step1 *= 5;else if (error >= e2) step1 *= 2;
        return stop < start ? -step1 : step1;
      }
      /***/

    },

    /***/
    "83xM": function xM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _path_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./path.js */
      "6txh");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "path", function () {
        return _path_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /***/

    },

    /***/
    "87ba": function ba(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _sparse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./sparse */
      "aY1w");
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return new _index__WEBPACK_IMPORTED_MODULE_1__["Selection"](this._exit || this._groups.map(_sparse__WEBPACK_IMPORTED_MODULE_0__["default"]), this._parents);
      };
      /***/

    },

    /***/
    "8H8W": function H8W(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (node, event) {
        var svg = node.ownerSVGElement || node;

        if (svg.createSVGPoint) {
          var point = svg.createSVGPoint();
          point.x = event.clientX, point.y = event.clientY;
          point = point.matrixTransform(node.getScreenCTM().inverse());
          return [point.x, point.y];
        }

        var rect = node.getBoundingClientRect();
        return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];
      };
      /***/

    },

    /***/
    "8XJe": function XJe(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return set;
      });

      function set(values) {
        return values instanceof Set ? values : new Set(values);
      }
      /***/

    },

    /***/
    "8d86": function d86(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _arc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./arc.js */
      "ZQwz");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "arc", function () {
        return _arc_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./area.js */
      "44y/");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "area", function () {
        return _area_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _line_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./line.js */
      "+ugm");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "line", function () {
        return _line_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _pie_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./pie.js */
      "iPFw");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "pie", function () {
        return _pie_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./areaRadial.js */
      "GpRi");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "areaRadial", function () {
        return _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "radialArea", function () {
        return _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./lineRadial.js */
      "TI0E");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "lineRadial", function () {
        return _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "radialLine", function () {
        return _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony import */


      var _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./pointRadial.js */
      "EyRP");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "pointRadial", function () {
        return _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__["default"];
      });
      /* harmony import */


      var _link_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./link/index.js */
      "Goif");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "linkHorizontal", function () {
        return _link_index_js__WEBPACK_IMPORTED_MODULE_7__["linkHorizontal"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "linkVertical", function () {
        return _link_index_js__WEBPACK_IMPORTED_MODULE_7__["linkVertical"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "linkRadial", function () {
        return _link_index_js__WEBPACK_IMPORTED_MODULE_7__["linkRadial"];
      });
      /* harmony import */


      var _symbol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./symbol.js */
      "kVCJ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbol", function () {
        return _symbol_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbols", function () {
        return _symbol_js__WEBPACK_IMPORTED_MODULE_8__["symbols"];
      });
      /* harmony import */


      var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./symbol/circle.js */
      "GvAG");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolCircle", function () {
        return _symbol_circle_js__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony import */


      var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./symbol/cross.js */
      "oKyY");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolCross", function () {
        return _symbol_cross_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony import */


      var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./symbol/diamond.js */
      "ms7Z");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolDiamond", function () {
        return _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony import */


      var _symbol_square_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./symbol/square.js */
      "1afE");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolSquare", function () {
        return _symbol_square_js__WEBPACK_IMPORTED_MODULE_12__["default"];
      });
      /* harmony import */


      var _symbol_star_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./symbol/star.js */
      "CAOx");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolStar", function () {
        return _symbol_star_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony import */


      var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./symbol/triangle.js */
      "rkAg");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolTriangle", function () {
        return _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony import */


      var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./symbol/wye.js */
      "xJQu");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "symbolWye", function () {
        return _symbol_wye_js__WEBPACK_IMPORTED_MODULE_15__["default"];
      });
      /* harmony import */


      var _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./curve/basisClosed.js */
      "muaG");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveBasisClosed", function () {
        return _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_16__["default"];
      });
      /* harmony import */


      var _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./curve/basisOpen.js */
      "1nUc");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveBasisOpen", function () {
        return _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_17__["default"];
      });
      /* harmony import */


      var _curve_basis_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
      /*! ./curve/basis.js */
      "jICm");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveBasis", function () {
        return _curve_basis_js__WEBPACK_IMPORTED_MODULE_18__["default"];
      });
      /* harmony import */


      var _curve_bundle_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
      /*! ./curve/bundle.js */
      "d4SJ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveBundle", function () {
        return _curve_bundle_js__WEBPACK_IMPORTED_MODULE_19__["default"];
      });
      /* harmony import */


      var _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
      /*! ./curve/cardinalClosed.js */
      "O03L");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveCardinalClosed", function () {
        return _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_20__["default"];
      });
      /* harmony import */


      var _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
      /*! ./curve/cardinalOpen.js */
      "sK06");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveCardinalOpen", function () {
        return _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_21__["default"];
      });
      /* harmony import */


      var _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
      /*! ./curve/cardinal.js */
      "d5JU");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveCardinal", function () {
        return _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_22__["default"];
      });
      /* harmony import */


      var _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
      /*! ./curve/catmullRomClosed.js */
      "VkQ2");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveCatmullRomClosed", function () {
        return _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_23__["default"];
      });
      /* harmony import */


      var _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
      /*! ./curve/catmullRomOpen.js */
      "Q43v");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveCatmullRomOpen", function () {
        return _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_24__["default"];
      });
      /* harmony import */


      var _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
      /*! ./curve/catmullRom.js */
      "Kcim");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveCatmullRom", function () {
        return _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_25__["default"];
      });
      /* harmony import */


      var _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
      /*! ./curve/linearClosed.js */
      "zD5G");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveLinearClosed", function () {
        return _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_26__["default"];
      });
      /* harmony import */


      var _curve_linear_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
      /*! ./curve/linear.js */
      "SDD1");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveLinear", function () {
        return _curve_linear_js__WEBPACK_IMPORTED_MODULE_27__["default"];
      });
      /* harmony import */


      var _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
      /*! ./curve/monotone.js */
      "pL0w");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveMonotoneX", function () {
        return _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__["monotoneX"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveMonotoneY", function () {
        return _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__["monotoneY"];
      });
      /* harmony import */


      var _curve_natural_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
      /*! ./curve/natural.js */
      "qE0H");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveNatural", function () {
        return _curve_natural_js__WEBPACK_IMPORTED_MODULE_29__["default"];
      });
      /* harmony import */


      var _curve_step_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
      /*! ./curve/step.js */
      "e9ab");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveStep", function () {
        return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveStepAfter", function () {
        return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__["stepAfter"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "curveStepBefore", function () {
        return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__["stepBefore"];
      });
      /* harmony import */


      var _stack_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
      /*! ./stack.js */
      "wIsI");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stack", function () {
        return _stack_js__WEBPACK_IMPORTED_MODULE_31__["default"];
      });
      /* harmony import */


      var _offset_expand_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
      /*! ./offset/expand.js */
      "GjTP");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOffsetExpand", function () {
        return _offset_expand_js__WEBPACK_IMPORTED_MODULE_32__["default"];
      });
      /* harmony import */


      var _offset_diverging_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
      /*! ./offset/diverging.js */
      "4bmp");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOffsetDiverging", function () {
        return _offset_diverging_js__WEBPACK_IMPORTED_MODULE_33__["default"];
      });
      /* harmony import */


      var _offset_none_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
      /*! ./offset/none.js */
      "0T5i");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOffsetNone", function () {
        return _offset_none_js__WEBPACK_IMPORTED_MODULE_34__["default"];
      });
      /* harmony import */


      var _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
      /*! ./offset/silhouette.js */
      "NtxT");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOffsetSilhouette", function () {
        return _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_35__["default"];
      });
      /* harmony import */


      var _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
      /*! ./offset/wiggle.js */
      "8eK0");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOffsetWiggle", function () {
        return _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_36__["default"];
      });
      /* harmony import */


      var _order_appearance_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
      /*! ./order/appearance.js */
      "T17Z");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOrderAppearance", function () {
        return _order_appearance_js__WEBPACK_IMPORTED_MODULE_37__["default"];
      });
      /* harmony import */


      var _order_ascending_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(
      /*! ./order/ascending.js */
      "WuDp");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOrderAscending", function () {
        return _order_ascending_js__WEBPACK_IMPORTED_MODULE_38__["default"];
      });
      /* harmony import */


      var _order_descending_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(
      /*! ./order/descending.js */
      "9c/f");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOrderDescending", function () {
        return _order_descending_js__WEBPACK_IMPORTED_MODULE_39__["default"];
      });
      /* harmony import */


      var _order_insideOut_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(
      /*! ./order/insideOut.js */
      "Oo5A");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOrderInsideOut", function () {
        return _order_insideOut_js__WEBPACK_IMPORTED_MODULE_40__["default"];
      });
      /* harmony import */


      var _order_none_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(
      /*! ./order/none.js */
      "qqpY");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOrderNone", function () {
        return _order_none_js__WEBPACK_IMPORTED_MODULE_41__["default"];
      });
      /* harmony import */


      var _order_reverse_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(
      /*! ./order/reverse.js */
      "UFbn");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stackOrderReverse", function () {
        return _order_reverse_js__WEBPACK_IMPORTED_MODULE_42__["default"];
      }); // Note: radialArea is deprecated!
      // Note: radialLine is deprecated!

      /***/

    },

    /***/
    "8eK0": function eK0(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./none.js */
      "0T5i");
      /* harmony default export */


      __webpack_exports__["default"] = function (series, order) {
        if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;

        for (var y = 0, j = 1, s0, m, n; j < m; ++j) {
          for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {
            var si = series[order[i]],
                sij0 = si[j][1] || 0,
                sij1 = si[j - 1][1] || 0,
                s3 = (sij0 - sij1) / 2;

            for (var k = 0; k < i; ++k) {
              var sk = series[order[k]],
                  skj0 = sk[j][1] || 0,
                  skj1 = sk[j - 1][1] || 0;
              s3 += skj0 - skj1;
            }

            s1 += sij0, s2 += s3 * sij0;
          }

          s0[j - 1][1] += s0[j - 1][0] = y;
          if (s1) y -= s2 / s1;
        }

        s0[j - 1][1] += s0[j - 1][0] = y;
        Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order);
      };
      /***/

    },

    /***/
    "8nbz": function nbz(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");

      function durationFunction(id, value) {
        return function () {
          Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id).duration = +value.apply(this, arguments);
        };
      }

      function durationConstant(id, value) {
        return value = +value, function () {
          Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id).duration = value;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        var id = this._id;
        return arguments.length ? this.each((typeof value === "function" ? durationFunction : durationConstant)(id, value)) : Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).duration;
      };
      /***/

    },

    /***/
    "9ANq": function ANq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "days", function () {
        return days;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var day = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        return date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        return date.setDate(date.getDate() + step);
      }, function (start, end) {
        return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
      }, function (date) {
        return date.getDate() - 1;
      });
      /* harmony default export */

      __webpack_exports__["default"] = day;
      var days = day.range;
      /***/
    },

    /***/
    "9c/f": function cF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "WuDp");
      /* harmony default export */


      __webpack_exports__["default"] = function (series) {
        return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).reverse();
      };
      /***/

    },

    /***/
    "9iN3": function iN3(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcHours", function () {
        return utcHours;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var utcHour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCMinutes(0, 0, 0);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
      }, function (date) {
        return date.getUTCHours();
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcHour;
      var utcHours = utcHour.range;
      /***/
    },

    /***/
    "9j6y": function j6y(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return cross;
      });

      function length(array) {
        return array.length | 0;
      }

      function empty(length) {
        return !(length > 0);
      }

      function arrayify(values) {
        return typeof values !== "object" || "length" in values ? values : Array.from(values);
      }

      function reducer(reduce) {
        return function (values) {
          return reduce.apply(void 0, _toConsumableArray(values));
        };
      }

      function cross() {
        for (var _len8 = arguments.length, values = new Array(_len8), _key10 = 0; _key10 < _len8; _key10++) {
          values[_key10] = arguments[_key10];
        }

        var reduce = typeof values[values.length - 1] === "function" && reducer(values.pop());
        values = values.map(arrayify);
        var lengths = values.map(length);
        var j = values.length - 1;
        var index = new Array(j + 1).fill(0);
        var product = [];
        if (j < 0 || lengths.some(empty)) return product;

        while (true) {
          product.push(index.map(function (j, i) {
            return values[i][j];
          }));
          var i = j;

          while (++index[i] === lengths[i]) {
            if (i === 0) return reduce ? product.map(reduce) : product;
            index[i--] = 0;
          }
        }
      }
      /***/

    },

    /***/
    "9om9": function om9(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "EnterNode", function () {
        return EnterNode;
      });
      /* harmony import */


      var _sparse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./sparse */
      "aY1w");
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return new _index__WEBPACK_IMPORTED_MODULE_1__["Selection"](this._enter || this._groups.map(_sparse__WEBPACK_IMPORTED_MODULE_0__["default"]), this._parents);
      };

      function EnterNode(parent, datum) {
        this.ownerDocument = parent.ownerDocument;
        this.namespaceURI = parent.namespaceURI;
        this._next = null;
        this._parent = parent;
        this.__data__ = datum;
      }

      EnterNode.prototype = {
        constructor: EnterNode,
        appendChild: function appendChild(child) {
          return this._parent.insertBefore(child, this._next);
        },
        insertBefore: function insertBefore(child, next) {
          return this._parent.insertBefore(child, next);
        },
        querySelector: function querySelector(selector) {
          return this._parent.querySelector(selector);
        },
        querySelectorAll: function querySelectorAll(selector) {
          return this._parent.querySelectorAll(selector);
        }
      };
      /***/
    },

    /***/
    "AJ/N": function AJN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-dispatch */
      "30U6");
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _nodrag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./nodrag.js */
      "tU+D");
      /* harmony import */


      var _noevent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./noevent.js */
      "cdIC");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./constant.js */
      "OqQA");
      /* harmony import */


      var _event_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./event.js */
      "TKo5"); // Ignore right-click, since that should open the context menu.


      function defaultFilter() {
        return !d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].ctrlKey && !d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].button;
      }

      function defaultContainer() {
        return this.parentNode;
      }

      function defaultSubject(d) {
        return d == null ? {
          x: d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].x,
          y: d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].y
        } : d;
      }

      function defaultTouchable() {
        return navigator.maxTouchPoints || "ontouchstart" in this;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var filter = defaultFilter,
            container = defaultContainer,
            subject = defaultSubject,
            touchable = defaultTouchable,
            gestures = {},
            listeners = Object(d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["dispatch"])("start", "drag", "end"),
            active = 0,
            mousedownx,
            mousedowny,
            mousemoving,
            touchending,
            clickDistance2 = 0;

        function drag(selection) {
          selection.on("mousedown.drag", mousedowned).filter(touchable).on("touchstart.drag", touchstarted).on("touchmove.drag", touchmoved).on("touchend.drag touchcancel.drag", touchended).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
        }

        function mousedowned() {
          if (touchending || !filter.apply(this, arguments)) return;
          var gesture = beforestart("mouse", container.apply(this, arguments), d3_selection__WEBPACK_IMPORTED_MODULE_1__["mouse"], this, arguments);
          if (!gesture) return;
          Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["select"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view).on("mousemove.drag", mousemoved, true).on("mouseup.drag", mouseupped, true);
          Object(_nodrag_js__WEBPACK_IMPORTED_MODULE_2__["default"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view);
          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["nopropagation"])();
          mousemoving = false;
          mousedownx = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientX;
          mousedowny = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientY;
          gesture("start");
        }

        function mousemoved() {
          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])();

          if (!mousemoving) {
            var dx = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientX - mousedownx,
                dy = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientY - mousedowny;
            mousemoving = dx * dx + dy * dy > clickDistance2;
          }

          gestures.mouse("drag");
        }

        function mouseupped() {
          Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["select"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view).on("mousemove.drag mouseup.drag", null);
          Object(_nodrag_js__WEBPACK_IMPORTED_MODULE_2__["yesdrag"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view, mousemoving);
          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
          gestures.mouse("end");
        }

        function touchstarted() {
          if (!filter.apply(this, arguments)) return;
          var touches = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].changedTouches,
              c = container.apply(this, arguments),
              n = touches.length,
              i,
              gesture;

          for (i = 0; i < n; ++i) {
            if (gesture = beforestart(touches[i].identifier, c, d3_selection__WEBPACK_IMPORTED_MODULE_1__["touch"], this, arguments)) {
              Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["nopropagation"])();
              gesture("start");
            }
          }
        }

        function touchmoved() {
          var touches = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].changedTouches,
              n = touches.length,
              i,
              gesture;

          for (i = 0; i < n; ++i) {
            if (gesture = gestures[touches[i].identifier]) {
              Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
              gesture("drag");
            }
          }
        }

        function touchended() {
          var touches = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].changedTouches,
              n = touches.length,
              i,
              gesture;
          if (touchending) clearTimeout(touchending);
          touchending = setTimeout(function () {
            touchending = null;
          }, 500); // Ghost clicks are delayed!

          for (i = 0; i < n; ++i) {
            if (gesture = gestures[touches[i].identifier]) {
              Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["nopropagation"])();
              gesture("end");
            }
          }
        }

        function beforestart(id, container, point, that, args) {
          var p = point(container, id),
              s,
              dx,
              dy,
              sublisteners = listeners.copy();
          if (!Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["customEvent"])(new _event_js__WEBPACK_IMPORTED_MODULE_5__["default"](drag, "beforestart", s, id, active, p[0], p[1], 0, 0, sublisteners), function () {
            if ((d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].subject = s = subject.apply(that, args)) == null) return false;
            dx = s.x - p[0] || 0;
            dy = s.y - p[1] || 0;
            return true;
          })) return;
          return function gesture(type) {
            var p0 = p,
                n;

            switch (type) {
              case "start":
                gestures[id] = gesture, n = active++;
                break;

              case "end":
                delete gestures[id], --active;
              // nobreak

              case "drag":
                p = point(container, id), n = active;
                break;
            }

            Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["customEvent"])(new _event_js__WEBPACK_IMPORTED_MODULE_5__["default"](drag, type, s, id, n, p[0] + dx, p[1] + dy, p[0] - p0[0], p[1] - p0[1], sublisteners), sublisteners.apply, sublisteners, [type, that, args]);
          };
        }

        drag.filter = function (_) {
          return arguments.length ? (filter = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(!!_), drag) : filter;
        };

        drag.container = function (_) {
          return arguments.length ? (container = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_), drag) : container;
        };

        drag.subject = function (_) {
          return arguments.length ? (subject = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_), drag) : subject;
        };

        drag.touchable = function (_) {
          return arguments.length ? (touchable = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(!!_), drag) : touchable;
        };

        drag.on = function () {
          var value = listeners.on.apply(listeners, arguments);
          return value === listeners ? drag : value;
        };

        drag.clickDistance = function (_) {
          return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2);
        };

        return drag;
      };
      /***/

    },

    /***/
    "AKWm": function AKWm(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _selection_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./selection/index */
      "5Iso");
      /* harmony default export */


      __webpack_exports__["default"] = function (selector) {
        return typeof selector === "string" ? new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([[document.querySelector(selector)]], [document.documentElement]) : new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([[selector]], _selection_index__WEBPACK_IMPORTED_MODULE_0__["root"]);
      };
      /***/

    },

    /***/
    "APuy": function APuy(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
      };
      /***/

    },

    /***/
    "AUoe": function AUoe(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (numerals) {
        return function (value) {
          return value.replace(/[0-9]/g, function (i) {
            return numerals[+i];
          });
        };
      };
      /***/

    },

    /***/
    "AWXE": function AWXE(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "event", function () {
        return event;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "customEvent", function () {
        return customEvent;
      });

      var filterEvents = {};
      var event = null;

      if (typeof document !== "undefined") {
        var element = document.documentElement;

        if (!("onmouseenter" in element)) {
          filterEvents = {
            mouseenter: "mouseover",
            mouseleave: "mouseout"
          };
        }
      }

      function filterContextListener(listener, index, group) {
        listener = contextListener(listener, index, group);
        return function (event) {
          var related = event.relatedTarget;

          if (!related || related !== this && !(related.compareDocumentPosition(this) & 8)) {
            listener.call(this, event);
          }
        };
      }

      function contextListener(listener, index, group) {
        return function (event1) {
          var event0 = event; // Events can be reentrant (e.g., focus).

          event = event1;

          try {
            listener.call(this, this.__data__, index, group);
          } finally {
            event = event0;
          }
        };
      }

      function parseTypenames(typenames) {
        return typenames.trim().split(/^|\s+/).map(function (t) {
          var name = "",
              i = t.indexOf(".");
          if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
          return {
            type: t,
            name: name
          };
        });
      }

      function onRemove(typename) {
        return function () {
          var on = this.__on;
          if (!on) return;

          for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {
            if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {
              this.removeEventListener(o.type, o.listener, o.capture);
            } else {
              on[++i] = o;
            }
          }

          if (++i) on.length = i;else delete this.__on;
        };
      }

      function onAdd(typename, value, capture) {
        var wrap = filterEvents.hasOwnProperty(typename.type) ? filterContextListener : contextListener;
        return function (d, i, group) {
          var on = this.__on,
              o,
              listener = wrap(value, i, group);
          if (on) for (var j = 0, m = on.length; j < m; ++j) {
            if ((o = on[j]).type === typename.type && o.name === typename.name) {
              this.removeEventListener(o.type, o.listener, o.capture);
              this.addEventListener(o.type, o.listener = listener, o.capture = capture);
              o.value = value;
              return;
            }
          }
          this.addEventListener(typename.type, listener, capture);
          o = {
            type: typename.type,
            name: typename.name,
            value: value,
            listener: listener,
            capture: capture
          };
          if (!on) this.__on = [o];else on.push(o);
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (typename, value, capture) {
        var typenames = parseTypenames(typename + ""),
            i,
            n = typenames.length,
            t;

        if (arguments.length < 2) {
          var on = this.node().__on;

          if (on) for (var j = 0, m = on.length, o; j < m; ++j) {
            for (i = 0, o = on[j]; i < n; ++i) {
              if ((t = typenames[i]).type === o.type && t.name === o.name) {
                return o.value;
              }
            }
          }
          return;
        }

        on = value ? onAdd : onRemove;
        if (capture == null) capture = false;

        for (i = 0; i < n; ++i) {
          this.each(on(typenames[i], value, capture));
        }

        return this;
      };

      function customEvent(event1, listener, that, args) {
        var event0 = event;
        event1.sourceEvent = event;
        event = event1;

        try {
          return listener.apply(that, args);
        } finally {
          event = event0;
        }
      }
      /***/

    },

    /***/
    "AgzO": function AgzO(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return filter;
      });

      function filter(values, test) {
        if (typeof test !== "function") throw new TypeError("test is not a function");
        var array = [];
        var index = -1;

        var _iterator11 = _createForOfIteratorHelper(values),
            _step11;

        try {
          for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
            var value = _step11.value;

            if (test(value, ++index, values)) {
              array.push(value);
            }
          }
        } catch (err) {
          _iterator11.e(err);
        } finally {
          _iterator11.f();
        }

        return array;
      }
      /***/

    },

    /***/
    "B/+g": function BG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return sequentialQuantile;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function sequentialQuantile() {
        var domain = [],
            interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"];

        function scale(x) {
          if (x != null && !isNaN(x = +x)) return interpolator((Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 1) - 1) / (domain.length - 1));
        }

        scale.domain = function (_) {
          if (!arguments.length) return domain.slice();
          domain = [];

          var _iterator12 = _createForOfIteratorHelper(_),
              _step12;

          try {
            for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
              var d = _step12.value;
              if (d != null && !isNaN(d = +d)) domain.push(d);
            }
          } catch (err) {
            _iterator12.e(err);
          } finally {
            _iterator12.f();
          }

          domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_0__["ascending"]);
          return scale;
        };

        scale.interpolator = function (_) {
          return arguments.length ? (interpolator = _, scale) : interpolator;
        };

        scale.range = function () {
          return domain.map(function (d, i) {
            return interpolator(i / (domain.length - 1));
          });
        };

        scale.quantiles = function (n) {
          return Array.from({
            length: n + 1
          }, function (_, i) {
            return Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["quantile"])(domain, i / n);
          });
        };

        scale.copy = function () {
          return sequentialQuantile(interpolator).domain(domain);
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }
      /***/

    },

    /***/
    "CAOx": function CAOx(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../math.js */
      "CYYh");

      var ka = 0.89081309152928522810,
          kr = Math.sin(_math_js__WEBPACK_IMPORTED_MODULE_0__["pi"] / 10) / Math.sin(7 * _math_js__WEBPACK_IMPORTED_MODULE_0__["pi"] / 10),
          kx = Math.sin(_math_js__WEBPACK_IMPORTED_MODULE_0__["tau"] / 10) * kr,
          ky = -Math.cos(_math_js__WEBPACK_IMPORTED_MODULE_0__["tau"] / 10) * kr;
      /* harmony default export */

      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var r = Math.sqrt(size * ka),
              x = kx * r,
              y = ky * r;
          context.moveTo(0, -r);
          context.lineTo(x, y);

          for (var i = 1; i < 5; ++i) {
            var a = _math_js__WEBPACK_IMPORTED_MODULE_0__["tau"] * i / 5,
                c = Math.cos(a),
                s = Math.sin(a);
            context.lineTo(s * r, -c * r);
            context.lineTo(c * x - s * y, s * x + c * y);
          }

          context.closePath();
        }
      };
      /***/
    },

    /***/
    "CDC2": function CDC2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./dice.js */
      "FPPI");
      /* harmony import */


      var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./slice.js */
      "7IPS");
      /* harmony default export */


      __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
        (parent.depth & 1 ? _slice_js__WEBPACK_IMPORTED_MODULE_1__["default"] : _dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(parent, x0, y0, x1, y1);
      };
      /***/

    },

    /***/
    "CSvP": function CSvP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "constantZero", function () {
        return constantZero;
      });

      function constantZero() {
        return 0;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function () {
          return x;
        };
      };
      /***/

    },

    /***/
    "CXbD": function CXbD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return groupSort;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony import */


      var _group_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./group.js */
      "4TqM");
      /* harmony import */


      var _sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./sort.js */
      "Exv/");

      function groupSort(values, reduce, key) {
        return (reduce.length === 1 ? Object(_sort_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_group_js__WEBPACK_IMPORTED_MODULE_1__["rollup"])(values, reduce, key), function (_ref, _ref2) {
          var _ref3 = _slicedToArray(_ref, 2),
              ak = _ref3[0],
              av = _ref3[1];

          var _ref4 = _slicedToArray(_ref2, 2),
              bk = _ref4[0],
              bv = _ref4[1];

          return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(av, bv) || Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ak, bk);
        }) : Object(_sort_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_group_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, key), function (_ref5, _ref6) {
          var _ref7 = _slicedToArray(_ref5, 2),
              ak = _ref7[0],
              av = _ref7[1];

          var _ref8 = _slicedToArray(_ref6, 2),
              bk = _ref8[0],
              bv = _ref8[1];

          return reduce(av, bv) || Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ak, bk);
        })).map(function (_ref9) {
          var _ref10 = _slicedToArray(_ref9, 1),
              key = _ref10[0];

          return key;
        });
      }
      /***/

    },

    /***/
    "CYYh": function CYYh(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "abs", function () {
        return abs;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "atan2", function () {
        return atan2;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "cos", function () {
        return cos;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "max", function () {
        return max;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "min", function () {
        return min;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sin", function () {
        return sin;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sqrt", function () {
        return sqrt;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "epsilon", function () {
        return epsilon;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "pi", function () {
        return pi;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "halfPi", function () {
        return halfPi;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tau", function () {
        return tau;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "acos", function () {
        return acos;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "asin", function () {
        return asin;
      });

      var abs = Math.abs;
      var atan2 = Math.atan2;
      var cos = Math.cos;
      var max = Math.max;
      var min = Math.min;
      var sin = Math.sin;
      var sqrt = Math.sqrt;
      var epsilon = 1e-12;
      var pi = Math.PI;
      var halfPi = pi / 2;
      var tau = 2 * pi;

      function acos(x) {
        return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);
      }

      function asin(x) {
        return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);
      }
      /***/

    },

    /***/
    "CbjS": function CbjS(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return formatSpecifier;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "FormatSpecifier", function () {
        return FormatSpecifier;
      }); // [[fill]align][sign][symbol][0][width][,][.precision][~][type]


      var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;

      function formatSpecifier(specifier) {
        if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
        var match;
        return new FormatSpecifier({
          fill: match[1],
          align: match[2],
          sign: match[3],
          symbol: match[4],
          zero: match[5],
          width: match[6],
          comma: match[7],
          precision: match[8] && match[8].slice(1),
          trim: match[9],
          type: match[10]
        });
      }

      formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof

      function FormatSpecifier(specifier) {
        this.fill = specifier.fill === undefined ? " " : specifier.fill + "";
        this.align = specifier.align === undefined ? ">" : specifier.align + "";
        this.sign = specifier.sign === undefined ? "-" : specifier.sign + "";
        this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + "";
        this.zero = !!specifier.zero;
        this.width = specifier.width === undefined ? undefined : +specifier.width;
        this.comma = !!specifier.comma;
        this.precision = specifier.precision === undefined ? undefined : +specifier.precision;
        this.trim = !!specifier.trim;
        this.type = specifier.type === undefined ? "" : specifier.type + "";
      }

      FormatSpecifier.prototype.toString = function () {
        return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === undefined ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
      };
      /***/

    },

    /***/
    "CcBx": function CcBx(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return deviation;
      });
      /* harmony import */


      var _variance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./variance.js */
      "7sdT");

      function deviation(values, valueof) {
        var v = Object(_variance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, valueof);
        return v ? Math.sqrt(v) : v;
      }
      /***/

    },

    /***/
    "CiDq": function CiDq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      var _marked = /*#__PURE__*/regeneratorRuntime.mark(numbers);

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "numbers", function () {
        return numbers;
      });
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return x === null ? NaN : +x;
      };

      function numbers(values, valueof) {
        var _iterator13, _step13, value, index, _iterator14, _step14, _value3;

        return regeneratorRuntime.wrap(function numbers$(_context) {
          while (1) {
            switch (_context.prev = _context.next) {
              case 0:
                if (!(valueof === undefined)) {
                  _context.next = 21;
                  break;
                }

                _iterator13 = _createForOfIteratorHelper(values);
                _context.prev = 2;

                _iterator13.s();

              case 4:
                if ((_step13 = _iterator13.n()).done) {
                  _context.next = 11;
                  break;
                }

                value = _step13.value;

                if (!(value != null && (value = +value) >= value)) {
                  _context.next = 9;
                  break;
                }

                _context.next = 9;
                return value;

              case 9:
                _context.next = 4;
                break;

              case 11:
                _context.next = 16;
                break;

              case 13:
                _context.prev = 13;
                _context.t0 = _context["catch"](2);

                _iterator13.e(_context.t0);

              case 16:
                _context.prev = 16;

                _iterator13.f();

                return _context.finish(16);

              case 19:
                _context.next = 40;
                break;

              case 21:
                index = -1;
                _iterator14 = _createForOfIteratorHelper(values);
                _context.prev = 23;

                _iterator14.s();

              case 25:
                if ((_step14 = _iterator14.n()).done) {
                  _context.next = 32;
                  break;
                }

                _value3 = _step14.value;

                if (!((_value3 = valueof(_value3, ++index, values)) != null && (_value3 = +_value3) >= _value3)) {
                  _context.next = 30;
                  break;
                }

                _context.next = 30;
                return _value3;

              case 30:
                _context.next = 25;
                break;

              case 32:
                _context.next = 37;
                break;

              case 34:
                _context.prev = 34;
                _context.t1 = _context["catch"](23);

                _iterator14.e(_context.t1);

              case 37:
                _context.prev = 37;

                _iterator14.f();

                return _context.finish(37);

              case 40:
              case "end":
                return _context.stop();
            }
          }
        }, _marked, null, [[2, 13, 16, 19], [23, 34, 37, 40]]);
      }
      /***/

    },

    /***/
    "Cnj1": function Cnj1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (selector) {
        return function () {
          return this.matches(selector);
        };
      };
      /***/

    },

    /***/
    "Ct04": function Ct04(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var callback = arguments[0];
        arguments[0] = this;
        callback.apply(null, arguments);
        return this;
      };
      /***/

    },

    /***/
    "D/GG": function DGG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function styleInterpolate(name, i, priority) {
        return function (t) {
          this.style.setProperty(name, i.call(this, t), priority);
        };
      }

      function styleTween(name, value, priority) {
        var t, i0;

        function tween() {
          var i = value.apply(this, arguments);
          if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);
          return t;
        }

        tween._value = value;
        return tween;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value, priority) {
        var key = "style." + (name += "");
        if (arguments.length < 2) return (key = this.tween(key)) && key._value;
        if (value == null) return this.tween(key, null);
        if (typeof value !== "function") throw new Error();
        return this.tween(key, styleTween(name, value, priority == null ? "" : priority));
      };
      /***/

    },

    /***/
    "DF+l": function DFL(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");

      function attrInterpolate(name, i) {
        return function (t) {
          this.setAttribute(name, i.call(this, t));
        };
      }

      function attrInterpolateNS(fullname, i) {
        return function (t) {
          this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));
        };
      }

      function attrTweenNS(fullname, value) {
        var t0, i0;

        function tween() {
          var i = value.apply(this, arguments);
          if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);
          return t0;
        }

        tween._value = value;
        return tween;
      }

      function attrTween(name, value) {
        var t0, i0;

        function tween() {
          var i = value.apply(this, arguments);
          if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);
          return t0;
        }

        tween._value = value;
        return tween;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value) {
        var key = "attr." + name;
        if (arguments.length < 2) return (key = this.tween(key)) && key._value;
        if (value == null) return this.tween(key, null);
        if (typeof value !== "function") throw new Error();
        var fullname = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["namespace"])(name);
        return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));
      };
      /***/

    },

    /***/
    "DN/c": function DNC(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony import */


      var _matcher__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../matcher */
      "Cnj1");
      /* harmony default export */


      __webpack_exports__["default"] = function (match) {
        if (typeof match !== "function") match = Object(_matcher__WEBPACK_IMPORTED_MODULE_1__["default"])(match);

        for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
            if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
              subgroup.push(node);
            }
          }
        }

        return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](subgroups, this._parents);
      };
      /***/

    },

    /***/
    "DdT1": function DdT1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (node) {
        node.x0 = Math.round(node.x0);
        node.y0 = Math.round(node.y0);
        node.x1 = Math.round(node.x1);
        node.y1 = Math.round(node.y1);
      };
      /***/

    },

    /***/
    "EUnC": function EUnC(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return x;
      };
      /***/

    },

    /***/
    "EgnQ": function EgnQ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony import */


      var _enter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./enter */
      "9om9");
      /* harmony import */


      var _constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ../constant */
      "0llg");

      var keyPrefix = "$"; // Protect against keys like “__proto__”.

      function bindIndex(parent, group, enter, update, exit, data) {
        var i = 0,
            node,
            groupLength = group.length,
            dataLength = data.length; // Put any non-null nodes that fit into update.
        // Put any null nodes into enter.
        // Put any remaining data into enter.

        for (; i < dataLength; ++i) {
          if (node = group[i]) {
            node.__data__ = data[i];
            update[i] = node;
          } else {
            enter[i] = new _enter__WEBPACK_IMPORTED_MODULE_1__["EnterNode"](parent, data[i]);
          }
        } // Put any non-null nodes that don’t fit into exit.


        for (; i < groupLength; ++i) {
          if (node = group[i]) {
            exit[i] = node;
          }
        }
      }

      function bindKey(parent, group, enter, update, exit, data, key) {
        var i,
            node,
            nodeByKeyValue = {},
            groupLength = group.length,
            dataLength = data.length,
            keyValues = new Array(groupLength),
            keyValue; // Compute the key for each node.
        // If multiple nodes have the same key, the duplicates are added to exit.

        for (i = 0; i < groupLength; ++i) {
          if (node = group[i]) {
            keyValues[i] = keyValue = keyPrefix + key.call(node, node.__data__, i, group);

            if (keyValue in nodeByKeyValue) {
              exit[i] = node;
            } else {
              nodeByKeyValue[keyValue] = node;
            }
          }
        } // Compute the key for each datum.
        // If there a node associated with this key, join and add it to update.
        // If there is not (or the key is a duplicate), add it to enter.


        for (i = 0; i < dataLength; ++i) {
          keyValue = keyPrefix + key.call(parent, data[i], i, data);

          if (node = nodeByKeyValue[keyValue]) {
            update[i] = node;
            node.__data__ = data[i];
            nodeByKeyValue[keyValue] = null;
          } else {
            enter[i] = new _enter__WEBPACK_IMPORTED_MODULE_1__["EnterNode"](parent, data[i]);
          }
        } // Add any remaining nodes that were not bound to data to exit.


        for (i = 0; i < groupLength; ++i) {
          if ((node = group[i]) && nodeByKeyValue[keyValues[i]] === node) {
            exit[i] = node;
          }
        }
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value, key) {
        if (!value) {
          data = new Array(this.size()), j = -1;
          this.each(function (d) {
            data[++j] = d;
          });
          return data;
        }

        var bind = key ? bindKey : bindIndex,
            parents = this._parents,
            groups = this._groups;
        if (typeof value !== "function") value = Object(_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(value);

        for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {
          var parent = parents[j],
              group = groups[j],
              groupLength = group.length,
              data = value.call(parent, parent && parent.__data__, j, parents),
              dataLength = data.length,
              enterGroup = enter[j] = new Array(dataLength),
              updateGroup = update[j] = new Array(dataLength),
              exitGroup = exit[j] = new Array(groupLength);
          bind(parent, group, enterGroup, updateGroup, exitGroup, data, key); // Now connect the enter nodes to their following update node, such that
          // appendChild can insert the materialized enter node before this node,
          // rather than at the end of the parent node.

          for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {
            if (previous = enterGroup[i0]) {
              if (i0 >= i1) i1 = i0 + 1;

              while (!(next = updateGroup[i1]) && ++i1 < dataLength) {
                ;
              }

              previous._next = next || null;
            }
          }
        }

        update = new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](update, parents);
        update._enter = enter;
        update._exit = exit;
        return update;
      };
      /***/

    },

    /***/
    "EjHT": function EjHT(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "format", function () {
        return format;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "formatPrefix", function () {
        return formatPrefix;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return defaultLocale;
      });
      /* harmony import */


      var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./locale.js */
      "sXBl");

      var locale;
      var format;
      var formatPrefix;
      defaultLocale({
        decimal: ".",
        thousands: ",",
        grouping: [3],
        currency: ["$", ""],
        minus: "-"
      });

      function defaultLocale(definition) {
        locale = Object(_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
        format = locale.format;
        formatPrefix = locale.formatPrefix;
        return locale;
      }
      /***/

    },

    /***/
    "El5h": function El5h(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return lab;
      });
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./color.js */
      "sFV2");

      function lab(start, end) {
        var l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["lab"])(start)).l, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["lab"])(end)).l),
            a = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.a, end.a),
            b = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.b, end.b),
            opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
        return function (t) {
          start.l = l(t);
          start.a = a(t);
          start.b = b(t);
          start.opacity = opacity(t);
          return start + "";
        };
      }
      /***/

    },

    /***/
    "Enya": function Enya(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _selection_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./selection/index */
      "5Iso");
      /* harmony default export */


      __webpack_exports__["default"] = function (selector) {
        return typeof selector === "string" ? new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([document.querySelectorAll(selector)], [document.documentElement]) : new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([selector == null ? [] : selector], _selection_index__WEBPACK_IMPORTED_MODULE_0__["root"]);
      };
      /***/

    },

    /***/
    "Exv/": function Exv(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return sort;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony import */


      var _permute_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./permute.js */
      "MiBC");

      function sort(values) {
        for (var _len9 = arguments.length, F = new Array(_len9 > 1 ? _len9 - 1 : 0), _key11 = 1; _key11 < _len9; _key11++) {
          F[_key11 - 1] = arguments[_key11];
        }

        if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
        values = Array.from(values);

        var _F = F,
            _F2 = _slicedToArray(_F, 1),
            _F2$ = _F2[0],
            f = _F2$ === void 0 ? _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"] : _F2$;

        if (f.length === 1 || F.length > 1) {
          var index = Uint32Array.from(values, function (d, i) {
            return i;
          });

          if (F.length > 1) {
            F = F.map(function (f) {
              return values.map(f);
            });
            index.sort(function (i, j) {
              var _iterator15 = _createForOfIteratorHelper(F),
                  _step15;

              try {
                for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
                  var _f = _step15.value;
                  var c = Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_f[i], _f[j]);
                  if (c) return c;
                }
              } catch (err) {
                _iterator15.e(err);
              } finally {
                _iterator15.f();
              }
            });
          } else {
            f = values.map(f);
            index.sort(function (i, j) {
              return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f[i], f[j]);
            });
          }

          return Object(_permute_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, index);
        }

        return values.sort(f);
      }
      /***/

    },

    /***/
    "EyRP": function EyRP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x, y) {
        return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];
      };
      /***/

    },

    /***/
    "F8PK": function F8PK(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function lower() {
        if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return this.each(lower);
      };
      /***/

    },

    /***/
    "FPPI": function FPPI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
        var nodes = parent.children,
            node,
            i = -1,
            n = nodes.length,
            k = parent.value && (x1 - x0) / parent.value;

        while (++i < n) {
          node = nodes[i], node.y0 = y0, node.y1 = y1;
          node.x0 = x0, node.x1 = x0 += node.value * k;
        }
      };
      /***/

    },

    /***/
    "FTmn": function FTmn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      var _marked2 = /*#__PURE__*/regeneratorRuntime.mark(flatten);

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return merge;
      });

      function flatten(arrays) {
        var _iterator16, _step16, array;

        return regeneratorRuntime.wrap(function flatten$(_context2) {
          while (1) {
            switch (_context2.prev = _context2.next) {
              case 0:
                _iterator16 = _createForOfIteratorHelper(arrays);
                _context2.prev = 1;

                _iterator16.s();

              case 3:
                if ((_step16 = _iterator16.n()).done) {
                  _context2.next = 8;
                  break;
                }

                array = _step16.value;
                return _context2.delegateYield(array, "t0", 6);

              case 6:
                _context2.next = 3;
                break;

              case 8:
                _context2.next = 13;
                break;

              case 10:
                _context2.prev = 10;
                _context2.t1 = _context2["catch"](1);

                _iterator16.e(_context2.t1);

              case 13:
                _context2.prev = 13;

                _iterator16.f();

                return _context2.finish(13);

              case 16:
              case "end":
                return _context2.stop();
            }
          }
        }, _marked2, null, [[1, 10, 13, 16]]);
      }

      function merge(arrays) {
        return Array.from(flatten(arrays));
      }
      /***/

    },

    /***/
    "Faen": function Faen(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return cubehelix;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Cubehelix", function () {
        return Cubehelix;
      });
      /* harmony import */


      var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./define.js */
      "Y62N");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./color.js */
      "FmoU");
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./math.js */
      "Uwo/");

      var A = -0.14861,
          B = +1.78277,
          C = -0.29227,
          D = -0.90649,
          E = +1.97294,
          ED = E * D,
          EB = E * B,
          BC_DA = B * C - D * A;

      function cubehelixConvert(o) {
        if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);
        if (!(o instanceof _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"])) o = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["rgbConvert"])(o);
        var r = o.r / 255,
            g = o.g / 255,
            b = o.b / 255,
            l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),
            bl = b - l,
            k = (E * (g - l) - C * bl) / D,
            s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)),
            // NaN if l=0 or l=1
        h = s ? Math.atan2(k, bl) * _math_js__WEBPACK_IMPORTED_MODULE_2__["rad2deg"] - 120 : NaN;
        return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
      }

      function cubehelix(h, s, l, opacity) {
        return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
      }

      function Cubehelix(h, s, l, opacity) {
        this.h = +h;
        this.s = +s;
        this.l = +l;
        this.opacity = +opacity;
      }

      Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Cubehelix, cubehelix, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(_color_js__WEBPACK_IMPORTED_MODULE_1__["Color"], {
        brighter: function brighter(k) {
          k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_1__["brighter"] : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_1__["brighter"], k);
          return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
        },
        darker: function darker(k) {
          k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_1__["darker"] : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_1__["darker"], k);
          return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
        },
        rgb: function rgb() {
          var h = isNaN(this.h) ? 0 : (this.h + 120) * _math_js__WEBPACK_IMPORTED_MODULE_2__["deg2rad"],
              l = +this.l,
              a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
              cosh = Math.cos(h),
              sinh = Math.sin(h);
          return new _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"](255 * (l + a * (A * cosh + B * sinh)), 255 * (l + a * (C * cosh + D * sinh)), 255 * (l + a * (E * cosh)), this.opacity);
        }
      }));
      /***/
    },

    /***/
    "FmoU": function FmoU(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Color", function () {
        return Color;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "darker", function () {
        return _darker;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "brighter", function () {
        return _brighter;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return color;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rgbConvert", function () {
        return rgbConvert;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rgb", function () {
        return rgb;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Rgb", function () {
        return Rgb;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hslConvert", function () {
        return hslConvert;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hsl", function () {
        return hsl;
      });
      /* harmony import */


      var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./define.js */
      "Y62N");

      function Color() {}

      var _darker = 0.7;

      var _brighter = 1 / _darker;

      var reI = "\\s*([+-]?\\d+)\\s*",
          reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
          reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
          reHex = /^#([0-9a-f]{3,8})$/,
          reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
          reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
          reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
          reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
          reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
          reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
      var named = {
        aliceblue: 0xf0f8ff,
        antiquewhite: 0xfaebd7,
        aqua: 0x00ffff,
        aquamarine: 0x7fffd4,
        azure: 0xf0ffff,
        beige: 0xf5f5dc,
        bisque: 0xffe4c4,
        black: 0x000000,
        blanchedalmond: 0xffebcd,
        blue: 0x0000ff,
        blueviolet: 0x8a2be2,
        brown: 0xa52a2a,
        burlywood: 0xdeb887,
        cadetblue: 0x5f9ea0,
        chartreuse: 0x7fff00,
        chocolate: 0xd2691e,
        coral: 0xff7f50,
        cornflowerblue: 0x6495ed,
        cornsilk: 0xfff8dc,
        crimson: 0xdc143c,
        cyan: 0x00ffff,
        darkblue: 0x00008b,
        darkcyan: 0x008b8b,
        darkgoldenrod: 0xb8860b,
        darkgray: 0xa9a9a9,
        darkgreen: 0x006400,
        darkgrey: 0xa9a9a9,
        darkkhaki: 0xbdb76b,
        darkmagenta: 0x8b008b,
        darkolivegreen: 0x556b2f,
        darkorange: 0xff8c00,
        darkorchid: 0x9932cc,
        darkred: 0x8b0000,
        darksalmon: 0xe9967a,
        darkseagreen: 0x8fbc8f,
        darkslateblue: 0x483d8b,
        darkslategray: 0x2f4f4f,
        darkslategrey: 0x2f4f4f,
        darkturquoise: 0x00ced1,
        darkviolet: 0x9400d3,
        deeppink: 0xff1493,
        deepskyblue: 0x00bfff,
        dimgray: 0x696969,
        dimgrey: 0x696969,
        dodgerblue: 0x1e90ff,
        firebrick: 0xb22222,
        floralwhite: 0xfffaf0,
        forestgreen: 0x228b22,
        fuchsia: 0xff00ff,
        gainsboro: 0xdcdcdc,
        ghostwhite: 0xf8f8ff,
        gold: 0xffd700,
        goldenrod: 0xdaa520,
        gray: 0x808080,
        green: 0x008000,
        greenyellow: 0xadff2f,
        grey: 0x808080,
        honeydew: 0xf0fff0,
        hotpink: 0xff69b4,
        indianred: 0xcd5c5c,
        indigo: 0x4b0082,
        ivory: 0xfffff0,
        khaki: 0xf0e68c,
        lavender: 0xe6e6fa,
        lavenderblush: 0xfff0f5,
        lawngreen: 0x7cfc00,
        lemonchiffon: 0xfffacd,
        lightblue: 0xadd8e6,
        lightcoral: 0xf08080,
        lightcyan: 0xe0ffff,
        lightgoldenrodyellow: 0xfafad2,
        lightgray: 0xd3d3d3,
        lightgreen: 0x90ee90,
        lightgrey: 0xd3d3d3,
        lightpink: 0xffb6c1,
        lightsalmon: 0xffa07a,
        lightseagreen: 0x20b2aa,
        lightskyblue: 0x87cefa,
        lightslategray: 0x778899,
        lightslategrey: 0x778899,
        lightsteelblue: 0xb0c4de,
        lightyellow: 0xffffe0,
        lime: 0x00ff00,
        limegreen: 0x32cd32,
        linen: 0xfaf0e6,
        magenta: 0xff00ff,
        maroon: 0x800000,
        mediumaquamarine: 0x66cdaa,
        mediumblue: 0x0000cd,
        mediumorchid: 0xba55d3,
        mediumpurple: 0x9370db,
        mediumseagreen: 0x3cb371,
        mediumslateblue: 0x7b68ee,
        mediumspringgreen: 0x00fa9a,
        mediumturquoise: 0x48d1cc,
        mediumvioletred: 0xc71585,
        midnightblue: 0x191970,
        mintcream: 0xf5fffa,
        mistyrose: 0xffe4e1,
        moccasin: 0xffe4b5,
        navajowhite: 0xffdead,
        navy: 0x000080,
        oldlace: 0xfdf5e6,
        olive: 0x808000,
        olivedrab: 0x6b8e23,
        orange: 0xffa500,
        orangered: 0xff4500,
        orchid: 0xda70d6,
        palegoldenrod: 0xeee8aa,
        palegreen: 0x98fb98,
        paleturquoise: 0xafeeee,
        palevioletred: 0xdb7093,
        papayawhip: 0xffefd5,
        peachpuff: 0xffdab9,
        peru: 0xcd853f,
        pink: 0xffc0cb,
        plum: 0xdda0dd,
        powderblue: 0xb0e0e6,
        purple: 0x800080,
        rebeccapurple: 0x663399,
        red: 0xff0000,
        rosybrown: 0xbc8f8f,
        royalblue: 0x4169e1,
        saddlebrown: 0x8b4513,
        salmon: 0xfa8072,
        sandybrown: 0xf4a460,
        seagreen: 0x2e8b57,
        seashell: 0xfff5ee,
        sienna: 0xa0522d,
        silver: 0xc0c0c0,
        skyblue: 0x87ceeb,
        slateblue: 0x6a5acd,
        slategray: 0x708090,
        slategrey: 0x708090,
        snow: 0xfffafa,
        springgreen: 0x00ff7f,
        steelblue: 0x4682b4,
        tan: 0xd2b48c,
        teal: 0x008080,
        thistle: 0xd8bfd8,
        tomato: 0xff6347,
        turquoise: 0x40e0d0,
        violet: 0xee82ee,
        wheat: 0xf5deb3,
        white: 0xffffff,
        whitesmoke: 0xf5f5f5,
        yellow: 0xffff00,
        yellowgreen: 0x9acd32
      };
      Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Color, color, {
        copy: function copy(channels) {
          return Object.assign(new this.constructor(), this, channels);
        },
        displayable: function displayable() {
          return this.rgb().displayable();
        },
        hex: color_formatHex,
        // Deprecated! Use color.formatHex.
        formatHex: color_formatHex,
        formatHsl: color_formatHsl,
        formatRgb: color_formatRgb,
        toString: color_formatRgb
      });

      function color_formatHex() {
        return this.rgb().formatHex();
      }

      function color_formatHsl() {
        return hslConvert(this).formatHsl();
      }

      function color_formatRgb() {
        return this.rgb().formatRgb();
      }

      function color(format) {
        var m, l;
        format = (format + "").trim().toLowerCase();
        return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
        : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00
        : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
        : l === 4 ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000
        : null // invalid hex
        ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
        : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
        : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
        : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
        : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
        : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
        : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
        : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
      }

      function rgbn(n) {
        return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
      }

      function rgba(r, g, b, a) {
        if (a <= 0) r = g = b = NaN;
        return new Rgb(r, g, b, a);
      }

      function rgbConvert(o) {
        if (!(o instanceof Color)) o = color(o);
        if (!o) return new Rgb();
        o = o.rgb();
        return new Rgb(o.r, o.g, o.b, o.opacity);
      }

      function rgb(r, g, b, opacity) {
        return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
      }

      function Rgb(r, g, b, opacity) {
        this.r = +r;
        this.g = +g;
        this.b = +b;
        this.opacity = +opacity;
      }

      Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Rgb, rgb, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(Color, {
        brighter: function brighter(k) {
          k = k == null ? _brighter : Math.pow(_brighter, k);
          return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
        },
        darker: function darker(k) {
          k = k == null ? _darker : Math.pow(_darker, k);
          return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
        },
        rgb: function rgb() {
          return this;
        },
        displayable: function displayable() {
          return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
        },
        hex: rgb_formatHex,
        // Deprecated! Use color.formatHex.
        formatHex: rgb_formatHex,
        formatRgb: rgb_formatRgb,
        toString: rgb_formatRgb
      }));

      function rgb_formatHex() {
        return "#" + hex(this.r) + hex(this.g) + hex(this.b);
      }

      function rgb_formatRgb() {
        var a = this.opacity;
        a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
        return (a === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? ")" : ", " + a + ")");
      }

      function hex(value) {
        value = Math.max(0, Math.min(255, Math.round(value) || 0));
        return (value < 16 ? "0" : "") + value.toString(16);
      }

      function hsla(h, s, l, a) {
        if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;
        return new Hsl(h, s, l, a);
      }

      function hslConvert(o) {
        if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
        if (!(o instanceof Color)) o = color(o);
        if (!o) return new Hsl();
        if (o instanceof Hsl) return o;
        o = o.rgb();
        var r = o.r / 255,
            g = o.g / 255,
            b = o.b / 255,
            min = Math.min(r, g, b),
            max = Math.max(r, g, b),
            h = NaN,
            s = max - min,
            l = (max + min) / 2;

        if (s) {
          if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;
          s /= l < 0.5 ? max + min : 2 - max - min;
          h *= 60;
        } else {
          s = l > 0 && l < 1 ? 0 : h;
        }

        return new Hsl(h, s, l, o.opacity);
      }

      function hsl(h, s, l, opacity) {
        return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
      }

      function Hsl(h, s, l, opacity) {
        this.h = +h;
        this.s = +s;
        this.l = +l;
        this.opacity = +opacity;
      }

      Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hsl, hsl, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(Color, {
        brighter: function brighter(k) {
          k = k == null ? _brighter : Math.pow(_brighter, k);
          return new Hsl(this.h, this.s, this.l * k, this.opacity);
        },
        darker: function darker(k) {
          k = k == null ? _darker : Math.pow(_darker, k);
          return new Hsl(this.h, this.s, this.l * k, this.opacity);
        },
        rgb: function rgb() {
          var h = this.h % 360 + (this.h < 0) * 360,
              s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
              l = this.l,
              m2 = l + (l < 0.5 ? l : 1 - l) * s,
              m1 = 2 * l - m2;
          return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
        },
        displayable: function displayable() {
          return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
        },
        formatHsl: function formatHsl() {
          var a = this.opacity;
          a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
          return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
        }
      }));
      /* From FvD 13.37, CSS Color Module Level 3 */

      function hsl2rgb(h, m1, m2) {
        return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
      }
      /***/

    },

    /***/
    "Fzhe": function Fzhe(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationSecond", function () {
        return durationSecond;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationMinute", function () {
        return durationMinute;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationHour", function () {
        return durationHour;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationDay", function () {
        return durationDay;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationWeek", function () {
        return durationWeek;
      });

      var durationSecond = 1e3;
      var durationMinute = 6e4;
      var durationHour = 36e5;
      var durationDay = 864e5;
      var durationWeek = 6048e5;
      /***/
    },

    /***/
    "G+rV": function GRV(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationSecond", function () {
        return durationSecond;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationMinute", function () {
        return durationMinute;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationHour", function () {
        return durationHour;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationDay", function () {
        return durationDay;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationWeek", function () {
        return durationWeek;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationMonth", function () {
        return durationMonth;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "durationYear", function () {
        return durationYear;
      });

      var durationSecond = 1000;
      var durationMinute = durationSecond * 60;
      var durationHour = durationMinute * 60;
      var durationDay = durationHour * 24;
      var durationWeek = durationDay * 7;
      var durationMonth = durationDay * 30;
      var durationYear = durationDay * 365;
      /***/
    },

    /***/
    "G21l": function G21l(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        var d = new Date();
        return a = +a, b = +b, function (t) {
          return d.setTime(a * (1 - t) + b * t), d;
        };
      };
      /***/

    },

    /***/
    "GAlb": function GAlb(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "milliseconds", function () {
        return milliseconds;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");

      var millisecond = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function () {// noop
      }, function (date, step) {
        date.setTime(+date + step);
      }, function (start, end) {
        return end - start;
      }); // An optimized implementation for this simple case.

      millisecond.every = function (k) {
        k = Math.floor(k);
        if (!isFinite(k) || !(k > 0)) return null;
        if (!(k > 1)) return millisecond;
        return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setTime(Math.floor(date / k) * k);
        }, function (date, step) {
          date.setTime(+date + step * k);
        }, function (start, end) {
          return (end - start) / k;
        });
      };
      /* harmony default export */


      __webpack_exports__["default"] = millisecond;
      var milliseconds = millisecond.range;
      /***/
    },

    /***/
    "GHWt": function GHWt(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return quantile;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "quantileSorted", function () {
        return quantileSorted;
      });
      /* harmony import */


      var _max_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./max.js */
      "gj+k");
      /* harmony import */


      var _min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./min.js */
      "mrVq");
      /* harmony import */


      var _quickselect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./quickselect.js */
      "WHjf");
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./number.js */
      "CiDq");

      function quantile(values, p, valueof) {
        values = Float64Array.from(Object(_number_js__WEBPACK_IMPORTED_MODULE_3__["numbers"])(values, valueof));
        if (!(n = values.length)) return;
        if ((p = +p) <= 0 || n < 2) return Object(_min_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values);
        if (p >= 1) return Object(_max_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values);
        var n,
            i = (n - 1) * p,
            i0 = Math.floor(i),
            value0 = Object(_max_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object(_quickselect_js__WEBPACK_IMPORTED_MODULE_2__["default"])(values, i0).subarray(0, i0 + 1)),
            value1 = Object(_min_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values.subarray(i0 + 1));
        return value0 + (value1 - value0) * (i - i0);
      }

      function quantileSorted(values, p) {
        var valueof = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _number_js__WEBPACK_IMPORTED_MODULE_3__["default"];
        if (!(n = values.length)) return;
        if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);
        if (p >= 1) return +valueof(values[n - 1], n - 1, values);
        var n,
            i = (n - 1) * p,
            i0 = Math.floor(i),
            value0 = +valueof(values[i0], i0, values),
            value1 = +valueof(values[i0 + 1], i0 + 1, values);
        return value0 + (value1 - value0) * (i - i0);
      }
      /***/

    },

    /***/
    "GOKn": function GOKn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return newInterval;
      });

      var t0 = new Date(),
          t1 = new Date();

      function newInterval(floori, offseti, count, field) {
        function interval(date) {
          return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date;
        }

        interval.floor = function (date) {
          return floori(date = new Date(+date)), date;
        };

        interval.ceil = function (date) {
          return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
        };

        interval.round = function (date) {
          var d0 = interval(date),
              d1 = interval.ceil(date);
          return date - d0 < d1 - date ? d0 : d1;
        };

        interval.offset = function (date, step) {
          return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
        };

        interval.range = function (start, stop, step) {
          var range = [],
              previous;
          start = interval.ceil(start);
          step = step == null ? 1 : Math.floor(step);
          if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date

          do {
            range.push(previous = new Date(+start)), offseti(start, step), floori(start);
          } while (previous < start && start < stop);

          return range;
        };

        interval.filter = function (test) {
          return newInterval(function (date) {
            if (date >= date) while (floori(date), !test(date)) {
              date.setTime(date - 1);
            }
          }, function (date, step) {
            if (date >= date) {
              if (step < 0) while (++step <= 0) {
                while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty

              } else while (--step >= 0) {
                while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty

              }
            }
          });
        };

        if (count) {
          interval.count = function (start, end) {
            t0.setTime(+start), t1.setTime(+end);
            floori(t0), floori(t1);
            return Math.floor(count(t0, t1));
          };

          interval.every = function (step) {
            step = Math.floor(step);
            return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval : interval.filter(field ? function (d) {
              return field(d) % step === 0;
            } : function (d) {
              return interval.count(0, d) % step === 0;
            });
          };
        }

        return interval;
      }
      /***/

    },

    /***/
    "GQZn": function GQZn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (d) {
        return d;
      };
      /***/

    },

    /***/
    "GRP9": function GRP9(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function raise() {
        if (this.nextSibling) this.parentNode.appendChild(this);
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return this.each(raise);
      };
      /***/

    },

    /***/
    "GWx9": function GWx9(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return nice;
      });
      /* harmony import */


      var _ticks_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ticks.js */
      "7ssf");

      function nice(start, stop, count) {
        var prestep;

        while (true) {
          var step = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_0__["tickIncrement"])(start, stop, count);

          if (step === prestep || step === 0 || !isFinite(step)) {
            return [start, stop];
          } else if (step > 0) {
            start = Math.floor(start / step) * step;
            stop = Math.ceil(stop / step) * step;
          } else if (step < 0) {
            start = Math.ceil(start * step) / step;
            stop = Math.floor(stop * step) / step;
          }

          prestep = step;
        }
      }
      /***/

    },

    /***/
    "GjTP": function GjTP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./none.js */
      "0T5i");
      /* harmony default export */


      __webpack_exports__["default"] = function (series, order) {
        if (!((n = series.length) > 0)) return;

        for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {
          for (y = i = 0; i < n; ++i) {
            y += series[i][j][1] || 0;
          }

          if (y) for (i = 0; i < n; ++i) {
            series[i][j][1] /= y;
          }
        }

        Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order);
      };
      /***/

    },

    /***/
    "Goif": function Goif(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "linkHorizontal", function () {
        return linkHorizontal;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "linkVertical", function () {
        return linkVertical;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "linkRadial", function () {
        return linkRadial;
      });
      /* harmony import */


      var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-path */
      "83xM");
      /* harmony import */


      var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../array.js */
      "gqw6");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ../constant.js */
      "2K37");
      /* harmony import */


      var _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ../point.js */
      "/aQN");
      /* harmony import */


      var _pointRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ../pointRadial.js */
      "EyRP");

      function linkSource(d) {
        return d.source;
      }

      function linkTarget(d) {
        return d.target;
      }

      function link(curve) {
        var source = linkSource,
            target = linkTarget,
            x = _point_js__WEBPACK_IMPORTED_MODULE_3__["x"],
            y = _point_js__WEBPACK_IMPORTED_MODULE_3__["y"],
            context = null;

        function link() {
          var buffer,
              argv = _array_js__WEBPACK_IMPORTED_MODULE_1__["slice"].call(arguments),
              s = source.apply(this, argv),
              t = target.apply(this, argv);

          if (!context) context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])();
          curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));
          if (buffer) return context = null, buffer + "" || null;
        }

        link.source = function (_) {
          return arguments.length ? (source = _, link) : source;
        };

        link.target = function (_) {
          return arguments.length ? (target = _, link) : target;
        };

        link.x = function (_) {
          return arguments.length ? (x = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), link) : x;
        };

        link.y = function (_) {
          return arguments.length ? (y = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), link) : y;
        };

        link.context = function (_) {
          return arguments.length ? (context = _ == null ? null : _, link) : context;
        };

        return link;
      }

      function curveHorizontal(context, x0, y0, x1, y1) {
        context.moveTo(x0, y0);
        context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);
      }

      function curveVertical(context, x0, y0, x1, y1) {
        context.moveTo(x0, y0);
        context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);
      }

      function curveRadial(context, x0, y0, x1, y1) {
        var p0 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x0, y0),
            p1 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x0, y0 = (y0 + y1) / 2),
            p2 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x1, y0),
            p3 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x1, y1);
        context.moveTo(p0[0], p0[1]);
        context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);
      }

      function linkHorizontal() {
        return link(curveHorizontal);
      }

      function linkVertical() {
        return link(curveVertical);
      }

      function linkRadial() {
        var l = link(curveRadial);
        l.angle = l.x, delete l.x;
        l.radius = l.y, delete l.y;
        return l;
      }
      /***/

    },

    /***/
    "GpRi": function GpRi(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./curve/radial.js */
      "JnD7");
      /* harmony import */


      var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./area.js */
      "44y/");
      /* harmony import */


      var _lineRadial_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./lineRadial.js */
      "TI0E");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var a = Object(_area_js__WEBPACK_IMPORTED_MODULE_1__["default"])().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["curveRadialLinear"]),
            c = a.curve,
            x0 = a.lineX0,
            x1 = a.lineX1,
            y0 = a.lineY0,
            y1 = a.lineY1;
        a.angle = a.x, delete a.x;
        a.startAngle = a.x0, delete a.x0;
        a.endAngle = a.x1, delete a.x1;
        a.radius = a.y, delete a.y;
        a.innerRadius = a.y0, delete a.y0;
        a.outerRadius = a.y1, delete a.y1;
        a.lineStartAngle = function () {
          return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(x0());
        }, delete a.lineX0;
        a.lineEndAngle = function () {
          return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(x1());
        }, delete a.lineX1;
        a.lineInnerRadius = function () {
          return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(y0());
        }, delete a.lineY0;
        a.lineOuterRadius = function () {
          return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(y1());
        }, delete a.lineY1;

        a.curve = function (_) {
          return arguments.length ? c(Object(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_)) : c()._curve;
        };

        return a;
      };
      /***/

    },

    /***/
    "GvAG": function GvAG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../math.js */
      "CYYh");
      /* harmony default export */


      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var r = Math.sqrt(size / _math_js__WEBPACK_IMPORTED_MODULE_0__["pi"]);
          context.moveTo(r, 0);
          context.arc(0, 0, r, 0, _math_js__WEBPACK_IMPORTED_MODULE_0__["tau"]);
        }
      };
      /***/
    },

    /***/
    "Gvn4": function Gvn4(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (interpolator, n) {
        var samples = new Array(n);

        for (var i = 0; i < n; ++i) {
          samples[i] = interpolator(i / (n - 1));
        }

        return samples;
      };
      /***/

    },

    /***/
    "HFJB": function HFJB(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return local;
      });

      var nextId = 0;

      function local() {
        return new Local();
      }

      function Local() {
        this._ = "@" + (++nextId).toString(36);
      }

      Local.prototype = local.prototype = {
        constructor: Local,
        get: function get(node) {
          var id = this._;

          while (!(id in node)) {
            if (!(node = node.parentNode)) return;
          }

          return node[id];
        },
        set: function set(node, value) {
          return node[this._] = value;
        },
        remove: function remove(node) {
          return this._ in node && delete node[this._];
        },
        toString: function toString() {
          return this._;
        }
      };
      /***/
    },

    /***/
    "I3Nq": function I3Nq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _siblings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./siblings.js */
      "W+J7");
      /* harmony import */


      var _accessors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../accessors.js */
      "IeU1");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ../constant.js */
      "CSvP");

      function defaultRadius(d) {
        return Math.sqrt(d.value);
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var radius = null,
            dx = 1,
            dy = 1,
            padding = _constant_js__WEBPACK_IMPORTED_MODULE_2__["constantZero"];

        function pack(root) {
          root.x = dx / 2, root.y = dy / 2;

          if (radius) {
            root.eachBefore(radiusLeaf(radius)).eachAfter(packChildren(padding, 0.5)).eachBefore(translateChild(1));
          } else {
            root.eachBefore(radiusLeaf(defaultRadius)).eachAfter(packChildren(_constant_js__WEBPACK_IMPORTED_MODULE_2__["constantZero"], 1)).eachAfter(packChildren(padding, root.r / Math.min(dx, dy))).eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));
          }

          return root;
        }

        pack.radius = function (x) {
          return arguments.length ? (radius = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_1__["optional"])(x), pack) : radius;
        };

        pack.size = function (x) {
          return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];
        };

        pack.padding = function (x) {
          return arguments.length ? (padding = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+x), pack) : padding;
        };

        return pack;
      };

      function radiusLeaf(radius) {
        return function (node) {
          if (!node.children) {
            node.r = Math.max(0, +radius(node) || 0);
          }
        };
      }

      function packChildren(padding, k) {
        return function (node) {
          if (children = node.children) {
            var children,
                i,
                n = children.length,
                r = padding(node) * k || 0,
                e;
            if (r) for (i = 0; i < n; ++i) {
              children[i].r += r;
            }
            e = Object(_siblings_js__WEBPACK_IMPORTED_MODULE_0__["packEnclose"])(children);
            if (r) for (i = 0; i < n; ++i) {
              children[i].r -= r;
            }
            node.r = e + r;
          }
        };
      }

      function translateChild(k) {
        return function (node) {
          var parent = node.parent;
          node.r *= k;

          if (parent) {
            node.x = parent.x + k * node.x;
            node.y = parent.y + k * node.y;
          }
        };
      }
      /***/

    },

    /***/
    "I4jL": function I4jL(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "phi", function () {
        return phi;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "squarifyRatio", function () {
        return squarifyRatio;
      });
      /* harmony import */


      var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./dice.js */
      "FPPI");
      /* harmony import */


      var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./slice.js */
      "7IPS");

      var phi = (1 + Math.sqrt(5)) / 2;

      function squarifyRatio(ratio, parent, x0, y0, x1, y1) {
        var rows = [],
            nodes = parent.children,
            row,
            nodeValue,
            i0 = 0,
            i1 = 0,
            n = nodes.length,
            dx,
            dy,
            value = parent.value,
            sumValue,
            minValue,
            maxValue,
            newRatio,
            minRatio,
            alpha,
            beta;

        while (i0 < n) {
          dx = x1 - x0, dy = y1 - y0; // Find the next non-empty node.

          do {
            sumValue = nodes[i1++].value;
          } while (!sumValue && i1 < n);

          minValue = maxValue = sumValue;
          alpha = Math.max(dy / dx, dx / dy) / (value * ratio);
          beta = sumValue * sumValue * alpha;
          minRatio = Math.max(maxValue / beta, beta / minValue); // Keep adding nodes while the aspect ratio maintains or improves.

          for (; i1 < n; ++i1) {
            sumValue += nodeValue = nodes[i1].value;
            if (nodeValue < minValue) minValue = nodeValue;
            if (nodeValue > maxValue) maxValue = nodeValue;
            beta = sumValue * sumValue * alpha;
            newRatio = Math.max(maxValue / beta, beta / minValue);

            if (newRatio > minRatio) {
              sumValue -= nodeValue;
              break;
            }

            minRatio = newRatio;
          } // Position and record the row orientation.


          rows.push(row = {
            value: sumValue,
            dice: dx < dy,
            children: nodes.slice(i0, i1)
          });
          if (row.dice) Object(_dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);else Object(_slice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);
          value -= sumValue, i0 = i1;
        }

        return rows;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function custom(ratio) {
        function squarify(parent, x0, y0, x1, y1) {
          squarifyRatio(ratio, parent, x0, y0, x1, y1);
        }

        squarify.ratio = function (x) {
          return custom((x = +x) > 1 ? x : 1);
        };

        return squarify;
      }(phi);
      /***/

    },

    /***/
    "IeU1": function IeU1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "optional", function () {
        return optional;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "required", function () {
        return required;
      });

      function optional(f) {
        return f == null ? null : required(f);
      }

      function required(f) {
        if (typeof f !== "function") throw new Error();
        return f;
      }
      /***/

    },

    /***/
    "J0SQ": function J0SQ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return map;
      });

      function map(values, mapper) {
        if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
        if (typeof mapper !== "function") throw new TypeError("mapper is not a function");
        return Array.from(values, function (value, index) {
          return mapper(value, index, values);
        });
      }
      /***/

    },

    /***/
    "J27/": function J27(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (end) {
        var start = this,
            ancestor = leastCommonAncestor(start, end),
            nodes = [start];

        while (start !== ancestor) {
          start = start.parent;
          nodes.push(start);
        }

        var k = nodes.length;

        while (end !== ancestor) {
          nodes.splice(k, 0, end);
          end = end.parent;
        }

        return nodes;
      };

      function leastCommonAncestor(a, b) {
        if (a === b) return a;
        var aNodes = a.ancestors(),
            bNodes = b.ancestors(),
            c = null;
        a = aNodes.pop();
        b = bNodes.pop();

        while (a === b) {
          c = a;
          a = aNodes.pop();
          b = bNodes.pop();
        }

        return c;
      }
      /***/

    },

    /***/
    "JQqb": function JQqb(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return minIndex;
      });

      function minIndex(values, valueof) {
        var min;
        var minIndex = -1;
        var index = -1;

        if (valueof === undefined) {
          var _iterator17 = _createForOfIteratorHelper(values),
              _step17;

          try {
            for (_iterator17.s(); !(_step17 = _iterator17.n()).done;) {
              var value = _step17.value;
              ++index;

              if (value != null && (min > value || min === undefined && value >= value)) {
                min = value, minIndex = index;
              }
            }
          } catch (err) {
            _iterator17.e(err);
          } finally {
            _iterator17.f();
          }
        } else {
          var _iterator18 = _createForOfIteratorHelper(values),
              _step18;

          try {
            for (_iterator18.s(); !(_step18 = _iterator18.n()).done;) {
              var _value4 = _step18.value;

              if ((_value4 = valueof(_value4, ++index, values)) != null && (min > _value4 || min === undefined && _value4 >= _value4)) {
                min = _value4, minIndex = index;
              }
            }
          } catch (err) {
            _iterator18.e(err);
          } finally {
            _iterator18.f();
          }
        }

        return minIndex;
      }
      /***/

    },

    /***/
    "JYaH": function JYaH(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return every;
      });

      function every(values, test) {
        if (typeof test !== "function") throw new TypeError("test is not a function");
        var index = -1;

        var _iterator19 = _createForOfIteratorHelper(values),
            _step19;

        try {
          for (_iterator19.s(); !(_step19 = _iterator19.n()).done;) {
            var value = _step19.value;

            if (!test(value, ++index, values)) {
              return false;
            }
          }
        } catch (err) {
          _iterator19.e(err);
        } finally {
          _iterator19.f();
        }

        return true;
      }
      /***/

    },

    /***/
    "JZGO": function JZGO(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function remove() {
        var parent = this.parentNode;
        if (parent) parent.removeChild(this);
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return this.each(remove);
      };
      /***/

    },

    /***/
    "JnD7": function JnD7(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "curveRadialLinear", function () {
        return curveRadialLinear;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return curveRadial;
      });
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./linear.js */
      "SDD1");

      var curveRadialLinear = curveRadial(_linear_js__WEBPACK_IMPORTED_MODULE_0__["default"]);

      function Radial(curve) {
        this._curve = curve;
      }

      Radial.prototype = {
        areaStart: function areaStart() {
          this._curve.areaStart();
        },
        areaEnd: function areaEnd() {
          this._curve.areaEnd();
        },
        lineStart: function lineStart() {
          this._curve.lineStart();
        },
        lineEnd: function lineEnd() {
          this._curve.lineEnd();
        },
        point: function point(a, r) {
          this._curve.point(r * Math.sin(a), r * -Math.cos(a));
        }
      };

      function curveRadial(curve) {
        function radial(context) {
          return new Radial(curve(context));
        }

        radial._curve = curve;
        return radial;
      }
      /***/

    },

    /***/
    "Jzny": function Jzny(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
        return utcSunday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
        return utcMonday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
        return utcTuesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
        return utcWednesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
        return utcThursday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
        return utcFriday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
        return utcSaturday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
        return utcSundays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
        return utcMondays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
        return utcTuesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
        return utcWednesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
        return utcThursdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
        return utcFridays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
        return utcSaturdays;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      function utcWeekday(i) {
        return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
          date.setUTCHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setUTCDate(date.getUTCDate() + step * 7);
        }, function (start, end) {
          return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
        });
      }

      var utcSunday = utcWeekday(0);
      var utcMonday = utcWeekday(1);
      var utcTuesday = utcWeekday(2);
      var utcWednesday = utcWeekday(3);
      var utcThursday = utcWeekday(4);
      var utcFriday = utcWeekday(5);
      var utcSaturday = utcWeekday(6);
      var utcSundays = utcSunday.range;
      var utcMondays = utcMonday.range;
      var utcTuesdays = utcTuesday.range;
      var utcWednesdays = utcWednesday.range;
      var utcThursdays = utcThursday.range;
      var utcFridays = utcFriday.range;
      var utcSaturdays = utcSaturday.range;
      /***/
    },

    /***/
    "Kcim": function Kcim(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "point", function () {
        return _point;
      });
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../math.js */
      "CYYh");
      /* harmony import */


      var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./cardinal.js */
      "d5JU");

      function _point(that, x, y) {
        var x1 = that._x1,
            y1 = that._y1,
            x2 = that._x2,
            y2 = that._y2;

        if (that._l01_a > _math_js__WEBPACK_IMPORTED_MODULE_0__["epsilon"]) {
          var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
              n = 3 * that._l01_a * (that._l01_a + that._l12_a);
          x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
          y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
        }

        if (that._l23_a > _math_js__WEBPACK_IMPORTED_MODULE_0__["epsilon"]) {
          var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
              m = 3 * that._l23_a * (that._l23_a + that._l12_a);
          x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
          y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;
        }

        that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
      }

      function CatmullRom(context, alpha) {
        this._context = context;
        this._alpha = alpha;
      }

      CatmullRom.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
          this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 2:
              this._context.lineTo(this._x2, this._y2);

              break;

            case 3:
              this.point(this._x2, this._y2);
              break;
          }

          if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          if (this._point) {
            var x23 = this._x2 - x,
                y23 = this._y2 - y;
            this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
          }

          switch (this._point) {
            case 0:
              this._point = 1;
              this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
              break;

            case 1:
              this._point = 2;
              break;

            case 2:
              this._point = 3;
            // proceed

            default:
              _point(this, x, y);

              break;
          }

          this._l01_a = this._l12_a, this._l12_a = this._l23_a;
          this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
          this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
          this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(alpha) {
        function catmullRom(context) {
          return alpha ? new CatmullRom(context, alpha) : new _cardinal_js__WEBPACK_IMPORTED_MODULE_1__["Cardinal"](context, 0);
        }

        catmullRom.alpha = function (alpha) {
          return custom(+alpha);
        };

        return catmullRom;
      }(0.5);
      /***/

    },

    /***/
    "Ki0a": function Ki0a(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony default export */


      __webpack_exports__["default"] = function (f) {
        var delta = f;
        var compare = f;

        if (f.length === 1) {
          delta = function delta(d, x) {
            return f(d) - x;
          };

          compare = ascendingComparator(f);
        }

        function left(a, x, lo, hi) {
          if (lo == null) lo = 0;
          if (hi == null) hi = a.length;

          while (lo < hi) {
            var mid = lo + hi >>> 1;
            if (compare(a[mid], x) < 0) lo = mid + 1;else hi = mid;
          }

          return lo;
        }

        function right(a, x, lo, hi) {
          if (lo == null) lo = 0;
          if (hi == null) hi = a.length;

          while (lo < hi) {
            var mid = lo + hi >>> 1;
            if (compare(a[mid], x) > 0) hi = mid;else lo = mid + 1;
          }

          return lo;
        }

        function center(a, x, lo, hi) {
          if (lo == null) lo = 0;
          if (hi == null) hi = a.length;
          var i = left(a, x, lo, hi - 1);
          return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
        }

        return {
          left: left,
          center: center,
          right: right
        };
      };

      function ascendingComparator(f) {
        return function (d, x) {
          return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f(d), x);
        };
      }
      /***/

    },

    /***/
    "LDjW": function LDjW(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "minutes", function () {
        return minutes;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var minute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
      }, function (date) {
        return date.getMinutes();
      });
      /* harmony default export */

      __webpack_exports__["default"] = minute;
      var minutes = minute.range;
      /***/
    },

    /***/
    "LOX7": function LOX7(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "expIn", function () {
        return expIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "expOut", function () {
        return expOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "expInOut", function () {
        return expInOut;
      });
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./math.js */
      "6ZHU");

      function expIn(t) {
        return Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(1 - +t);
      }

      function expOut(t) {
        return 1 - Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t);
      }

      function expInOut(t) {
        return ((t *= 2) <= 1 ? Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(1 - t) : 2 - Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t - 1)) / 2;
      }
      /***/

    },

    /***/
    "LXyZ": function LXyZ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return reverse;
      });

      function reverse(values) {
        if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
        return Array.from(values).reverse();
      }
      /***/

    },

    /***/
    "Lnru": function Lnru(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AdvancedLegendComponent", function () {
        return AdvancedLegendComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AdvancedPieChartComponent", function () {
        return AdvancedPieChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AlignmentTypes", function () {
        return AlignmentTypes;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartComponent", function () {
        return AreaChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartModule", function () {
        return AreaChartModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartNormalizedComponent", function () {
        return AreaChartNormalizedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartStackedComponent", function () {
        return AreaChartStackedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaComponent", function () {
        return AreaComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaSeriesComponent", function () {
        return AreaSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AxesModule", function () {
        return AxesModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AxisLabelComponent", function () {
        return AxisLabelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarChartModule", function () {
        return BarChartModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarComponent", function () {
        return BarComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontal2DComponent", function () {
        return BarHorizontal2DComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontalComponent", function () {
        return BarHorizontalComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontalNormalizedComponent", function () {
        return BarHorizontalNormalizedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontalStackedComponent", function () {
        return BarHorizontalStackedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarLabelComponent", function () {
        return BarLabelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVertical2DComponent", function () {
        return BarVertical2DComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVerticalComponent", function () {
        return BarVerticalComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVerticalNormalizedComponent", function () {
        return BarVerticalNormalizedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVerticalStackedComponent", function () {
        return BarVerticalStackedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BaseChartComponent", function () {
        return BaseChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BubbleChartComponent", function () {
        return BubbleChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BubbleChartModule", function () {
        return BubbleChartModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BubbleSeriesComponent", function () {
        return BubbleSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CardComponent", function () {
        return CardComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CardSeriesComponent", function () {
        return CardSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ChartCommonModule", function () {
        return ChartCommonModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ChartComponent", function () {
        return ChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CircleComponent", function () {
        return CircleComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CircleSeriesComponent", function () {
        return CircleSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ColorHelper", function () {
        return ColorHelper;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CountUpDirective", function () {
        return CountUpDirective;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "D0Types", function () {
        return D0Types;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeArcComponent", function () {
        return GaugeArcComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeAxisComponent", function () {
        return GaugeAxisComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeComponent", function () {
        return GaugeComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeModule", function () {
        return GaugeModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GridPanelComponent", function () {
        return GridPanelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GridPanelSeriesComponent", function () {
        return GridPanelSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatCellSeriesComponent", function () {
        return HeatCellSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatMapCellComponent", function () {
        return HeatMapCellComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatMapComponent", function () {
        return HeatMapComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatMapModule", function () {
        return HeatMapModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LegendComponent", function () {
        return LegendComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LegendEntryComponent", function () {
        return LegendEntryComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineChartComponent", function () {
        return LineChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineChartModule", function () {
        return LineChartModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineComponent", function () {
        return LineComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineSeriesComponent", function () {
        return LineSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LinearGaugeComponent", function () {
        return LinearGaugeComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "NgxChartsModule", function () {
        return NgxChartsModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "NumberCardComponent", function () {
        return NumberCardComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "NumberCardModule", function () {
        return NumberCardModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieArcComponent", function () {
        return PieArcComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieChartComponent", function () {
        return PieChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieChartModule", function () {
        return PieChartModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieGridComponent", function () {
        return PieGridComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieGridSeriesComponent", function () {
        return PieGridSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieLabelComponent", function () {
        return PieLabelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieSeriesComponent", function () {
        return PieSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PolarChartComponent", function () {
        return PolarChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PolarChartModule", function () {
        return PolarChartModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PolarSeriesComponent", function () {
        return PolarSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ScaleLegendComponent", function () {
        return ScaleLegendComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SeriesHorizontal", function () {
        return SeriesHorizontal;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SeriesVerticalComponent", function () {
        return SeriesVerticalComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ShowTypes", function () {
        return ShowTypes;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "StyleTypes", function () {
        return StyleTypes;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SvgLinearGradientComponent", function () {
        return SvgLinearGradientComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SvgRadialGradientComponent", function () {
        return SvgRadialGradientComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Timeline", function () {
        return Timeline;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipArea", function () {
        return TooltipArea;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipContentComponent", function () {
        return TooltipContentComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipDirective", function () {
        return TooltipDirective;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipModule", function () {
        return TooltipModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipService", function () {
        return TooltipService;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapCellComponent", function () {
        return TreeMapCellComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapCellSeriesComponent", function () {
        return TreeMapCellSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapComponent", function () {
        return TreeMapComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapModule", function () {
        return TreeMapModule;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "VisibilityObserver", function () {
        return VisibilityObserver;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "XAxisComponent", function () {
        return XAxisComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "XAxisTicksComponent", function () {
        return XAxisTicksComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "YAxisComponent", function () {
        return YAxisComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "YAxisTicksComponent", function () {
        return YAxisTicksComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "calculateViewDimensions", function () {
        return calculateViewDimensions;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "colorSets", function () {
        return colorSets;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "count", function () {
        return count;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "decimalChecker", function () {
        return decimalChecker;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "escapeLabel", function () {
        return escapeLabel;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "formatLabel", function () {
        return formatLabel;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "getDomain", function () {
        return getDomain;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "getScale", function () {
        return getScale;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "getScaleType", function () {
        return getScaleType;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "getUniqueXDomainValues", function () {
        return getUniqueXDomainValues;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "gridLayout", function () {
        return gridLayout;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "gridSize", function () {
        return gridSize;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hexToRgb", function () {
        return hexToRgb;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "id", function () {
        return id;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "invertColor", function () {
        return invertColor;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "reduceTicks", function () {
        return reduceTicks;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "shadeRGBColor", function () {
        return shadeRGBColor;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sortByDomain", function () {
        return sortByDomain;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sortByTime", function () {
        return sortByTime;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sortLinear", function () {
        return sortLinear;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "throttle", function () {
        return throttle;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "throttleable", function () {
        return throttleable;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tickFormat", function () {
        return tickFormat;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "trimLabel", function () {
        return trimLabel;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ɵa", function () {
        return InjectionRegisteryService;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ɵb", function () {
        return InjectionService;
      });
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "8Y7J");
      /* harmony import */


      var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/common */
      "SVse");
      /* harmony import */


      var _angular_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/animations */
      "GS7A");
      /* harmony import */


      var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/cdk/portal */
      "1z/I");
      /* harmony import */


      var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! tslib */
      "mrSG");
      /* harmony import */


      var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! rxjs */
      "qCKp");
      /* harmony import */


      var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! rxjs/operators */
      "kU1M");
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var d3_brush__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! d3-brush */
      "X486");
      /* harmony import */


      var d3_scale__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! d3-scale */
      "ziQ1");
      /* harmony import */


      var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! @angular/platform-browser */
      "cUpR");
      /* harmony import */


      var d3_shape__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! d3-shape */
      "8d86");
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var d3_format__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! d3-format */
      "rWgG");
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var d3_hierarchy__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! d3-hierarchy */
      "yUfG");
      /* harmony import */


      var d3_time_format__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! d3-time-format */
      "cOGN");

      var _c0 = ["caretElm"];

      function TooltipContentComponent_span_4_ng_template_1_Template(rf, ctx) {}

      var _c1 = function _c1(a0) {
        return {
          model: a0
        };
      };

      function TooltipContentComponent_span_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TooltipContentComponent_span_4_ng_template_1_Template, 0, 0, "ng-template", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c1, ctx_r1.context));
        }
      }

      function TooltipContentComponent_span_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "span", 6);
        }

        if (rf & 2) {
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx_r2.title, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
        }
      }

      function ChartComponent_ngx_charts_scale_legend_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ngx-charts-scale-legend", 4);
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("horizontal", ctx_r0.legendOptions && ctx_r0.legendOptions.position === "below")("valueRange", ctx_r0.legendOptions.domain)("colors", ctx_r0.legendOptions.colors)("height", ctx_r0.view[1])("width", ctx_r0.legendWidth);
        }
      }

      function ChartComponent_ngx_charts_legend_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-legend", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("labelClick", function ChartComponent_ngx_charts_legend_4_Template_ngx_charts_legend_labelClick_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.legendLabelClick.emit($event);
          })("labelActivate", function ChartComponent_ngx_charts_legend_4_Template_ngx_charts_legend_labelActivate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.legendLabelActivate.emit($event);
          })("labelDeactivate", function ChartComponent_ngx_charts_legend_4_Template_ngx_charts_legend_labelDeactivate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.legendLabelDeactivate.emit($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("horizontal", ctx_r1.legendOptions && ctx_r1.legendOptions.position === "below")("data", ctx_r1.legendOptions.domain)("title", ctx_r1.legendOptions.title)("colors", ctx_r1.legendOptions.colors)("height", ctx_r1.view[1])("width", ctx_r1.legendWidth)("activeEntries", ctx_r1.activeEntries);
        }
      }

      var _c2 = ["*"];
      var _c3 = ["ngx-charts-axis-label", ""];
      var _c4 = ["ticksel"];
      var _c5 = ["ngx-charts-x-axis-ticks", ""];

      function XAxisTicksComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "title");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "text", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r3 = ctx.$implicit;

          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r1.tickTransform(tick_r3));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.tickFormat(tick_r3));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("font-size", "12px");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("text-anchor", ctx_r1.textAnchor)("transform", ctx_r1.textTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.tickTrim(ctx_r1.tickFormat(tick_r3)), " ");
        }
      }

      function XAxisTicksComponent__svg_g_3__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "line", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r5.gridLineTransform());

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("y1", -ctx_r5.gridLineHeight);
        }
      }

      function XAxisTicksComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, XAxisTicksComponent__svg_g_3__svg_g_1_Template, 2, 2, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r4 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.tickTransform(tick_r4));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.showGridLines);
        }
      }

      var _c6 = ["ngx-charts-x-axis", ""];

      function XAxisComponent__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function XAxisComponent__svg_g_1_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.emitTicksHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("trimTicks", ctx_r0.trimTicks)("rotateTicks", ctx_r0.rotateTicks)("maxTickLength", ctx_r0.maxTickLength)("tickFormatting", ctx_r0.tickFormatting)("tickArguments", ctx_r0.tickArguments)("tickStroke", ctx_r0.tickStroke)("scale", ctx_r0.xScale)("orient", ctx_r0.xOrient)("showGridLines", ctx_r0.showGridLines)("gridLineHeight", ctx_r0.dims.height)("width", ctx_r0.dims.width)("tickValues", ctx_r0.ticks);
        }
      }

      function XAxisComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 3);
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("label", ctx_r1.labelText)("offset", ctx_r1.labelOffset)("orient", "bottom")("height", ctx_r1.dims.height)("width", ctx_r1.dims.width);
        }
      }

      var _c7 = ["ngx-charts-y-axis-ticks", ""];

      function YAxisTicksComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "title");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "text", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r5 = ctx.$implicit;

          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r1.transform(tick_r5));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.tickFormat(tick_r5));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("font-size", "12px");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("dy", ctx_r1.dy)("x", ctx_r1.x1)("y", ctx_r1.y1)("text-anchor", ctx_r1.textAnchor);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.tickTrim(ctx_r1.tickFormat(tick_r5)), " ");
        }
      }

      function YAxisTicksComponent__svg_path_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "path", 6);
        }

        if (rf & 2) {
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", ctx_r2.referenceAreaPath)("transform", ctx_r2.gridLineTransform());
        }
      }

      function YAxisTicksComponent__svg_g_4__svg_g_1__svg_line_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "line", 9);
        }

        if (rf & 2) {
          var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x2", ctx_r8.gridLineWidth);
        }
      }

      function YAxisTicksComponent__svg_g_4__svg_g_1__svg_line_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "line", 9);
        }

        if (rf & 2) {
          var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x2", -ctx_r9.gridLineWidth);
        }
      }

      function YAxisTicksComponent__svg_g_4__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, YAxisTicksComponent__svg_g_4__svg_g_1__svg_line_1_Template, 1, 1, "line", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, YAxisTicksComponent__svg_g_4__svg_g_1__svg_line_2_Template, 1, 1, "line", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r7.gridLineTransform());

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.orient === "left");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.orient === "right");
        }
      }

      function YAxisTicksComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, YAxisTicksComponent__svg_g_4__svg_g_1_Template, 3, 3, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r6 = ctx.$implicit;

          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r3.transform(tick_r6));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.showGridLines);
        }
      }

      function YAxisTicksComponent__svg_g_5__svg_g_1__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "title");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "text", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var refLine_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;

          var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r12.tickTrim(ctx_r12.tickFormat(refLine_r10.value)));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("dy", ctx_r12.dy)("y", -6)("x", ctx_r12.gridLineWidth)("text-anchor", ctx_r12.textAnchor);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", refLine_r10.name, " ");
        }
      }

      function YAxisTicksComponent__svg_g_5__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "line", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, YAxisTicksComponent__svg_g_5__svg_g_1__svg_g_2_Template, 5, 6, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var refLine_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r11.transform(refLine_r10.value));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x2", ctx_r11.gridLineWidth)("transform", ctx_r11.gridLineTransform());

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r11.showRefLabels);
        }
      }

      function YAxisTicksComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, YAxisTicksComponent__svg_g_5__svg_g_1_Template, 3, 4, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r4.showRefLines);
        }
      }

      var _c8 = ["ngx-charts-y-axis", ""];

      function YAxisComponent__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function YAxisComponent__svg_g_1_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.emitTicksWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("trimTicks", ctx_r0.trimTicks)("maxTickLength", ctx_r0.maxTickLength)("tickFormatting", ctx_r0.tickFormatting)("tickArguments", ctx_r0.tickArguments)("tickValues", ctx_r0.ticks)("tickStroke", ctx_r0.tickStroke)("scale", ctx_r0.yScale)("orient", ctx_r0.yOrient)("showGridLines", ctx_r0.showGridLines)("gridLineWidth", ctx_r0.dims.width)("referenceLines", ctx_r0.referenceLines)("showRefLines", ctx_r0.showRefLines)("showRefLabels", ctx_r0.showRefLabels)("height", ctx_r0.dims.height);
        }
      }

      function YAxisComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 3);
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("label", ctx_r1.labelText)("offset", ctx_r1.labelOffset)("orient", ctx_r1.yOrient)("height", ctx_r1.dims.height)("width", ctx_r1.dims.width);
        }
      }

      var _c9 = ["ngx-charts-circle-series", ""];

      function CircleSeriesComponent__svg_g_0__svg_rect_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "rect", 4);
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", ctx_r1.circle.cx - ctx_r1.circle.radius)("y", ctx_r1.circle.cy)("width", ctx_r1.circle.radius * 2)("height", ctx_r1.circle.height)("fill", ctx_r1.gradientFill);
        }
      }

      var _c10 = function _c10(a0) {
        return {
          name: a0
        };
      };

      function CircleSeriesComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "g", 1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CircleSeriesComponent__svg_g_0__svg_rect_3_Template, 1, 6, "rect", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function CircleSeriesComponent__svg_g_0_Template__svg_g_select_4_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.onClick(ctx_r2.circle.data);
          })("activate", function CircleSeriesComponent__svg_g_0_Template__svg_g_activate_4_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.activateCircle();
          })("deactivate", function CircleSeriesComponent__svg_g_0_Template__svg_g_deactivate_4_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.deactivateCircle();
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("name", ctx_r0.gradientId)("stops", ctx_r0.circle.gradientStops);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.barVisible && ctx_r0.type === "standard");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx_r0.isActive(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](18, _c10, ctx_r0.circle.seriesName)));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("cx", ctx_r0.circle.cx)("cy", ctx_r0.circle.cy)("r", ctx_r0.circle.radius)("fill", ctx_r0.circle.color)("pointerEvents", ctx_r0.circle.value === 0 ? "none" : "all")("data", ctx_r0.circle.value)("classNames", ctx_r0.circle.classNames)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : ctx_r0.getTooltipText(ctx_r0.circle))("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", ctx_r0.circle.data);
        }
      }

      var _c11 = ["ngx-charts-circle", ""];
      var _c12 = ["ngx-charts-grid-panel", ""];
      var _c13 = ["ngx-charts-grid-panel-series", ""];

      function GridPanelSeriesComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 1);
        }

        if (rf & 2) {
          var gridPanel_r1 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("grid-panel", true)("odd", gridPanel_r1["class"] === "odd")("even", gridPanel_r1["class"] === "even");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("height", gridPanel_r1.height)("width", gridPanel_r1.width)("x", gridPanel_r1.x)("y", gridPanel_r1.y);
        }
      }

      var _c14 = ["ngx-charts-svg-linear-gradient", ""];

      function SvgLinearGradientComponent__svg_stop_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "stop");
        }

        if (rf & 2) {
          var stop_r1 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("stop-color", stop_r1.color)("stop-opacity", stop_r1.opacity);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("offset", stop_r1.offset + "%");
        }
      }

      var _c15 = ["ngx-charts-svg-radial-gradient", ""];

      function SvgRadialGradientComponent__svg_stop_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "stop");
        }

        if (rf & 2) {
          var stop_r1 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("stop-color", stop_r1.color)("stop-opacity", stop_r1.opacity);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("offset", stop_r1.offset + "%");
        }
      }

      var _c16 = ["ngx-charts-area", ""];

      function AreaComponent__svg_defs_0_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "defs");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("name", ctx_r0.gradientId)("stops", ctx_r0.gradientStops);
        }
      }

      var _c17 = ["ngx-charts-count-up", ""];
      var _c18 = ["tooltipAnchor"];
      var _c19 = ["ngx-charts-tooltip-area", ""];

      function TooltipArea__svg_ng_template_2__xhtml_div_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "span", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tooltipItem_r5 = ctx.$implicit;

          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("background-color", tooltipItem_r5.color);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r4.getToolTipText(tooltipItem_r5), " ");
        }
      }

      function TooltipArea__svg_ng_template_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TooltipArea__svg_ng_template_2__xhtml_div_1_Template, 3, 3, "div", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var model_r3 = ctx.model;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", model_r3);
        }
      }

      var _c20 = ["ngx-charts-timeline", ""];

      function LegendComponent_header_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "header", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.title);
        }
      }

      function LegendComponent_li_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ngx-charts-legend-entry", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function LegendComponent_li_4_Template_ngx_charts_legend_entry_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.labelClick.emit($event);
          })("activate", function LegendComponent_li_4_Template_ngx_charts_legend_entry_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.activate($event);
          })("deactivate", function LegendComponent_li_4_Template_ngx_charts_legend_entry_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r6.deactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var entry_r2 = ctx.$implicit;

          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("label", entry_r2.label)("formattedLabel", entry_r2.formattedLabel)("color", entry_r2.color)("isActive", ctx_r1.isActive(entry_r2));
        }
      }

      function AdvancedLegendComponent_div_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 7);
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("countTo", ctx_r0.roundedTotal)("valueFormatting", ctx_r0.valueFormatting);
        }
      }

      function AdvancedLegendComponent_div_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.valueFormatting ? ctx_r1.valueFormatting(ctx_r1.roundedTotal) : ctx_r1.defaultValueFormatting(ctx_r1.roundedTotal), " ");
        }
      }

      function AdvancedLegendComponent_div_7_div_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 16);
        }

        if (rf & 2) {
          var legendItem_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("countTo", legendItem_r3._value)("valueFormatting", ctx_r4.valueFormatting);
        }
      }

      function AdvancedLegendComponent_div_7_div_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var legendItem_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r5.valueFormatting ? ctx_r5.valueFormatting(legendItem_r3.value) : ctx_r5.defaultValueFormatting(legendItem_r3.value), " ");
        }
      }

      function AdvancedLegendComponent_div_7_div_6_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 18);
        }

        if (rf & 2) {
          var legendItem_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("countTo", legendItem_r3.percentage)("countSuffix", "%");
        }
      }

      function AdvancedLegendComponent_div_7_div_7_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 19);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var legendItem_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", legendItem_r3.percentage.toLocaleString(), "%");
        }
      }

      function AdvancedLegendComponent_div_7_Template(rf, ctx) {
        if (rf & 1) {
          var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function AdvancedLegendComponent_div_7_Template_div_mouseenter_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var legendItem_r3 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.activate.emit(legendItem_r3.data);
          })("mouseleave", function AdvancedLegendComponent_div_7_Template_div_mouseleave_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var legendItem_r3 = ctx.$implicit;

            var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r14.deactivate.emit(legendItem_r3.data);
          })("click", function AdvancedLegendComponent_div_7_Template_div_click_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var legendItem_r3 = ctx.$implicit;

            var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r15.select.emit(legendItem_r3.data);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, AdvancedLegendComponent_div_7_div_2_Template, 1, 2, "div", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, AdvancedLegendComponent_div_7_div_3_Template, 2, 1, "div", 12);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, AdvancedLegendComponent_div_7_div_6_Template, 1, 2, "div", 14);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, AdvancedLegendComponent_div_7_div_7_Template, 2, 1, "div", 15);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var legendItem_r3 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("border-left-color", legendItem_r3.color);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r2.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](legendItem_r3.displayLabel);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r2.animations);
        }
      }

      var _c21 = ["tooltipTemplate"];
      var _c22 = ["seriesTooltipTemplate"];

      function AreaChartComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function AreaChartComponent__svg_g_5_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function AreaChartComponent__svg_g_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function AreaChartComponent__svg_g_6_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);

            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r7.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function AreaChartComponent__svg_g_8_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r9 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("baseValue", ctx_r2.baseValue)("colors", ctx_r2.colors)("data", series_r9)("activeEntries", ctx_r2.activeEntries)("scaleType", ctx_r2.scaleType)("gradient", ctx_r2.gradient)("curve", ctx_r2.curve)("animations", ctx_r2.animations);
        }
      }

      function AreaChartComponent__svg_g_9__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function AreaChartComponent__svg_g_9__svg_g_2_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var series_r11 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r12.onClick($event, series_r11);
          })("activate", function AreaChartComponent__svg_g_9__svg_g_2_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r14.onActivate($event);
          })("deactivate", function AreaChartComponent__svg_g_9__svg_g_2_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r15.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r11 = ctx.$implicit;

          var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r10.xScale)("yScale", ctx_r10.yScale)("colors", ctx_r10.colors)("activeEntries", ctx_r10.activeEntries)("data", series_r11)("scaleType", ctx_r10.scaleType)("visibleValue", ctx_r10.hoveredVertical)("tooltipDisabled", ctx_r10.tooltipDisabled)("tooltipTemplate", ctx_r10.tooltipTemplate);
        }
      }

      function AreaChartComponent__svg_g_9_Template(rf, ctx) {
        if (rf & 1) {
          var _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function AreaChartComponent__svg_g_9_Template__svg_g_mouseleave_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r16.hideCircles();
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hover", function AreaChartComponent__svg_g_9_Template__svg_g_hover_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r18.updateHoveredVertical($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, AreaChartComponent__svg_g_9__svg_g_2_Template, 2, 9, "g", 12);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("dims", ctx_r3.dims)("xSet", ctx_r3.xSet)("xScale", ctx_r3.xScale)("yScale", ctx_r3.yScale)("results", ctx_r3.results)("colors", ctx_r3.colors)("tooltipDisabled", ctx_r3.tooltipDisabled)("tooltipTemplate", ctx_r3.seriesTooltipTemplate);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.results);
        }
      }

      function AreaChartComponent__svg_g_10__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 15);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r20 = ctx.$implicit;

          var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r19.timelineXScale)("yScale", ctx_r19.timelineYScale)("baseValue", ctx_r19.baseValue)("colors", ctx_r19.colors)("data", series_r20)("scaleType", ctx_r19.scaleType)("gradient", ctx_r19.gradient)("curve", ctx_r19.curve)("animations", ctx_r19.animations);
        }
      }

      var _c23 = function _c23(a0, a1) {
        return [a0, a1];
      };

      function AreaChartComponent__svg_g_10_Template(rf, ctx) {
        if (rf & 1) {
          var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 14);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onDomainChange", function AreaChartComponent__svg_g_10_Template__svg_g_onDomainChange_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);

            var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r21.updateDomain($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, AreaChartComponent__svg_g_10__svg_g_1_Template, 2, 9, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("results", ctx_r4.results)("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx_r4.timelineWidth, ctx_r4.height))("height", ctx_r4.timelineHeight)("scheme", ctx_r4.scheme)("customColors", ctx_r4.customColors)("legend", ctx_r4.legend)("scaleType", ctx_r4.scaleType);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r4.timelineTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.results)("ngForTrackBy", ctx_r4.trackBy);
        }
      }

      function AreaChartNormalizedComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function AreaChartNormalizedComponent__svg_g_5_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function AreaChartNormalizedComponent__svg_g_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function AreaChartNormalizedComponent__svg_g_6_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);

            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r7.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function AreaChartNormalizedComponent__svg_g_8_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r9 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("colors", ctx_r2.colors)("data", series_r9)("scaleType", ctx_r2.scaleType)("activeEntries", ctx_r2.activeEntries)("gradient", ctx_r2.gradient)("curve", ctx_r2.curve)("animations", ctx_r2.animations);
        }
      }

      function AreaChartNormalizedComponent__svg_g_9__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function AreaChartNormalizedComponent__svg_g_9__svg_g_2_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var series_r11 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r12.onClick($event, series_r11);
          })("activate", function AreaChartNormalizedComponent__svg_g_9__svg_g_2_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r14.onActivate($event);
          })("deactivate", function AreaChartNormalizedComponent__svg_g_9__svg_g_2_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r15.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r11 = ctx.$implicit;

          var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r10.xScale)("yScale", ctx_r10.yScale)("colors", ctx_r10.colors)("activeEntries", ctx_r10.activeEntries)("data", series_r11)("scaleType", ctx_r10.scaleType)("visibleValue", ctx_r10.hoveredVertical)("tooltipDisabled", ctx_r10.tooltipDisabled)("tooltipTemplate", ctx_r10.tooltipTemplate);
        }
      }

      function AreaChartNormalizedComponent__svg_g_9_Template(rf, ctx) {
        if (rf & 1) {
          var _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function AreaChartNormalizedComponent__svg_g_9_Template__svg_g_mouseleave_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r16.hideCircles();
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hover", function AreaChartNormalizedComponent__svg_g_9_Template__svg_g_hover_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r18.updateHoveredVertical($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, AreaChartNormalizedComponent__svg_g_9__svg_g_2_Template, 2, 9, "g", 12);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("dims", ctx_r3.dims)("xSet", ctx_r3.xSet)("xScale", ctx_r3.xScale)("yScale", ctx_r3.yScale)("results", ctx_r3.results)("colors", ctx_r3.colors)("showPercentage", true)("tooltipDisabled", ctx_r3.tooltipDisabled)("tooltipTemplate", ctx_r3.seriesTooltipTemplate);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.results);
        }
      }

      function AreaChartNormalizedComponent__svg_g_10__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 15);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r20 = ctx.$implicit;

          var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r19.timelineXScale)("yScale", ctx_r19.timelineYScale)("colors", ctx_r19.colors)("data", series_r20)("scaleType", ctx_r19.scaleType)("gradient", ctx_r19.gradient)("curve", ctx_r19.curve)("animations", ctx_r19.animations);
        }
      }

      function AreaChartNormalizedComponent__svg_g_10_Template(rf, ctx) {
        if (rf & 1) {
          var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 14);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onDomainChange", function AreaChartNormalizedComponent__svg_g_10_Template__svg_g_onDomainChange_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);

            var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r21.updateDomain($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, AreaChartNormalizedComponent__svg_g_10__svg_g_1_Template, 2, 8, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("results", ctx_r4.results)("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx_r4.timelineWidth, ctx_r4.height))("height", ctx_r4.timelineHeight)("scheme", ctx_r4.scheme)("customColors", ctx_r4.customColors)("legend", ctx_r4.legend)("scaleType", ctx_r4.scaleType);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r4.timelineTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.results)("ngForTrackBy", ctx_r4.trackBy);
        }
      }

      var _c24 = ".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}";

      function AreaChartStackedComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function AreaChartStackedComponent__svg_g_5_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function AreaChartStackedComponent__svg_g_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function AreaChartStackedComponent__svg_g_6_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);

            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r7.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function AreaChartStackedComponent__svg_g_8_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r9 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("colors", ctx_r2.colors)("data", series_r9)("scaleType", ctx_r2.scaleType)("gradient", ctx_r2.gradient)("activeEntries", ctx_r2.activeEntries)("curve", ctx_r2.curve)("animations", ctx_r2.animations);
        }
      }

      function AreaChartStackedComponent__svg_g_9__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 12);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function AreaChartStackedComponent__svg_g_9__svg_g_2_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var series_r11 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r12.onClick($event, series_r11);
          })("activate", function AreaChartStackedComponent__svg_g_9__svg_g_2_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r14.onActivate($event);
          })("deactivate", function AreaChartStackedComponent__svg_g_9__svg_g_2_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r15.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r11 = ctx.$implicit;

          var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r10.xScale)("yScale", ctx_r10.yScale)("colors", ctx_r10.colors)("activeEntries", ctx_r10.activeEntries)("data", series_r11)("scaleType", ctx_r10.scaleType)("visibleValue", ctx_r10.hoveredVertical)("tooltipDisabled", ctx_r10.tooltipDisabled)("tooltipTemplate", ctx_r10.tooltipTemplate);
        }
      }

      function AreaChartStackedComponent__svg_g_9_Template(rf, ctx) {
        if (rf & 1) {
          var _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function AreaChartStackedComponent__svg_g_9_Template__svg_g_mouseleave_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r16.hideCircles();
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hover", function AreaChartStackedComponent__svg_g_9_Template__svg_g_hover_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r18.updateHoveredVertical($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, AreaChartStackedComponent__svg_g_9__svg_g_2_Template, 2, 9, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("dims", ctx_r3.dims)("xSet", ctx_r3.xSet)("xScale", ctx_r3.xScale)("yScale", ctx_r3.yScale)("results", ctx_r3.results)("colors", ctx_r3.colors)("tooltipDisabled", ctx_r3.tooltipDisabled)("tooltipTemplate", ctx_r3.seriesTooltipTemplate);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.results)("ngForTrackBy", ctx_r3.trackBy);
        }
      }

      function AreaChartStackedComponent__svg_g_10__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 14);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r20 = ctx.$implicit;

          var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r19.timelineXScale)("yScale", ctx_r19.timelineYScale)("colors", ctx_r19.colors)("data", series_r20)("scaleType", ctx_r19.scaleType)("gradient", ctx_r19.gradient)("curve", ctx_r19.curve)("animations", ctx_r19.animations);
        }
      }

      function AreaChartStackedComponent__svg_g_10_Template(rf, ctx) {
        if (rf & 1) {
          var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onDomainChange", function AreaChartStackedComponent__svg_g_10_Template__svg_g_onDomainChange_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);

            var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r21.updateDomain($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, AreaChartStackedComponent__svg_g_10__svg_g_1_Template, 2, 8, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("results", ctx_r4.results)("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx_r4.timelineWidth, ctx_r4.height))("height", ctx_r4.timelineHeight)("scheme", ctx_r4.scheme)("customColors", ctx_r4.customColors)("legend", ctx_r4.legend)("scaleType", ctx_r4.scaleType);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r4.timelineTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.results)("ngForTrackBy", ctx_r4.trackBy);
        }
      }

      var _c25 = ["ngx-charts-area-series", ""];
      var _c26 = ["ngx-charts-bar", ""];

      function BarComponent__svg_defs_0_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "defs");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("orientation", ctx_r0.orientation)("name", ctx_r0.gradientId)("stops", ctx_r0.gradientStops);
        }
      }

      function BarHorizontalComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontalComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function BarHorizontalComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontalComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks)("yAxisOffset", ctx_r1.dataLabelMaxWidth.negative);
        }
      }

      function BarHorizontal2DComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontal2DComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.valueScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function BarHorizontal2DComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontal2DComponent__svg_g_4_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.groupScale)("dims", ctx_r1.dims)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks)("yAxisOffset", ctx_r1.dataLabelMaxWidth.negative);
        }
      }

      function BarHorizontal2DComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarHorizontal2DComponent__svg_g_5_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r9.onClick($event, group_r7);
          })("activate", function BarHorizontal2DComponent__svg_g_5_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onActivate($event, group_r7);
          })("deactivate", function BarHorizontal2DComponent__svg_g_5_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.onDeactivate($event, group_r7);
          })("dataLabelWidthChanged", function BarHorizontal2DComponent__svg_g_5_Template__svg_g_dataLabelWidthChanged_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var index_r8 = ctx.index;

            var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r13.onDataLabelMaxWidthChanged($event, index_r8);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var group_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.groupTransform(group_r7));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.valueScale)("activeEntries", ctx_r2.activeEntries)("yScale", ctx_r2.innerScale)("colors", ctx_r2.colors)("series", group_r7.series)("dims", ctx_r2.dims)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate)("seriesName", group_r7.name)("roundEdges", ctx_r2.roundEdges)("animations", ctx_r2.animations)("showDataLabel", ctx_r2.showDataLabel)("dataLabelFormatting", ctx_r2.dataLabelFormatting)("noBarWhenZero", ctx_r2.noBarWhenZero);
        }
      }

      function BarHorizontalNormalizedComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontalNormalizedComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function BarHorizontalNormalizedComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontalNormalizedComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function BarHorizontalNormalizedComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarHorizontalNormalizedComponent__svg_g_4_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var group_r7 = ctx.$implicit;

            var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r8.onClick($event, group_r7);
          })("activate", function BarHorizontalNormalizedComponent__svg_g_4_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var group_r7 = ctx.$implicit;

            var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r10.onActivate($event, group_r7);
          })("deactivate", function BarHorizontalNormalizedComponent__svg_g_4_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var group_r7 = ctx.$implicit;

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onDeactivate($event, group_r7);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var group_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.groupTransform(group_r7));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("activeEntries", ctx_r2.activeEntries)("colors", ctx_r2.colors)("series", group_r7.series)("dims", ctx_r2.dims)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate)("seriesName", group_r7.name)("animations", ctx_r2.animations)("noBarWhenZero", ctx_r2.noBarWhenZero);
        }
      }

      function BarHorizontalStackedComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontalStackedComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function BarHorizontalStackedComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarHorizontalStackedComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks)("yAxisOffset", ctx_r1.dataLabelMaxWidth.negative);
        }
      }

      function BarHorizontalStackedComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarHorizontalStackedComponent__svg_g_4_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r9.onClick($event, group_r7);
          })("activate", function BarHorizontalStackedComponent__svg_g_4_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onActivate($event, group_r7);
          })("deactivate", function BarHorizontalStackedComponent__svg_g_4_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.onDeactivate($event, group_r7);
          })("dataLabelWidthChanged", function BarHorizontalStackedComponent__svg_g_4_Template__svg_g_dataLabelWidthChanged_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var index_r8 = ctx.index;

            var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r13.onDataLabelMaxWidthChanged($event, index_r8);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var group_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.groupTransform(group_r7));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("colors", ctx_r2.colors)("series", group_r7.series)("activeEntries", ctx_r2.activeEntries)("dims", ctx_r2.dims)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate)("seriesName", group_r7.name)("animations", ctx_r2.animations)("showDataLabel", ctx_r2.showDataLabel)("dataLabelFormatting", ctx_r2.dataLabelFormatting)("noBarWhenZero", ctx_r2.noBarWhenZero);
        }
      }

      function BarVerticalComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVerticalComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks)("xAxisOffset", ctx_r0.dataLabelMaxHeight.negative);
        }
      }

      function BarVerticalComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVerticalComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function BarVertical2DComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVertical2DComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.groupScale)("dims", ctx_r0.dims)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks)("xAxisOffset", ctx_r0.dataLabelMaxHeight.negative);
        }
      }

      function BarVertical2DComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVertical2DComponent__svg_g_4_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.valueScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function BarVertical2DComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarVertical2DComponent__svg_g_5_Template__svg_g_select_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r9.onClick($event, group_r7);
          })("activate", function BarVertical2DComponent__svg_g_5_Template__svg_g_activate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onActivate($event, group_r7);
          })("deactivate", function BarVertical2DComponent__svg_g_5_Template__svg_g_deactivate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.onDeactivate($event, group_r7);
          })("dataLabelHeightChanged", function BarVertical2DComponent__svg_g_5_Template__svg_g_dataLabelHeightChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var index_r8 = ctx.index;

            var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r13.onDataLabelMaxHeightChanged($event, index_r8);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var group_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active")("activeEntries", ctx_r2.activeEntries)("xScale", ctx_r2.innerScale)("yScale", ctx_r2.valueScale)("colors", ctx_r2.colors)("series", group_r7.series)("dims", ctx_r2.dims)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate)("showDataLabel", ctx_r2.showDataLabel)("dataLabelFormatting", ctx_r2.dataLabelFormatting)("seriesName", group_r7.name)("roundEdges", ctx_r2.roundEdges)("animations", ctx_r2.animations)("noBarWhenZero", ctx_r2.noBarWhenZero);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.groupTransform(group_r7));
        }
      }

      function BarVerticalNormalizedComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVerticalNormalizedComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function BarVerticalNormalizedComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVerticalNormalizedComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function BarVerticalNormalizedComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarVerticalNormalizedComponent__svg_g_4_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var group_r7 = ctx.$implicit;

            var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r8.onClick($event, group_r7);
          })("activate", function BarVerticalNormalizedComponent__svg_g_4_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var group_r7 = ctx.$implicit;

            var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r10.onActivate($event, group_r7);
          })("deactivate", function BarVerticalNormalizedComponent__svg_g_4_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var group_r7 = ctx.$implicit;

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onDeactivate($event, group_r7);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var group_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.groupTransform(group_r7));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("activeEntries", ctx_r2.activeEntries)("colors", ctx_r2.colors)("series", group_r7.series)("dims", ctx_r2.dims)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate)("seriesName", group_r7.name)("animations", ctx_r2.animations)("noBarWhenZero", ctx_r2.noBarWhenZero);
        }
      }

      function BarVerticalStackedComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVerticalStackedComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks)("xAxisOffset", ctx_r0.dataLabelMaxHeight.negative);
        }
      }

      function BarVerticalStackedComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BarVerticalStackedComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function BarVerticalStackedComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarVerticalStackedComponent__svg_g_4_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r9.onClick($event, group_r7);
          })("activate", function BarVerticalStackedComponent__svg_g_4_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onActivate($event, group_r7);
          })("deactivate", function BarVerticalStackedComponent__svg_g_4_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var group_r7 = ctx.$implicit;

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.onDeactivate($event, group_r7);
          })("dataLabelHeightChanged", function BarVerticalStackedComponent__svg_g_4_Template__svg_g_dataLabelHeightChanged_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var index_r8 = ctx.index;

            var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r13.onDataLabelMaxHeightChanged($event, index_r8);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var group_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.groupTransform(group_r7));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("activeEntries", ctx_r2.activeEntries)("colors", ctx_r2.colors)("series", group_r7.series)("dims", ctx_r2.dims)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate)("showDataLabel", ctx_r2.showDataLabel)("dataLabelFormatting", ctx_r2.dataLabelFormatting)("seriesName", group_r7.name)("animations", ctx_r2.animations)("noBarWhenZero", ctx_r2.noBarWhenZero);
        }
      }

      var _c27 = ["ngx-charts-series-vertical", ""];

      function SeriesVerticalComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function SeriesVerticalComponent__svg_g_0_Template__svg_g_select_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.onClick($event);
          })("activate", function SeriesVerticalComponent__svg_g_0_Template__svg_g_activate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.activate.emit($event);
          })("deactivate", function SeriesVerticalComponent__svg_g_0_Template__svg_g_deactivate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r6.deactivate.emit($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var bar_r2 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active")("@.disabled", !ctx_r0.animations)("width", bar_r2.width)("height", bar_r2.height)("x", bar_r2.x)("y", bar_r2.y)("fill", bar_r2.color)("stops", bar_r2.gradientStops)("data", bar_r2.data)("orientation", "vertical")("roundEdges", bar_r2.roundEdges)("gradient", ctx_r0.gradient)("ariaLabel", bar_r2.ariaLabel)("isActive", ctx_r0.isActive(bar_r2.data))("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", ctx_r0.tooltipPlacement)("tooltipType", ctx_r0.tooltipType)("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : bar_r2.tooltipText)("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", bar_r2.data)("noBarWhenZero", ctx_r0.noBarWhenZero)("animations", ctx_r0.animations);
        }
      }

      function SeriesVerticalComponent__svg_g_1__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function SeriesVerticalComponent__svg_g_1__svg_g_1_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);

            var i_r9 = ctx.index;

            var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r10.dataLabelHeightChanged.emit({
              size: $event,
              index: i_r9
            });
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var b_r8 = ctx.$implicit;

          var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("barX", b_r8.x)("barY", b_r8.y)("barWidth", b_r8.width)("barHeight", b_r8.height)("value", b_r8.total)("valueFormatting", ctx_r7.dataLabelFormatting)("orientation", "vertical");
        }
      }

      function SeriesVerticalComponent__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SeriesVerticalComponent__svg_g_1__svg_g_1_Template, 1, 7, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.barsForDataLabels)("ngForTrackBy", ctx_r1.trackDataLabelBy);
        }
      }

      var _c28 = ["ngx-charts-series-horizontal", ""];

      function SeriesHorizontal__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function SeriesHorizontal__svg_g_0_Template__svg_g_select_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.click($event);
          })("activate", function SeriesHorizontal__svg_g_0_Template__svg_g_activate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.activate.emit($event);
          })("deactivate", function SeriesHorizontal__svg_g_0_Template__svg_g_deactivate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r6.deactivate.emit($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var bar_r2 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active")("width", bar_r2.width)("height", bar_r2.height)("x", bar_r2.x)("y", bar_r2.y)("fill", bar_r2.color)("stops", bar_r2.gradientStops)("data", bar_r2.data)("orientation", "horizontal")("roundEdges", bar_r2.roundEdges)("gradient", ctx_r0.gradient)("isActive", ctx_r0.isActive(bar_r2.data))("ariaLabel", bar_r2.ariaLabel)("animations", ctx_r0.animations)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", ctx_r0.tooltipPlacement)("tooltipType", ctx_r0.tooltipType)("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : bar_r2.tooltipText)("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", bar_r2.data)("noBarWhenZero", ctx_r0.noBarWhenZero);
        }
      }

      function SeriesHorizontal__svg_g_1__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function SeriesHorizontal__svg_g_1__svg_g_1_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);

            var i_r9 = ctx.index;

            var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r10.dataLabelWidthChanged.emit({
              size: $event,
              index: i_r9
            });
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var b_r8 = ctx.$implicit;

          var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("barX", b_r8.x)("barY", b_r8.y)("barWidth", b_r8.width)("barHeight", b_r8.height)("value", b_r8.total)("valueFormatting", ctx_r7.dataLabelFormatting)("orientation", "horizontal");
        }
      }

      function SeriesHorizontal__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SeriesHorizontal__svg_g_1__svg_g_1_Template, 1, 7, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.barsForDataLabels)("ngForTrackBy", ctx_r1.trackDataLabelBy);
        }
      }

      var _c29 = ["ngx-charts-bar-label", ""];

      function BubbleChartComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BubbleChartComponent__svg_g_5_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("showGridLines", ctx_r0.showGridLines)("dims", ctx_r0.dims)("xScale", ctx_r0.xScale)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function BubbleChartComponent__svg_g_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function BubbleChartComponent__svg_g_6_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("showGridLines", ctx_r1.showGridLines)("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function BubbleChartComponent__svg_g_9_Template(rf, ctx) {
        if (rf & 1) {
          var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BubbleChartComponent__svg_g_9_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var series_r7 = ctx.$implicit;

            var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r8.onClick($event, series_r7);
          })("activate", function BubbleChartComponent__svg_g_9_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r10.onActivate($event);
          })("deactivate", function BubbleChartComponent__svg_g_9_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);

            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r11.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r7 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("rScale", ctx_r2.rScale)("xScaleType", ctx_r2.xScaleType)("yScaleType", ctx_r2.yScaleType)("xAxisLabel", ctx_r2.xAxisLabel)("yAxisLabel", ctx_r2.yAxisLabel)("colors", ctx_r2.colors)("data", series_r7)("activeEntries", ctx_r2.activeEntries)("tooltipDisabled", ctx_r2.tooltipDisabled)("tooltipTemplate", ctx_r2.tooltipTemplate);
        }
      }

      var _c30 = ["ngx-charts-bubble-series", ""];

      function BubbleSeriesComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g", 1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BubbleSeriesComponent__svg_g_0_Template__svg_g_select_2_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var circle_r1 = ctx.$implicit;

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.onClick(circle_r1.data);
          })("activate", function BubbleSeriesComponent__svg_g_0_Template__svg_g_activate_2_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var circle_r1 = ctx.$implicit;

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.activateCircle(circle_r1);
          })("deactivate", function BubbleSeriesComponent__svg_g_0_Template__svg_g_deactivate_2_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var circle_r1 = ctx.$implicit;

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.deactivateCircle(circle_r1);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var circle_r1 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", circle_r1.transform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("opacity", circle_r1.opacity);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", circle_r1.isActive);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active")("cx", 0)("cy", 0)("r", circle_r1.radius)("fill", circle_r1.color)("pointerEvents", "all")("data", circle_r1.value)("classNames", circle_r1.classNames)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : ctx_r0.getTooltipText(circle_r1))("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", circle_r1.data);
        }
      }

      var _c31 = ["ngx-charts-heat-map-cell", ""];

      function HeatMapCellComponent__svg_defs_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "defs");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("name", ctx_r0.gradientId)("stops", ctx_r0.gradientStops);
        }
      }

      var _c32 = ["ngx-charts-heat-map-cell-series", ""];

      var _c33 = function _c33(a0, a1, a2) {
        return {
          series: a0,
          name: a1,
          value: a2
        };
      };

      function HeatCellSeriesComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function HeatCellSeriesComponent__svg_g_0_Template__svg_g_select_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var c_r1 = ctx.$implicit;

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.onClick(c_r1.cell);
          })("activate", function HeatCellSeriesComponent__svg_g_0_Template__svg_g_activate_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var c_r1 = ctx.$implicit;

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.activate.emit(c_r1.cell);
          })("deactivate", function HeatCellSeriesComponent__svg_g_0_Template__svg_g_deactivate_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var c_r1 = ctx.$implicit;

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.deactivate.emit(c_r1.cell);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var c_r1 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("x", c_r1.x)("y", c_r1.y)("width", c_r1.width)("height", c_r1.height)("fill", c_r1.fill)("data", c_r1.data)("gradient", ctx_r0.gradient)("animations", ctx_r0.animations)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : ctx_r0.tooltipText(c_r1))("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction3"](14, _c33, c_r1.series, c_r1.label, c_r1.data));
        }
      }

      function HeatMapComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function HeatMapComponent__svg_g_2_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function HeatMapComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function HeatMapComponent__svg_g_3_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks);
        }
      }

      function HeatMapComponent__svg_rect_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "rect");
        }

        if (rf & 2) {
          var rect_r7 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", rect_r7.x)("y", rect_r7.y)("rx", rect_r7.rx)("width", rect_r7.width)("height", rect_r7.height)("fill", rect_r7.fill);
        }
      }

      var _c34 = ["ngx-charts-line", ""];

      function LineChartComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function LineChartComponent__svg_g_5_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.updateXAxisHeight($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r0.xScale)("dims", ctx_r0.dims)("showGridLines", ctx_r0.showGridLines)("showLabel", ctx_r0.showXAxisLabel)("labelText", ctx_r0.xAxisLabel)("trimTicks", ctx_r0.trimXAxisTicks)("rotateTicks", ctx_r0.rotateXAxisTicks)("maxTickLength", ctx_r0.maxXAxisTickLength)("tickFormatting", ctx_r0.xAxisTickFormatting)("ticks", ctx_r0.xAxisTicks);
        }
      }

      function LineChartComponent__svg_g_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function LineChartComponent__svg_g_6_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);

            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r7.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r1.yScale)("dims", ctx_r1.dims)("showGridLines", ctx_r1.showGridLines)("showLabel", ctx_r1.showYAxisLabel)("labelText", ctx_r1.yAxisLabel)("trimTicks", ctx_r1.trimYAxisTicks)("maxTickLength", ctx_r1.maxYAxisTickLength)("tickFormatting", ctx_r1.yAxisTickFormatting)("ticks", ctx_r1.yAxisTicks)("referenceLines", ctx_r1.referenceLines)("showRefLines", ctx_r1.showRefLines)("showRefLabels", ctx_r1.showRefLabels);
        }
      }

      function LineChartComponent__svg_g_8_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r9 = ctx.$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r2.xScale)("yScale", ctx_r2.yScale)("colors", ctx_r2.colors)("data", series_r9)("activeEntries", ctx_r2.activeEntries)("scaleType", ctx_r2.scaleType)("curve", ctx_r2.curve)("rangeFillOpacity", ctx_r2.rangeFillOpacity)("hasRange", ctx_r2.hasRange)("animations", ctx_r2.animations);
        }
      }

      function LineChartComponent__svg_g_9__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function LineChartComponent__svg_g_9__svg_g_2_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r12.onClick($event);
          })("activate", function LineChartComponent__svg_g_9__svg_g_2_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r14.onActivate($event);
          })("deactivate", function LineChartComponent__svg_g_9__svg_g_2_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

            return ctx_r15.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r11 = ctx.$implicit;

          var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r10.xScale)("yScale", ctx_r10.yScale)("colors", ctx_r10.colors)("data", series_r11)("scaleType", ctx_r10.scaleType)("visibleValue", ctx_r10.hoveredVertical)("activeEntries", ctx_r10.activeEntries)("tooltipDisabled", ctx_r10.tooltipDisabled)("tooltipTemplate", ctx_r10.tooltipTemplate);
        }
      }

      function LineChartComponent__svg_g_9_Template(rf, ctx) {
        if (rf & 1) {
          var _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function LineChartComponent__svg_g_9_Template__svg_g_mouseleave_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r16.hideCircles();
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hover", function LineChartComponent__svg_g_9_Template__svg_g_hover_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17);

            var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r18.updateHoveredVertical($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, LineChartComponent__svg_g_9__svg_g_2_Template, 2, 9, "g", 12);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("dims", ctx_r3.dims)("xSet", ctx_r3.xSet)("xScale", ctx_r3.xScale)("yScale", ctx_r3.yScale)("results", ctx_r3.results)("colors", ctx_r3.colors)("tooltipDisabled", ctx_r3.tooltipDisabled)("tooltipTemplate", ctx_r3.seriesTooltipTemplate);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.results);
        }
      }

      function LineChartComponent__svg_g_10__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 15);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r20 = ctx.$implicit;

          var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx_r19.timelineXScale)("yScale", ctx_r19.timelineYScale)("colors", ctx_r19.colors)("data", series_r20)("scaleType", ctx_r19.scaleType)("curve", ctx_r19.curve)("hasRange", ctx_r19.hasRange)("animations", ctx_r19.animations);
        }
      }

      function LineChartComponent__svg_g_10_Template(rf, ctx) {
        if (rf & 1) {
          var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 14);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onDomainChange", function LineChartComponent__svg_g_10_Template__svg_g_onDomainChange_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);

            var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r21.updateDomain($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LineChartComponent__svg_g_10__svg_g_1_Template, 2, 8, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("results", ctx_r4.results)("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx_r4.timelineWidth, ctx_r4.height))("height", ctx_r4.timelineHeight)("scheme", ctx_r4.scheme)("customColors", ctx_r4.customColors)("scaleType", ctx_r4.scaleType)("legend", ctx_r4.legend);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r4.timelineTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.results)("ngForTrackBy", ctx_r4.trackBy);
        }
      }

      var _c35 = ["ngx-charts-line-series", ""];

      function LineSeriesComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 4);
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("name", ctx_r0.gradientId)("stops", ctx_r0.gradientStops);
        }
      }

      function LineSeriesComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 5);
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx_r1.isActive(ctx_r1.data))("inactive", ctx_r1.isInactive(ctx_r1.data));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", ctx_r1.data)("path", ctx_r1.outerPath)("fill", ctx_r1.hasGradient ? ctx_r1.gradientUrl : ctx_r1.colors.getColor(ctx_r1.data.name))("opacity", ctx_r1.rangeFillOpacity)("animations", ctx_r1.animations);
        }
      }

      function PolarChartComponent__svg_g_4__svg_circle_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "circle", 8);
        }

        if (rf & 2) {
          var r_r6 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("r", r_r6);
        }
      }

      function PolarChartComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PolarChartComponent__svg_g_4__svg_circle_1_Template, 1, 1, "circle", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.radiusTicks);
        }
      }

      function PolarChartComponent__svg_g_5__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 10);
        }

        if (rf & 2) {
          var tick_r8 = ctx.$implicit;

          var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", tick_r8)("radius", ctx_r7.outerRadius)("label", tick_r8.label)("max", ctx_r7.outerRadius)("value", ctx_r7.showGridLines ? 1 : ctx_r7.outerRadius)("explodeSlices", true)("animations", ctx_r7.animations)("labelTrim", ctx_r7.labelTrim)("labelTrimSize", ctx_r7.labelTrimSize);
        }
      }

      function PolarChartComponent__svg_g_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PolarChartComponent__svg_g_5__svg_g_1_Template, 1, 9, "g", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.thetaTicks);
        }
      }

      function PolarChartComponent__svg_g_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dimensionsChanged", function PolarChartComponent__svg_g_6_Template__svg_g_dimensionsChanged_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);

            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r9.updateYAxisWidth($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("yScale", ctx_r2.yAxisScale)("dims", ctx_r2.yAxisDims)("showGridLines", ctx_r2.showGridLines)("showLabel", ctx_r2.showYAxisLabel)("labelText", ctx_r2.yAxisLabel)("trimTicks", ctx_r2.trimYAxisTicks)("maxTickLength", ctx_r2.maxYAxisTickLength)("tickFormatting", ctx_r2.yAxisTickFormatting);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.transformYAxis);
        }
      }

      function PolarChartComponent__svg_g_7_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 12);
        }

        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("label", ctx_r3.xAxisLabel)("offset", ctx_r3.labelOffset)("orient", "bottom")("height", ctx_r3.dims.height)("width", ctx_r3.dims.width);
        }
      }

      function PolarChartComponent__svg_g_9_Template(rf, ctx) {
        if (rf & 1) {
          var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function PolarChartComponent__svg_g_9_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.onClick($event);
          })("activate", function PolarChartComponent__svg_g_9_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r14.onActivate($event);
          })("deactivate", function PolarChartComponent__svg_g_9_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);

            var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r15.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r11 = ctx.$implicit;

          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("gradient", ctx_r4.gradient)("xScale", ctx_r4.xScale)("yScale", ctx_r4.yScale)("colors", ctx_r4.colors)("data", series_r11)("activeEntries", ctx_r4.activeEntries)("scaleType", ctx_r4.scaleType)("curve", ctx_r4.curve)("rangeFillOpacity", ctx_r4.rangeFillOpacity)("animations", ctx_r4.animations)("tooltipDisabled", ctx_r4.tooltipDisabled)("tooltipTemplate", ctx_r4.tooltipTemplate);
        }
      }

      var _c36 = ["ngx-charts-polar-series", ""];

      function PolarSeriesComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 4);
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("color", ctx_r0.seriesColor)("name", ctx_r0.gradientId)("startOpacity", 0.25)("endOpacity", 1)("stops", ctx_r0.gradientStops);
        }
      }

      function PolarSeriesComponent__svg_g_4_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function PolarSeriesComponent__svg_g_4_Template__svg_g_select_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var circle_r2 = ctx.$implicit;

            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r3.select.emit(circle_r2.data);
          })("activate", function PolarSeriesComponent__svg_g_4_Template__svg_g_activate_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var circle_r2 = ctx.$implicit;

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.activate.emit({
              name: circle_r2.data.series
            });
          })("deactivate", function PolarSeriesComponent__svg_g_4_Template__svg_g_deactivate_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);

            var circle_r2 = ctx.$implicit;

            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r6.deactivate.emit({
              name: circle_r2.data.series
            });
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var circle_r2 = ctx.$implicit;

          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("opacity", ctx_r1.inactive ? 0.2 : 1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("cx", circle_r2.cx)("cy", circle_r2.cy)("r", ctx_r1.circleRadius)("fill", circle_r2.color)("tooltipDisabled", ctx_r1.tooltipDisabled)("tooltipPlacement", "top")("tooltipTitle", ctx_r1.tooltipTemplate ? undefined : ctx_r1.tooltipText(circle_r2))("tooltipTemplate", ctx_r1.tooltipTemplate)("tooltipContext", circle_r2.data);
        }
      }

      var _c37 = ["ngx-charts-pie-label", ""];
      var _c38 = ["ngx-charts-pie-arc", ""];

      function PieArcComponent__svg_defs_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "defs");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("color", ctx_r0.fill)("name", ctx_r0.radialGradientId)("startOpacity", ctx_r0.startOpacity);
        }
      }

      var _c39 = ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}";

      function PieGridComponent__svg_g_2__svg_text_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "text", 10);
        }

        if (rf & 2) {
          var series_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("countTo", series_r1.percent)("countSuffix", "%");
        }
      }

      function PieGridComponent__svg_g_2__svg_text_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "text", 11);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", series_r1.percent.toLocaleString(), " ");
        }
      }

      function PieGridComponent__svg_g_2__svg_text_6_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "text", 12);
        }

        if (rf & 2) {
          var series_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("countTo", series_r1.total)("countPrefix", ctx_r4.label + ": ");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("y", series_r1.outerRadius);
        }
      }

      function PieGridComponent__svg_g_2__svg_text_7_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "text", 13);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("y", series_r1.outerRadius);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", ctx_r5.label, ": ", series_r1.total.toLocaleString(), " ");
        }
      }

      var _c40 = function _c40(a0) {
        return {
          data: a0
        };
      };

      function PieGridComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function PieGridComponent__svg_g_2_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);

            var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r10.onClick($event);
          })("activate", function PieGridComponent__svg_g_2_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);

            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r12.onActivate($event);
          })("deactivate", function PieGridComponent__svg_g_2_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);

            var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r13.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PieGridComponent__svg_g_2__svg_text_2_Template, 1, 2, "text", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, PieGridComponent__svg_g_2__svg_text_3_Template, 2, 1, "text", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "text", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PieGridComponent__svg_g_2__svg_text_6_Template, 1, 3, "text", 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, PieGridComponent__svg_g_2__svg_text_7_Template, 2, 3, "text", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var series_r1 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", series_r1.transform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("colors", series_r1.colors)("data", series_r1.data)("innerRadius", series_r1.innerRadius)("outerRadius", series_r1.outerRadius)("animations", ctx_r0.animations)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : ctx_r0.tooltipText(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](17, _c40, series_r1)))("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", series_r1.data[0].data);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r0.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", series_r1.label, " ");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r0.animations);
        }
      }

      var _c41 = ["ngx-charts-pie-grid-series", ""];

      function PieGridSeriesComponent__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function PieGridSeriesComponent__svg_g_1_Template__svg_g_select_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.onClick($event);
          })("activate", function PieGridSeriesComponent__svg_g_1_Template__svg_g_activate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.activate.emit($event);
          })("deactivate", function PieGridSeriesComponent__svg_g_1_Template__svg_g_deactivate_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r5.deactivate.emit($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var arc_r1 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("startAngle", arc_r1.startAngle)("endAngle", arc_r1.endAngle)("innerRadius", ctx_r0.innerRadius)("outerRadius", ctx_r0.outerRadius)("fill", ctx_r0.color(arc_r1))("value", arc_r1.data.value)("data", arc_r1.data)("gradient", false)("pointerEvents", arc_r1.pointerEvents)("animate", arc_r1.animate);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("class", arc_r1["class"]);
        }
      }

      var _c42 = ["ngx-charts-pie-series", ""];

      function PieSeriesComponent__svg_g_0__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 3);
        }

        if (rf & 2) {
          var arc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;

          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", arc_r1)("radius", ctx_r2.outerRadius)("color", ctx_r2.color(arc_r1))("label", ctx_r2.labelText(arc_r1))("labelTrim", ctx_r2.trimLabels)("labelTrimSize", ctx_r2.maxLabelLength)("max", ctx_r2.max)("value", arc_r1.value)("explodeSlices", ctx_r2.explodeSlices)("animations", ctx_r2.animations);
        }
      }

      function PieSeriesComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PieSeriesComponent__svg_g_0__svg_g_1_Template, 1, 10, "g", 1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function PieSeriesComponent__svg_g_0_Template__svg_g_select_2_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.onClick($event);
          })("activate", function PieSeriesComponent__svg_g_0_Template__svg_g_activate_2_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r6.activate.emit($event);
          })("deactivate", function PieSeriesComponent__svg_g_0_Template__svg_g_deactivate_2_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r7.deactivate.emit($event);
          })("dblclick", function PieSeriesComponent__svg_g_0_Template__svg_g_dblclick_2_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r8.dblclick.emit($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var arc_r1 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.labelVisible(arc_r1));

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("startAngle", arc_r1.startAngle)("endAngle", arc_r1.endAngle)("innerRadius", ctx_r0.innerRadius)("outerRadius", ctx_r0.outerRadius)("fill", ctx_r0.color(arc_r1))("value", arc_r1.data.value)("gradient", ctx_r0.gradient)("data", arc_r1.data)("max", ctx_r0.max)("explodeSlices", ctx_r0.explodeSlices)("isActive", ctx_r0.isActive(arc_r1.data))("animate", ctx_r0.animations)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx_r0.getTooltipTitle(arc_r1))("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", arc_r1.data);
        }
      }

      var _c43 = ["textEl"];
      var _c44 = ["ngx-charts-card", ""];

      function CardComponent__svg_path_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "path", 7);
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("fill", ctx_r0.bandColor)("transform", ctx_r0.transformBand)("d", ctx_r0.bandPath);
        }
      }

      var _c45 = ["ngx-charts-card-series", ""];

      function CardSeriesComponent__svg_rect_0_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "rect", 2);
        }

        if (rf & 2) {
          var c_r2 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("fill", ctx_r0.emptyColor);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", c_r2.x)("y", c_r2.y)("width", c_r2.width)("height", c_r2.height);
        }
      }

      function CardSeriesComponent__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function CardSeriesComponent__svg_g_1_Template__svg_g_select_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.onClick($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var c_r3 = ctx.$implicit;

          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("x", c_r3.x)("y", c_r3.y)("width", c_r3.width)("height", c_r3.height)("color", c_r3.color)("bandColor", c_r3.bandColor)("textColor", c_r3.textColor)("data", c_r3.data)("label", c_r3.label)("medianSize", ctx_r1.medianSize)("valueFormatting", ctx_r1.valueFormatting)("labelFormatting", ctx_r1.labelFormatting)("animations", ctx_r1.animations);
        }
      }

      var _c46 = ["ngx-charts-tree-map-cell", ""];

      function TreeMapCellComponent__svg_defs_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "defs");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "g", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("name", ctx_r0.gradientId)("stops", ctx_r0.gradientStops);
        }
      }

      function TreeMapCellComponent__svg_foreignObject_3__xhtml_span_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "span", 8);
        }

        if (rf & 2) {
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("countTo", ctx_r2.value)("valueFormatting", ctx_r2.valueFormatting);
        }
      }

      function TreeMapCellComponent__svg_foreignObject_3__xhtml_span_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r3.formattedValue, " ");
        }
      }

      function TreeMapCellComponent__svg_foreignObject_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "foreignObject", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "span", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "br");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, TreeMapCellComponent__svg_foreignObject_3__xhtml_span_4_Template, 1, 2, "span", 6);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, TreeMapCellComponent__svg_foreignObject_3__xhtml_span_5_Template, 2, 1, "span", 7);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("pointer-events", "none");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", ctx_r1.x)("y", ctx_r1.y)("width", ctx_r1.width)("height", ctx_r1.height);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", ctx_r1.getTextColor())("height", ctx_r1.height + "px")("width", ctx_r1.width + "px");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx_r1.formattedLabel, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.animations);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r1.animations);
        }
      }

      var _c47 = ["ngx-charts-tree-map-cell-series", ""];

      function TreeMapCellSeriesComponent__svg_g_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function TreeMapCellSeriesComponent__svg_g_0_Template__svg_g_select_0_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);

            var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r2.onClick($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var c_r1 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", c_r1.data)("x", c_r1.x)("y", c_r1.y)("width", c_r1.width)("height", c_r1.height)("fill", c_r1.fill)("label", c_r1.label)("value", c_r1.value)("valueType", c_r1.valueType)("valueFormatting", ctx_r0.valueFormatting)("labelFormatting", ctx_r0.labelFormatting)("gradient", ctx_r0.gradient)("animations", ctx_r0.animations)("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx_r0.tooltipTemplate ? undefined : ctx_r0.getTooltipText(c_r1))("tooltipTemplate", ctx_r0.tooltipTemplate)("tooltipContext", c_r1.data);
        }
      }

      var _c48 = ["valueTextEl"];
      var _c49 = ["unitsTextEl"];

      function LinearGaugeComponent__svg_line_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "line", 10);
        }

        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r0.transformLine)("stroke", ctx_r0.colors.getColor(ctx_r0.units));
        }
      }

      function LinearGaugeComponent__svg_line_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "line", 11);
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r1.transformLine)("stroke", ctx_r1.colors.getColor(ctx_r1.units));
        }
      }

      var _c50 = function _c50() {
        return {};
      };

      function GaugeComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function GaugeComponent__svg_g_2_Template__svg_g_select_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r4.onClick($event);
          })("activate", function GaugeComponent__svg_g_2_Template__svg_g_activate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r6.onActivate($event);
          })("deactivate", function GaugeComponent__svg_g_2_Template__svg_g_deactivate_1_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);

            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

            return ctx_r7.onDeactivate($event);
          });

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var arc_r3 = ctx.$implicit;

          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r0.rotation);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("backgroundArc", arc_r3.backgroundArc)("valueArc", arc_r3.valueArc)("cornerRadius", ctx_r0.cornerRadius)("colors", ctx_r0.colors)("isActive", ctx_r0.isActive(arc_r3.valueArc.data))("tooltipDisabled", ctx_r0.tooltipDisabled)("tooltipTemplate", ctx_r0.tooltipTemplate)("valueFormatting", ctx_r0.valueFormatting)("animations", ctx_r0.animations);
        }
      }

      function GaugeComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 6);
        }

        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("bigSegments", ctx_r1.bigSegments)("smallSegments", ctx_r1.smallSegments)("min", ctx_r1.min)("max", ctx_r1.max)("radius", ctx_r1.outerRadius)("angleSpan", ctx_r1.angleSpan)("valueScale", ctx_r1.valueScale)("startAngle", ctx_r1.startAngle)("tickFormatting", ctx_r1.axisTickFormatting);
        }
      }

      function GaugeComponent__svg_text_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "text", 7, 8);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "tspan", 9);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "tspan", 10);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("text-anchor", "middle");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx_r2.textTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r2.displayValue);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r2.units);
        }
      }

      var _c51 = ["ngx-charts-gauge-arc", ""];
      var _c52 = ["ngx-charts-gauge-axis", ""];

      function GaugeAxisComponent__svg_g_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "path");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r3 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", tick_r3.line);
        }
      }

      function GaugeAxisComponent__svg_g_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "text", 3);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r4 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("text-anchor", tick_r4.textAnchor);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", tick_r4.textTransform);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", tick_r4.text, " ");
        }
      }

      function GaugeAxisComponent__svg_g_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 4);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "path");

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }

        if (rf & 2) {
          var tick_r5 = ctx.$implicit;

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", tick_r5.line);
        }
      }

      function isViewContainerRef(x) {
        return x.element;
      }
      /**
       * Injection service is a helper to append components
       * dynamically to a known location in the DOM, most
       * noteably for dialogs/tooltips appending to body.
       *
       * @export
       */


      var InjectionService = /*#__PURE__*/function () {
        function InjectionService(applicationRef, componentFactoryResolver, injector) {
          _classCallCheck(this, InjectionService);

          this.applicationRef = applicationRef;
          this.componentFactoryResolver = componentFactoryResolver;
          this.injector = injector;
        }
        /**
         * Sets a default global root view container. This is useful for
         * things like ngUpgrade that doesn't have a ApplicationRef root.
         *
         * @param container
         */


        _createClass(InjectionService, [{
          key: "getRootViewContainer",
          value:
          /**
           * Gets the root view container to inject the component to.
           *
           * @memberOf InjectionService
           */
          function getRootViewContainer() {
            if (this._container) return this._container;
            if (InjectionService.globalRootViewContainer) return InjectionService.globalRootViewContainer;
            if (this.applicationRef.components.length) return this.applicationRef.components[0];
            throw new Error('View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.');
          }
          /**
           * Overrides the default root view container. This is useful for
           * things like ngUpgrade that doesn't have a ApplicationRef root.
           *
           * @param container
           *
           * @memberOf InjectionService
           */

        }, {
          key: "setRootViewContainer",
          value: function setRootViewContainer(container) {
            this._container = container;
          }
          /**
           * Gets the html element for a component ref.
           *
           * @param componentRef
           *
           * @memberOf InjectionService
           */

        }, {
          key: "getComponentRootNode",
          value: function getComponentRootNode(component) {
            if (isViewContainerRef(component)) {
              return component.element.nativeElement;
            }

            if (component.hostView && component.hostView.rootNodes.length > 0) {
              return component.hostView.rootNodes[0];
            } // the top most component root node has no `hostView`


            return component.location.nativeElement;
          }
          /**
           * Gets the root component container html element.
           *
           * @memberOf InjectionService
           */

        }, {
          key: "getRootViewContainerNode",
          value: function getRootViewContainerNode(component) {
            return this.getComponentRootNode(component);
          }
          /**
           * Projects the bindings onto the component
           *
           * @param component
           * @param options
           *
           * @memberOf InjectionService
           */

        }, {
          key: "projectComponentBindings",
          value: function projectComponentBindings(component, bindings) {
            if (bindings) {
              if (bindings.inputs !== undefined) {
                var bindingKeys = Object.getOwnPropertyNames(bindings.inputs);

                var _iterator20 = _createForOfIteratorHelper(bindingKeys),
                    _step20;

                try {
                  for (_iterator20.s(); !(_step20 = _iterator20.n()).done;) {
                    var bindingName = _step20.value;
                    component.instance[bindingName] = bindings.inputs[bindingName];
                  }
                } catch (err) {
                  _iterator20.e(err);
                } finally {
                  _iterator20.f();
                }
              }

              if (bindings.outputs !== undefined) {
                var eventKeys = Object.getOwnPropertyNames(bindings.outputs);

                var _iterator21 = _createForOfIteratorHelper(eventKeys),
                    _step21;

                try {
                  for (_iterator21.s(); !(_step21 = _iterator21.n()).done;) {
                    var eventName = _step21.value;
                    component.instance[eventName] = bindings.outputs[eventName];
                  }
                } catch (err) {
                  _iterator21.e(err);
                } finally {
                  _iterator21.f();
                }
              }
            }

            return component;
          }
          /**
           * Appends a component to a adjacent location
           *
           * @param componentClass
           * @param [options={}]
           * @param [location]
           *
           * @memberOf InjectionService
           */

        }, {
          key: "appendComponent",
          value: function appendComponent(componentClass) {
            var bindings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
            var location = arguments.length > 2 ? arguments[2] : undefined;
            if (!location) location = this.getRootViewContainer();
            var appendLocation = this.getComponentRootNode(location);
            var portalHost = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__["DomPortalHost"](appendLocation, this.componentFactoryResolver, this.applicationRef, this.injector);
            var portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__["ComponentPortal"](componentClass);
            var componentRef = portalHost.attach(portal);
            this.projectComponentBindings(componentRef, bindings);
            return componentRef;
          }
        }], [{
          key: "setGlobalRootViewContainer",
          value: function setGlobalRootViewContainer(container) {
            InjectionService.globalRootViewContainer = container;
          }
        }]);

        return InjectionService;
      }();

      InjectionService.ɵfac = function InjectionService_Factory(t) {
        return new (t || InjectionService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]));
      };

      InjectionService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: InjectionService,
        factory: InjectionService.ɵfac
      });
      InjectionService.globalRootViewContainer = null;

      InjectionService.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]
        }];
      };
      /**
       * Throttle a function
       *
       */


      function throttle(func, wait, options) {
        options = options || {};
        var context;
        var args;
        var result;
        var timeout = null;
        var previous = 0;

        function later() {
          previous = options.leading === false ? 0 : +new Date();
          timeout = null;
          result = func.apply(context, args);
        }

        return function () {
          var now = +new Date();

          if (!previous && options.leading === false) {
            previous = now;
          }

          var remaining = wait - (now - previous);
          context = this;
          args = arguments;

          if (remaining <= 0) {
            clearTimeout(timeout);
            timeout = null;
            previous = now;
            result = func.apply(context, args);
          } else if (!timeout && options.trailing !== false) {
            timeout = setTimeout(later, remaining);
          }

          return result;
        };
      }
      /**
       * Throttle decorator
       *
       *  class MyClass {
       *    throttleable(10)
       *    myFn() { ... }
       *  }
       */


      function throttleable(duration, options) {
        return function innerDecorator(target, key, descriptor) {
          return {
            configurable: true,
            enumerable: descriptor.enumerable,
            get: function getter() {
              Object.defineProperty(this, key, {
                configurable: true,
                enumerable: descriptor.enumerable,
                value: throttle(descriptor.value, duration, options)
              });
              return this[key];
            }
          };
        };
      }

      var PlacementTypes;

      (function (PlacementTypes) {
        PlacementTypes[PlacementTypes["top"] = 'top'] = "top";
        PlacementTypes[PlacementTypes["bottom"] = 'bottom'] = "bottom";
        PlacementTypes[PlacementTypes["left"] = 'left'] = "left";
        PlacementTypes[PlacementTypes["right"] = 'right'] = "right";
      })(PlacementTypes || (PlacementTypes = {}));

      var caretOffset = 7;

      function verticalPosition(elDimensions, popoverDimensions, alignment) {
        if (alignment === 'top') {
          return elDimensions.top - caretOffset;
        }

        if (alignment === 'bottom') {
          return elDimensions.top + elDimensions.height - popoverDimensions.height + caretOffset;
        }

        if (alignment === 'center') {
          return elDimensions.top + elDimensions.height / 2 - popoverDimensions.height / 2;
        }

        return undefined;
      }

      function horizontalPosition(elDimensions, popoverDimensions, alignment) {
        if (alignment === 'left') {
          return elDimensions.left - caretOffset;
        }

        if (alignment === 'right') {
          return elDimensions.left + elDimensions.width - popoverDimensions.width + caretOffset;
        }

        if (alignment === 'center') {
          return elDimensions.left + elDimensions.width / 2 - popoverDimensions.width / 2;
        }

        return undefined;
      }
      /**
       * Position helper for the popover directive.
       *
       * @export
       */


      var PositionHelper = /*#__PURE__*/function () {
        function PositionHelper() {
          _classCallCheck(this, PositionHelper);
        }

        _createClass(PositionHelper, null, [{
          key: "calculateVerticalAlignment",
          value:
          /**
           * Calculate vertical alignment position
           *
           * @memberOf PositionHelper
           */
          function calculateVerticalAlignment(elDimensions, popoverDimensions, alignment) {
            var result = verticalPosition(elDimensions, popoverDimensions, alignment);

            if (result + popoverDimensions.height > window.innerHeight) {
              result = window.innerHeight - popoverDimensions.height;
            }

            return result;
          }
          /**
           * Calculate vertical caret position
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "calculateVerticalCaret",
          value: function calculateVerticalCaret(elDimensions, popoverDimensions, caretDimensions, alignment) {
            var result;

            if (alignment === 'top') {
              result = elDimensions.height / 2 - caretDimensions.height / 2 + caretOffset;
            }

            if (alignment === 'bottom') {
              result = popoverDimensions.height - elDimensions.height / 2 - caretDimensions.height / 2 - caretOffset;
            }

            if (alignment === 'center') {
              result = popoverDimensions.height / 2 - caretDimensions.height / 2;
            }

            var popoverPosition = verticalPosition(elDimensions, popoverDimensions, alignment);

            if (popoverPosition + popoverDimensions.height > window.innerHeight) {
              result += popoverPosition + popoverDimensions.height - window.innerHeight;
            }

            return result;
          }
          /**
           * Calculate horz alignment position
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "calculateHorizontalAlignment",
          value: function calculateHorizontalAlignment(elDimensions, popoverDimensions, alignment) {
            var result = horizontalPosition(elDimensions, popoverDimensions, alignment);

            if (result + popoverDimensions.width > window.innerWidth) {
              result = window.innerWidth - popoverDimensions.width;
            }

            return result;
          }
          /**
           * Calculate horz caret position
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "calculateHorizontalCaret",
          value: function calculateHorizontalCaret(elDimensions, popoverDimensions, caretDimensions, alignment) {
            var result;

            if (alignment === 'left') {
              result = elDimensions.width / 2 - caretDimensions.width / 2 + caretOffset;
            }

            if (alignment === 'right') {
              result = popoverDimensions.width - elDimensions.width / 2 - caretDimensions.width / 2 - caretOffset;
            }

            if (alignment === 'center') {
              result = popoverDimensions.width / 2 - caretDimensions.width / 2;
            }

            var popoverPosition = horizontalPosition(elDimensions, popoverDimensions, alignment);

            if (popoverPosition + popoverDimensions.width > window.innerWidth) {
              result += popoverPosition + popoverDimensions.width - window.innerWidth;
            }

            return result;
          }
          /**
           * Checks if the element's position should be flipped
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "shouldFlip",
          value: function shouldFlip(elDimensions, popoverDimensions, placement, spacing) {
            var flip = false;

            if (placement === 'right') {
              if (elDimensions.left + elDimensions.width + popoverDimensions.width + spacing > window.innerWidth) {
                flip = true;
              }
            }

            if (placement === 'left') {
              if (elDimensions.left - popoverDimensions.width - spacing < 0) {
                flip = true;
              }
            }

            if (placement === 'top') {
              if (elDimensions.top - popoverDimensions.height - spacing < 0) {
                flip = true;
              }
            }

            if (placement === 'bottom') {
              if (elDimensions.top + elDimensions.height + popoverDimensions.height + spacing > window.innerHeight) {
                flip = true;
              }
            }

            return flip;
          }
          /**
           * Position caret
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "positionCaret",
          value: function positionCaret(placement, elmDim, hostDim, caretDimensions, alignment) {
            var top = 0;
            var left = 0;

            if (placement === PlacementTypes.right) {
              left = -7;
              top = PositionHelper.calculateVerticalCaret(hostDim, elmDim, caretDimensions, alignment);
            } else if (placement === PlacementTypes.left) {
              left = elmDim.width;
              top = PositionHelper.calculateVerticalCaret(hostDim, elmDim, caretDimensions, alignment);
            } else if (placement === PlacementTypes.top) {
              top = elmDim.height;
              left = PositionHelper.calculateHorizontalCaret(hostDim, elmDim, caretDimensions, alignment);
            } else if (placement === PlacementTypes.bottom) {
              top = -7;
              left = PositionHelper.calculateHorizontalCaret(hostDim, elmDim, caretDimensions, alignment);
            }

            return {
              top: top,
              left: left
            };
          }
          /**
           * Position content
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "positionContent",
          value: function positionContent(placement, elmDim, hostDim, spacing, alignment) {
            var top = 0;
            var left = 0;

            if (placement === PlacementTypes.right) {
              left = hostDim.left + hostDim.width + spacing;
              top = PositionHelper.calculateVerticalAlignment(hostDim, elmDim, alignment);
            } else if (placement === PlacementTypes.left) {
              left = hostDim.left - elmDim.width - spacing;
              top = PositionHelper.calculateVerticalAlignment(hostDim, elmDim, alignment);
            } else if (placement === PlacementTypes.top) {
              top = hostDim.top - elmDim.height - spacing;
              left = PositionHelper.calculateHorizontalAlignment(hostDim, elmDim, alignment);
            } else if (placement === PlacementTypes.bottom) {
              top = hostDim.top + hostDim.height + spacing;
              left = PositionHelper.calculateHorizontalAlignment(hostDim, elmDim, alignment);
            }

            return {
              top: top,
              left: left
            };
          }
          /**
           * Determine placement based on flip
           *
           * @memberOf PositionHelper
           */

        }, {
          key: "determinePlacement",
          value: function determinePlacement(placement, elmDim, hostDim, spacing) {
            var shouldFlip = PositionHelper.shouldFlip(hostDim, elmDim, placement, spacing);

            if (shouldFlip) {
              if (placement === PlacementTypes.right) {
                return PlacementTypes.left;
              } else if (placement === PlacementTypes.left) {
                return PlacementTypes.right;
              } else if (placement === PlacementTypes.top) {
                return PlacementTypes.bottom;
              } else if (placement === PlacementTypes.bottom) {
                return PlacementTypes.top;
              }
            }

            return placement;
          }
        }]);

        return PositionHelper;
      }();

      var TooltipContentComponent = /*#__PURE__*/function () {
        function TooltipContentComponent(element, renderer) {
          _classCallCheck(this, TooltipContentComponent);

          this.element = element;
          this.renderer = renderer;
        }

        _createClass(TooltipContentComponent, [{
          key: "cssClasses",
          get: function get() {
            var clz = 'ngx-charts-tooltip-content';
            clz += " position-".concat(this.placement);
            clz += " type-".concat(this.type);
            clz += " ".concat(this.cssClass);
            return clz;
          }
        }, {
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            setTimeout(this.position.bind(this));
          }
        }, {
          key: "position",
          value: function position() {
            var _this = this;

            var nativeElm = this.element.nativeElement;
            var hostDim = this.host.nativeElement.getBoundingClientRect(); // if no dims were found, never show

            if (!hostDim.height && !hostDim.width) return;
            var elmDim = nativeElm.getBoundingClientRect();
            this.checkFlip(hostDim, elmDim);
            this.positionContent(nativeElm, hostDim, elmDim);

            if (this.showCaret) {
              this.positionCaret(hostDim, elmDim);
            } // animate its entry


            setTimeout(function () {
              return _this.renderer.addClass(nativeElm, 'animate');
            }, 1);
          }
        }, {
          key: "positionContent",
          value: function positionContent(nativeElm, hostDim, elmDim) {
            var _PositionHelper$posit = PositionHelper.positionContent(this.placement, elmDim, hostDim, this.spacing, this.alignment),
                top = _PositionHelper$posit.top,
                left = _PositionHelper$posit.left;

            this.renderer.setStyle(nativeElm, 'top', "".concat(top, "px"));
            this.renderer.setStyle(nativeElm, 'left', "".concat(left, "px"));
          }
        }, {
          key: "positionCaret",
          value: function positionCaret(hostDim, elmDim) {
            var caretElm = this.caretElm.nativeElement;
            var caretDimensions = caretElm.getBoundingClientRect();

            var _PositionHelper$posit2 = PositionHelper.positionCaret(this.placement, elmDim, hostDim, caretDimensions, this.alignment),
                top = _PositionHelper$posit2.top,
                left = _PositionHelper$posit2.left;

            this.renderer.setStyle(caretElm, 'top', "".concat(top, "px"));
            this.renderer.setStyle(caretElm, 'left', "".concat(left, "px"));
          }
        }, {
          key: "checkFlip",
          value: function checkFlip(hostDim, elmDim) {
            this.placement = PositionHelper.determinePlacement(this.placement, elmDim, hostDim, this.spacing);
          }
        }, {
          key: "onWindowResize",
          value: function onWindowResize() {
            this.position();
          }
        }]);

        return TooltipContentComponent;
      }();

      TooltipContentComponent.ɵfac = function TooltipContentComponent_Factory(t) {
        return new (t || TooltipContentComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]));
      };

      TooltipContentComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: TooltipContentComponent,
        selectors: [["ngx-tooltip-content"]],
        viewQuery: function TooltipContentComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.caretElm = _t.first);
          }
        },
        hostVars: 2,
        hostBindings: function TooltipContentComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("resize", function TooltipContentComponent_resize_HostBindingHandler() {
              return ctx.onWindowResize();
            }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveWindow"]);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx.cssClasses);
          }
        },
        inputs: {
          placement: "placement",
          host: "host",
          showCaret: "showCaret",
          type: "type",
          alignment: "alignment",
          spacing: "spacing",
          cssClass: "cssClass",
          title: "title",
          template: "template",
          context: "context"
        },
        decls: 6,
        vars: 6,
        consts: [[3, "hidden"], ["caretElm", ""], [1, "tooltip-content"], [4, "ngIf"], [3, "innerHTML", 4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "innerHTML"]],
        template: function TooltipContentComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "span", 0, 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, TooltipContentComponent_span_4_Template, 2, 4, "span", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, TooltipContentComponent_span_5_Template, 1, 1, "span", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("tooltip-caret position-", ctx.placement, "");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("hidden", !ctx.showCaret);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.title);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.title);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgTemplateOutlet"]],
        styles: [".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],
        encapsulation: 2
      });

      TooltipContentComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
        }];
      };

      TooltipContentComponent.propDecorators = {
        host: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showCaret: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        type: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        placement: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        alignment: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        spacing: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cssClass: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        title: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        template: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        context: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        caretElm: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['caretElm']
        }],
        cssClasses: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
          args: ['class']
        }],
        onWindowResize: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['window:resize']
        }]
      };
      Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([throttleable(100)], TooltipContentComponent.prototype, "onWindowResize", null);
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InjectionService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]
          }];
        }, null);
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TooltipContentComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-tooltip-content',
            template: "\n    <div>\n      <span #caretElm [hidden]=\"!showCaret\" class=\"tooltip-caret position-{{ this.placement }}\"> </span>\n      <div class=\"tooltip-content\">\n        <span *ngIf=\"!title\">\n          <ng-template [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ model: context }\"> </ng-template>\n        </span>\n        <span *ngIf=\"title\" [innerHTML]=\"title\"> </span>\n      </div>\n    </div>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"]
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
          }];
        }, {
          cssClasses: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
            args: ['class']
          }],
          placement: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          onWindowResize: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['window:resize']
          }],
          host: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showCaret: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          type: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          alignment: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          spacing: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cssClass: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          title: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          template: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          context: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          caretElm: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['caretElm']
          }]
        });
      })();

      var InjectionRegisteryService = /*#__PURE__*/function () {
        function InjectionRegisteryService(injectionService) {
          _classCallCheck(this, InjectionRegisteryService);

          this.injectionService = injectionService;
          this.defaults = {};
          this.components = new Map();
        }

        _createClass(InjectionRegisteryService, [{
          key: "getByType",
          value: function getByType() {
            var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.type;
            return this.components.get(type);
          }
        }, {
          key: "create",
          value: function create(bindings) {
            return this.createByType(this.type, bindings);
          }
        }, {
          key: "createByType",
          value: function createByType(type, bindings) {
            bindings = this.assignDefaults(bindings);
            var component = this.injectComponent(type, bindings);
            this.register(type, component);
            return component;
          }
        }, {
          key: "destroy",
          value: function destroy(instance) {
            var compsByType = this.components.get(instance.componentType);

            if (compsByType && compsByType.length) {
              var idx = compsByType.indexOf(instance);

              if (idx > -1) {
                var component = compsByType[idx];
                component.destroy();
                compsByType.splice(idx, 1);
              }
            }
          }
        }, {
          key: "destroyAll",
          value: function destroyAll() {
            this.destroyByType(this.type);
          }
        }, {
          key: "destroyByType",
          value: function destroyByType(type) {
            var comps = this.components.get(type);

            if (comps && comps.length) {
              var i = comps.length - 1;

              while (i >= 0) {
                this.destroy(comps[i--]);
              }
            }
          }
        }, {
          key: "injectComponent",
          value: function injectComponent(type, bindings) {
            return this.injectionService.appendComponent(type, bindings);
          }
        }, {
          key: "assignDefaults",
          value: function assignDefaults(bindings) {
            var inputs = Object.assign({}, this.defaults.inputs);
            var outputs = Object.assign({}, this.defaults.outputs);

            if (!bindings.inputs && !bindings.outputs) {
              bindings = {
                inputs: bindings
              };
            }

            if (inputs) {
              bindings.inputs = Object.assign(Object.assign({}, inputs), bindings.inputs);
            }

            if (outputs) {
              bindings.outputs = Object.assign(Object.assign({}, outputs), bindings.outputs);
            }

            return bindings;
          }
        }, {
          key: "register",
          value: function register(type, component) {
            if (!this.components.has(type)) {
              this.components.set(type, []);
            }

            var types = this.components.get(type);
            types.push(component);
          }
        }]);

        return InjectionRegisteryService;
      }();

      var TooltipService = /*#__PURE__*/function (_InjectionRegisterySe) {
        _inherits(TooltipService, _InjectionRegisterySe);

        var _super = _createSuper(TooltipService);

        function TooltipService(injectionService) {
          var _this2;

          _classCallCheck(this, TooltipService);

          _this2 = _super.call(this, injectionService);
          _this2.type = TooltipContentComponent;
          return _this2;
        }

        return TooltipService;
      }(InjectionRegisteryService);

      TooltipService.ɵfac = function TooltipService_Factory(t) {
        return new (t || TooltipService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InjectionService));
      };

      TooltipService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: TooltipService,
        factory: TooltipService.ɵfac
      });

      TooltipService.ctorParameters = function () {
        return [{
          type: InjectionService
        }];
      };
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TooltipService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
        }], function () {
          return [{
            type: InjectionService
          }];
        }, null);
      })();

      var ChartComponent = /*#__PURE__*/function () {
        function ChartComponent() {
          _classCallCheck(this, ChartComponent);

          this.showLegend = false;
          this.animations = true;
          this.legendLabelClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.legendLabelActivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.legendLabelDeactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(ChartComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var legendColumns = 0;

            if (this.showLegend) {
              this.legendType = this.getLegendType();

              if (!this.legendOptions || this.legendOptions.position === 'right') {
                if (this.legendType === 'scaleLegend') {
                  legendColumns = 1;
                } else {
                  legendColumns = 2;
                }
              }
            }

            var chartColumns = 12 - legendColumns;
            this.chartWidth = Math.floor(this.view[0] * chartColumns / 12.0);
            this.legendWidth = !this.legendOptions || this.legendOptions.position === 'right' ? Math.floor(this.view[0] * legendColumns / 12.0) : this.chartWidth;
          }
        }, {
          key: "getLegendType",
          value: function getLegendType() {
            if (this.legendOptions.scaleType === 'linear') {
              return 'scaleLegend';
            } else {
              return 'legend';
            }
          }
        }]);

        return ChartComponent;
      }();

      ChartComponent.ɵfac = function ChartComponent_Factory(t) {
        return new (t || ChartComponent)();
      };

      ChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: ChartComponent,
        selectors: [["ngx-charts-chart"]],
        inputs: {
          showLegend: "showLegend",
          animations: "animations",
          legendType: "legendType",
          view: "view",
          legendOptions: "legendOptions",
          data: "data",
          legendData: "legendData",
          colors: "colors",
          activeEntries: "activeEntries"
        },
        outputs: {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([TooltipService]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        ngContentSelectors: _c2,
        decls: 5,
        vars: 8,
        consts: [[1, "ngx-charts-outer"], [1, "ngx-charts"], ["class", "chart-legend", 3, "horizontal", "valueRange", "colors", "height", "width", 4, "ngIf"], ["class", "chart-legend", 3, "horizontal", "data", "title", "colors", "height", "width", "activeEntries", "labelClick", "labelActivate", "labelDeactivate", 4, "ngIf"], [1, "chart-legend", 3, "horizontal", "valueRange", "colors", "height", "width"], [1, "chart-legend", 3, "horizontal", "data", "title", "colors", "height", "width", "activeEntries", "labelClick", "labelActivate", "labelDeactivate"]],
        template: function ChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "svg", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, ChartComponent_ngx_charts_scale_legend_3_Template, 1, 5, "ngx-charts-scale-legend", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ChartComponent_ngx_charts_legend_4_Template, 1, 7, "ngx-charts-legend", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx.view[0], "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active")("@.disabled", !ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.chartWidth)("height", ctx.view[1]);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showLegend && ctx.legendType === "scaleLegend");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showLegend && ctx.legendType === "legend");
          }
        },
        directives: function directives() {
          return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], ScaleLegendComponent, LegendComponent];
        },
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])('500ms 100ms', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }))])])]
        },
        changeDetection: 0
      });
      ChartComponent.propDecorators = {
        view: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showLegend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendOptions: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendData: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendLabelClick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        legendLabelActivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        legendLabelDeactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            providers: [TooltipService],
            selector: 'ngx-charts-chart',
            template: "\n    <div class=\"ngx-charts-outer\" [style.width.px]=\"view[0]\" [@animationState]=\"'active'\" [@.disabled]=\"!animations\">\n      <svg class=\"ngx-charts\" [attr.width]=\"chartWidth\" [attr.height]=\"view[1]\">\n        <ng-content></ng-content>\n      </svg>\n      <ngx-charts-scale-legend\n        *ngIf=\"showLegend && legendType === 'scaleLegend'\"\n        class=\"chart-legend\"\n        [horizontal]=\"legendOptions && legendOptions.position === 'below'\"\n        [valueRange]=\"legendOptions.domain\"\n        [colors]=\"legendOptions.colors\"\n        [height]=\"view[1]\"\n        [width]=\"legendWidth\"\n      >\n      </ngx-charts-scale-legend>\n      <ngx-charts-legend\n        *ngIf=\"showLegend && legendType === 'legend'\"\n        class=\"chart-legend\"\n        [horizontal]=\"legendOptions && legendOptions.position === 'below'\"\n        [data]=\"legendOptions.domain\"\n        [title]=\"legendOptions.title\"\n        [colors]=\"legendOptions.colors\"\n        [height]=\"view[1]\"\n        [width]=\"legendWidth\"\n        [activeEntries]=\"activeEntries\"\n        (labelClick)=\"legendLabelClick.emit($event)\"\n        (labelActivate)=\"legendLabelActivate.emit($event)\"\n        (labelDeactivate)=\"legendLabelDeactivate.emit($event)\"\n      >\n      </ngx-charts-legend>\n    </div>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])('500ms 100ms', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }))])])]
          }]
        }], function () {
          return [];
        }, {
          showLegend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendLabelClick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          legendLabelActivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          legendLabelDeactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          legendType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          view: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendOptions: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendData: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();
      /**
       * Visibility Observer
       */


      var VisibilityObserver = /*#__PURE__*/function () {
        function VisibilityObserver(element, zone) {
          _classCallCheck(this, VisibilityObserver);

          this.element = element;
          this.zone = zone;
          this.visible = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.isVisible = false;
          this.runCheck();
        }

        _createClass(VisibilityObserver, [{
          key: "destroy",
          value: function destroy() {
            clearTimeout(this.timeout);
          }
        }, {
          key: "onVisibilityChange",
          value: function onVisibilityChange() {
            var _this3 = this;

            // trigger zone recalc for columns
            this.zone.run(function () {
              _this3.isVisible = true;

              _this3.visible.emit(true);
            });
          }
        }, {
          key: "runCheck",
          value: function runCheck() {
            var _this4 = this;

            var check = function check() {
              if (!_this4.element) {
                return;
              } // https://davidwalsh.name/offsetheight-visibility


              var _this4$element$native = _this4.element.nativeElement,
                  offsetHeight = _this4$element$native.offsetHeight,
                  offsetWidth = _this4$element$native.offsetWidth;

              if (offsetHeight && offsetWidth) {
                clearTimeout(_this4.timeout);

                _this4.onVisibilityChange();
              } else {
                clearTimeout(_this4.timeout);

                _this4.zone.runOutsideAngular(function () {
                  _this4.timeout = setTimeout(function () {
                    return check();
                  }, 100);
                });
              }
            };

            this.zone.runOutsideAngular(function () {
              _this4.timeout = setTimeout(function () {
                return check();
              });
            });
          }
        }]);

        return VisibilityObserver;
      }();

      VisibilityObserver.ɵfac = function VisibilityObserver_Factory(t) {
        return new (t || VisibilityObserver)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]));
      };

      VisibilityObserver.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
        type: VisibilityObserver,
        selectors: [["visibility-observer"]],
        outputs: {
          visible: "visible"
        }
      });

      VisibilityObserver.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
        }];
      };

      VisibilityObserver.propDecorators = {
        visible: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](VisibilityObserver, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
          args: [{
            selector: 'visibility-observer'
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
          }];
        }, {
          visible: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }]
        });
      })();

      var BaseChartComponent = /*#__PURE__*/function () {
        function BaseChartComponent(chartElement, zone, cd) {
          _classCallCheck(this, BaseChartComponent);

          this.chartElement = chartElement;
          this.zone = zone;
          this.cd = cd;
          this.scheme = 'cool';
          this.schemeType = 'ordinal';
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(BaseChartComponent, [{
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            this.bindWindowResizeEvent(); // listen for visibility of the element for hidden by default scenario

            this.visibilityObserver = new VisibilityObserver(this.chartElement, this.zone);
            this.visibilityObserver.visible.subscribe(this.update.bind(this));
          }
        }, {
          key: "ngOnDestroy",
          value: function ngOnDestroy() {
            this.unbindEvents();

            if (this.visibilityObserver) {
              this.visibilityObserver.visible.unsubscribe();
              this.visibilityObserver.destroy();
            }
          }
        }, {
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            if (this.results) {
              this.results = this.cloneData(this.results);
            } else {
              this.results = [];
            }

            if (this.view) {
              this.width = this.view[0];
              this.height = this.view[1];
            } else {
              var dims = this.getContainerDims();

              if (dims) {
                this.width = dims.width;
                this.height = dims.height;
              }
            } // default values if width or height are 0 or undefined


            if (!this.width) {
              this.width = 600;
            }

            if (!this.height) {
              this.height = 400;
            }

            this.width = Math.floor(this.width);
            this.height = Math.floor(this.height);

            if (this.cd) {
              this.cd.markForCheck();
            }
          }
        }, {
          key: "getContainerDims",
          value: function getContainerDims() {
            var width;
            var height;
            var hostElem = this.chartElement.nativeElement;

            if (hostElem.parentNode !== null) {
              // Get the container dimensions
              var dims = hostElem.parentNode.getBoundingClientRect();
              width = dims.width;
              height = dims.height;
            }

            if (width && height) {
              return {
                width: width,
                height: height
              };
            }

            return null;
          }
          /**
           * Converts all date objects that appear as name
           * into formatted date strings
           */

        }, {
          key: "formatDates",
          value: function formatDates() {
            for (var i = 0; i < this.results.length; i++) {
              var g = this.results[i];
              g.label = g.name;

              if (g.label instanceof Date) {
                g.label = g.label.toLocaleDateString();
              }

              if (g.series) {
                for (var j = 0; j < g.series.length; j++) {
                  var d = g.series[j];
                  d.label = d.name;

                  if (d.label instanceof Date) {
                    d.label = d.label.toLocaleDateString();
                  }
                }
              }
            }
          }
        }, {
          key: "unbindEvents",
          value: function unbindEvents() {
            if (this.resizeSubscription) {
              this.resizeSubscription.unsubscribe();
            }
          }
        }, {
          key: "bindWindowResizeEvent",
          value: function bindWindowResizeEvent() {
            var _this5 = this;

            var source = Object(rxjs__WEBPACK_IMPORTED_MODULE_5__["fromEvent"])(window, 'resize');
            var subscription = source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["debounceTime"])(200)).subscribe(function (e) {
              _this5.update();

              if (_this5.cd) {
                _this5.cd.markForCheck();
              }
            });
            this.resizeSubscription = subscription;
          }
          /**
           * Clones the data into a new object
           *
           * @memberOf BaseChart
           */

        }, {
          key: "cloneData",
          value: function cloneData(data) {
            var results = [];

            var _iterator22 = _createForOfIteratorHelper(data),
                _step22;

            try {
              for (_iterator22.s(); !(_step22 = _iterator22.n()).done;) {
                var item = _step22.value;
                var copy = {
                  name: item['name']
                };

                if (item['value'] !== undefined) {
                  copy['value'] = item['value'];
                }

                if (item['series'] !== undefined) {
                  copy['series'] = [];

                  var _iterator23 = _createForOfIteratorHelper(item['series']),
                      _step23;

                  try {
                    for (_iterator23.s(); !(_step23 = _iterator23.n()).done;) {
                      var seriesItem = _step23.value;
                      var seriesItemCopy = Object.assign({}, seriesItem);
                      copy['series'].push(seriesItemCopy);
                    }
                  } catch (err) {
                    _iterator23.e(err);
                  } finally {
                    _iterator23.f();
                  }
                }

                if (item['extra'] !== undefined) {
                  copy['extra'] = JSON.parse(JSON.stringify(item['extra']));
                }

                results.push(copy);
              }
            } catch (err) {
              _iterator22.e(err);
            } finally {
              _iterator22.f();
            }

            return results;
          }
        }]);

        return BaseChartComponent;
      }();

      BaseChartComponent.ɵfac = function BaseChartComponent_Factory(t) {
        return new (t || BaseChartComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]));
      };

      BaseChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BaseChartComponent,
        selectors: [["base-chart"]],
        inputs: {
          scheme: "scheme",
          schemeType: "schemeType",
          animations: "animations",
          results: "results",
          view: "view",
          customColors: "customColors"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        decls: 1,
        vars: 0,
        template: function BaseChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div");
          }
        },
        encapsulation: 2
      });

      BaseChartComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
        }];
      };

      BaseChartComponent.propDecorators = {
        results: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        view: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scheme: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        customColors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BaseChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'base-chart',
            template: " <div></div> "
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
          }];
        }, {
          scheme: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          results: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          view: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          customColors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var AxisLabelComponent = /*#__PURE__*/function () {
        function AxisLabelComponent(element) {
          _classCallCheck(this, AxisLabelComponent);

          this.textHeight = 25;
          this.margin = 5;
          this.element = element.nativeElement;
        }

        _createClass(AxisLabelComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.strokeWidth = '0.01';
            this.textAnchor = 'middle';
            this.transform = '';

            switch (this.orient) {
              case 'top':
                this.y = this.offset;
                this.x = this.width / 2;
                break;

              case 'bottom':
                this.y = this.offset;
                this.x = this.width / 2;
                break;

              case 'left':
                this.y = -(this.offset + this.textHeight + this.margin);
                this.x = -this.height / 2;
                this.transform = 'rotate(270)';
                break;

              case 'right':
                this.y = this.offset + this.margin;
                this.x = -this.height / 2;
                this.transform = 'rotate(270)';
                break;

              default:
            }
          }
        }]);

        return AxisLabelComponent;
      }();

      AxisLabelComponent.ɵfac = function AxisLabelComponent_Factory(t) {
        return new (t || AxisLabelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      AxisLabelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AxisLabelComponent,
        selectors: [["g", "ngx-charts-axis-label", ""]],
        inputs: {
          orient: "orient",
          label: "label",
          offset: "offset",
          width: "width",
          height: "height"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c3,
        decls: 2,
        vars: 6,
        template: function AxisLabelComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "text");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("stroke-width", ctx.strokeWidth)("x", ctx.x)("y", ctx.y)("text-anchor", ctx.textAnchor)("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.label, " ");
          }
        },
        encapsulation: 2,
        changeDetection: 0
      });

      AxisLabelComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      AxisLabelComponent.propDecorators = {
        orient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        offset: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AxisLabelComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-axis-label]',
            template: "\n    <svg:text\n      [attr.stroke-width]=\"strokeWidth\"\n      [attr.x]=\"x\"\n      [attr.y]=\"y\"\n      [attr.text-anchor]=\"textAnchor\"\n      [attr.transform]=\"transform\"\n    >\n      {{ label }}\n    </svg:text>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          orient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          offset: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      function trimLabel(s) {
        var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 16;

        if (typeof s !== 'string') {
          if (typeof s === 'number') {
            return s + '';
          } else {
            return '';
          }
        }

        s = s.trim();

        if (s.length <= max) {
          return s;
        } else {
          return "".concat(s.slice(0, max), "...");
        }
      }

      function reduceTicks(ticks, maxTicks) {
        if (ticks.length > maxTicks) {
          var reduced = [];
          var modulus = Math.floor(ticks.length / maxTicks);

          for (var i = 0; i < ticks.length; i++) {
            if (i % modulus === 0) {
              reduced.push(ticks[i]);
            }
          }

          ticks = reduced;
        }

        return ticks;
      }

      var XAxisTicksComponent = /*#__PURE__*/function () {
        function XAxisTicksComponent() {
          _classCallCheck(this, XAxisTicksComponent);

          this.tickArguments = [5];
          this.tickStroke = '#ccc';
          this.trimTicks = true;
          this.maxTickLength = 16;
          this.showGridLines = false;
          this.rotateTicks = true;
          this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.verticalSpacing = 20;
          this.rotateLabels = false;
          this.innerTickSize = 6;
          this.outerTickSize = 6;
          this.tickPadding = 3;
          this.textAnchor = 'middle';
          this.maxTicksLength = 0;
          this.maxAllowedLength = 16;
          this.height = 0;
        }

        _createClass(XAxisTicksComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            var _this6 = this;

            setTimeout(function () {
              return _this6.updateDims();
            });
          }
        }, {
          key: "updateDims",
          value: function updateDims() {
            var _this7 = this;

            var height = parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height, 10);

            if (height !== this.height) {
              this.height = height;
              this.dimensionsChanged.emit({
                height: height
              });
              setTimeout(function () {
                return _this7.updateDims();
              });
            }
          }
        }, {
          key: "update",
          value: function update() {
            var _this8 = this;

            var scale = this.scale;
            this.ticks = this.getTicks();

            if (this.tickFormatting) {
              this.tickFormat = this.tickFormatting;
            } else if (scale.tickFormat) {
              this.tickFormat = scale.tickFormat.apply(scale, this.tickArguments);
            } else {
              this.tickFormat = function (d) {
                if (d.constructor.name === 'Date') {
                  return d.toLocaleDateString();
                }

                return d.toLocaleString();
              };
            }

            var angle = this.rotateTicks ? this.getRotationAngle(this.ticks) : null;
            this.adjustedScale = this.scale.bandwidth ? function (d) {
              return this.scale(d) + this.scale.bandwidth() * 0.5;
            } : this.scale;
            this.textTransform = '';

            if (angle && angle !== 0) {
              this.textTransform = "rotate(".concat(angle, ")");
              this.textAnchor = 'end';
              this.verticalSpacing = 10;
            } else {
              this.textAnchor = 'middle';
            }

            setTimeout(function () {
              return _this8.updateDims();
            });
          }
        }, {
          key: "getRotationAngle",
          value: function getRotationAngle(ticks) {
            var angle = 0;
            this.maxTicksLength = 0;

            for (var i = 0; i < ticks.length; i++) {
              var tick = this.tickFormat(ticks[i]).toString();
              var tickLength = tick.length;

              if (this.trimTicks) {
                tickLength = this.tickTrim(tick).length;
              }

              if (tickLength > this.maxTicksLength) {
                this.maxTicksLength = tickLength;
              }
            }

            var len = Math.min(this.maxTicksLength, this.maxAllowedLength);
            var charWidth = 8; // need to measure this

            var wordWidth = len * charWidth;
            var baseWidth = wordWidth;
            var maxBaseWidth = Math.floor(this.width / ticks.length); // calculate optimal angle

            while (baseWidth > maxBaseWidth && angle > -90) {
              angle -= 30;
              baseWidth = Math.cos(angle * (Math.PI / 180)) * wordWidth;
            }

            return angle;
          }
        }, {
          key: "getTicks",
          value: function getTicks() {
            var ticks;
            var maxTicks = this.getMaxTicks(20);
            var maxScaleTicks = this.getMaxTicks(100);

            if (this.tickValues) {
              ticks = this.tickValues;
            } else if (this.scale.ticks) {
              ticks = this.scale.ticks.apply(this.scale, [maxScaleTicks]);
            } else {
              ticks = this.scale.domain();
              ticks = reduceTicks(ticks, maxTicks);
            }

            return ticks;
          }
        }, {
          key: "getMaxTicks",
          value: function getMaxTicks(tickWidth) {
            return Math.floor(this.width / tickWidth);
          }
        }, {
          key: "tickTransform",
          value: function tickTransform(tick) {
            return 'translate(' + this.adjustedScale(tick) + ',' + this.verticalSpacing + ')';
          }
        }, {
          key: "gridLineTransform",
          value: function gridLineTransform() {
            return "translate(0,".concat(-this.verticalSpacing - 5, ")");
          }
        }, {
          key: "tickTrim",
          value: function tickTrim(label) {
            return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
          }
        }]);

        return XAxisTicksComponent;
      }();

      XAxisTicksComponent.ɵfac = function XAxisTicksComponent_Factory(t) {
        return new (t || XAxisTicksComponent)();
      };

      XAxisTicksComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: XAxisTicksComponent,
        selectors: [["g", "ngx-charts-x-axis-ticks", ""]],
        viewQuery: function XAxisTicksComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c4, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ticksElement = _t.first);
          }
        },
        inputs: {
          tickArguments: "tickArguments",
          tickStroke: "tickStroke",
          trimTicks: "trimTicks",
          maxTickLength: "maxTickLength",
          showGridLines: "showGridLines",
          rotateTicks: "rotateTicks",
          scale: "scale",
          orient: "orient",
          tickValues: "tickValues",
          tickFormatting: "tickFormatting",
          gridLineHeight: "gridLineHeight",
          width: "width"
        },
        outputs: {
          dimensionsChanged: "dimensionsChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c5,
        decls: 4,
        vars: 2,
        consts: [["ticksel", ""], ["class", "tick", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [1, "tick"], ["stroke-width", "0.01"], [4, "ngIf"], ["y2", "0", 1, "gridline-path", "gridline-path-vertical"]],
        template: function XAxisTicksComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", null, 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, XAxisTicksComponent__svg_g_2_Template, 5, 7, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, XAxisTicksComponent__svg_g_3_Template, 2, 2, "g", 2);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"]],
        encapsulation: 2,
        changeDetection: 0
      });
      XAxisTicksComponent.propDecorators = {
        scale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        orient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickArguments: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickValues: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickStroke: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gridLineHeight: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dimensionsChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        ticksElement: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['ticksel']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](XAxisTicksComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-x-axis-ticks]',
            template: "\n    <svg:g #ticksel>\n      <svg:g *ngFor=\"let tick of ticks\" class=\"tick\" [attr.transform]=\"tickTransform(tick)\">\n        <title>{{ tickFormat(tick) }}</title>\n        <svg:text\n          stroke-width=\"0.01\"\n          [attr.text-anchor]=\"textAnchor\"\n          [attr.transform]=\"textTransform\"\n          [style.font-size]=\"'12px'\"\n        >\n          {{ tickTrim(tickFormat(tick)) }}\n        </svg:text>\n      </svg:g>\n    </svg:g>\n\n    <svg:g *ngFor=\"let tick of ticks\" [attr.transform]=\"tickTransform(tick)\">\n      <svg:g *ngIf=\"showGridLines\" [attr.transform]=\"gridLineTransform()\">\n        <svg:line class=\"gridline-path gridline-path-vertical\" [attr.y1]=\"-gridLineHeight\" y2=\"0\" />\n      </svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          tickArguments: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickStroke: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dimensionsChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          scale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          orient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickValues: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gridLineHeight: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ticksElement: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['ticksel']
          }]
        });
      })();

      var XAxisComponent = /*#__PURE__*/function () {
        function XAxisComponent() {
          _classCallCheck(this, XAxisComponent);

          this.rotateTicks = true;
          this.showGridLines = false;
          this.xOrient = 'bottom';
          this.xAxisOffset = 0;
          this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.xAxisClassName = 'x axis';
          this.labelOffset = 0;
          this.fill = 'none';
          this.stroke = 'stroke';
          this.tickStroke = '#ccc';
          this.strokeWidth = 'none';
          this.padding = 5;
        }

        _createClass(XAxisComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.transform = "translate(0,".concat(this.xAxisOffset + this.padding + this.dims.height, ")");

            if (typeof this.xAxisTickCount !== 'undefined') {
              this.tickArguments = [this.xAxisTickCount];
            }
          }
        }, {
          key: "emitTicksHeight",
          value: function emitTicksHeight(_ref11) {
            var _this9 = this;

            var height = _ref11.height;
            var newLabelOffset = height + 25 + 5;

            if (newLabelOffset !== this.labelOffset) {
              this.labelOffset = newLabelOffset;
              setTimeout(function () {
                _this9.dimensionsChanged.emit({
                  height: height
                });
              }, 0);
            }
          }
        }]);

        return XAxisComponent;
      }();

      XAxisComponent.ɵfac = function XAxisComponent_Factory(t) {
        return new (t || XAxisComponent)();
      };

      XAxisComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: XAxisComponent,
        selectors: [["g", "ngx-charts-x-axis", ""]],
        viewQuery: function XAxisComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](XAxisTicksComponent, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ticksComponent = _t.first);
          }
        },
        inputs: {
          rotateTicks: "rotateTicks",
          showGridLines: "showGridLines",
          xOrient: "xOrient",
          xAxisOffset: "xAxisOffset",
          xScale: "xScale",
          dims: "dims",
          trimTicks: "trimTicks",
          maxTickLength: "maxTickLength",
          tickFormatting: "tickFormatting",
          showLabel: "showLabel",
          labelText: "labelText",
          ticks: "ticks",
          xAxisTickInterval: "xAxisTickInterval",
          xAxisTickCount: "xAxisTickCount"
        },
        outputs: {
          dimensionsChanged: "dimensionsChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c6,
        decls: 3,
        vars: 4,
        consts: [["ngx-charts-x-axis-ticks", "", 3, "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "tickArguments", "tickStroke", "scale", "orient", "showGridLines", "gridLineHeight", "width", "tickValues", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-axis-label", "", 3, "label", "offset", "orient", "height", "width", 4, "ngIf"], ["ngx-charts-x-axis-ticks", "", 3, "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "tickArguments", "tickStroke", "scale", "orient", "showGridLines", "gridLineHeight", "width", "tickValues", "dimensionsChanged"], ["ngx-charts-axis-label", "", 3, "label", "offset", "orient", "height", "width"]],
        template: function XAxisComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, XAxisComponent__svg_g_1_Template, 1, 12, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, XAxisComponent__svg_g_2_Template, 1, 5, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("class", ctx.xAxisClassName)("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xScale);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showLabel);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], XAxisTicksComponent, AxisLabelComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      XAxisComponent.propDecorators = {
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        ticks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickInterval: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickCount: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xOrient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisOffset: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dimensionsChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        ticksComponent: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: [XAxisTicksComponent]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](XAxisComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-x-axis]',
            template: "\n    <svg:g [attr.class]=\"xAxisClassName\" [attr.transform]=\"transform\">\n      <svg:g\n        ngx-charts-x-axis-ticks\n        *ngIf=\"xScale\"\n        [trimTicks]=\"trimTicks\"\n        [rotateTicks]=\"rotateTicks\"\n        [maxTickLength]=\"maxTickLength\"\n        [tickFormatting]=\"tickFormatting\"\n        [tickArguments]=\"tickArguments\"\n        [tickStroke]=\"tickStroke\"\n        [scale]=\"xScale\"\n        [orient]=\"xOrient\"\n        [showGridLines]=\"showGridLines\"\n        [gridLineHeight]=\"dims.height\"\n        [width]=\"dims.width\"\n        [tickValues]=\"ticks\"\n        (dimensionsChanged)=\"emitTicksHeight($event)\"\n      />\n      <svg:g\n        ngx-charts-axis-label\n        *ngIf=\"showLabel\"\n        [label]=\"labelText\"\n        [offset]=\"labelOffset\"\n        [orient]=\"'bottom'\"\n        [height]=\"dims.height\"\n        [width]=\"dims.width\"\n      ></svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          rotateTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xOrient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisOffset: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dimensionsChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ticks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickInterval: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickCount: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ticksComponent: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: [XAxisTicksComponent]
          }]
        });
      })();
      /**
       * Generates a rounded rectanglar path
       *
       * @export
       * @param x, y, w, h, r, tl, tr, bl, br
       */


      function roundedRect(x, y, w, h, r, _ref12) {
        var _ref13 = _slicedToArray(_ref12, 4),
            tl = _ref13[0],
            tr = _ref13[1],
            bl = _ref13[2],
            br = _ref13[3];

        var retval = '';
        w = Math.floor(w);
        h = Math.floor(h);
        w = w === 0 ? 1 : w;
        h = h === 0 ? 1 : h;
        retval = "M".concat([x + r, y]);
        retval += "h".concat(w - 2 * r);

        if (tr) {
          retval += "a".concat([r, r], " 0 0 1 ").concat([r, r]);
        } else {
          retval += "h".concat(r, "v").concat(r);
        }

        retval += "v".concat(h - 2 * r);

        if (br) {
          retval += "a".concat([r, r], " 0 0 1 ").concat([-r, r]);
        } else {
          retval += "v".concat(r, "h").concat(-r);
        }

        retval += "h".concat(2 * r - w);

        if (bl) {
          retval += "a".concat([r, r], " 0 0 1 ").concat([-r, -r]);
        } else {
          retval += "h".concat(-r, "v").concat(-r);
        }

        retval += "v".concat(2 * r - h);

        if (tl) {
          retval += "a".concat([r, r], " 0 0 1 ").concat([r, -r]);
        } else {
          retval += "v".concat(-r, "h").concat(r);
        }

        retval += "z";
        return retval;
      }

      var YAxisTicksComponent = /*#__PURE__*/function () {
        function YAxisTicksComponent() {
          _classCallCheck(this, YAxisTicksComponent);

          this.tickArguments = [5];
          this.tickStroke = '#ccc';
          this.trimTicks = true;
          this.maxTickLength = 16;
          this.showGridLines = false;
          this.showRefLabels = false;
          this.showRefLines = false;
          this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.innerTickSize = 6;
          this.tickPadding = 3;
          this.verticalSpacing = 20;
          this.textAnchor = 'middle';
          this.width = 0;
          this.outerTickSize = 6;
          this.rotateLabels = false;
          this.referenceLineLength = 0;
        }

        _createClass(YAxisTicksComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            var _this10 = this;

            setTimeout(function () {
              return _this10.updateDims();
            });
          }
        }, {
          key: "updateDims",
          value: function updateDims() {
            var _this11 = this;

            var width = parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width, 10);

            if (width !== this.width) {
              this.width = width;
              this.dimensionsChanged.emit({
                width: width
              });
              setTimeout(function () {
                return _this11.updateDims();
              });
            }
          }
        }, {
          key: "update",
          value: function update() {
            var _this12 = this;

            var scale;
            var sign = this.orient === 'top' || this.orient === 'right' ? -1 : 1;
            this.tickSpacing = Math.max(this.innerTickSize, 0) + this.tickPadding;
            scale = this.scale;
            this.ticks = this.getTicks();

            if (this.tickFormatting) {
              this.tickFormat = this.tickFormatting;
            } else if (scale.tickFormat) {
              this.tickFormat = scale.tickFormat.apply(scale, this.tickArguments);
            } else {
              this.tickFormat = function (d) {
                if (d.constructor.name === 'Date') {
                  return d.toLocaleDateString();
                }

                return d.toLocaleString();
              };
            }

            this.adjustedScale = scale.bandwidth ? function (d) {
              return scale(d) + scale.bandwidth() * 0.5;
            } : scale;

            if (this.showRefLines && this.referenceLines) {
              this.setReferencelines();
            }

            switch (this.orient) {
              case 'top':
                this.transform = function (tick) {
                  return 'translate(' + this.adjustedScale(tick) + ',0)';
                };

                this.textAnchor = 'middle';
                this.y2 = this.innerTickSize * sign;
                this.y1 = this.tickSpacing * sign;
                this.dy = sign < 0 ? '0em' : '.71em';
                break;

              case 'bottom':
                this.transform = function (tick) {
                  return 'translate(' + this.adjustedScale(tick) + ',0)';
                };

                this.textAnchor = 'middle';
                this.y2 = this.innerTickSize * sign;
                this.y1 = this.tickSpacing * sign;
                this.dy = sign < 0 ? '0em' : '.71em';
                break;

              case 'left':
                this.transform = function (tick) {
                  return 'translate(0,' + this.adjustedScale(tick) + ')';
                };

                this.textAnchor = 'end';
                this.x2 = this.innerTickSize * -sign;
                this.x1 = this.tickSpacing * -sign;
                this.dy = '.32em';
                break;

              case 'right':
                this.transform = function (tick) {
                  return 'translate(0,' + this.adjustedScale(tick) + ')';
                };

                this.textAnchor = 'start';
                this.x2 = this.innerTickSize * -sign;
                this.x1 = this.tickSpacing * -sign;
                this.dy = '.32em';
                break;

              default:
            }

            setTimeout(function () {
              return _this12.updateDims();
            });
          }
        }, {
          key: "setReferencelines",
          value: function setReferencelines() {
            this.refMin = this.adjustedScale(Math.min.apply(null, this.referenceLines.map(function (item) {
              return item.value;
            })));
            this.refMax = this.adjustedScale(Math.max.apply(null, this.referenceLines.map(function (item) {
              return item.value;
            })));
            this.referenceLineLength = this.referenceLines.length;
            this.referenceAreaPath = roundedRect(0, this.refMax, this.gridLineWidth, this.refMin - this.refMax, 0, [false, false, false, false]);
          }
        }, {
          key: "getTicks",
          value: function getTicks() {
            var ticks;
            var maxTicks = this.getMaxTicks(20);
            var maxScaleTicks = this.getMaxTicks(50);

            if (this.tickValues) {
              ticks = this.tickValues;
            } else if (this.scale.ticks) {
              ticks = this.scale.ticks.apply(this.scale, [maxScaleTicks]);
            } else {
              ticks = this.scale.domain();
              ticks = reduceTicks(ticks, maxTicks);
            }

            return ticks;
          }
        }, {
          key: "getMaxTicks",
          value: function getMaxTicks(tickHeight) {
            return Math.floor(this.height / tickHeight);
          }
        }, {
          key: "tickTransform",
          value: function tickTransform(tick) {
            return "translate(".concat(this.adjustedScale(tick), ",").concat(this.verticalSpacing, ")");
          }
        }, {
          key: "gridLineTransform",
          value: function gridLineTransform() {
            return "translate(5,0)";
          }
        }, {
          key: "tickTrim",
          value: function tickTrim(label) {
            return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
          }
        }]);

        return YAxisTicksComponent;
      }();

      YAxisTicksComponent.ɵfac = function YAxisTicksComponent_Factory(t) {
        return new (t || YAxisTicksComponent)();
      };

      YAxisTicksComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: YAxisTicksComponent,
        selectors: [["g", "ngx-charts-y-axis-ticks", ""]],
        viewQuery: function YAxisTicksComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c4, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ticksElement = _t.first);
          }
        },
        inputs: {
          tickArguments: "tickArguments",
          tickStroke: "tickStroke",
          trimTicks: "trimTicks",
          maxTickLength: "maxTickLength",
          showGridLines: "showGridLines",
          showRefLabels: "showRefLabels",
          showRefLines: "showRefLines",
          scale: "scale",
          orient: "orient",
          tickValues: "tickValues",
          tickFormatting: "tickFormatting",
          gridLineWidth: "gridLineWidth",
          height: "height",
          referenceLines: "referenceLines"
        },
        outputs: {
          dimensionsChanged: "dimensionsChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c7,
        decls: 6,
        vars: 4,
        consts: [["ticksel", ""], ["class", "tick", 4, "ngFor", "ngForOf"], ["class", "reference-area", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "tick"], ["stroke-width", "0.01"], [1, "reference-area"], [4, "ngIf"], ["class", "gridline-path gridline-path-horizontal", "x1", "0", 4, "ngIf"], ["x1", "0", 1, "gridline-path", "gridline-path-horizontal"], ["x1", "0", 1, "refline-path", "gridline-path-horizontal"], [1, "refline-label"]],
        template: function YAxisTicksComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", null, 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, YAxisTicksComponent__svg_g_2_Template, 5, 9, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, YAxisTicksComponent__svg_path_3_Template, 1, 2, "path", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, YAxisTicksComponent__svg_g_4_Template, 2, 2, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, YAxisTicksComponent__svg_g_5_Template, 2, 1, "g", 3);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.referenceLineLength > 1 && ctx.refMax && ctx.refMin && ctx.showRefLines);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.referenceLines);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"]],
        encapsulation: 2,
        changeDetection: 0
      });
      YAxisTicksComponent.propDecorators = {
        scale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        orient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickArguments: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickValues: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickStroke: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gridLineWidth: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        referenceLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showRefLabels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showRefLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dimensionsChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        ticksElement: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['ticksel']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](YAxisTicksComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-y-axis-ticks]',
            template: "\n    <svg:g #ticksel>\n      <svg:g *ngFor=\"let tick of ticks\" class=\"tick\" [attr.transform]=\"transform(tick)\">\n        <title>{{ tickFormat(tick) }}</title>\n        <svg:text\n          stroke-width=\"0.01\"\n          [attr.dy]=\"dy\"\n          [attr.x]=\"x1\"\n          [attr.y]=\"y1\"\n          [attr.text-anchor]=\"textAnchor\"\n          [style.font-size]=\"'12px'\"\n        >\n          {{ tickTrim(tickFormat(tick)) }}\n        </svg:text>\n      </svg:g>\n    </svg:g>\n\n    <svg:path\n      *ngIf=\"referenceLineLength > 1 && refMax && refMin && showRefLines\"\n      class=\"reference-area\"\n      [attr.d]=\"referenceAreaPath\"\n      [attr.transform]=\"gridLineTransform()\"\n    />\n    <svg:g *ngFor=\"let tick of ticks\" [attr.transform]=\"transform(tick)\">\n      <svg:g *ngIf=\"showGridLines\" [attr.transform]=\"gridLineTransform()\">\n        <svg:line\n          *ngIf=\"orient === 'left'\"\n          class=\"gridline-path gridline-path-horizontal\"\n          x1=\"0\"\n          [attr.x2]=\"gridLineWidth\"\n        />\n        <svg:line\n          *ngIf=\"orient === 'right'\"\n          class=\"gridline-path gridline-path-horizontal\"\n          x1=\"0\"\n          [attr.x2]=\"-gridLineWidth\"\n        />\n      </svg:g>\n    </svg:g>\n\n    <svg:g *ngFor=\"let refLine of referenceLines\">\n      <svg:g *ngIf=\"showRefLines\" [attr.transform]=\"transform(refLine.value)\">\n        <svg:line\n          class=\"refline-path gridline-path-horizontal\"\n          x1=\"0\"\n          [attr.x2]=\"gridLineWidth\"\n          [attr.transform]=\"gridLineTransform()\"\n        />\n        <svg:g *ngIf=\"showRefLabels\">\n          <title>{{ tickTrim(tickFormat(refLine.value)) }}</title>\n          <svg:text\n            class=\"refline-label\"\n            [attr.dy]=\"dy\"\n            [attr.y]=\"-6\"\n            [attr.x]=\"gridLineWidth\"\n            [attr.text-anchor]=\"textAnchor\"\n          >\n            {{ refLine.name }}\n          </svg:text>\n        </svg:g>\n      </svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          tickArguments: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickStroke: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showRefLabels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showRefLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dimensionsChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          scale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          orient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickValues: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gridLineWidth: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          referenceLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ticksElement: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['ticksel']
          }]
        });
      })();

      var YAxisComponent = /*#__PURE__*/function () {
        function YAxisComponent() {
          _classCallCheck(this, YAxisComponent);

          this.showGridLines = false;
          this.yOrient = 'left';
          this.yAxisOffset = 0;
          this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.yAxisClassName = 'y axis';
          this.labelOffset = 15;
          this.fill = 'none';
          this.stroke = '#CCC';
          this.tickStroke = '#CCC';
          this.strokeWidth = 1;
          this.padding = 5;
        }

        _createClass(YAxisComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.offset = -(this.yAxisOffset + this.padding);

            if (this.yOrient === 'right') {
              this.labelOffset = 65;
              this.transform = "translate(".concat(this.offset + this.dims.width, " , 0)");
            } else {
              this.offset = this.offset;
              this.transform = "translate(".concat(this.offset, " , 0)");
            }

            if (this.yAxisTickCount !== undefined) {
              this.tickArguments = [this.yAxisTickCount];
            }
          }
        }, {
          key: "emitTicksWidth",
          value: function emitTicksWidth(_ref14) {
            var _this13 = this;

            var width = _ref14.width;

            if (width !== this.labelOffset && this.yOrient === 'right') {
              this.labelOffset = width + this.labelOffset;
              setTimeout(function () {
                _this13.dimensionsChanged.emit({
                  width: width
                });
              }, 0);
            } else if (width !== this.labelOffset) {
              this.labelOffset = width;
              setTimeout(function () {
                _this13.dimensionsChanged.emit({
                  width: width
                });
              }, 0);
            }
          }
        }]);

        return YAxisComponent;
      }();

      YAxisComponent.ɵfac = function YAxisComponent_Factory(t) {
        return new (t || YAxisComponent)();
      };

      YAxisComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: YAxisComponent,
        selectors: [["g", "ngx-charts-y-axis", ""]],
        viewQuery: function YAxisComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](YAxisTicksComponent, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ticksComponent = _t.first);
          }
        },
        inputs: {
          showGridLines: "showGridLines",
          yOrient: "yOrient",
          yAxisOffset: "yAxisOffset",
          yScale: "yScale",
          dims: "dims",
          trimTicks: "trimTicks",
          maxTickLength: "maxTickLength",
          tickFormatting: "tickFormatting",
          ticks: "ticks",
          showLabel: "showLabel",
          labelText: "labelText",
          yAxisTickInterval: "yAxisTickInterval",
          yAxisTickCount: "yAxisTickCount",
          referenceLines: "referenceLines",
          showRefLines: "showRefLines",
          showRefLabels: "showRefLabels"
        },
        outputs: {
          dimensionsChanged: "dimensionsChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c8,
        decls: 3,
        vars: 4,
        consts: [["ngx-charts-y-axis-ticks", "", 3, "trimTicks", "maxTickLength", "tickFormatting", "tickArguments", "tickValues", "tickStroke", "scale", "orient", "showGridLines", "gridLineWidth", "referenceLines", "showRefLines", "showRefLabels", "height", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-axis-label", "", 3, "label", "offset", "orient", "height", "width", 4, "ngIf"], ["ngx-charts-y-axis-ticks", "", 3, "trimTicks", "maxTickLength", "tickFormatting", "tickArguments", "tickValues", "tickStroke", "scale", "orient", "showGridLines", "gridLineWidth", "referenceLines", "showRefLines", "showRefLabels", "height", "dimensionsChanged"], ["ngx-charts-axis-label", "", 3, "label", "offset", "orient", "height", "width"]],
        template: function YAxisComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, YAxisComponent__svg_g_1_Template, 1, 14, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, YAxisComponent__svg_g_2_Template, 1, 5, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("class", ctx.yAxisClassName)("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yScale);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showLabel);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], YAxisTicksComponent, AxisLabelComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      YAxisComponent.propDecorators = {
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        ticks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickInterval: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickCount: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yOrient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        referenceLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showRefLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showRefLabels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisOffset: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dimensionsChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        ticksComponent: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: [YAxisTicksComponent]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](YAxisComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-y-axis]',
            template: "\n    <svg:g [attr.class]=\"yAxisClassName\" [attr.transform]=\"transform\">\n      <svg:g\n        ngx-charts-y-axis-ticks\n        *ngIf=\"yScale\"\n        [trimTicks]=\"trimTicks\"\n        [maxTickLength]=\"maxTickLength\"\n        [tickFormatting]=\"tickFormatting\"\n        [tickArguments]=\"tickArguments\"\n        [tickValues]=\"ticks\"\n        [tickStroke]=\"tickStroke\"\n        [scale]=\"yScale\"\n        [orient]=\"yOrient\"\n        [showGridLines]=\"showGridLines\"\n        [gridLineWidth]=\"dims.width\"\n        [referenceLines]=\"referenceLines\"\n        [showRefLines]=\"showRefLines\"\n        [showRefLabels]=\"showRefLabels\"\n        [height]=\"dims.height\"\n        (dimensionsChanged)=\"emitTicksWidth($event)\"\n      />\n\n      <svg:g\n        ngx-charts-axis-label\n        *ngIf=\"showLabel\"\n        [label]=\"labelText\"\n        [offset]=\"labelOffset\"\n        [orient]=\"yOrient\"\n        [height]=\"dims.height\"\n        [width]=\"dims.width\"\n      ></svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yOrient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisOffset: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dimensionsChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ticks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickInterval: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickCount: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          referenceLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showRefLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showRefLabels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ticksComponent: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: [YAxisTicksComponent]
          }]
        });
      })();

      var AxesModule = function AxesModule() {
        _classCallCheck(this, AxesModule);
      };

      AxesModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: AxesModule
      });
      AxesModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function AxesModule_Factory(t) {
          return new (t || AxesModule)();
        },
        imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AxesModule, {
          declarations: function declarations() {
            return [AxisLabelComponent, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent];
          },
          imports: function imports() {
            return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]];
          },
          exports: function exports() {
            return [AxisLabelComponent, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent];
          }
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AxesModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]],
            declarations: [AxisLabelComponent, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent],
            exports: [AxisLabelComponent, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent]
          }]
        }], null, null);
      })();

      var StyleTypes;

      (function (StyleTypes) {
        StyleTypes[StyleTypes["popover"] = 'popover'] = "popover";
        StyleTypes[StyleTypes["tooltip"] = 'tooltip'] = "tooltip";
      })(StyleTypes || (StyleTypes = {}));

      var AlignmentTypes;

      (function (AlignmentTypes) {
        AlignmentTypes[AlignmentTypes["left"] = 'left'] = "left";
        AlignmentTypes[AlignmentTypes["center"] = 'center'] = "center";
        AlignmentTypes[AlignmentTypes["right"] = 'right'] = "right";
      })(AlignmentTypes || (AlignmentTypes = {}));

      var ShowTypes;

      (function (ShowTypes) {
        ShowTypes[ShowTypes["all"] = 'all'] = "all";
        ShowTypes[ShowTypes["focus"] = 'focus'] = "focus";
        ShowTypes[ShowTypes["mouseover"] = 'mouseover'] = "mouseover";
      })(ShowTypes || (ShowTypes = {}));

      var TooltipDirective = /*#__PURE__*/function () {
        function TooltipDirective(tooltipService, viewContainerRef, renderer) {
          _classCallCheck(this, TooltipDirective);

          this.tooltipService = tooltipService;
          this.viewContainerRef = viewContainerRef;
          this.renderer = renderer;
          this.tooltipCssClass = '';
          this.tooltipTitle = '';
          this.tooltipAppendToBody = true;
          this.tooltipSpacing = 10;
          this.tooltipDisabled = false;
          this.tooltipShowCaret = true;
          this.tooltipPlacement = PlacementTypes.top;
          this.tooltipAlignment = AlignmentTypes.center;
          this.tooltipType = StyleTypes.popover;
          this.tooltipCloseOnClickOutside = true;
          this.tooltipCloseOnMouseLeave = true;
          this.tooltipHideTimeout = 300;
          this.tooltipShowTimeout = 100;
          this.tooltipShowEvent = ShowTypes.all;
          this.tooltipImmediateExit = false;
          this.show = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(TooltipDirective, [{
          key: "listensForFocus",
          get: function get() {
            return this.tooltipShowEvent === ShowTypes.all || this.tooltipShowEvent === ShowTypes.focus;
          }
        }, {
          key: "listensForHover",
          get: function get() {
            return this.tooltipShowEvent === ShowTypes.all || this.tooltipShowEvent === ShowTypes.mouseover;
          }
        }, {
          key: "ngOnDestroy",
          value: function ngOnDestroy() {
            this.hideTooltip(true);
          }
        }, {
          key: "onFocus",
          value: function onFocus() {
            if (this.listensForFocus) {
              this.showTooltip();
            }
          }
        }, {
          key: "onBlur",
          value: function onBlur() {
            if (this.listensForFocus) {
              this.hideTooltip(true);
            }
          }
        }, {
          key: "onMouseEnter",
          value: function onMouseEnter() {
            if (this.listensForHover) {
              this.showTooltip();
            }
          }
        }, {
          key: "onMouseLeave",
          value: function onMouseLeave(target) {
            if (this.listensForHover && this.tooltipCloseOnMouseLeave) {
              clearTimeout(this.timeout);

              if (this.component) {
                var contentDom = this.component.instance.element.nativeElement;
                var contains = contentDom.contains(target);
                if (contains) return;
              }

              this.hideTooltip(this.tooltipImmediateExit);
            }
          }
        }, {
          key: "onMouseClick",
          value: function onMouseClick() {
            if (this.listensForHover) {
              this.hideTooltip(true);
            }
          }
        }, {
          key: "showTooltip",
          value: function showTooltip(immediate) {
            var _this14 = this;

            if (this.component || this.tooltipDisabled) return;
            var time = immediate ? 0 : this.tooltipShowTimeout;
            clearTimeout(this.timeout);
            this.timeout = setTimeout(function () {
              _this14.tooltipService.destroyAll();

              var options = _this14.createBoundOptions();

              _this14.component = _this14.tooltipService.create(options); // add a tiny timeout to avoid event re-triggers

              setTimeout(function () {
                if (_this14.component) {
                  _this14.addHideListeners(_this14.component.instance.element.nativeElement);
                }
              }, 10);

              _this14.show.emit(true);
            }, time);
          }
        }, {
          key: "addHideListeners",
          value: function addHideListeners(tooltip) {
            var _this15 = this;

            // on mouse enter, cancel the hide triggered by the leave
            this.mouseEnterContentEvent = this.renderer.listen(tooltip, 'mouseenter', function () {
              clearTimeout(_this15.timeout);
            }); // content mouse leave listener

            if (this.tooltipCloseOnMouseLeave) {
              this.mouseLeaveContentEvent = this.renderer.listen(tooltip, 'mouseleave', function () {
                _this15.hideTooltip(_this15.tooltipImmediateExit);
              });
            } // content close on click outside


            if (this.tooltipCloseOnClickOutside) {
              this.documentClickEvent = this.renderer.listen(document, 'click', function (event) {
                var contains = tooltip.contains(event.target);
                if (!contains) _this15.hideTooltip();
              });
            }
          }
        }, {
          key: "hideTooltip",
          value: function hideTooltip() {
            var _this16 = this;

            var immediate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
            if (!this.component) return;

            var destroyFn = function destroyFn() {
              // remove events
              if (_this16.mouseLeaveContentEvent) _this16.mouseLeaveContentEvent();
              if (_this16.mouseEnterContentEvent) _this16.mouseEnterContentEvent();
              if (_this16.documentClickEvent) _this16.documentClickEvent(); // emit events

              _this16.hide.emit(true); // destroy component


              _this16.tooltipService.destroy(_this16.component);

              _this16.component = undefined;
            };

            clearTimeout(this.timeout);

            if (!immediate) {
              this.timeout = setTimeout(destroyFn, this.tooltipHideTimeout);
            } else {
              destroyFn();
            }
          }
        }, {
          key: "createBoundOptions",
          value: function createBoundOptions() {
            return {
              title: this.tooltipTitle,
              template: this.tooltipTemplate,
              host: this.viewContainerRef.element,
              placement: this.tooltipPlacement,
              alignment: this.tooltipAlignment,
              type: this.tooltipType,
              showCaret: this.tooltipShowCaret,
              cssClass: this.tooltipCssClass,
              spacing: this.tooltipSpacing,
              context: this.tooltipContext
            };
          }
        }]);

        return TooltipDirective;
      }();

      TooltipDirective.ɵfac = function TooltipDirective_Factory(t) {
        return new (t || TooltipDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](TooltipService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]));
      };

      TooltipDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
        type: TooltipDirective,
        selectors: [["", "ngx-tooltip", ""]],
        hostBindings: function TooltipDirective_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("focusin", function TooltipDirective_focusin_HostBindingHandler() {
              return ctx.onFocus();
            })("blur", function TooltipDirective_blur_HostBindingHandler() {
              return ctx.onBlur();
            })("mouseenter", function TooltipDirective_mouseenter_HostBindingHandler() {
              return ctx.onMouseEnter();
            })("mouseleave", function TooltipDirective_mouseleave_HostBindingHandler($event) {
              return ctx.onMouseLeave($event.target);
            })("click", function TooltipDirective_click_HostBindingHandler() {
              return ctx.onMouseClick();
            });
          }
        },
        inputs: {
          tooltipCssClass: "tooltipCssClass",
          tooltipTitle: "tooltipTitle",
          tooltipAppendToBody: "tooltipAppendToBody",
          tooltipSpacing: "tooltipSpacing",
          tooltipDisabled: "tooltipDisabled",
          tooltipShowCaret: "tooltipShowCaret",
          tooltipPlacement: "tooltipPlacement",
          tooltipAlignment: "tooltipAlignment",
          tooltipType: "tooltipType",
          tooltipCloseOnClickOutside: "tooltipCloseOnClickOutside",
          tooltipCloseOnMouseLeave: "tooltipCloseOnMouseLeave",
          tooltipHideTimeout: "tooltipHideTimeout",
          tooltipShowTimeout: "tooltipShowTimeout",
          tooltipShowEvent: "tooltipShowEvent",
          tooltipImmediateExit: "tooltipImmediateExit",
          tooltipTemplate: "tooltipTemplate",
          tooltipContext: "tooltipContext"
        },
        outputs: {
          show: "show",
          hide: "hide"
        }
      });

      TooltipDirective.ctorParameters = function () {
        return [{
          type: TooltipService
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
        }];
      };

      TooltipDirective.propDecorators = {
        tooltipCssClass: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipAppendToBody: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipSpacing: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipShowCaret: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipPlacement: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipAlignment: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipCloseOnClickOutside: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipCloseOnMouseLeave: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipHideTimeout: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipShowTimeout: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipShowEvent: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipContext: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipImmediateExit: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        show: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        hide: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onFocus: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['focusin']
        }],
        onBlur: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['blur']
        }],
        onMouseEnter: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseenter']
        }],
        onMouseLeave: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave', ['$event.target']]
        }],
        onMouseClick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['click']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TooltipDirective, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
          args: [{
            selector: '[ngx-tooltip]'
          }]
        }], function () {
          return [{
            type: TooltipService
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
          }];
        }, {
          tooltipCssClass: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipAppendToBody: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipSpacing: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipShowCaret: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipPlacement: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipAlignment: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipCloseOnClickOutside: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipCloseOnMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipHideTimeout: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipShowTimeout: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipShowEvent: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipImmediateExit: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          show: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          hide: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          onFocus: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['focusin']
          }],
          onBlur: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['blur']
          }],
          onMouseEnter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseenter']
          }],
          onMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave', ['$event.target']]
          }],
          onMouseClick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['click']
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipContext: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var TooltipModule = function TooltipModule() {
        _classCallCheck(this, TooltipModule);
      };

      TooltipModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: TooltipModule
      });
      TooltipModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function TooltipModule_Factory(t) {
          return new (t || TooltipModule)();
        },
        providers: [InjectionService, TooltipService],
        imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](TooltipModule, {
          declarations: function declarations() {
            return [TooltipContentComponent, TooltipDirective];
          },
          imports: function imports() {
            return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]];
          },
          exports: function exports() {
            return [TooltipContentComponent, TooltipDirective];
          }
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TooltipModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            declarations: [TooltipContentComponent, TooltipDirective],
            providers: [InjectionService, TooltipService],
            exports: [TooltipContentComponent, TooltipDirective],
            imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]],
            entryComponents: [TooltipContentComponent]
          }]
        }], null, null);
      })();
      /**
       * Formats a label given a date, number or string.
       *
       * @export
       */


      function formatLabel(label) {
        if (label instanceof Date) {
          label = label.toLocaleDateString();
        } else {
          label = label.toLocaleString();
        }

        return label;
      }
      /**
       * Escapes a label.
       *
       * @export
       */


      function escapeLabel(label) {
        return label.toLocaleString().replace(/[&'`"<>]/g, function (match) {
          return {
            '&': '&amp;',
            // tslint:disable-next-line: quotemark
            "'": '&#x27;',
            '`': '&#x60;',
            '"': '&quot;',
            '<': '&lt;',
            '>': '&gt;'
          }[match];
        });
      }

      var cache = {};
      /**
       * Generates a short id.
       *
       * Description:
       *   A 4-character alphanumeric sequence (364 = 1.6 million)
       *   This should only be used for JavaScript specific models.
       *   http://stackoverflow.com/questions/6248666/how-to-generate-short-uid-like-ax4j9z-in-js
       *
       *   Example: `ebgf`
       */

      function id() {
        var newId = ('0000' + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4); // append a 'a' because neo gets mad

        newId = "a".concat(newId); // ensure not already used

        if (!cache[newId]) {
          cache[newId] = true;
          return newId;
        }

        return id();
      }

      var CircleSeriesComponent = /*#__PURE__*/function () {
        function CircleSeriesComponent() {
          _classCallCheck(this, CircleSeriesComponent);

          this.type = 'standard';
          this.tooltipDisabled = false;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.barVisible = false;
        }

        _createClass(CircleSeriesComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            this.gradientId = 'grad' + id().toString();
            this.gradientFill = "url(#".concat(this.gradientId, ")");
          }
        }, {
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.circle = this.getActiveCircle();
          }
        }, {
          key: "getActiveCircle",
          value: function getActiveCircle() {
            var _this17 = this;

            var indexActiveDataPoint = this.data.series.findIndex(function (d) {
              var label = d.name;
              return label && _this17.visibleValue && label.toString() === _this17.visibleValue.toString() && d.value !== undefined;
            });

            if (indexActiveDataPoint === -1) {
              // No valid point is 'active/hovered over' at this moment.
              return undefined;
            }

            return this.mapDataPointToCircle(this.data.series[indexActiveDataPoint], indexActiveDataPoint);
          }
        }, {
          key: "mapDataPointToCircle",
          value: function mapDataPointToCircle(d, i) {
            var seriesName = this.data.name;
            var value = d.value;
            var label = d.name;
            var tooltipLabel = formatLabel(label);
            var cx;

            if (this.scaleType === 'time') {
              cx = this.xScale(label);
            } else if (this.scaleType === 'linear') {
              cx = this.xScale(Number(label));
            } else {
              cx = this.xScale(label);
            }

            var cy = this.yScale(this.type === 'standard' ? value : d.d1);
            var radius = 5;
            var height = this.yScale.range()[0] - cy;
            var opacity = 1;
            var color;

            if (this.colors.scaleType === 'linear') {
              if (this.type === 'standard') {
                color = this.colors.getColor(value);
              } else {
                color = this.colors.getColor(d.d1);
              }
            } else {
              color = this.colors.getColor(seriesName);
            }

            var data = Object.assign({}, d, {
              series: seriesName,
              value: value,
              name: label
            });
            return {
              classNames: ["circle-data-".concat(i)],
              value: value,
              label: label,
              data: data,
              cx: cx,
              cy: cy,
              radius: radius,
              height: height,
              tooltipLabel: tooltipLabel,
              color: color,
              opacity: opacity,
              seriesName: seriesName,
              gradientStops: this.getGradientStops(color),
              min: d.min,
              max: d.max
            };
          }
        }, {
          key: "getTooltipText",
          value: function getTooltipText(_ref15) {
            var tooltipLabel = _ref15.tooltipLabel,
                value = _ref15.value,
                seriesName = _ref15.seriesName,
                min = _ref15.min,
                max = _ref15.max;
            return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(seriesName), " \u2022 ").concat(escapeLabel(tooltipLabel), "</span>\n      <span class=\"tooltip-val\">").concat(value.toLocaleString()).concat(this.getTooltipMinMaxText(min, max), "</span>\n    ");
          }
        }, {
          key: "getTooltipMinMaxText",
          value: function getTooltipMinMaxText(min, max) {
            if (min !== undefined || max !== undefined) {
              var result = ' (';

              if (min !== undefined) {
                if (max === undefined) {
                  result += '≥';
                }

                result += min.toLocaleString();

                if (max !== undefined) {
                  result += ' - ';
                }
              } else if (max !== undefined) {
                result += '≤';
              }

              if (max !== undefined) {
                result += max.toLocaleString();
              }

              result += ')';
              return result;
            } else {
              return '';
            }
          }
        }, {
          key: "getGradientStops",
          value: function getGradientStops(color) {
            return [{
              offset: 0,
              color: color,
              opacity: 0.2
            }, {
              offset: 100,
              color: color,
              opacity: 1
            }];
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item !== undefined;
          }
        }, {
          key: "activateCircle",
          value: function activateCircle() {
            this.barVisible = true;
            this.activate.emit({
              name: this.data.name
            });
          }
        }, {
          key: "deactivateCircle",
          value: function deactivateCircle() {
            this.barVisible = false;
            this.circle.opacity = 0;
            this.deactivate.emit({
              name: this.data.name
            });
          }
        }]);

        return CircleSeriesComponent;
      }();

      CircleSeriesComponent.ɵfac = function CircleSeriesComponent_Factory(t) {
        return new (t || CircleSeriesComponent)();
      };

      CircleSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CircleSeriesComponent,
        selectors: [["g", "ngx-charts-circle-series", ""]],
        inputs: {
          type: "type",
          tooltipDisabled: "tooltipDisabled",
          data: "data",
          xScale: "xScale",
          yScale: "yScale",
          colors: "colors",
          scaleType: "scaleType",
          visibleValue: "visibleValue",
          activeEntries: "activeEntries",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c9,
        decls: 1,
        vars: 1,
        consts: [[4, "ngIf"], ["ngx-charts-svg-linear-gradient", "", "orientation", "vertical", 3, "name", "stops"], ["class", "tooltip-bar", 4, "ngIf"], ["ngx-charts-circle", "", "ngx-tooltip", "", 1, "circle", 3, "cx", "cy", "r", "fill", "pointerEvents", "data", "classNames", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate"], [1, "tooltip-bar"]],
        template: function CircleSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CircleSeriesComponent__svg_g_0_Template, 5, 20, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.circle);
          }
        },
        directives: function directives() {
          return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SvgLinearGradientComponent, CircleComponent, TooltipDirective];
        },
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }))])])]
        },
        changeDetection: 0
      });
      CircleSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        type: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        visibleValue: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CircleSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-circle-series]',
            template: "\n    <svg:g *ngIf=\"circle\">\n      <defs>\n        <svg:g\n          ngx-charts-svg-linear-gradient\n          orientation=\"vertical\"\n          [name]=\"gradientId\"\n          [stops]=\"circle.gradientStops\"\n        />\n      </defs>\n      <svg:rect\n        *ngIf=\"barVisible && type === 'standard'\"\n        [@animationState]=\"'active'\"\n        [attr.x]=\"circle.cx - circle.radius\"\n        [attr.y]=\"circle.cy\"\n        [attr.width]=\"circle.radius * 2\"\n        [attr.height]=\"circle.height\"\n        [attr.fill]=\"gradientFill\"\n        class=\"tooltip-bar\"\n      />\n      <svg:g\n        ngx-charts-circle\n        class=\"circle\"\n        [cx]=\"circle.cx\"\n        [cy]=\"circle.cy\"\n        [r]=\"circle.radius\"\n        [fill]=\"circle.color\"\n        [class.active]=\"isActive({ name: circle.seriesName })\"\n        [pointerEvents]=\"circle.value === 0 ? 'none' : 'all'\"\n        [data]=\"circle.value\"\n        [classNames]=\"circle.classNames\"\n        (select)=\"onClick(circle.data)\"\n        (activate)=\"activateCircle()\"\n        (deactivate)=\"deactivateCircle()\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'top'\"\n        [tooltipType]=\"'tooltip'\"\n        [tooltipTitle]=\"tooltipTemplate ? undefined : getTooltipText(circle)\"\n        [tooltipTemplate]=\"tooltipTemplate\"\n        [tooltipContext]=\"circle.data\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }))])])]
          }]
        }], function () {
          return [];
        }, {
          type: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          visibleValue: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var CircleComponent = /*#__PURE__*/function () {
        function CircleComponent() {
          _classCallCheck(this, CircleComponent);

          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(CircleComponent, [{
          key: "onClick",
          value: function onClick() {
            this.select.emit(this.data);
          }
        }, {
          key: "onMouseEnter",
          value: function onMouseEnter() {
            this.activate.emit(this.data);
          }
        }, {
          key: "onMouseLeave",
          value: function onMouseLeave() {
            this.deactivate.emit(this.data);
          }
        }, {
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.classNames = Array.isArray(this.classNames) ? this.classNames.join(' ') : '';
            this.classNames += 'circle';
          }
        }]);

        return CircleComponent;
      }();

      CircleComponent.ɵfac = function CircleComponent_Factory(t) {
        return new (t || CircleComponent)();
      };

      CircleComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CircleComponent,
        selectors: [["g", "ngx-charts-circle", ""]],
        hostBindings: function CircleComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CircleComponent_click_HostBindingHandler() {
              return ctx.onClick();
            })("mouseenter", function CircleComponent_mouseenter_HostBindingHandler() {
              return ctx.onMouseEnter();
            })("mouseleave", function CircleComponent_mouseleave_HostBindingHandler() {
              return ctx.onMouseLeave();
            });
          }
        },
        inputs: {
          classNames: "classNames",
          cx: "cx",
          cy: "cy",
          r: "r",
          fill: "fill",
          stroke: "stroke",
          data: "data",
          circleOpacity: "circleOpacity",
          pointerEvents: "pointerEvents"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c11,
        decls: 1,
        vars: 8,
        template: function CircleComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "circle");
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("cx", ctx.cx)("cy", ctx.cy)("r", ctx.r)("fill", ctx.fill)("stroke", ctx.stroke)("opacity", ctx.circleOpacity)("class", ctx.classNames)("pointer-events", ctx.pointerEvents);
          }
        },
        encapsulation: 2,
        changeDetection: 0
      });
      CircleComponent.propDecorators = {
        cx: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cy: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        r: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stroke: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        classNames: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        circleOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        pointerEvents: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onClick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['click']
        }],
        onMouseEnter: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseenter']
        }],
        onMouseLeave: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CircleComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-circle]',
            template: "\n    <svg:circle\n      [attr.cx]=\"cx\"\n      [attr.cy]=\"cy\"\n      [attr.r]=\"r\"\n      [attr.fill]=\"fill\"\n      [attr.stroke]=\"stroke\"\n      [attr.opacity]=\"circleOpacity\"\n      [attr.class]=\"classNames\"\n      [attr.pointer-events]=\"pointerEvents\"\n    />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          onClick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['click']
          }],
          onMouseEnter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseenter']
          }],
          onMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          classNames: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cx: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cy: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          r: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stroke: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          circleOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          pointerEvents: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var GridPanelComponent = function GridPanelComponent() {
        _classCallCheck(this, GridPanelComponent);
      };

      GridPanelComponent.ɵfac = function GridPanelComponent_Factory(t) {
        return new (t || GridPanelComponent)();
      };

      GridPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: GridPanelComponent,
        selectors: [["g", "ngx-charts-grid-panel", ""]],
        inputs: {
          path: "path",
          width: "width",
          height: "height",
          x: "x",
          y: "y"
        },
        attrs: _c12,
        decls: 1,
        vars: 4,
        consts: [["stroke", "none", 1, "gridpanel"]],
        template: function GridPanelComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "rect", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("height", ctx.height)("width", ctx.width)("x", ctx.x)("y", ctx.y);
          }
        },
        encapsulation: 2,
        changeDetection: 0
      });
      GridPanelComponent.propDecorators = {
        path: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        x: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        y: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GridPanelComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-grid-panel]',
            template: "\n    <svg:rect [attr.height]=\"height\" [attr.width]=\"width\" [attr.x]=\"x\" [attr.y]=\"y\" stroke=\"none\" class=\"gridpanel\" />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], null, {
          path: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          x: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          y: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var GridPanelSeriesComponent = /*#__PURE__*/function () {
        function GridPanelSeriesComponent() {
          _classCallCheck(this, GridPanelSeriesComponent);
        }

        _createClass(GridPanelSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.gridPanels = this.getGridPanels();
          }
        }, {
          key: "getGridPanels",
          value: function getGridPanels() {
            var _this18 = this;

            return this.data.map(function (d) {
              var offset;
              var width;
              var height;
              var x;
              var y;
              var className = 'odd';

              if (_this18.orient === 'vertical') {
                var position = _this18.xScale(d.name);

                var positionIndex = Number.parseInt((position / _this18.xScale.step()).toString(), 10);

                if (positionIndex % 2 === 1) {
                  className = 'even';
                }

                offset = _this18.xScale.bandwidth() * _this18.xScale.paddingInner();
                width = _this18.xScale.bandwidth() + offset;
                height = _this18.dims.height;
                x = _this18.xScale(d.name) - offset / 2;
                y = 0;
              } else if (_this18.orient === 'horizontal') {
                var _position = _this18.yScale(d.name);

                var _positionIndex = Number.parseInt((_position / _this18.yScale.step()).toString(), 10);

                if (_positionIndex % 2 === 1) {
                  className = 'even';
                }

                offset = _this18.yScale.bandwidth() * _this18.yScale.paddingInner();
                width = _this18.dims.width;
                height = _this18.yScale.bandwidth() + offset;
                x = 0;
                y = _this18.yScale(d.name) - offset / 2;
              }

              return {
                name: d.name,
                "class": className,
                height: height,
                width: width,
                x: x,
                y: y
              };
            });
          }
        }]);

        return GridPanelSeriesComponent;
      }();

      GridPanelSeriesComponent.ɵfac = function GridPanelSeriesComponent_Factory(t) {
        return new (t || GridPanelSeriesComponent)();
      };

      GridPanelSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: GridPanelSeriesComponent,
        selectors: [["g", "ngx-charts-grid-panel-series", ""]],
        inputs: {
          data: "data",
          dims: "dims",
          xScale: "xScale",
          yScale: "yScale",
          orient: "orient"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c13,
        decls: 1,
        vars: 1,
        consts: [["ngx-charts-grid-panel", "", 3, "height", "width", "x", "y", "grid-panel", "odd", "even", 4, "ngFor", "ngForOf"], ["ngx-charts-grid-panel", "", 3, "height", "width", "x", "y"]],
        template: function GridPanelSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, GridPanelSeriesComponent__svg_g_0_Template, 1, 10, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.gridPanels);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], GridPanelComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      GridPanelSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        orient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GridPanelSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-grid-panel-series]',
            template: "\n    <svg:g\n      ngx-charts-grid-panel\n      *ngFor=\"let gridPanel of gridPanels\"\n      [height]=\"gridPanel.height\"\n      [width]=\"gridPanel.width\"\n      [x]=\"gridPanel.x\"\n      [y]=\"gridPanel.y\"\n      [class.grid-panel]=\"true\"\n      [class.odd]=\"gridPanel.class === 'odd'\"\n      [class.even]=\"gridPanel.class === 'even'\"\n    ></svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], null, {
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          orient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var SvgLinearGradientComponent = /*#__PURE__*/function () {
        function SvgLinearGradientComponent() {
          _classCallCheck(this, SvgLinearGradientComponent);

          this.orientation = 'vertical';
        }

        _createClass(SvgLinearGradientComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.x1 = '0%';
            this.x2 = '0%';
            this.y1 = '0%';
            this.y2 = '0%';

            if (this.orientation === 'horizontal') {
              this.x2 = '100%';
            } else if (this.orientation === 'vertical') {
              this.y1 = '100%';
            }
          }
        }]);

        return SvgLinearGradientComponent;
      }();

      SvgLinearGradientComponent.ɵfac = function SvgLinearGradientComponent_Factory(t) {
        return new (t || SvgLinearGradientComponent)();
      };

      SvgLinearGradientComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: SvgLinearGradientComponent,
        selectors: [["g", "ngx-charts-svg-linear-gradient", ""]],
        inputs: {
          orientation: "orientation",
          name: "name",
          stops: "stops"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c14,
        decls: 2,
        vars: 6,
        consts: [[3, "id"], [3, "stop-color", "stop-opacity", 4, "ngFor", "ngForOf"]],
        template: function SvgLinearGradientComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "linearGradient", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SvgLinearGradientComponent__svg_stop_1_Template, 1, 5, "stop", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("id", ctx.name);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x1", ctx.x1)("y1", ctx.y1)("x2", ctx.x2)("y2", ctx.y2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.stops);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"]],
        encapsulation: 2,
        changeDetection: 0
      });
      SvgLinearGradientComponent.propDecorators = {
        orientation: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        name: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stops: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SvgLinearGradientComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-svg-linear-gradient]',
            template: "\n    <svg:linearGradient [id]=\"name\" [attr.x1]=\"x1\" [attr.y1]=\"y1\" [attr.x2]=\"x2\" [attr.y2]=\"y2\">\n      <svg:stop\n        *ngFor=\"let stop of stops\"\n        [attr.offset]=\"stop.offset + '%'\"\n        [style.stop-color]=\"stop.color\"\n        [style.stop-opacity]=\"stop.opacity\"\n      />\n    </svg:linearGradient>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          orientation: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          name: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stops: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var SvgRadialGradientComponent = /*#__PURE__*/function () {
        function SvgRadialGradientComponent() {
          _classCallCheck(this, SvgRadialGradientComponent);

          this.endOpacity = 1;
          this.cx = 0;
          this.cy = 0;
        }

        _createClass(SvgRadialGradientComponent, [{
          key: "stops",
          get: function get() {
            return this.stopsInput || this.stopsDefault;
          },
          set: function set(value) {
            this.stopsInput = value;
          }
        }, {
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.r = '30%';

            if ('color' in changes || 'startOpacity' in changes || 'endOpacity' in changes) {
              this.stopsDefault = [{
                offset: 0,
                color: this.color,
                opacity: this.startOpacity
              }, {
                offset: 100,
                color: this.color,
                opacity: this.endOpacity
              }];
            }
          }
        }]);

        return SvgRadialGradientComponent;
      }();

      SvgRadialGradientComponent.ɵfac = function SvgRadialGradientComponent_Factory(t) {
        return new (t || SvgRadialGradientComponent)();
      };

      SvgRadialGradientComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: SvgRadialGradientComponent,
        selectors: [["g", "ngx-charts-svg-radial-gradient", ""]],
        inputs: {
          endOpacity: "endOpacity",
          cx: "cx",
          cy: "cy",
          stops: "stops",
          color: "color",
          name: "name",
          startOpacity: "startOpacity"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c15,
        decls: 2,
        vars: 5,
        consts: [["gradientUnits", "userSpaceOnUse", 3, "id"], [3, "stop-color", "stop-opacity", 4, "ngFor", "ngForOf"]],
        template: function SvgRadialGradientComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "radialGradient", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SvgRadialGradientComponent__svg_stop_1_Template, 1, 5, "stop", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("id", ctx.name);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("cx", ctx.cx)("cy", ctx.cy)("r", ctx.r);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.stops);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"]],
        encapsulation: 2,
        changeDetection: 0
      });
      SvgRadialGradientComponent.propDecorators = {
        color: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        name: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        endOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cx: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cy: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stops: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SvgRadialGradientComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-svg-radial-gradient]',
            template: "\n    <svg:radialGradient [id]=\"name\" [attr.cx]=\"cx\" [attr.cy]=\"cy\" [attr.r]=\"r\" gradientUnits=\"userSpaceOnUse\">\n      <svg:stop\n        *ngFor=\"let stop of stops\"\n        [attr.offset]=\"stop.offset + '%'\"\n        [style.stop-color]=\"stop.color\"\n        [style.stop-opacity]=\"stop.opacity\"\n      />\n    </svg:radialGradient>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          endOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cx: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cy: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stops: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          color: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          name: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          startOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var AreaComponent = /*#__PURE__*/function () {
        function AreaComponent(element) {
          _classCallCheck(this, AreaComponent);

          this.opacity = 1;
          this.startOpacity = 0.5;
          this.endOpacity = 1;
          this.gradient = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.initialized = false;
          this.hasGradient = false;
          this.element = element.nativeElement;
        }

        _createClass(AreaComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            if (!this.initialized) {
              this.loadAnimation();
              this.initialized = true;
            } else {
              this.update();
            }
          }
        }, {
          key: "update",
          value: function update() {
            this.gradientId = 'grad' + id().toString();
            this.gradientFill = "url(#".concat(this.gradientId, ")");

            if (this.gradient || this.stops) {
              this.gradientStops = this.getGradient();
              this.hasGradient = true;
            } else {
              this.hasGradient = false;
            }

            this.updatePathEl();
          }
        }, {
          key: "loadAnimation",
          value: function loadAnimation() {
            this.areaPath = this.startingPath;
            setTimeout(this.update.bind(this), 100);
          }
        }, {
          key: "updatePathEl",
          value: function updatePathEl() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.area');

            if (this.animations) {
              node.transition().duration(750).attr('d', this.path);
            } else {
              node.attr('d', this.path);
            }
          }
        }, {
          key: "getGradient",
          value: function getGradient() {
            if (this.stops) {
              return this.stops;
            }

            return [{
              offset: 0,
              color: this.fill,
              opacity: this.startOpacity
            }, {
              offset: 100,
              color: this.fill,
              opacity: this.endOpacity
            }];
          }
        }]);

        return AreaComponent;
      }();

      AreaComponent.ɵfac = function AreaComponent_Factory(t) {
        return new (t || AreaComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      AreaComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AreaComponent,
        selectors: [["g", "ngx-charts-area", ""]],
        inputs: {
          opacity: "opacity",
          startOpacity: "startOpacity",
          endOpacity: "endOpacity",
          gradient: "gradient",
          animations: "animations",
          data: "data",
          path: "path",
          startingPath: "startingPath",
          fill: "fill",
          activeLabel: "activeLabel",
          stops: "stops"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c16,
        decls: 2,
        vars: 5,
        consts: [[4, "ngIf"], [1, "area"], ["ngx-charts-svg-linear-gradient", "", "orientation", "vertical", 3, "name", "stops"]],
        template: function AreaComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, AreaComponent__svg_defs_0_Template, 2, 2, "defs", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "path", 1);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.gradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("opacity", ctx.opacity);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", ctx.areaPath)("fill", ctx.gradient ? ctx.gradientFill : ctx.fill);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SvgLinearGradientComponent],
        encapsulation: 2,
        changeDetection: 0
      });

      AreaComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      AreaComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        path: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startingPath: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        opacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        endOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stops: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AreaComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-area]',
            template: "\n    <svg:defs *ngIf=\"gradient\">\n      <svg:g ngx-charts-svg-linear-gradient orientation=\"vertical\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n    </svg:defs>\n    <svg:path class=\"area\" [attr.d]=\"areaPath\" [attr.fill]=\"gradient ? gradientFill : fill\" [style.opacity]=\"opacity\" />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          opacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          startOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          endOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          path: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          startingPath: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stops: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })(); // Robert Penner's easeOutExpo


      function easeOutExpo(t, b, c, d) {
        return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
      }
      /**
       * Counts from a number to the end incrementally.
       */


      function count(countFrom, countTo, countDecimals, countDuration, callback) {
        var startVal = Number(countFrom);
        var endVal = Number(countTo);
        var countDown = startVal > endVal;
        var decimals = Math.max(0, countDecimals);
        var dec = Math.pow(10, decimals);
        var duration = Number(countDuration) * 1000;
        var startTime;

        function runCount(timestamp) {
          var frameVal;
          var progress = timestamp - startTime;

          if (countDown) {
            frameVal = startVal - easeOutExpo(progress, 0, startVal - endVal, duration);
          } else {
            frameVal = easeOutExpo(progress, startVal, endVal - startVal, duration);
          }

          if (countDown) {
            frameVal = frameVal < endVal ? endVal : frameVal;
          } else {
            frameVal = frameVal > endVal ? endVal : frameVal;
          }

          frameVal = Math.round(frameVal * dec) / dec;
          var tick = progress < duration;
          callback({
            value: frameVal,
            progress: progress,
            timestamp: timestamp,
            finished: !tick
          });

          if (tick) {
            return requestAnimationFrame(function (val) {
              return runCount(val);
            });
          }
        }

        return requestAnimationFrame(function (timestamp) {
          startTime = timestamp;
          return runCount(timestamp);
        });
      }
      /**
       * Determine decimals places
       *
       * @export
       */


      function decimalChecker(countTo) {
        var endVal = Number(countTo);

        if (endVal % 1 !== 0 && Math.abs(endVal) <= 10) {
          return 2;
        }

        return 0;
      }
      /**
       * Count up component
       *
       * Loosely inspired by:
       *  - https://github.com/izupet/angular2-counto
       *  - https://inorganik.github.io/countUp.js/
       *
       * @export
       */


      var CountUpDirective = /*#__PURE__*/function () {
        function CountUpDirective(cd, element) {
          _classCallCheck(this, CountUpDirective);

          this.cd = cd;
          this.countDuration = 1;
          this.countPrefix = '';
          this.countSuffix = '';
          this.countChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.countFinish = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.value = '';
          this._countDecimals = 0;
          this._countTo = 0;
          this._countFrom = 0;
          this.nativeElement = element.nativeElement;
        }

        _createClass(CountUpDirective, [{
          key: "countDecimals",
          get: function get() {
            if (this._countDecimals) return this._countDecimals;
            return decimalChecker(this.countTo);
          },
          set: function set(val) {
            this._countDecimals = val;
          }
        }, {
          key: "countTo",
          get: function get() {
            return this._countTo;
          },
          set: function set(val) {
            this._countTo = parseFloat(val);
            this.start();
          }
        }, {
          key: "countFrom",
          get: function get() {
            return this._countFrom;
          },
          set: function set(val) {
            this._countFrom = parseFloat(val);
            this.start();
          }
        }, {
          key: "ngOnDestroy",
          value: function ngOnDestroy() {
            cancelAnimationFrame(this.animationReq);
          }
        }, {
          key: "start",
          value: function start() {
            var _this19 = this;

            cancelAnimationFrame(this.animationReq);

            var valueFormatting = this.valueFormatting || function (value) {
              return "".concat(_this19.countPrefix).concat(value.toLocaleString()).concat(_this19.countSuffix);
            };

            var callback = function callback(_ref16) {
              var value = _ref16.value,
                  progress = _ref16.progress,
                  finished = _ref16.finished;
              _this19.value = valueFormatting(value);

              _this19.cd.markForCheck();

              if (!finished) _this19.countChange.emit({
                value: _this19.value,
                progress: progress
              });
              if (finished) _this19.countFinish.emit({
                value: _this19.value,
                progress: progress
              });
            };

            this.animationReq = count(this.countFrom, this.countTo, this.countDecimals, this.countDuration, callback);
          }
        }]);

        return CountUpDirective;
      }();

      CountUpDirective.ɵfac = function CountUpDirective_Factory(t) {
        return new (t || CountUpDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      CountUpDirective.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CountUpDirective,
        selectors: [["", "ngx-charts-count-up", ""]],
        inputs: {
          countDuration: "countDuration",
          countPrefix: "countPrefix",
          countSuffix: "countSuffix",
          countDecimals: "countDecimals",
          countTo: "countTo",
          countFrom: "countFrom",
          valueFormatting: "valueFormatting"
        },
        outputs: {
          countChange: "countChange",
          countFinish: "countFinish"
        },
        attrs: _c17,
        decls: 1,
        vars: 1,
        template: function CountUpDirective_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.value, " ");
          }
        },
        encapsulation: 2
      });

      CountUpDirective.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      CountUpDirective.propDecorators = {
        countDuration: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        countPrefix: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        countSuffix: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        countDecimals: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        countTo: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        countFrom: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        countChange: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        countFinish: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CountUpDirective, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: '[ngx-charts-count-up]',
            template: " {{ value }} "
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          countDuration: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          countPrefix: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          countSuffix: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          countChange: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          countFinish: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          countDecimals: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          countTo: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          countFrom: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })(); // If we don't check whether 'window' and 'global' variables are defined,
      // code will fail in browser/node with 'variable is undefined' error.


      var root;

      if (typeof window !== 'undefined') {
        root = window;
      } else if (typeof global !== 'undefined') {
        root = global;
      } // tslint:disable-next-line:variable-name


      var MouseEvent = root.MouseEvent;

      function createMouseEvent(name) {
        var bubbles = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
        var cancelable = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;

        // Calling new of an event does not work correctly on IE. The following is a tested workaround
        // See https://stackoverflow.com/questions/27176983/dispatchevent-not-working-in-ie11
        if (typeof MouseEvent === 'function') {
          // Sane browsers
          return new MouseEvent(name, {
            bubbles: bubbles,
            cancelable: cancelable
          });
        } else {
          // IE
          var event = document.createEvent('MouseEvent');
          event.initEvent(name, bubbles, cancelable);
          return event;
        }
      }

      var TooltipArea = /*#__PURE__*/function () {
        function TooltipArea() {
          _classCallCheck(this, TooltipArea);

          this.anchorOpacity = 0;
          this.anchorPos = -1;
          this.anchorValues = [];
          this.showPercentage = false;
          this.tooltipDisabled = false;
          this.hover = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(TooltipArea, [{
          key: "getValues",
          value: function getValues(xVal) {
            var results = [];

            var _iterator24 = _createForOfIteratorHelper(this.results),
                _step24;

            try {
              for (_iterator24.s(); !(_step24 = _iterator24.n()).done;) {
                var group = _step24.value;
                var item = group.series.find(function (d) {
                  return d.name.toString() === xVal.toString();
                });
                var groupName = group.name;

                if (groupName instanceof Date) {
                  groupName = groupName.toLocaleDateString();
                }

                if (item) {
                  var label = item.name;
                  var val = item.value;

                  if (this.showPercentage) {
                    val = (item.d1 - item.d0).toFixed(2) + '%';
                  }

                  var color = void 0;

                  if (this.colors.scaleType === 'linear') {
                    var v = val;

                    if (item.d1) {
                      v = item.d1;
                    }

                    color = this.colors.getColor(v);
                  } else {
                    color = this.colors.getColor(group.name);
                  }

                  var data = Object.assign({}, item, {
                    value: val,
                    name: label,
                    series: groupName,
                    min: item.min,
                    max: item.max,
                    color: color
                  });
                  results.push(data);
                }
              }
            } catch (err) {
              _iterator24.e(err);
            } finally {
              _iterator24.f();
            }

            return results;
          }
        }, {
          key: "mouseMove",
          value: function mouseMove(event) {
            var xPos = event.pageX - event.target.getBoundingClientRect().left;
            var closestIndex = this.findClosestPointIndex(xPos);
            var closestPoint = this.xSet[closestIndex];
            this.anchorPos = this.xScale(closestPoint);
            this.anchorPos = Math.max(0, this.anchorPos);
            this.anchorPos = Math.min(this.dims.width, this.anchorPos);
            this.anchorValues = this.getValues(closestPoint);

            if (this.anchorPos !== this.lastAnchorPos) {
              var ev = createMouseEvent('mouseleave');
              this.tooltipAnchor.nativeElement.dispatchEvent(ev);
              this.anchorOpacity = 0.7;
              this.hover.emit({
                value: closestPoint
              });
              this.showTooltip();
              this.lastAnchorPos = this.anchorPos;
            }
          }
        }, {
          key: "findClosestPointIndex",
          value: function findClosestPointIndex(xPos) {
            var minIndex = 0;
            var maxIndex = this.xSet.length - 1;
            var minDiff = Number.MAX_VALUE;
            var closestIndex = 0;

            while (minIndex <= maxIndex) {
              var currentIndex = (minIndex + maxIndex) / 2 | 0;
              var currentElement = this.xScale(this.xSet[currentIndex]);
              var curDiff = Math.abs(currentElement - xPos);

              if (curDiff < minDiff) {
                minDiff = curDiff;
                closestIndex = currentIndex;
              }

              if (currentElement < xPos) {
                minIndex = currentIndex + 1;
              } else if (currentElement > xPos) {
                maxIndex = currentIndex - 1;
              } else {
                minDiff = 0;
                closestIndex = currentIndex;
                break;
              }
            }

            return closestIndex;
          }
        }, {
          key: "showTooltip",
          value: function showTooltip() {
            var event = createMouseEvent('mouseenter');
            this.tooltipAnchor.nativeElement.dispatchEvent(event);
          }
        }, {
          key: "hideTooltip",
          value: function hideTooltip() {
            var event = createMouseEvent('mouseleave');
            this.tooltipAnchor.nativeElement.dispatchEvent(event);
            this.anchorOpacity = 0;
            this.lastAnchorPos = -1;
          }
        }, {
          key: "getToolTipText",
          value: function getToolTipText(tooltipItem) {
            var result = '';

            if (tooltipItem.series !== undefined) {
              result += tooltipItem.series;
            } else {
              result += '???';
            }

            result += ': ';

            if (tooltipItem.value !== undefined) {
              result += tooltipItem.value.toLocaleString();
            }

            if (tooltipItem.min !== undefined || tooltipItem.max !== undefined) {
              result += ' (';

              if (tooltipItem.min !== undefined) {
                if (tooltipItem.max === undefined) {
                  result += '≥';
                }

                result += tooltipItem.min.toLocaleString();

                if (tooltipItem.max !== undefined) {
                  result += ' - ';
                }
              } else if (tooltipItem.max !== undefined) {
                result += '≤';
              }

              if (tooltipItem.max !== undefined) {
                result += tooltipItem.max.toLocaleString();
              }

              result += ')';
            }

            return result;
          }
        }]);

        return TooltipArea;
      }();

      TooltipArea.ɵfac = function TooltipArea_Factory(t) {
        return new (t || TooltipArea)();
      };

      TooltipArea.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: TooltipArea,
        selectors: [["g", "ngx-charts-tooltip-area", ""]],
        viewQuery: function TooltipArea_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c18, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipAnchor = _t.first);
          }
        },
        inputs: {
          showPercentage: "showPercentage",
          tooltipDisabled: "tooltipDisabled",
          dims: "dims",
          xSet: "xSet",
          xScale: "xScale",
          yScale: "yScale",
          results: "results",
          colors: "colors",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          hover: "hover"
        },
        attrs: _c19,
        decls: 6,
        vars: 18,
        consts: [["y", "0", 1, "tooltip-area", 2, "opacity", "0", "cursor", "auto", 3, "mousemove", "mouseleave"], ["defaultTooltipTemplate", ""], ["y", "0", "ngx-tooltip", "", 1, "tooltip-anchor", 3, "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipSpacing", "tooltipTemplate", "tooltipContext", "tooltipImmediateExit"], ["tooltipAnchor", ""], [1, "area-tooltip-container"], ["class", "tooltip-item", 4, "ngFor", "ngForOf"], [1, "tooltip-item"], [1, "tooltip-item-color"]],
        template: function TooltipArea_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "rect", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mousemove", function TooltipArea_Template__svg_rect_mousemove_1_listener($event) {
              return ctx.mouseMove($event);
            })("mouseleave", function TooltipArea_Template__svg_rect_mouseleave_1_listener() {
              return ctx.hideTooltip();
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, TooltipArea__svg_ng_template_2_Template, 2, 1, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "rect", 2, 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            var _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", 0)("width", ctx.dims.width)("height", ctx.dims.height);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("opacity", ctx.anchorOpacity)("pointer-events", "none");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", ctx.anchorOpacity !== 0 ? "active" : "inactive")("tooltipDisabled", ctx.tooltipDisabled)("tooltipPlacement", "right")("tooltipType", "tooltip")("tooltipSpacing", 15)("tooltipTemplate", ctx.tooltipTemplate ? ctx.tooltipTemplate : _r0)("tooltipContext", ctx.anchorValues)("tooltipImmediateExit", true);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", ctx.anchorPos)("width", 1)("height", ctx.dims.height);
          }
        },
        directives: [TooltipDirective, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"]],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])('inactive => active', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0.7
          }))]), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])('active => inactive', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0.7
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }))])])]
        },
        changeDetection: 0
      });
      TooltipArea.propDecorators = {
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xSet: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        results: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showPercentage: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        hover: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipAnchor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['tooltipAnchor', {
            "static": false
          }]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TooltipArea, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-tooltip-area]',
            template: "\n    <svg:g>\n      <svg:rect\n        class=\"tooltip-area\"\n        [attr.x]=\"0\"\n        y=\"0\"\n        [attr.width]=\"dims.width\"\n        [attr.height]=\"dims.height\"\n        style=\"opacity: 0; cursor: 'auto';\"\n        (mousemove)=\"mouseMove($event)\"\n        (mouseleave)=\"hideTooltip()\"\n      />\n      <ng-template #defaultTooltipTemplate let-model=\"model\">\n        <xhtml:div class=\"area-tooltip-container\">\n          <xhtml:div *ngFor=\"let tooltipItem of model\" class=\"tooltip-item\">\n            <xhtml:span class=\"tooltip-item-color\" [style.background-color]=\"tooltipItem.color\"></xhtml:span>\n            {{ getToolTipText(tooltipItem) }}\n          </xhtml:div>\n        </xhtml:div>\n      </ng-template>\n      <svg:rect\n        #tooltipAnchor\n        [@animationState]=\"anchorOpacity !== 0 ? 'active' : 'inactive'\"\n        class=\"tooltip-anchor\"\n        [attr.x]=\"anchorPos\"\n        y=\"0\"\n        [attr.width]=\"1\"\n        [attr.height]=\"dims.height\"\n        [style.opacity]=\"anchorOpacity\"\n        [style.pointer-events]=\"'none'\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'right'\"\n        [tooltipType]=\"'tooltip'\"\n        [tooltipSpacing]=\"15\"\n        [tooltipTemplate]=\"tooltipTemplate ? tooltipTemplate : defaultTooltipTemplate\"\n        [tooltipContext]=\"anchorValues\"\n        [tooltipImmediateExit]=\"true\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])('inactive => active', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0.7
            }))]), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])('active => inactive', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0.7
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }))])])]
          }]
        }], function () {
          return [];
        }, {
          showPercentage: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          hover: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xSet: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          results: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipAnchor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['tooltipAnchor', {
              "static": false
            }]
          }]
        });
      })();

      var Timeline = /*#__PURE__*/function () {
        function Timeline(element, cd) {
          _classCallCheck(this, Timeline);

          this.cd = cd;
          this.height = 50;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.onDomainChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.initialized = false;
          this.element = element.nativeElement;
        }

        _createClass(Timeline, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();

            if (!this.initialized) {
              this.addBrush();
              this.initialized = true;
            }
          }
        }, {
          key: "update",
          value: function update() {
            this.dims = this.getDims();
            this.height = this.dims.height;
            var offsetY = this.view[1] - this.height;
            this.xDomain = this.getXDomain();
            this.xScale = this.getXScale();

            if (this.brush) {
              this.updateBrush();
            }

            this.transform = "translate(0 , ".concat(offsetY, ")");
            this.filterId = 'filter' + id().toString();
            this.filter = "url(#".concat(this.filterId, ")");
            this.cd.markForCheck();
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = [];

            var _iterator25 = _createForOfIteratorHelper(this.results),
                _step25;

            try {
              for (_iterator25.s(); !(_step25 = _iterator25.n()).done;) {
                var results = _step25.value;

                var _iterator26 = _createForOfIteratorHelper(results.series),
                    _step26;

                try {
                  for (_iterator26.s(); !(_step26 = _iterator26.n()).done;) {
                    var d = _step26.value;

                    if (!values.includes(d.name)) {
                      values.push(d.name);
                    }
                  }
                } catch (err) {
                  _iterator26.e(err);
                } finally {
                  _iterator26.f();
                }
              }
            } catch (err) {
              _iterator25.e(err);
            } finally {
              _iterator25.f();
            }

            var domain = [];

            if (this.scaleType === 'time') {
              var min = Math.min.apply(Math, _toConsumableArray(values));
              var max = Math.max.apply(Math, _toConsumableArray(values));
              domain = [min, max];
            } else if (this.scaleType === 'linear') {
              values = values.map(function (v) {
                return Number(v);
              });

              var _min = Math.min.apply(Math, _toConsumableArray(values));

              var _max = Math.max.apply(Math, _toConsumableArray(values));

              domain = [_min, _max];
            } else {
              domain = values;
            }

            return domain;
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            var scale;

            if (this.scaleType === 'time') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range([0, this.dims.width]).domain(this.xDomain);
            } else if (this.scaleType === 'linear') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.xDomain);
            } else if (this.scaleType === 'ordinal') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([0, this.dims.width]).padding(0.1).domain(this.xDomain);
            }

            return scale;
          }
        }, {
          key: "addBrush",
          value: function addBrush() {
            var _this20 = this;

            if (this.brush) return;
            var height = this.height;
            var width = this.view[0];
            this.brush = Object(d3_brush__WEBPACK_IMPORTED_MODULE_8__["brushX"])().extent([[0, 0], [width, height]]).on('brush end', function () {
              var selection = d3_selection__WEBPACK_IMPORTED_MODULE_7__["event"].selection || _this20.xScale.range();

              var newDomain = selection.map(_this20.xScale.invert);

              _this20.onDomainChange.emit(newDomain);

              _this20.cd.markForCheck();
            });
            Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.brush').call(this.brush);
          }
        }, {
          key: "updateBrush",
          value: function updateBrush() {
            if (!this.brush) return;
            var height = this.height;
            var width = this.view[0];
            this.brush.extent([[0, 0], [width, height]]);
            Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.brush').call(this.brush); // clear hardcoded properties so they can be defined by CSS

            Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.selection').attr('fill', undefined).attr('stroke', undefined).attr('fill-opacity', undefined);
            this.cd.markForCheck();
          }
        }, {
          key: "getDims",
          value: function getDims() {
            var width = this.view[0];
            var dims = {
              width: width,
              height: this.height
            };
            return dims;
          }
        }]);

        return Timeline;
      }();

      Timeline.ɵfac = function Timeline_Factory(t) {
        return new (t || Timeline)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]));
      };

      Timeline.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: Timeline,
        selectors: [["g", "ngx-charts-timeline", ""]],
        inputs: {
          height: "height",
          view: "view",
          state: "state",
          results: "results",
          scheme: "scheme",
          customColors: "customColors",
          legend: "legend",
          miniChart: "miniChart",
          autoScale: "autoScale",
          scaleType: "scaleType"
        },
        outputs: {
          select: "select",
          onDomainChange: "onDomainChange"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c20,
        ngContentSelectors: _c2,
        decls: 7,
        vars: 4,
        consts: [[1, "timeline"], ["in", "SourceGraphic", "type", "matrix", "values", "0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"], [1, "embedded-chart"], ["x", "0", "y", "0", 1, "brush-background"], [1, "brush"]],
        template: function Timeline_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "filter");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "feColorMatrix", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "rect", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("id", ctx.filterId);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.view[0])("height", ctx.height);
          }
        },
        styles: [".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"],
        encapsulation: 2,
        changeDetection: 0
      });

      Timeline.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
        }];
      };

      Timeline.propDecorators = {
        view: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        state: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        results: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scheme: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        customColors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        miniChart: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        autoScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onDomainChange: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Timeline, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-timeline]',
            template: "\n    <svg:g class=\"timeline\" [attr.transform]=\"transform\">\n      <svg:filter [attr.id]=\"filterId\">\n        <svg:feColorMatrix\n          in=\"SourceGraphic\"\n          type=\"matrix\"\n          values=\"0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\"\n        />\n      </svg:filter>\n      <svg:g class=\"embedded-chart\">\n        <ng-content></ng-content>\n      </svg:g>\n      <svg:rect x=\"0\" [attr.width]=\"view[0]\" y=\"0\" [attr.height]=\"height\" class=\"brush-background\" />\n      <svg:g class=\"brush\"></svg:g>\n    </svg:g>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"]
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
          }];
        }, {
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          onDomainChange: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          view: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          state: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          results: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scheme: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          customColors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          miniChart: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          autoScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var LegendComponent = /*#__PURE__*/function () {
        function LegendComponent(cd) {
          _classCallCheck(this, LegendComponent);

          this.cd = cd;
          this.horizontal = false;
          this.labelClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.labelActivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.labelDeactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.legendEntries = [];
        }

        _createClass(LegendComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.cd.markForCheck();
            this.legendEntries = this.getLegendEntries();
          }
        }, {
          key: "getLegendEntries",
          value: function getLegendEntries() {
            var _this21 = this;

            var items = [];

            var _iterator27 = _createForOfIteratorHelper(this.data),
                _step27;

            try {
              var _loop = function _loop() {
                var label = _step27.value;
                var formattedLabel = formatLabel(label);
                var idx = items.findIndex(function (i) {
                  return i.label === formattedLabel;
                });

                if (idx === -1) {
                  items.push({
                    label: label,
                    formattedLabel: formattedLabel,
                    color: _this21.colors.getColor(label)
                  });
                }
              };

              for (_iterator27.s(); !(_step27 = _iterator27.n()).done;) {
                _loop();
              }
            } catch (err) {
              _iterator27.e(err);
            } finally {
              _iterator27.f();
            }

            return items;
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.label === d.name;
            });
            return item !== undefined;
          }
        }, {
          key: "activate",
          value: function activate(item) {
            this.labelActivate.emit(item);
          }
        }, {
          key: "deactivate",
          value: function deactivate(item) {
            this.labelDeactivate.emit(item);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.label;
          }
        }]);

        return LegendComponent;
      }();

      LegendComponent.ɵfac = function LegendComponent_Factory(t) {
        return new (t || LegendComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]));
      };

      LegendComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LegendComponent,
        selectors: [["ngx-charts-legend"]],
        inputs: {
          horizontal: "horizontal",
          data: "data",
          title: "title",
          colors: "colors",
          height: "height",
          width: "width",
          activeEntries: "activeEntries"
        },
        outputs: {
          labelClick: "labelClick",
          labelActivate: "labelActivate",
          labelDeactivate: "labelDeactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        decls: 5,
        vars: 9,
        consts: [["class", "legend-title", 4, "ngIf"], [1, "legend-wrap"], [1, "legend-labels"], ["class", "legend-label", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "legend-title"], [1, "legend-title-text"], [1, "legend-label"], [3, "label", "formattedLabel", "color", "isActive", "select", "activate", "deactivate"]],
        template: function LegendComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LegendComponent_header_1_Template, 3, 1, "header", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "ul", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, LegendComponent_li_4_Template, 2, 4, "li", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx.width, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.title == null ? null : ctx.title.length) > 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("max-height", ctx.height - 45, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("horizontal-legend", ctx.horizontal);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.legendEntries)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], LegendEntryComponent];
        },
        styles: [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],
        encapsulation: 2,
        changeDetection: 0
      });

      LegendComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
        }];
      };

      LegendComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        title: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        horizontal: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelClick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        labelActivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        labelDeactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LegendComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-legend',
            template: "\n    <div [style.width.px]=\"width\">\n      <header class=\"legend-title\" *ngIf=\"title?.length > 0\">\n        <span class=\"legend-title-text\">{{ title }}</span>\n      </header>\n      <div class=\"legend-wrap\">\n        <ul class=\"legend-labels\" [class.horizontal-legend]=\"horizontal\" [style.max-height.px]=\"height - 45\">\n          <li *ngFor=\"let entry of legendEntries; trackBy: trackBy\" class=\"legend-label\">\n            <ngx-charts-legend-entry\n              [label]=\"entry.label\"\n              [formattedLabel]=\"entry.formattedLabel\"\n              [color]=\"entry.color\"\n              [isActive]=\"isActive(entry)\"\n              (select)=\"labelClick.emit($event)\"\n              (activate)=\"activate($event)\"\n              (deactivate)=\"deactivate($event)\"\n            >\n            </ngx-charts-legend-entry>\n          </li>\n        </ul>\n      </div>\n    </div>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"]
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
          }];
        }, {
          horizontal: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelClick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          labelActivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          labelDeactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          title: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var LegendEntryComponent = /*#__PURE__*/function () {
        function LegendEntryComponent() {
          _classCallCheck(this, LegendEntryComponent);

          this.isActive = false;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.toggle = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(LegendEntryComponent, [{
          key: "trimmedLabel",
          get: function get() {
            return this.formattedLabel || '(empty)';
          }
        }, {
          key: "onMouseEnter",
          value: function onMouseEnter() {
            this.activate.emit({
              name: this.label
            });
          }
        }, {
          key: "onMouseLeave",
          value: function onMouseLeave() {
            this.deactivate.emit({
              name: this.label
            });
          }
        }]);

        return LegendEntryComponent;
      }();

      LegendEntryComponent.ɵfac = function LegendEntryComponent_Factory(t) {
        return new (t || LegendEntryComponent)();
      };

      LegendEntryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LegendEntryComponent,
        selectors: [["ngx-charts-legend-entry"]],
        hostBindings: function LegendEntryComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function LegendEntryComponent_mouseenter_HostBindingHandler() {
              return ctx.onMouseEnter();
            })("mouseleave", function LegendEntryComponent_mouseleave_HostBindingHandler() {
              return ctx.onMouseLeave();
            });
          }
        },
        inputs: {
          isActive: "isActive",
          color: "color",
          label: "label",
          formattedLabel: "formattedLabel"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          toggle: "toggle"
        },
        decls: 4,
        vars: 6,
        consts: [["tabindex", "-1", 3, "title", "click"], [1, "legend-label-color", 3, "click"], [1, "legend-label-text"]],
        template: function LegendEntryComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LegendEntryComponent_Template_span_click_0_listener() {
              return ctx.select.emit(ctx.formattedLabel);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LegendEntryComponent_Template_span_click_1_listener() {
              return ctx.toggle.emit(ctx.formattedLabel);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.isActive);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", ctx.formattedLabel);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("background-color", ctx.color);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.trimmedLabel, " ");
          }
        },
        encapsulation: 2,
        changeDetection: 0
      });
      LegendEntryComponent.propDecorators = {
        color: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        formattedLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        isActive: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        toggle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onMouseEnter: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseenter']
        }],
        onMouseLeave: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LegendEntryComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-legend-entry',
            template: "\n    <span [title]=\"formattedLabel\" tabindex=\"-1\" [class.active]=\"isActive\" (click)=\"select.emit(formattedLabel)\">\n      <span class=\"legend-label-color\" [style.background-color]=\"color\" (click)=\"toggle.emit(formattedLabel)\"> </span>\n      <span class=\"legend-label-text\">\n        {{ trimmedLabel }}\n      </span>\n    </span>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          isActive: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          toggle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          onMouseEnter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseenter']
          }],
          onMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          color: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          formattedLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var ScaleLegendComponent = /*#__PURE__*/function () {
        function ScaleLegendComponent(sanitizer) {
          _classCallCheck(this, ScaleLegendComponent);

          this.sanitizer = sanitizer;
          this.horizontal = false;
        }

        _createClass(ScaleLegendComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            var gradientValues = this.gradientString(this.colors.range(), this.colors.domain());
            var direction = this.horizontal ? 'right' : 'bottom';
            this.gradient = this.sanitizer.bypassSecurityTrustStyle("linear-gradient(to ".concat(direction, ", ").concat(gradientValues, ")"));
          }
          /**
           * Generates the string used in the gradient stylesheet properties
           * @param colors array of colors
           * @param splits array of splits on a scale of (0, 1)
           */

        }, {
          key: "gradientString",
          value: function gradientString(colors, splits) {
            // add the 100%
            splits.push(1);
            var pairs = [];
            colors.reverse().forEach(function (c, i) {
              pairs.push("".concat(c, " ").concat(Math.round(splits[i] * 100), "%"));
            });
            return pairs.join(', ');
          }
        }]);

        return ScaleLegendComponent;
      }();

      ScaleLegendComponent.ɵfac = function ScaleLegendComponent_Factory(t) {
        return new (t || ScaleLegendComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__["DomSanitizer"]));
      };

      ScaleLegendComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: ScaleLegendComponent,
        selectors: [["ngx-charts-scale-legend"]],
        inputs: {
          horizontal: "horizontal",
          valueRange: "valueRange",
          colors: "colors",
          height: "height",
          width: "width"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        decls: 8,
        vars: 10,
        consts: [[1, "scale-legend"], [1, "scale-legend-label"], [1, "scale-legend-wrap"]],
        template: function ScaleLegendComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "div", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("height", ctx.horizontal ? undefined : ctx.height, "px")("width", ctx.width, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("horizontal-legend", ctx.horizontal);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.valueRange[1].toLocaleString());

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("background", ctx.gradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.valueRange[0].toLocaleString());
          }
        },
        styles: [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],
        encapsulation: 2,
        changeDetection: 0
      });

      ScaleLegendComponent.ctorParameters = function () {
        return [{
          type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__["DomSanitizer"]
        }];
      };

      ScaleLegendComponent.propDecorators = {
        valueRange: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        horizontal: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ScaleLegendComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-scale-legend',
            template: "\n    <div\n      class=\"scale-legend\"\n      [class.horizontal-legend]=\"horizontal\"\n      [style.height.px]=\"horizontal ? undefined : height\"\n      [style.width.px]=\"width\"\n    >\n      <div class=\"scale-legend-label\">\n        <span>{{ valueRange[1].toLocaleString() }}</span>\n      </div>\n      <div class=\"scale-legend-wrap\" [style.background]=\"gradient\"></div>\n      <div class=\"scale-legend-label\">\n        <span>{{ valueRange[0].toLocaleString() }}</span>\n      </div>\n    </div>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"]
          }]
        }], function () {
          return [{
            type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__["DomSanitizer"]
          }];
        }, {
          horizontal: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueRange: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var AdvancedLegendComponent = /*#__PURE__*/function () {
        function AdvancedLegendComponent() {
          _classCallCheck(this, AdvancedLegendComponent);

          this.label = 'Total';
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.legendItems = [];

          this.labelFormatting = function (label) {
            return label;
          };

          this.percentageFormatting = function (percentage) {
            return percentage;
          };

          this.defaultValueFormatting = function (value) {
            return value.toLocaleString();
          };
        }

        _createClass(AdvancedLegendComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "getTotal",
          value: function getTotal() {
            return this.data.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return sum + d;
            }, 0);
          }
        }, {
          key: "update",
          value: function update() {
            this.total = this.getTotal();
            this.roundedTotal = this.total;
            this.legendItems = this.getLegendItems();
          }
        }, {
          key: "getLegendItems",
          value: function getLegendItems() {
            var _this22 = this;

            return this.data.map(function (d) {
              var label = formatLabel(d.name);
              var value = d.value;

              var color = _this22.colors.getColor(label);

              var percentage = _this22.total > 0 ? value / _this22.total * 100 : 0;
              var formattedLabel = typeof _this22.labelFormatting === 'function' ? _this22.labelFormatting(label) : label;
              return {
                _value: value,
                data: d,
                value: value,
                color: color,
                label: formattedLabel,
                displayLabel: trimLabel(formattedLabel, 20),
                origialLabel: d.name,
                percentage: _this22.percentageFormatting ? _this22.percentageFormatting(percentage) : percentage.toLocaleString()
              };
            });
          }
        }, {
          key: "trackBy",
          value: function trackBy(item) {
            return item.formattedLabel;
          }
        }]);

        return AdvancedLegendComponent;
      }();

      AdvancedLegendComponent.ɵfac = function AdvancedLegendComponent_Factory(t) {
        return new (t || AdvancedLegendComponent)();
      };

      AdvancedLegendComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AdvancedLegendComponent,
        selectors: [["ngx-charts-advanced-legend"]],
        inputs: {
          label: "label",
          animations: "animations",
          labelFormatting: "labelFormatting",
          percentageFormatting: "percentageFormatting",
          width: "width",
          data: "data",
          colors: "colors",
          valueFormatting: "valueFormatting"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        decls: 8,
        vars: 7,
        consts: [[1, "advanced-pie-legend"], ["class", "total-value", "ngx-charts-count-up", "", 3, "countTo", "valueFormatting", 4, "ngIf"], ["class", "total-value", 4, "ngIf"], [1, "total-label"], [1, "legend-items-container"], [1, "legend-items"], ["tabindex", "-1", "class", "legend-item", 3, "mouseenter", "mouseleave", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-count-up", "", 1, "total-value", 3, "countTo", "valueFormatting"], [1, "total-value"], ["tabindex", "-1", 1, "legend-item", 3, "mouseenter", "mouseleave", "click"], [1, "item-color"], ["class", "item-value", "ngx-charts-count-up", "", 3, "countTo", "valueFormatting", 4, "ngIf"], ["class", "item-value", 4, "ngIf"], [1, "item-label"], ["class", "item-percent", "ngx-charts-count-up", "", 3, "countTo", "countSuffix", 4, "ngIf"], ["class", "item-percent", 4, "ngIf"], ["ngx-charts-count-up", "", 1, "item-value", 3, "countTo", "valueFormatting"], [1, "item-value"], ["ngx-charts-count-up", "", 1, "item-percent", 3, "countTo", "countSuffix"], [1, "item-percent"]],
        template: function AdvancedLegendComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, AdvancedLegendComponent_div_1_Template, 1, 2, "div", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, AdvancedLegendComponent_div_2_Template, 2, 1, "div", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, AdvancedLegendComponent_div_7_Template, 8, 7, "div", 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx.width, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.label, " ");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.legendItems)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], CountUpDirective],
        styles: [".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{overflow:auto;white-space:nowrap}.advanced-pie-legend .legend-items-container .legend-items .legend-item{cursor:pointer;display:inline-block;margin-right:20px}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;margin-left:11px;margin-top:-6px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;margin-left:11px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;float:left;height:42px;margin-right:7px;width:4px}"],
        encapsulation: 2,
        changeDetection: 0
      });
      AdvancedLegendComponent.propDecorators = {
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        percentageFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AdvancedLegendComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-advanced-legend',
            template: "\n    <div class=\"advanced-pie-legend\" [style.width.px]=\"width\">\n      <div\n        *ngIf=\"animations\"\n        class=\"total-value\"\n        ngx-charts-count-up\n        [countTo]=\"roundedTotal\"\n        [valueFormatting]=\"valueFormatting\"\n      ></div>\n      <div class=\"total-value\" *ngIf=\"!animations\">\n        {{ valueFormatting ? valueFormatting(roundedTotal) : defaultValueFormatting(roundedTotal) }}\n      </div>\n      <div class=\"total-label\">\n        {{ label }}\n      </div>\n      <div class=\"legend-items-container\">\n        <div class=\"legend-items\">\n          <div\n            *ngFor=\"let legendItem of legendItems; trackBy: trackBy\"\n            tabindex=\"-1\"\n            class=\"legend-item\"\n            (mouseenter)=\"activate.emit(legendItem.data)\"\n            (mouseleave)=\"deactivate.emit(legendItem.data)\"\n            (click)=\"select.emit(legendItem.data)\"\n          >\n            <div class=\"item-color\" [style.border-left-color]=\"legendItem.color\"></div>\n            <div\n              *ngIf=\"animations\"\n              class=\"item-value\"\n              ngx-charts-count-up\n              [countTo]=\"legendItem._value\"\n              [valueFormatting]=\"valueFormatting\"\n            ></div>\n            <div *ngIf=\"!animations\" class=\"item-value\">\n              {{ valueFormatting ? valueFormatting(legendItem.value) : defaultValueFormatting(legendItem.value) }}\n            </div>\n            <div class=\"item-label\">{{ legendItem.displayLabel }}</div>\n            <div\n              *ngIf=\"animations\"\n              class=\"item-percent\"\n              ngx-charts-count-up\n              [countTo]=\"legendItem.percentage\"\n              [countSuffix]=\"'%'\"\n            ></div>\n            <div *ngIf=\"!animations\" class=\"item-percent\">{{ legendItem.percentage.toLocaleString() }}%</div>\n          </div>\n        </div>\n      </div>\n    </div>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{overflow:auto;white-space:nowrap}.advanced-pie-legend .legend-items-container .legend-items .legend-item{cursor:pointer;display:inline-block;margin-right:20px}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;margin-left:11px;margin-top:-6px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;margin-left:11px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;float:left;height:42px;margin-right:7px;width:4px}"]
          }]
        }], function () {
          return [];
        }, {
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          percentageFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var COMPONENTS = [AreaComponent, BaseChartComponent, CountUpDirective, TooltipArea, ChartComponent, LegendComponent, LegendEntryComponent, ScaleLegendComponent, CircleComponent, CircleSeriesComponent, GridPanelComponent, GridPanelSeriesComponent, SvgLinearGradientComponent, SvgRadialGradientComponent, Timeline, AdvancedLegendComponent];

      var ChartCommonModule = function ChartCommonModule() {
        _classCallCheck(this, ChartCommonModule);
      };

      ChartCommonModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: ChartCommonModule
      });
      ChartCommonModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function ChartCommonModule_Factory(t) {
          return new (t || ChartCommonModule)();
        },
        imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule], _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ChartCommonModule, {
          declarations: function declarations() {
            return [AreaComponent, BaseChartComponent, CountUpDirective, TooltipArea, ChartComponent, LegendComponent, LegendEntryComponent, ScaleLegendComponent, CircleComponent, CircleSeriesComponent, GridPanelComponent, GridPanelSeriesComponent, SvgLinearGradientComponent, SvgRadialGradientComponent, Timeline, AdvancedLegendComponent, VisibilityObserver];
          },
          imports: function imports() {
            return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule];
          },
          exports: function exports() {
            return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule, AreaComponent, BaseChartComponent, CountUpDirective, TooltipArea, ChartComponent, LegendComponent, LegendEntryComponent, ScaleLegendComponent, CircleComponent, CircleSeriesComponent, GridPanelComponent, GridPanelSeriesComponent, SvgLinearGradientComponent, SvgRadialGradientComponent, Timeline, AdvancedLegendComponent, VisibilityObserver];
          }
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ChartCommonModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule],
            declarations: [].concat(COMPONENTS, [VisibilityObserver]),
            exports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule].concat(COMPONENTS, [VisibilityObserver])
          }]
        }], null, null);
      })();

      function calculateViewDimensions(_ref17) {
        var width = _ref17.width,
            height = _ref17.height,
            margins = _ref17.margins,
            _ref17$showXAxis = _ref17.showXAxis,
            showXAxis = _ref17$showXAxis === void 0 ? false : _ref17$showXAxis,
            _ref17$showYAxis = _ref17.showYAxis,
            showYAxis = _ref17$showYAxis === void 0 ? false : _ref17$showYAxis,
            _ref17$xAxisHeight = _ref17.xAxisHeight,
            xAxisHeight = _ref17$xAxisHeight === void 0 ? 0 : _ref17$xAxisHeight,
            _ref17$yAxisWidth = _ref17.yAxisWidth,
            yAxisWidth = _ref17$yAxisWidth === void 0 ? 0 : _ref17$yAxisWidth,
            _ref17$showXLabel = _ref17.showXLabel,
            showXLabel = _ref17$showXLabel === void 0 ? false : _ref17$showXLabel,
            _ref17$showYLabel = _ref17.showYLabel,
            showYLabel = _ref17$showYLabel === void 0 ? false : _ref17$showYLabel,
            _ref17$showLegend = _ref17.showLegend,
            showLegend = _ref17$showLegend === void 0 ? false : _ref17$showLegend,
            _ref17$legendType = _ref17.legendType,
            legendType = _ref17$legendType === void 0 ? 'ordinal' : _ref17$legendType,
            _ref17$legendPosition = _ref17.legendPosition,
            legendPosition = _ref17$legendPosition === void 0 ? 'right' : _ref17$legendPosition,
            _ref17$columns = _ref17.columns,
            columns = _ref17$columns === void 0 ? 12 : _ref17$columns;
        var xOffset = margins[3];
        var chartWidth = width;
        var chartHeight = height - margins[0] - margins[2];

        if (showLegend && legendPosition === 'right') {
          if (legendType === 'ordinal') {
            columns -= 2;
          } else {
            columns -= 1;
          }
        }

        chartWidth = chartWidth * columns / 12;
        chartWidth = chartWidth - margins[1] - margins[3];

        if (showXAxis) {
          chartHeight -= 5;
          chartHeight -= xAxisHeight;

          if (showXLabel) {
            // text height + spacing between axis label and tick labels
            var offset = 25 + 5;
            chartHeight -= offset;
          }
        }

        if (showYAxis) {
          chartWidth -= 5;
          chartWidth -= yAxisWidth;
          xOffset += yAxisWidth;
          xOffset += 10;

          if (showYLabel) {
            // text height + spacing between axis label and tick labels
            var _offset = 25 + 5;

            chartWidth -= _offset;
            xOffset += _offset;
          }
        }

        chartWidth = Math.max(0, chartWidth);
        chartHeight = Math.max(0, chartHeight);
        return {
          width: Math.floor(chartWidth),
          height: Math.floor(chartHeight),
          xOffset: Math.floor(xOffset)
        };
      }

      var colorSets = [{
        name: 'vivid',
        selectable: true,
        group: 'Ordinal',
        domain: ['#647c8a', '#3f51b5', '#2196f3', '#00b862', '#afdf0a', '#a7b61a', '#f3e562', '#ff9800', '#ff5722', '#ff4514']
      }, {
        name: 'natural',
        selectable: true,
        group: 'Ordinal',
        domain: ['#bf9d76', '#e99450', '#d89f59', '#f2dfa7', '#a5d7c6', '#7794b1', '#afafaf', '#707160', '#ba9383', '#d9d5c3']
      }, {
        name: 'cool',
        selectable: true,
        group: 'Ordinal',
        domain: ['#a8385d', '#7aa3e5', '#a27ea8', '#aae3f5', '#adcded', '#a95963', '#8796c0', '#7ed3ed', '#50abcc', '#ad6886']
      }, {
        name: 'fire',
        selectable: true,
        group: 'Ordinal',
        domain: ['#ff3d00', '#bf360c', '#ff8f00', '#ff6f00', '#ff5722', '#e65100', '#ffca28', '#ffab00']
      }, {
        name: 'solar',
        selectable: true,
        group: 'Continuous',
        domain: ['#fff8e1', '#ffecb3', '#ffe082', '#ffd54f', '#ffca28', '#ffc107', '#ffb300', '#ffa000', '#ff8f00', '#ff6f00']
      }, {
        name: 'air',
        selectable: true,
        group: 'Continuous',
        domain: ['#e1f5fe', '#b3e5fc', '#81d4fa', '#4fc3f7', '#29b6f6', '#03a9f4', '#039be5', '#0288d1', '#0277bd', '#01579b']
      }, {
        name: 'aqua',
        selectable: true,
        group: 'Continuous',
        domain: ['#e0f7fa', '#b2ebf2', '#80deea', '#4dd0e1', '#26c6da', '#00bcd4', '#00acc1', '#0097a7', '#00838f', '#006064']
      }, {
        name: 'flame',
        selectable: false,
        group: 'Ordinal',
        domain: ['#A10A28', '#D3342D', '#EF6D49', '#FAAD67', '#FDDE90', '#DBED91', '#A9D770', '#6CBA67', '#2C9653', '#146738']
      }, {
        name: 'ocean',
        selectable: false,
        group: 'Ordinal',
        domain: ['#1D68FB', '#33C0FC', '#4AFFFE', '#AFFFFF', '#FFFC63', '#FDBD2D', '#FC8A25', '#FA4F1E', '#FA141B', '#BA38D1']
      }, {
        name: 'forest',
        selectable: false,
        group: 'Ordinal',
        domain: ['#55C22D', '#C1F33D', '#3CC099', '#AFFFFF', '#8CFC9D', '#76CFFA', '#BA60FB', '#EE6490', '#C42A1C', '#FC9F32']
      }, {
        name: 'horizon',
        selectable: false,
        group: 'Ordinal',
        domain: ['#2597FB', '#65EBFD', '#99FDD0', '#FCEE4B', '#FEFCFA', '#FDD6E3', '#FCB1A8', '#EF6F7B', '#CB96E8', '#EFDEE0']
      }, {
        name: 'neons',
        selectable: false,
        group: 'Ordinal',
        domain: ['#FF3333', '#FF33FF', '#CC33FF', '#0000FF', '#33CCFF', '#33FFFF', '#33FF66', '#CCFF33', '#FFCC00', '#FF6600']
      }, {
        name: 'picnic',
        selectable: false,
        group: 'Ordinal',
        domain: ['#FAC51D', '#66BD6D', '#FAA026', '#29BB9C', '#E96B56', '#55ACD2', '#B7332F', '#2C83C9', '#9166B8', '#92E7E8']
      }, {
        name: 'night',
        selectable: false,
        group: 'Ordinal',
        domain: ['#2B1B5A', '#501356', '#183356', '#28203F', '#391B3C', '#1E2B3C', '#120634', '#2D0432', '#051932', '#453080', '#75267D', '#2C507D', '#4B3880', '#752F7D', '#35547D']
      }, {
        name: 'nightLights',
        selectable: false,
        group: 'Ordinal',
        domain: ['#4e31a5', '#9c25a7', '#3065ab', '#57468b', '#904497', '#46648b', '#32118d', '#a00fb3', '#1052a2', '#6e51bd', '#b63cc3', '#6c97cb', '#8671c1', '#b455be', '#7496c3']
      }];

      var ColorHelper = /*#__PURE__*/function () {
        function ColorHelper(scheme, type, domain, customColors) {
          _classCallCheck(this, ColorHelper);

          if (typeof scheme === 'string') {
            scheme = colorSets.find(function (cs) {
              return cs.name === scheme;
            });
          }

          this.colorDomain = scheme.domain;
          this.scaleType = type;
          this.domain = domain;
          this.customColors = customColors;
          this.scale = this.generateColorScheme(scheme, type, this.domain);
        }

        _createClass(ColorHelper, [{
          key: "generateColorScheme",
          value: function generateColorScheme(scheme, type, domain) {
            if (typeof scheme === 'string') {
              scheme = colorSets.find(function (cs) {
                return cs.name === scheme;
              });
            }

            var colorScale;

            if (type === 'quantile') {
              colorScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleQuantile"])().range(scheme.domain).domain(domain);
            } else if (type === 'ordinal') {
              colorScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleOrdinal"])().range(scheme.domain).domain(domain);
            } else if (type === 'linear') {
              // linear schemes must have at least 2 colors
              var colorDomain = _toConsumableArray(scheme.domain);

              if (colorDomain.length === 1) {
                colorDomain.push(colorDomain[0]);
                this.colorDomain = colorDomain;
              }

              var points = Object(d3_array__WEBPACK_IMPORTED_MODULE_12__["range"])(0, 1, 1.0 / colorDomain.length);
              colorScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().domain(points).range(colorDomain);
            }

            return colorScale;
          }
        }, {
          key: "getColor",
          value: function getColor(value) {
            if (value === undefined || value === null) {
              throw new Error('Value can not be null');
            }

            if (this.scaleType === 'linear') {
              var valueScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().domain(this.domain).range([0, 1]);
              return this.scale(valueScale(value));
            } else {
              if (typeof this.customColors === 'function') {
                return this.customColors(value);
              }

              var formattedValue = value.toString();
              var found; // todo type customColors

              if (this.customColors && this.customColors.length > 0) {
                found = this.customColors.find(function (mapping) {
                  return mapping.name.toLowerCase() === formattedValue.toLowerCase();
                });
              }

              if (found) {
                return found.value;
              } else {
                return this.scale(value);
              }
            }
          }
        }, {
          key: "getLinearGradientStops",
          value: function getLinearGradientStops(value, start) {
            if (start === undefined) {
              start = this.domain[0];
            }

            var valueScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().domain(this.domain).range([0, 1]);
            var colorValueScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().domain(this.colorDomain).range([0, 1]);
            var endColor = this.getColor(value); // generate the stops

            var startVal = valueScale(start);
            var startColor = this.getColor(start);
            var endVal = valueScale(value);
            var i = 1;
            var currentVal = startVal;
            var stops = [];
            stops.push({
              color: startColor,
              offset: startVal,
              originalOffset: startVal,
              opacity: 1
            });

            while (currentVal < endVal && i < this.colorDomain.length) {
              var color = this.colorDomain[i];
              var offset = colorValueScale(color);

              if (offset <= startVal) {
                i++;
                continue;
              }

              if (offset.toFixed(4) >= (endVal - colorValueScale.bandwidth()).toFixed(4)) {
                break;
              }

              stops.push({
                color: color,
                offset: offset,
                opacity: 1
              });
              currentVal = offset;
              i++;
            }

            if (stops[stops.length - 1].offset < 100) {
              stops.push({
                color: endColor,
                offset: endVal,
                opacity: 1
              });
            }

            if (endVal === startVal) {
              stops[0].offset = 0;
              stops[1].offset = 100;
            } else {
              // normalize the offsets into percentages
              if (stops[stops.length - 1].offset !== 100) {
                var _iterator28 = _createForOfIteratorHelper(stops),
                    _step28;

                try {
                  for (_iterator28.s(); !(_step28 = _iterator28.n()).done;) {
                    var s = _step28.value;
                    s.offset = (s.offset - startVal) / (endVal - startVal) * 100;
                  }
                } catch (err) {
                  _iterator28.e(err);
                } finally {
                  _iterator28.f();
                }
              }
            }

            return stops;
          }
        }]);

        return ColorHelper;
      }();
      /**
       * Based on the data, return an array with unique values.
       *
       * @export
       * @returns array
       */


      function getUniqueXDomainValues(results) {
        var valueSet = new Set();

        var _iterator29 = _createForOfIteratorHelper(results),
            _step29;

        try {
          for (_iterator29.s(); !(_step29 = _iterator29.n()).done;) {
            var result = _step29.value;

            var _iterator30 = _createForOfIteratorHelper(result.series),
                _step30;

            try {
              for (_iterator30.s(); !(_step30 = _iterator30.n()).done;) {
                var d = _step30.value;
                valueSet.add(d.name);
              }
            } catch (err) {
              _iterator30.e(err);
            } finally {
              _iterator30.f();
            }
          }
        } catch (err) {
          _iterator29.e(err);
        } finally {
          _iterator29.f();
        }

        return Array.from(valueSet);
      }
      /**
       * Get the scaleType of enumerable of values.
       * @returns  'time', 'linear' or 'ordinal'
       */


      function getScaleType(values) {
        var checkDateType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;

        if (checkDateType) {
          var allDates = values.every(function (value) {
            return value instanceof Date;
          });

          if (allDates) {
            return 'time';
          }
        }

        var allNumbers = values.every(function (value) {
          return typeof value === 'number';
        });

        if (allNumbers) {
          return 'linear';
        }

        return 'ordinal';
      }

      var AreaChartComponent = /*#__PURE__*/function (_BaseChartComponent) {
        _inherits(AreaChartComponent, _BaseChartComponent);

        var _super2 = _createSuper(AreaChartComponent);

        function AreaChartComponent() {
          var _this23;

          _classCallCheck(this, AreaChartComponent);

          _this23 = _super2.apply(this, arguments);
          _this23.legendTitle = 'Legend';
          _this23.legendPosition = 'right';
          _this23.baseValue = 'auto';
          _this23.showGridLines = true;
          _this23.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
          _this23.activeEntries = [];
          _this23.trimXAxisTicks = true;
          _this23.trimYAxisTicks = true;
          _this23.rotateXAxisTicks = true;
          _this23.maxXAxisTickLength = 16;
          _this23.maxYAxisTickLength = 16;
          _this23.roundDomains = false;
          _this23.tooltipDisabled = false;
          _this23.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this23.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this23.margin = [10, 20, 10, 20];
          _this23.xAxisHeight = 0;
          _this23.yAxisWidth = 0;
          _this23.timelineHeight = 50;
          _this23.timelinePadding = 10;
          return _this23;
        }

        _createClass(AreaChartComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(AreaChartComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });

            if (this.timeline) {
              this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
            }

            this.xDomain = this.getXDomain();

            if (this.filteredDomain) {
              this.xDomain = this.filteredDomain;
            }

            this.yDomain = this.getYDomain();
            this.seriesDomain = this.getSeriesDomain();
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
            this.yScale = this.getYScale(this.yDomain, this.dims.height);
            this.updateTimeline();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, ", ").concat(this.margin[0], ")");
            this.clipPathId = 'clip' + id().toString();
            this.clipPath = "url(#".concat(this.clipPathId, ")");
          }
        }, {
          key: "updateTimeline",
          value: function updateTimeline() {
            if (this.timeline) {
              this.timelineWidth = this.dims.width;
              this.timelineXDomain = this.getXDomain();
              this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
              this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
              this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
            }
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = getUniqueXDomainValues(this.results);
            this.scaleType = getScaleType(values);
            var domain = [];

            if (this.scaleType === 'linear') {
              values = values.map(function (v) {
                return Number(v);
              });
            }

            var min;
            var max;

            if (this.scaleType === 'time' || this.scaleType === 'linear') {
              min = this.xScaleMin ? this.xScaleMin : Math.min.apply(Math, _toConsumableArray(values));
              max = this.xScaleMax ? this.xScaleMax : Math.max.apply(Math, _toConsumableArray(values));
            }

            if (this.scaleType === 'time') {
              domain = [new Date(min), new Date(max)];
              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                var aDate = a.getTime();
                var bDate = b.getTime();
                if (aDate > bDate) return 1;
                if (bDate > aDate) return -1;
                return 0;
              });
            } else if (this.scaleType === 'linear') {
              domain = [min, max]; // Use compare function to sort numbers numerically

              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                return a - b;
              });
            } else {
              domain = values;
              this.xSet = values;
            }

            return domain;
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var domain = [];

            var _iterator31 = _createForOfIteratorHelper(this.results),
                _step31;

            try {
              for (_iterator31.s(); !(_step31 = _iterator31.n()).done;) {
                var results = _step31.value;

                var _iterator32 = _createForOfIteratorHelper(results.series),
                    _step32;

                try {
                  for (_iterator32.s(); !(_step32 = _iterator32.n()).done;) {
                    var d = _step32.value;

                    if (!domain.includes(d.value)) {
                      domain.push(d.value);
                    }
                  }
                } catch (err) {
                  _iterator32.e(err);
                } finally {
                  _iterator32.f();
                }
              }
            } catch (err) {
              _iterator31.e(err);
            } finally {
              _iterator31.f();
            }

            var values = [].concat(domain);

            if (!this.autoScale) {
              values.push(0);
            }

            if (this.baseValue !== 'auto') {
              values.push(this.baseValue);
            }

            var min = this.yScaleMin ? this.yScaleMin : Math.min.apply(Math, _toConsumableArray(values));
            var max = this.yScaleMax ? this.yScaleMax : Math.max.apply(Math, _toConsumableArray(values));
            return [min, max];
          }
        }, {
          key: "getSeriesDomain",
          value: function getSeriesDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "getXScale",
          value: function getXScale(domain, width) {
            var scale;

            if (this.scaleType === 'time') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])();
            } else if (this.scaleType === 'linear') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])();
            } else if (this.scaleType === 'ordinal') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().padding(0.1);
            }

            scale.range([0, width]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getYScale",
          value: function getYScale(domain, height) {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getScaleType",
          value: function getScaleType(values) {
            var date = true;
            var num = true;

            var _iterator33 = _createForOfIteratorHelper(values),
                _step33;

            try {
              for (_iterator33.s(); !(_step33 = _iterator33.n()).done;) {
                var value = _step33.value;

                if (!this.isDate(value)) {
                  date = false;
                }

                if (typeof value !== 'number') {
                  num = false;
                }
              }
            } catch (err) {
              _iterator33.e(err);
            } finally {
              _iterator33.f();
            }

            if (date) {
              return 'time';
            }

            if (num) {
              return 'linear';
            }

            return 'ordinal';
          }
        }, {
          key: "isDate",
          value: function isDate(value) {
            if (value instanceof Date) {
              return true;
            }

            return false;
          }
        }, {
          key: "updateDomain",
          value: function updateDomain(domain) {
            this.filteredDomain = domain;
            this.xDomain = this.filteredDomain;
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
          }
        }, {
          key: "updateHoveredVertical",
          value: function updateHoveredVertical(item) {
            this.hoveredVertical = item.value;
            this.deactivateAll();
          }
        }, {
          key: "hideCircles",
          value: function hideCircles() {
            this.hoveredVertical = null;
            this.deactivateAll();
          }
        }, {
          key: "onClick",
          value: function onClick(data, series) {
            if (series) {
              data.series = series.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.seriesDomain;
            } else {
              domain = this.yDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.seriesDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.yDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref18) {
            var width = _ref18.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref19) {
            var height = _ref19.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "deactivateAll",
          value: function deactivateAll() {
            this.activeEntries = _toConsumableArray(this.activeEntries);

            var _iterator34 = _createForOfIteratorHelper(this.activeEntries),
                _step34;

            try {
              for (_iterator34.s(); !(_step34 = _iterator34.n()).done;) {
                var entry = _step34.value;
                this.deactivate.emit({
                  value: entry,
                  entries: []
                });
              }
            } catch (err) {
              _iterator34.e(err);
            } finally {
              _iterator34.f();
            }

            this.activeEntries = [];
          }
        }]);

        return AreaChartComponent;
      }(BaseChartComponent);

      AreaChartComponent.ɵfac = function AreaChartComponent_Factory(t) {
        return ɵAreaChartComponent_BaseFactory(t || AreaChartComponent);
      };

      AreaChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AreaChartComponent,
        selectors: [["ngx-charts-area-chart"]],
        contentQueries: function AreaChartComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c22, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.seriesTooltipTemplate = _t.first);
          }
        },
        hostBindings: function AreaChartComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function AreaChartComponent_mouseleave_HostBindingHandler() {
              return ctx.hideCircles();
            });
          }
        },
        inputs: {
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          baseValue: "baseValue",
          showGridLines: "showGridLines",
          curve: "curve",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          roundDomains: "roundDomains",
          tooltipDisabled: "tooltipDisabled",
          legend: "legend",
          state: "state",
          xAxis: "xAxis",
          yAxis: "yAxis",
          autoScale: "autoScale",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          timeline: "timeline",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          xScaleMin: "xScaleMin",
          xScaleMax: "xScaleMax",
          yScaleMin: "yScaleMin",
          yScaleMax: "yScaleMax"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 11,
        vars: 20,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "area-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseleave", 4, "ngIf"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "legend", "scaleType", "onDomainChange", 4, "ngIf"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-area-series", "", 3, "xScale", "yScale", "baseValue", "colors", "data", "activeEntries", "scaleType", "gradient", "curve", "animations"], [3, "mouseleave"], ["ngx-charts-tooltip-area", "", 3, "dims", "xSet", "xScale", "yScale", "results", "colors", "tooltipDisabled", "tooltipTemplate", "hover"], [4, "ngFor", "ngForOf"], ["ngx-charts-circle-series", "", 3, "xScale", "yScale", "colors", "activeEntries", "data", "scaleType", "visibleValue", "tooltipDisabled", "tooltipTemplate", "select", "activate", "deactivate"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "legend", "scaleType", "onDomainChange"], ["ngx-charts-area-series", "", 3, "xScale", "yScale", "baseValue", "colors", "data", "scaleType", "gradient", "curve", "animations"]],
        template: function AreaChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function AreaChartComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function AreaChartComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function AreaChartComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "clipPath");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "rect");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, AreaChartComponent__svg_g_5_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, AreaChartComponent__svg_g_6_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, AreaChartComponent__svg_g_8_Template, 2, 10, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, AreaChartComponent__svg_g_9_Template, 3, 9, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, AreaChartComponent__svg_g_10_Template, 2, 13, "g", 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("id", ctx.clipPathId);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.dims.width + 10)("height", ctx.dims.height + 10)("transform", "translate(-5, -5)");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("clip-path", ctx.clipPath);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.tooltipDisabled);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.timeline && ctx.scaleType != "ordinal");
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, AreaSeriesComponent, TooltipArea, CircleSeriesComponent, Timeline];
        },
        styles: [_c24],
        encapsulation: 2,
        changeDetection: 0
      });
      AreaChartComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        state: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        baseValue: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        autoScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        timeline: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        seriesTooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['seriesTooltipTemplate']
        }],
        hideCircles: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };

      var ɵAreaChartComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](AreaChartComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AreaChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-area-chart',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n            <svg:g\n              ngx-charts-area-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [baseValue]=\"baseValue\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [scaleType]=\"scaleType\"\n              [gradient]=\"gradient\"\n              [curve]=\"curve\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results\">\n              <svg:g\n                ngx-charts-circle-series\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [activeEntries]=\"activeEntries\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event, series)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [legend]=\"legend\"\n        [scaleType]=\"scaleType\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-area-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [baseValue]=\"baseValue\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [gradient]=\"gradient\"\n            [curve]=\"curve\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          baseValue: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          hideCircles: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          state: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          autoScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          timeline: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }],
          seriesTooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['seriesTooltipTemplate']
          }]
        });
      })();

      var AreaChartNormalizedComponent = /*#__PURE__*/function (_BaseChartComponent2) {
        _inherits(AreaChartNormalizedComponent, _BaseChartComponent2);

        var _super3 = _createSuper(AreaChartNormalizedComponent);

        function AreaChartNormalizedComponent() {
          var _this24;

          _classCallCheck(this, AreaChartNormalizedComponent);

          _this24 = _super3.apply(this, arguments);
          _this24.legend = false;
          _this24.legendTitle = 'Legend';
          _this24.legendPosition = 'right';
          _this24.showGridLines = true;
          _this24.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
          _this24.activeEntries = [];
          _this24.trimXAxisTicks = true;
          _this24.trimYAxisTicks = true;
          _this24.rotateXAxisTicks = true;
          _this24.maxXAxisTickLength = 16;
          _this24.maxYAxisTickLength = 16;
          _this24.roundDomains = false;
          _this24.tooltipDisabled = false;
          _this24.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this24.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this24.margin = [10, 20, 10, 20];
          _this24.xAxisHeight = 0;
          _this24.yAxisWidth = 0;
          _this24.timelineHeight = 50;
          _this24.timelinePadding = 10;
          return _this24;
        }

        _createClass(AreaChartNormalizedComponent, [{
          key: "update",
          value: function update() {
            var _this25 = this;

            _get(_getPrototypeOf(AreaChartNormalizedComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });

            if (this.timeline) {
              this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
            }

            this.xDomain = this.getXDomain();

            if (this.filteredDomain) {
              this.xDomain = this.filteredDomain;
            }

            this.yDomain = this.getYDomain();
            this.seriesDomain = this.getSeriesDomain();
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
            this.yScale = this.getYScale(this.yDomain, this.dims.height);

            var _loop2 = function _loop2(i) {
              var val = _this25.xSet[i];
              var d0 = 0;
              var total = 0;

              var _iterator35 = _createForOfIteratorHelper(_this25.results),
                  _step35;

              try {
                for (_iterator35.s(); !(_step35 = _iterator35.n()).done;) {
                  var group = _step35.value;
                  var d = group.series.find(function (item) {
                    var a = item.name;
                    var b = val;

                    if (_this25.scaleType === 'time') {
                      a = a.valueOf();
                      b = b.valueOf();
                    }

                    return a === b;
                  });

                  if (d) {
                    total += d.value;
                  }
                }
              } catch (err) {
                _iterator35.e(err);
              } finally {
                _iterator35.f();
              }

              var _iterator36 = _createForOfIteratorHelper(_this25.results),
                  _step36;

              try {
                for (_iterator36.s(); !(_step36 = _iterator36.n()).done;) {
                  var _group2 = _step36.value;

                  var _d2 = _group2.series.find(function (item) {
                    var a = item.name;
                    var b = val;

                    if (_this25.scaleType === 'time') {
                      a = a.valueOf();
                      b = b.valueOf();
                    }

                    return a === b;
                  });

                  if (_d2) {
                    _d2.d0 = d0;
                    _d2.d1 = d0 + _d2.value;
                    d0 += _d2.value;
                  } else {
                    _d2 = {
                      name: val,
                      value: 0,
                      d0: d0,
                      d1: d0
                    };

                    _group2.series.push(_d2);
                  }

                  if (total > 0) {
                    _d2.d0 = _d2.d0 * 100 / total;
                    _d2.d1 = _d2.d1 * 100 / total;
                  } else {
                    _d2.d0 = 0;
                    _d2.d1 = 0;
                  }
                }
              } catch (err) {
                _iterator36.e(err);
              } finally {
                _iterator36.f();
              }
            };

            for (var i = 0; i < this.xSet.length; i++) {
              _loop2(i);
            }

            this.updateTimeline();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
            this.clipPathId = 'clip' + id().toString();
            this.clipPath = "url(#".concat(this.clipPathId, ")");
          }
        }, {
          key: "updateTimeline",
          value: function updateTimeline() {
            if (this.timeline) {
              this.timelineWidth = this.dims.width;
              this.timelineXDomain = this.getXDomain();
              this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
              this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
              this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
            }
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = getUniqueXDomainValues(this.results);
            this.scaleType = getScaleType(values);
            var domain = [];

            if (this.scaleType === 'time') {
              var min = Math.min.apply(Math, _toConsumableArray(values));
              var max = Math.max.apply(Math, _toConsumableArray(values));
              domain = [new Date(min), new Date(max)];
              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                var aDate = a.getTime();
                var bDate = b.getTime();
                if (aDate > bDate) return 1;
                if (bDate > aDate) return -1;
                return 0;
              });
            } else if (this.scaleType === 'linear') {
              values = values.map(function (v) {
                return Number(v);
              });

              var _min2 = Math.min.apply(Math, _toConsumableArray(values));

              var _max2 = Math.max.apply(Math, _toConsumableArray(values));

              domain = [_min2, _max2]; // Use compare function to sort numbers numerically

              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                return a - b;
              });
            } else {
              domain = values;
              this.xSet = values;
            }

            return domain;
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            return [0, 100];
          }
        }, {
          key: "getSeriesDomain",
          value: function getSeriesDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "getXScale",
          value: function getXScale(domain, width) {
            var scale;

            if (this.scaleType === 'time') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])();
            } else if (this.scaleType === 'linear') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])();
            } else if (this.scaleType === 'ordinal') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().padding(0.1);
            }

            scale.range([0, width]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getYScale",
          value: function getYScale(domain, height) {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "updateDomain",
          value: function updateDomain(domain) {
            this.filteredDomain = domain;
            this.xDomain = this.filteredDomain;
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
          }
        }, {
          key: "updateHoveredVertical",
          value: function updateHoveredVertical(item) {
            this.hoveredVertical = item.value;
            this.deactivateAll();
          }
        }, {
          key: "hideCircles",
          value: function hideCircles() {
            this.hoveredVertical = null;
            this.deactivateAll();
          }
        }, {
          key: "onClick",
          value: function onClick(data, series) {
            if (series) {
              data.series = series.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.seriesDomain;
            } else {
              domain = this.yDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.seriesDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.yDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref20) {
            var width = _ref20.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref21) {
            var height = _ref21.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "deactivateAll",
          value: function deactivateAll() {
            this.activeEntries = _toConsumableArray(this.activeEntries);

            var _iterator37 = _createForOfIteratorHelper(this.activeEntries),
                _step37;

            try {
              for (_iterator37.s(); !(_step37 = _iterator37.n()).done;) {
                var entry = _step37.value;
                this.deactivate.emit({
                  value: entry,
                  entries: []
                });
              }
            } catch (err) {
              _iterator37.e(err);
            } finally {
              _iterator37.f();
            }

            this.activeEntries = [];
          }
        }]);

        return AreaChartNormalizedComponent;
      }(BaseChartComponent);

      AreaChartNormalizedComponent.ɵfac = function AreaChartNormalizedComponent_Factory(t) {
        return ɵAreaChartNormalizedComponent_BaseFactory(t || AreaChartNormalizedComponent);
      };

      AreaChartNormalizedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AreaChartNormalizedComponent,
        selectors: [["ngx-charts-area-chart-normalized"]],
        contentQueries: function AreaChartNormalizedComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c22, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.seriesTooltipTemplate = _t.first);
          }
        },
        hostBindings: function AreaChartNormalizedComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function AreaChartNormalizedComponent_mouseleave_HostBindingHandler() {
              return ctx.hideCircles();
            });
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          showGridLines: "showGridLines",
          curve: "curve",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          roundDomains: "roundDomains",
          tooltipDisabled: "tooltipDisabled",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          timeline: "timeline",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 11,
        vars: 20,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "area-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseleave", 4, "ngIf"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "legend", "scaleType", "onDomainChange", 4, "ngIf"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-area-series", "", "normalized", "true", 3, "xScale", "yScale", "colors", "data", "scaleType", "activeEntries", "gradient", "curve", "animations"], [3, "mouseleave"], ["ngx-charts-tooltip-area", "", 3, "dims", "xSet", "xScale", "yScale", "results", "colors", "showPercentage", "tooltipDisabled", "tooltipTemplate", "hover"], [4, "ngFor", "ngForOf"], ["ngx-charts-circle-series", "", "type", "stacked", 3, "xScale", "yScale", "colors", "activeEntries", "data", "scaleType", "visibleValue", "tooltipDisabled", "tooltipTemplate", "select", "activate", "deactivate"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "legend", "scaleType", "onDomainChange"], ["ngx-charts-area-series", "", "normalized", "true", 3, "xScale", "yScale", "colors", "data", "scaleType", "gradient", "curve", "animations"]],
        template: function AreaChartNormalizedComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function AreaChartNormalizedComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function AreaChartNormalizedComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function AreaChartNormalizedComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "clipPath");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "rect");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, AreaChartNormalizedComponent__svg_g_5_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, AreaChartNormalizedComponent__svg_g_6_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, AreaChartNormalizedComponent__svg_g_8_Template, 2, 9, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, AreaChartNormalizedComponent__svg_g_9_Template, 3, 10, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, AreaChartNormalizedComponent__svg_g_10_Template, 2, 13, "g", 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("id", ctx.clipPathId);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.dims.width + 10)("height", ctx.dims.height + 10)("transform", "translate(-5, -5)");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("clip-path", ctx.clipPath);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.tooltipDisabled);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.timeline && ctx.scaleType != "ordinal");
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, AreaSeriesComponent, TooltipArea, CircleSeriesComponent, Timeline];
        },
        styles: [_c24],
        encapsulation: 2,
        changeDetection: 0
      });
      AreaChartNormalizedComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        timeline: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        seriesTooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['seriesTooltipTemplate']
        }],
        hideCircles: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };

      var ɵAreaChartNormalizedComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](AreaChartNormalizedComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AreaChartNormalizedComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-area-chart-normalized',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n            <svg:g\n              ngx-charts-area-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [scaleType]=\"scaleType\"\n              [activeEntries]=\"activeEntries\"\n              [gradient]=\"gradient\"\n              normalized=\"true\"\n              [curve]=\"curve\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [showPercentage]=\"true\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results\">\n              <svg:g\n                ngx-charts-circle-series\n                type=\"stacked\"\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [activeEntries]=\"activeEntries\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event, series)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [legend]=\"legend\"\n        [scaleType]=\"scaleType\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-area-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [gradient]=\"gradient\"\n            normalized=\"true\"\n            [curve]=\"curve\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          hideCircles: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          timeline: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }],
          seriesTooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['seriesTooltipTemplate']
          }]
        });
      })();

      var AreaChartStackedComponent = /*#__PURE__*/function (_BaseChartComponent3) {
        _inherits(AreaChartStackedComponent, _BaseChartComponent3);

        var _super4 = _createSuper(AreaChartStackedComponent);

        function AreaChartStackedComponent() {
          var _this26;

          _classCallCheck(this, AreaChartStackedComponent);

          _this26 = _super4.apply(this, arguments);
          _this26.legend = false;
          _this26.legendTitle = 'Legend';
          _this26.legendPosition = 'right';
          _this26.showGridLines = true;
          _this26.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
          _this26.activeEntries = [];
          _this26.trimXAxisTicks = true;
          _this26.trimYAxisTicks = true;
          _this26.rotateXAxisTicks = true;
          _this26.maxXAxisTickLength = 16;
          _this26.maxYAxisTickLength = 16;
          _this26.roundDomains = false;
          _this26.tooltipDisabled = false;
          _this26.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this26.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this26.margin = [10, 20, 10, 20];
          _this26.xAxisHeight = 0;
          _this26.yAxisWidth = 0;
          _this26.timelineHeight = 50;
          _this26.timelinePadding = 10;
          return _this26;
        }

        _createClass(AreaChartStackedComponent, [{
          key: "update",
          value: function update() {
            var _this27 = this;

            _get(_getPrototypeOf(AreaChartStackedComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });

            if (this.timeline) {
              this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
            }

            this.xDomain = this.getXDomain();

            if (this.filteredDomain) {
              this.xDomain = this.filteredDomain;
            }

            this.yDomain = this.getYDomain();
            this.seriesDomain = this.getSeriesDomain();
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
            this.yScale = this.getYScale(this.yDomain, this.dims.height);

            var _loop3 = function _loop3(i) {
              var val = _this27.xSet[i];
              var d0 = 0;

              var _iterator38 = _createForOfIteratorHelper(_this27.results),
                  _step38;

              try {
                for (_iterator38.s(); !(_step38 = _iterator38.n()).done;) {
                  var group = _step38.value;
                  var d = group.series.find(function (item) {
                    var a = item.name;
                    var b = val;

                    if (_this27.scaleType === 'time') {
                      a = a.valueOf();
                      b = b.valueOf();
                    }

                    return a === b;
                  });

                  if (d) {
                    d.d0 = d0;
                    d.d1 = d0 + d.value;
                    d0 += d.value;
                  } else {
                    d = {
                      name: val,
                      value: 0,
                      d0: d0,
                      d1: d0
                    };
                    group.series.push(d);
                  }
                }
              } catch (err) {
                _iterator38.e(err);
              } finally {
                _iterator38.f();
              }
            };

            for (var i = 0; i < this.xSet.length; i++) {
              _loop3(i);
            }

            this.updateTimeline();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
            this.clipPathId = 'clip' + id().toString();
            this.clipPath = "url(#".concat(this.clipPathId, ")");
          }
        }, {
          key: "updateTimeline",
          value: function updateTimeline() {
            if (this.timeline) {
              this.timelineWidth = this.dims.width;
              this.timelineXDomain = this.getXDomain();
              this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
              this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
              this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
            }
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = getUniqueXDomainValues(this.results);
            this.scaleType = getScaleType(values);
            var domain = [];

            if (this.scaleType === 'linear') {
              values = values.map(function (v) {
                return Number(v);
              });
            }

            var min;
            var max;

            if (this.scaleType === 'time' || this.scaleType === 'linear') {
              min = this.xScaleMin ? this.xScaleMin : Math.min.apply(Math, _toConsumableArray(values));
              max = this.xScaleMax ? this.xScaleMax : Math.max.apply(Math, _toConsumableArray(values));
            }

            if (this.scaleType === 'time') {
              domain = [new Date(min), new Date(max)];
              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                var aDate = a.getTime();
                var bDate = b.getTime();
                if (aDate > bDate) return 1;
                if (bDate > aDate) return -1;
                return 0;
              });
            } else if (this.scaleType === 'linear') {
              domain = [min, max]; // Use compare function to sort numbers numerically

              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                return a - b;
              });
            } else {
              domain = values;
              this.xSet = values;
            }

            return domain;
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var _this28 = this;

            var domain = [];

            var _loop4 = function _loop4(i) {
              var val = _this28.xSet[i];
              var sum = 0;

              var _iterator39 = _createForOfIteratorHelper(_this28.results),
                  _step39;

              try {
                for (_iterator39.s(); !(_step39 = _iterator39.n()).done;) {
                  var group = _step39.value;
                  var d = group.series.find(function (item) {
                    var a = item.name;
                    var b = val;

                    if (_this28.scaleType === 'time') {
                      a = a.valueOf();
                      b = b.valueOf();
                    }

                    return a === b;
                  });

                  if (d) {
                    sum += d.value;
                  }
                }
              } catch (err) {
                _iterator39.e(err);
              } finally {
                _iterator39.f();
              }

              domain.push(sum);
            };

            for (var i = 0; i < this.xSet.length; i++) {
              _loop4(i);
            }

            var min = this.yScaleMin ? this.yScaleMin : Math.min.apply(Math, [0].concat(domain));
            var max = this.yScaleMax ? this.yScaleMax : Math.max.apply(Math, domain);
            return [min, max];
          }
        }, {
          key: "getSeriesDomain",
          value: function getSeriesDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "getXScale",
          value: function getXScale(domain, width) {
            var scale;

            if (this.scaleType === 'time') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])();
            } else if (this.scaleType === 'linear') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])();
            } else if (this.scaleType === 'ordinal') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().padding(0.1);
            }

            scale.range([0, width]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getYScale",
          value: function getYScale(domain, height) {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "updateDomain",
          value: function updateDomain(domain) {
            this.filteredDomain = domain;
            this.xDomain = this.filteredDomain;
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
          }
        }, {
          key: "updateHoveredVertical",
          value: function updateHoveredVertical(item) {
            this.hoveredVertical = item.value;
            this.deactivateAll();
          }
        }, {
          key: "hideCircles",
          value: function hideCircles() {
            this.hoveredVertical = null;
            this.deactivateAll();
          }
        }, {
          key: "onClick",
          value: function onClick(data, series) {
            if (series) {
              data.series = series.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.seriesDomain;
            } else {
              domain = this.yDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.seriesDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.yDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref22) {
            var width = _ref22.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref23) {
            var height = _ref23.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "deactivateAll",
          value: function deactivateAll() {
            this.activeEntries = _toConsumableArray(this.activeEntries);

            var _iterator40 = _createForOfIteratorHelper(this.activeEntries),
                _step40;

            try {
              for (_iterator40.s(); !(_step40 = _iterator40.n()).done;) {
                var entry = _step40.value;
                this.deactivate.emit({
                  value: entry,
                  entries: []
                });
              }
            } catch (err) {
              _iterator40.e(err);
            } finally {
              _iterator40.f();
            }

            this.activeEntries = [];
          }
        }]);

        return AreaChartStackedComponent;
      }(BaseChartComponent);

      AreaChartStackedComponent.ɵfac = function AreaChartStackedComponent_Factory(t) {
        return ɵAreaChartStackedComponent_BaseFactory(t || AreaChartStackedComponent);
      };

      AreaChartStackedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AreaChartStackedComponent,
        selectors: [["ngx-charts-area-chart-stacked"]],
        contentQueries: function AreaChartStackedComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c22, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.seriesTooltipTemplate = _t.first);
          }
        },
        hostBindings: function AreaChartStackedComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function AreaChartStackedComponent_mouseleave_HostBindingHandler() {
              return ctx.hideCircles();
            });
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          showGridLines: "showGridLines",
          curve: "curve",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          roundDomains: "roundDomains",
          tooltipDisabled: "tooltipDisabled",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          timeline: "timeline",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          xScaleMin: "xScaleMin",
          xScaleMax: "xScaleMax",
          yScaleMin: "yScaleMin",
          yScaleMax: "yScaleMax"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 11,
        vars: 20,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "area-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseleave", 4, "ngIf"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "legend", "scaleType", "onDomainChange", 4, "ngIf"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-area-series", "", "stacked", "true", 3, "xScale", "yScale", "colors", "data", "scaleType", "gradient", "activeEntries", "curve", "animations"], [3, "mouseleave"], ["ngx-charts-tooltip-area", "", 3, "dims", "xSet", "xScale", "yScale", "results", "colors", "tooltipDisabled", "tooltipTemplate", "hover"], ["ngx-charts-circle-series", "", "type", "stacked", 3, "xScale", "yScale", "colors", "activeEntries", "data", "scaleType", "visibleValue", "tooltipDisabled", "tooltipTemplate", "select", "activate", "deactivate"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "legend", "scaleType", "onDomainChange"], ["ngx-charts-area-series", "", "stacked", "true", 3, "xScale", "yScale", "colors", "data", "scaleType", "gradient", "curve", "animations"]],
        template: function AreaChartStackedComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function AreaChartStackedComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function AreaChartStackedComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function AreaChartStackedComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "clipPath");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "rect");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, AreaChartStackedComponent__svg_g_5_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, AreaChartStackedComponent__svg_g_6_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, AreaChartStackedComponent__svg_g_8_Template, 2, 9, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, AreaChartStackedComponent__svg_g_9_Template, 3, 10, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, AreaChartStackedComponent__svg_g_10_Template, 2, 13, "g", 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("id", ctx.clipPathId);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.dims.width + 10)("height", ctx.dims.height + 10)("transform", "translate(-5, -5)");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("clip-path", ctx.clipPath);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.tooltipDisabled);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.timeline && ctx.scaleType != "ordinal");
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, AreaSeriesComponent, TooltipArea, CircleSeriesComponent, Timeline];
        },
        styles: [_c24],
        encapsulation: 2,
        changeDetection: 0
      });
      AreaChartStackedComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        timeline: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        seriesTooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['seriesTooltipTemplate']
        }],
        hideCircles: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };

      var ɵAreaChartStackedComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](AreaChartStackedComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AreaChartStackedComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-area-chart-stacked',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n            <svg:g\n              ngx-charts-area-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [scaleType]=\"scaleType\"\n              [gradient]=\"gradient\"\n              [activeEntries]=\"activeEntries\"\n              stacked=\"true\"\n              [curve]=\"curve\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n              <svg:g\n                ngx-charts-circle-series\n                type=\"stacked\"\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [activeEntries]=\"activeEntries\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event, series)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [legend]=\"legend\"\n        [scaleType]=\"scaleType\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-area-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [gradient]=\"gradient\"\n            stacked=\"true\"\n            [curve]=\"curve\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          hideCircles: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          timeline: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }],
          seriesTooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['seriesTooltipTemplate']
          }]
        });
      })();

      function sortLinear(data, property) {
        var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'asc';
        return data.sort(function (a, b) {
          if (direction === 'asc') {
            return a[property] - b[property];
          } else {
            return b[property] - a[property];
          }
        });
      }

      function sortByDomain(data, property) {
        var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'asc';
        var domain = arguments.length > 3 ? arguments[3] : undefined;
        return data.sort(function (a, b) {
          var aVal = a[property];
          var bVal = b[property];
          var aIdx = domain.indexOf(aVal);
          var bIdx = domain.indexOf(bVal);

          if (direction === 'asc') {
            return aIdx - bIdx;
          } else {
            return bIdx - aIdx;
          }
        });
      }

      function sortByTime(data, property) {
        var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'asc';
        return data.sort(function (a, b) {
          var aDate = a[property].getTime();
          var bDate = b[property].getTime();

          if (direction === 'asc') {
            if (aDate > bDate) return 1;
            if (bDate > aDate) return -1;
            return 0;
          } else {
            if (aDate > bDate) return -1;
            if (bDate > aDate) return 1;
            return 0;
          }
        });
      }

      var AreaSeriesComponent = /*#__PURE__*/function () {
        function AreaSeriesComponent() {
          _classCallCheck(this, AreaSeriesComponent);

          this.baseValue = 'auto';
          this.stacked = false;
          this.normalized = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(AreaSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var _this29 = this;

            this.updateGradient();
            var currentArea;
            var startingArea;

            var xProperty = function xProperty(d) {
              var label = d.name;
              return _this29.xScale(label);
            };

            if (this.stacked || this.normalized) {
              currentArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function (d, i) {
                return _this29.yScale(d.d0);
              }).y1(function (d, i) {
                return _this29.yScale(d.d1);
              });
              startingArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function (d) {
                return _this29.yScale.range()[0];
              }).y1(function (d) {
                return _this29.yScale.range()[0];
              });
            } else {
              currentArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function () {
                return _this29.baseValue === 'auto' ? _this29.yScale.range()[0] : _this29.yScale(_this29.baseValue);
              }).y1(function (d) {
                return _this29.yScale(d.value);
              });
              startingArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function (d) {
                return _this29.baseValue === 'auto' ? _this29.yScale.range()[0] : _this29.yScale(_this29.baseValue);
              }).y1(function (d) {
                return _this29.baseValue === 'auto' ? _this29.yScale.range()[0] : _this29.yScale(_this29.baseValue);
              });
            }

            currentArea.curve(this.curve);
            startingArea.curve(this.curve);
            this.opacity = 0.8;
            var data = this.data.series;

            if (this.scaleType === 'linear') {
              data = sortLinear(data, 'name');
            } else if (this.scaleType === 'time') {
              data = sortByTime(data, 'name');
            } else {
              data = sortByDomain(data, 'name', 'asc', this.xScale.domain());
            }

            this.path = currentArea(data);
            this.startingPath = startingArea(data);
          }
        }, {
          key: "updateGradient",
          value: function updateGradient() {
            if (this.colors.scaleType === 'linear') {
              this.hasGradient = true;

              if (this.stacked || this.normalized) {
                var d0values = this.data.series.map(function (d) {
                  return d.d0;
                });
                var d1values = this.data.series.map(function (d) {
                  return d.d1;
                });
                var max = Math.max.apply(Math, _toConsumableArray(d1values));
                var min = Math.min.apply(Math, _toConsumableArray(d0values));
                this.gradientStops = this.colors.getLinearGradientStops(max, min);
              } else {
                var values = this.data.series.map(function (d) {
                  return d.value;
                });

                var _max3 = Math.max.apply(Math, _toConsumableArray(values));

                this.gradientStops = this.colors.getLinearGradientStops(_max3);
              }
            } else {
              this.hasGradient = false;
              this.gradientStops = undefined;
            }
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item !== undefined;
          }
        }, {
          key: "isInactive",
          value: function isInactive(entry) {
            if (!this.activeEntries || this.activeEntries.length === 0) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item === undefined;
          }
        }]);

        return AreaSeriesComponent;
      }();

      AreaSeriesComponent.ɵfac = function AreaSeriesComponent_Factory(t) {
        return new (t || AreaSeriesComponent)();
      };

      AreaSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AreaSeriesComponent,
        selectors: [["g", "ngx-charts-area-series", ""]],
        inputs: {
          baseValue: "baseValue",
          stacked: "stacked",
          normalized: "normalized",
          animations: "animations",
          data: "data",
          xScale: "xScale",
          yScale: "yScale",
          colors: "colors",
          scaleType: "scaleType",
          gradient: "gradient",
          curve: "curve",
          activeEntries: "activeEntries"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c25,
        decls: 1,
        vars: 12,
        consts: [["ngx-charts-area", "", 1, "area-series", 3, "data", "path", "fill", "stops", "startingPath", "opacity", "gradient", "animations"]],
        template: function AreaSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.isActive(ctx.data))("inactive", ctx.isInactive(ctx.data));

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", ctx.data)("path", ctx.path)("fill", ctx.colors.getColor(ctx.data.name))("stops", ctx.gradientStops)("startingPath", ctx.startingPath)("opacity", ctx.opacity)("gradient", ctx.gradient || ctx.hasGradient)("animations", ctx.animations);
          }
        },
        directives: [AreaComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      AreaSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        baseValue: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stacked: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        normalized: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AreaSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-area-series]',
            template: "\n    <svg:g\n      ngx-charts-area\n      class=\"area-series\"\n      [data]=\"data\"\n      [path]=\"path\"\n      [fill]=\"colors.getColor(data.name)\"\n      [stops]=\"gradientStops\"\n      [startingPath]=\"startingPath\"\n      [opacity]=\"opacity\"\n      [gradient]=\"gradient || hasGradient\"\n      [animations]=\"animations\"\n      [class.active]=\"isActive(data)\"\n      [class.inactive]=\"isInactive(data)\"\n    />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          baseValue: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stacked: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          normalized: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var AreaChartModule = function AreaChartModule() {
        _classCallCheck(this, AreaChartModule);
      };

      AreaChartModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: AreaChartModule
      });
      AreaChartModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function AreaChartModule_Factory(t) {
          return new (t || AreaChartModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AreaChartModule, {
          declarations: [AreaChartComponent, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaSeriesComponent],
          imports: [ChartCommonModule],
          exports: [AreaChartComponent, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaSeriesComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AreaChartModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [AreaChartComponent, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaSeriesComponent],
            exports: [AreaChartComponent, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaSeriesComponent]
          }]
        }], null, null);
      })();

      var BarComponent = /*#__PURE__*/function () {
        function BarComponent(element) {
          _classCallCheck(this, BarComponent);

          this.roundEdges = true;
          this.gradient = false;
          this.offset = 0;
          this.isActive = false;
          this.animations = true;
          this.noBarWhenZero = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.hasGradient = false;
          this.hideBar = false;
          this.element = element.nativeElement;
        }

        _createClass(BarComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            if (changes.roundEdges) {
              this.loadAnimation();
            }

            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.gradientId = 'grad' + id().toString();
            this.gradientFill = "url(#".concat(this.gradientId, ")");

            if (this.gradient || this.stops) {
              this.gradientStops = this.getGradient();
              this.hasGradient = true;
            } else {
              this.hasGradient = false;
            }

            this.updatePathEl();
            this.checkToHideBar();
          }
        }, {
          key: "loadAnimation",
          value: function loadAnimation() {
            this.path = this.getStartingPath();
            setTimeout(this.update.bind(this), 100);
          }
        }, {
          key: "updatePathEl",
          value: function updatePathEl() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.bar');
            var path = this.getPath();

            if (this.animations) {
              node.transition().duration(500).attr('d', path);
            } else {
              node.attr('d', path);
            }
          }
        }, {
          key: "getGradient",
          value: function getGradient() {
            if (this.stops) {
              return this.stops;
            }

            return [{
              offset: 0,
              color: this.fill,
              opacity: this.getStartOpacity()
            }, {
              offset: 100,
              color: this.fill,
              opacity: 1
            }];
          }
        }, {
          key: "getStartingPath",
          value: function getStartingPath() {
            if (!this.animations) {
              return this.getPath();
            }

            var radius = this.getRadius();
            var path;

            if (this.roundEdges) {
              if (this.orientation === 'vertical') {
                radius = Math.min(this.height, radius);
                path = roundedRect(this.x, this.y + this.height, this.width, 1, 0, this.edges);
              } else if (this.orientation === 'horizontal') {
                radius = Math.min(this.width, radius);
                path = roundedRect(this.x, this.y, 1, this.height, 0, this.edges);
              }
            } else {
              if (this.orientation === 'vertical') {
                path = roundedRect(this.x, this.y + this.height, this.width, 1, 0, this.edges);
              } else if (this.orientation === 'horizontal') {
                path = roundedRect(this.x, this.y, 1, this.height, 0, this.edges);
              }
            }

            return path;
          }
        }, {
          key: "getPath",
          value: function getPath() {
            var radius = this.getRadius();
            var path;

            if (this.roundEdges) {
              if (this.orientation === 'vertical') {
                radius = Math.min(this.height, radius);
                path = roundedRect(this.x, this.y, this.width, this.height, radius, this.edges);
              } else if (this.orientation === 'horizontal') {
                radius = Math.min(this.width, radius);
                path = roundedRect(this.x, this.y, this.width, this.height, radius, this.edges);
              }
            } else {
              path = roundedRect(this.x, this.y, this.width, this.height, radius, this.edges);
            }

            return path;
          }
        }, {
          key: "getRadius",
          value: function getRadius() {
            var radius = 0;

            if (this.roundEdges && this.height > 5 && this.width > 5) {
              radius = Math.floor(Math.min(5, this.height / 2, this.width / 2));
            }

            return radius;
          }
        }, {
          key: "getStartOpacity",
          value: function getStartOpacity() {
            if (this.roundEdges) {
              return 0.2;
            } else {
              return 0.5;
            }
          }
        }, {
          key: "edges",
          get: function get() {
            var edges = [false, false, false, false];

            if (this.roundEdges) {
              if (this.orientation === 'vertical') {
                if (this.data.value > 0) {
                  edges = [true, true, false, false];
                } else {
                  edges = [false, false, true, true];
                }
              } else if (this.orientation === 'horizontal') {
                if (this.data.value > 0) {
                  edges = [false, true, false, true];
                } else {
                  edges = [true, false, true, false];
                }
              }
            }

            return edges;
          }
        }, {
          key: "onMouseEnter",
          value: function onMouseEnter() {
            this.activate.emit(this.data);
          }
        }, {
          key: "onMouseLeave",
          value: function onMouseLeave() {
            this.deactivate.emit(this.data);
          }
        }, {
          key: "checkToHideBar",
          value: function checkToHideBar() {
            this.hideBar = this.noBarWhenZero && (this.orientation === 'vertical' && this.height === 0 || this.orientation === 'horizontal' && this.width === 0);
          }
        }]);

        return BarComponent;
      }();

      BarComponent.ɵfac = function BarComponent_Factory(t) {
        return new (t || BarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      BarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarComponent,
        selectors: [["g", "ngx-charts-bar", ""]],
        hostBindings: function BarComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function BarComponent_mouseenter_HostBindingHandler() {
              return ctx.onMouseEnter();
            })("mouseleave", function BarComponent_mouseleave_HostBindingHandler() {
              return ctx.onMouseLeave();
            });
          }
        },
        inputs: {
          roundEdges: "roundEdges",
          gradient: "gradient",
          offset: "offset",
          isActive: "isActive",
          animations: "animations",
          noBarWhenZero: "noBarWhenZero",
          fill: "fill",
          data: "data",
          width: "width",
          height: "height",
          x: "x",
          y: "y",
          orientation: "orientation",
          stops: "stops",
          ariaLabel: "ariaLabel"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c26,
        decls: 2,
        vars: 8,
        consts: [[4, "ngIf"], ["stroke", "none", "role", "img", "tabIndex", "-1", 1, "bar", 3, "click"], ["ngx-charts-svg-linear-gradient", "", 3, "orientation", "name", "stops"]],
        template: function BarComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, BarComponent__svg_defs_0_Template, 2, 3, "defs", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "path", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function BarComponent_Template__svg_path_click_1_listener() {
              return ctx.select.emit(ctx.data);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasGradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.isActive)("hidden", ctx.hideBar);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", ctx.path)("aria-label", ctx.ariaLabel)("fill", ctx.hasGradient ? ctx.gradientFill : ctx.fill);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SvgLinearGradientComponent],
        encapsulation: 2,
        changeDetection: 0
      });

      BarComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      BarComponent.propDecorators = {
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        x: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        y: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        orientation: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        offset: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        isActive: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stops: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        ariaLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onMouseEnter: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseenter']
        }],
        onMouseLeave: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-bar]',
            template: "\n    <svg:defs *ngIf=\"hasGradient\">\n      <svg:g ngx-charts-svg-linear-gradient [orientation]=\"orientation\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n    </svg:defs>\n    <svg:path\n      class=\"bar\"\n      stroke=\"none\"\n      role=\"img\"\n      tabIndex=\"-1\"\n      [class.active]=\"isActive\"\n      [class.hidden]=\"hideBar\"\n      [attr.d]=\"path\"\n      [attr.aria-label]=\"ariaLabel\"\n      [attr.fill]=\"hasGradient ? gradientFill : fill\"\n      (click)=\"select.emit(data)\"\n    />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          offset: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          isActive: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          onMouseEnter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseenter']
          }],
          onMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          x: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          y: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          orientation: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stops: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          ariaLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var BarHorizontalComponent = /*#__PURE__*/function (_BaseChartComponent4) {
        _inherits(BarHorizontalComponent, _BaseChartComponent4);

        var _super5 = _createSuper(BarHorizontalComponent);

        function BarHorizontalComponent() {
          var _this30;

          _classCallCheck(this, BarHorizontalComponent);

          _this30 = _super5.apply(this, arguments);
          _this30.legend = false;
          _this30.legendTitle = 'Legend';
          _this30.legendPosition = 'right';
          _this30.tooltipDisabled = false;
          _this30.showGridLines = true;
          _this30.activeEntries = [];
          _this30.trimXAxisTicks = true;
          _this30.trimYAxisTicks = true;
          _this30.rotateXAxisTicks = true;
          _this30.maxXAxisTickLength = 16;
          _this30.maxYAxisTickLength = 16;
          _this30.barPadding = 8;
          _this30.roundDomains = false;
          _this30.roundEdges = true;
          _this30.showDataLabel = false;
          _this30.noBarWhenZero = true;
          _this30.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this30.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this30.margin = [10, 20, 10, 20];
          _this30.xAxisHeight = 0;
          _this30.yAxisWidth = 0;
          _this30.dataLabelMaxWidth = {
            negative: 0,
            positive: 0
          };
          return _this30;
        }

        _createClass(BarHorizontalComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarHorizontalComponent.prototype), "update", this).call(this);

            if (!this.showDataLabel) {
              this.dataLabelMaxWidth = {
                negative: 0,
                positive: 0
              };
            }

            this.margin = [10, 20 + this.dataLabelMaxWidth.positive, 10, 20 + this.dataLabelMaxWidth.negative];
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.formatDates();
            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            this.xDomain = this.getXDomain();
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.xDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            this.yDomain = this.getYDomain();
            var spacing = this.yDomain.length / (this.dims.height / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).domain(this.yDomain);
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = this.results.map(function (d) {
              return d.value;
            });
            var min = this.xScaleMin ? Math.min.apply(Math, [this.xScaleMin].concat(_toConsumableArray(values))) : Math.min.apply(Math, [0].concat(_toConsumableArray(values)));
            var max = this.xScaleMax ? Math.max.apply(Math, [this.xScaleMax].concat(_toConsumableArray(values))) : Math.max.apply(Math, [0].concat(_toConsumableArray(values)));
            return [min, max];
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            return this.results.map(function (d) {
              return d.label;
            });
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.yDomain;
            } else {
              domain = this.xDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.yDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.xDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref24) {
            var width = _ref24.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref25) {
            var height = _ref25.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onDataLabelMaxWidthChanged",
          value: function onDataLabelMaxWidthChanged(event) {
            var _this31 = this;

            if (event.size.negative) {
              this.dataLabelMaxWidth.negative = Math.max(this.dataLabelMaxWidth.negative, event.size.width);
            } else {
              this.dataLabelMaxWidth.positive = Math.max(this.dataLabelMaxWidth.positive, event.size.width);
            }

            if (event.index === this.results.length - 1) {
              setTimeout(function () {
                return _this31.update();
              });
            }
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarHorizontalComponent;
      }(BaseChartComponent);

      BarHorizontalComponent.ɵfac = function BarHorizontalComponent_Factory(t) {
        return ɵBarHorizontalComponent_BaseFactory(t || BarHorizontalComponent);
      };

      BarHorizontalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarHorizontalComponent,
        selectors: [["ngx-charts-bar-horizontal"]],
        contentQueries: function BarHorizontalComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          roundEdges: "roundEdges",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          xScaleMax: "xScaleMax",
          xScaleMin: "xScaleMin",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 25,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "bar-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "yAxisOffset", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-series-horizontal", "", 3, "xScale", "yScale", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "activeEntries", "roundEdges", "animations", "showDataLabel", "dataLabelFormatting", "noBarWhenZero", "select", "activate", "deactivate", "dataLabelWidthChanged"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "yAxisOffset", "dimensionsChanged"]],
        template: function BarHorizontalComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function BarHorizontalComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function BarHorizontalComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, true);
            })("legendLabelDeactivate", function BarHorizontalComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, true);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BarHorizontalComponent__svg_g_2_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarHorizontalComponent__svg_g_3_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function BarHorizontalComponent_Template__svg_g_select_4_listener($event) {
              return ctx.onClick($event);
            })("activate", function BarHorizontalComponent_Template__svg_g_activate_4_listener($event) {
              return ctx.onActivate($event);
            })("deactivate", function BarHorizontalComponent_Template__svg_g_deactivate_4_listener($event) {
              return ctx.onDeactivate($event);
            })("dataLabelWidthChanged", function BarHorizontalComponent_Template__svg_g_dataLabelWidthChanged_4_listener($event) {
              return ctx.onDataLabelMaxWidthChanged($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](22, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx.xScale)("yScale", ctx.yScale)("colors", ctx.colors)("series", ctx.results)("dims", ctx.dims)("gradient", ctx.gradient)("tooltipDisabled", ctx.tooltipDisabled)("tooltipTemplate", ctx.tooltipTemplate)("activeEntries", ctx.activeEntries)("roundEdges", ctx.roundEdges)("animations", ctx.animations)("showDataLabel", ctx.showDataLabel)("dataLabelFormatting", ctx.dataLabelFormatting)("noBarWhenZero", ctx.noBarWhenZero);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SeriesHorizontal, XAxisComponent, YAxisComponent];
        },
        styles: [_c24],
        encapsulation: 2,
        changeDetection: 0
      });
      BarHorizontalComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarHorizontalComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarHorizontalComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarHorizontalComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-horizontal',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, true)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-series-horizontal\n          [xScale]=\"xScale\"\n          [yScale]=\"yScale\"\n          [colors]=\"colors\"\n          [series]=\"results\"\n          [dims]=\"dims\"\n          [gradient]=\"gradient\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [activeEntries]=\"activeEntries\"\n          [roundEdges]=\"roundEdges\"\n          [animations]=\"animations\"\n          [showDataLabel]=\"showDataLabel\"\n          [dataLabelFormatting]=\"dataLabelFormatting\"\n          [noBarWhenZero]=\"noBarWhenZero\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event)\"\n          (deactivate)=\"onDeactivate($event)\"\n          (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event)\"\n        ></svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarHorizontal2DComponent = /*#__PURE__*/function (_BaseChartComponent5) {
        _inherits(BarHorizontal2DComponent, _BaseChartComponent5);

        var _super6 = _createSuper(BarHorizontal2DComponent);

        function BarHorizontal2DComponent() {
          var _this32;

          _classCallCheck(this, BarHorizontal2DComponent);

          _this32 = _super6.apply(this, arguments);
          _this32.legend = false;
          _this32.legendTitle = 'Legend';
          _this32.legendPosition = 'right';
          _this32.tooltipDisabled = false;
          _this32.showGridLines = true;
          _this32.activeEntries = [];
          _this32.trimXAxisTicks = true;
          _this32.trimYAxisTicks = true;
          _this32.rotateXAxisTicks = true;
          _this32.maxXAxisTickLength = 16;
          _this32.maxYAxisTickLength = 16;
          _this32.groupPadding = 16;
          _this32.barPadding = 8;
          _this32.roundDomains = false;
          _this32.roundEdges = true;
          _this32.showDataLabel = false;
          _this32.noBarWhenZero = true;
          _this32.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this32.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this32.margin = [10, 20, 10, 20];
          _this32.xAxisHeight = 0;
          _this32.yAxisWidth = 0;
          _this32.dataLabelMaxWidth = {
            negative: 0,
            positive: 0
          };
          return _this32;
        }

        _createClass(BarHorizontal2DComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarHorizontal2DComponent.prototype), "update", this).call(this);

            if (!this.showDataLabel) {
              this.dataLabelMaxWidth = {
                negative: 0,
                positive: 0
              };
            }

            this.margin = [10, 20 + this.dataLabelMaxWidth.positive, 10, 20 + this.dataLabelMaxWidth.negative];
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.formatDates();
            this.groupDomain = this.getGroupDomain();
            this.innerDomain = this.getInnerDomain();
            this.valuesDomain = this.getValueDomain();
            this.groupScale = this.getGroupScale();
            this.innerScale = this.getInnerScale();
            this.valueScale = this.getValueScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          }
        }, {
          key: "getGroupScale",
          value: function getGroupScale() {
            var spacing = this.groupDomain.length / (this.dims.height / this.groupPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).paddingOuter(spacing / 2).domain(this.groupDomain);
          }
        }, {
          key: "getInnerScale",
          value: function getInnerScale() {
            var height = this.groupScale.bandwidth();
            var spacing = this.innerDomain.length / (height / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, height]).paddingInner(spacing).domain(this.innerDomain);
          }
        }, {
          key: "getValueScale",
          value: function getValueScale() {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valuesDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getGroupDomain",
          value: function getGroupDomain() {
            var domain = [];

            var _iterator41 = _createForOfIteratorHelper(this.results),
                _step41;

            try {
              for (_iterator41.s(); !(_step41 = _iterator41.n()).done;) {
                var group = _step41.value;

                if (!domain.includes(group.label)) {
                  domain.push(group.label);
                }
              }
            } catch (err) {
              _iterator41.e(err);
            } finally {
              _iterator41.f();
            }

            return domain;
          }
        }, {
          key: "getInnerDomain",
          value: function getInnerDomain() {
            var domain = [];

            var _iterator42 = _createForOfIteratorHelper(this.results),
                _step42;

            try {
              for (_iterator42.s(); !(_step42 = _iterator42.n()).done;) {
                var group = _step42.value;

                var _iterator43 = _createForOfIteratorHelper(group.series),
                    _step43;

                try {
                  for (_iterator43.s(); !(_step43 = _iterator43.n()).done;) {
                    var d = _step43.value;

                    if (!domain.includes(d.label)) {
                      domain.push(d.label);
                    }
                  }
                } catch (err) {
                  _iterator43.e(err);
                } finally {
                  _iterator43.f();
                }
              }
            } catch (err) {
              _iterator42.e(err);
            } finally {
              _iterator42.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            var domain = [];

            var _iterator44 = _createForOfIteratorHelper(this.results),
                _step44;

            try {
              for (_iterator44.s(); !(_step44 = _iterator44.n()).done;) {
                var group = _step44.value;

                var _iterator45 = _createForOfIteratorHelper(group.series),
                    _step45;

                try {
                  for (_iterator45.s(); !(_step45 = _iterator45.n()).done;) {
                    var d = _step45.value;

                    if (!domain.includes(d.value)) {
                      domain.push(d.value);
                    }
                  }
                } catch (err) {
                  _iterator45.e(err);
                } finally {
                  _iterator45.f();
                }
              }
            } catch (err) {
              _iterator44.e(err);
            } finally {
              _iterator44.f();
            }

            var min = Math.min.apply(Math, [0].concat(domain));
            var max = this.xScaleMax ? Math.max.apply(Math, [this.xScaleMax].concat(domain)) : Math.max.apply(Math, [0].concat(domain));
            return [min, max];
          }
        }, {
          key: "groupTransform",
          value: function groupTransform(group) {
            return "translate(0, ".concat(this.groupScale(group.label), ")");
          }
        }, {
          key: "onClick",
          value: function onClick(data, group) {
            if (group) {
              data.series = group.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.innerDomain;
            } else {
              domain = this.valuesDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.innerDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.valuesDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref26) {
            var width = _ref26.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref27) {
            var height = _ref27.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onDataLabelMaxWidthChanged",
          value: function onDataLabelMaxWidthChanged(event, groupIndex) {
            var _this33 = this;

            if (event.size.negative) {
              this.dataLabelMaxWidth.negative = Math.max(this.dataLabelMaxWidth.negative, event.size.width);
            } else {
              this.dataLabelMaxWidth.positive = Math.max(this.dataLabelMaxWidth.positive, event.size.width);
            }

            if (groupIndex === this.results.length - 1) {
              setTimeout(function () {
                return _this33.update();
              });
            }
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarHorizontal2DComponent;
      }(BaseChartComponent);

      BarHorizontal2DComponent.ɵfac = function BarHorizontal2DComponent_Factory(t) {
        return ɵBarHorizontal2DComponent_BaseFactory(t || BarHorizontal2DComponent);
      };

      BarHorizontal2DComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarHorizontal2DComponent,
        selectors: [["ngx-charts-bar-horizontal-2d"]],
        contentQueries: function BarHorizontal2DComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          groupPadding: "groupPadding",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          roundEdges: "roundEdges",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          xScaleMax: "xScaleMax",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 6,
        vars: 17,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "bar-chart", "chart"], ["ngx-charts-grid-panel-series", "", "orient", "horizontal", 3, "xScale", "yScale", "data", "dims"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "yAxisOffset", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "yAxisOffset", "dimensionsChanged"], ["ngx-charts-series-horizontal", "", 3, "xScale", "activeEntries", "yScale", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "seriesName", "roundEdges", "animations", "showDataLabel", "dataLabelFormatting", "noBarWhenZero", "select", "activate", "deactivate", "dataLabelWidthChanged"]],
        template: function BarHorizontal2DComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function BarHorizontal2DComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, undefined, true);
            })("legendLabelDeactivate", function BarHorizontal2DComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, undefined, true);
            })("legendLabelClick", function BarHorizontal2DComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarHorizontal2DComponent__svg_g_3_Template, 1, 10, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BarHorizontal2DComponent__svg_g_4_Template, 1, 9, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, BarHorizontal2DComponent__svg_g_5_Template, 2, 17, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](14, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx.valueScale)("yScale", ctx.groupScale)("data", ctx.results)("dims", ctx.dims);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, GridPanelSeriesComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, SeriesHorizontal];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: '*'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }))])])]
        },
        changeDetection: 0
      });
      BarHorizontal2DComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        groupPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarHorizontal2DComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarHorizontal2DComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarHorizontal2DComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-horizontal-2d',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-grid-panel-series\n          [xScale]=\"valueScale\"\n          [yScale]=\"groupScale\"\n          [data]=\"results\"\n          [dims]=\"dims\"\n          orient=\"horizontal\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"valueScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"groupScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-horizontal\n            [xScale]=\"valueScale\"\n            [activeEntries]=\"activeEntries\"\n            [yScale]=\"innerScale\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [roundEdges]=\"roundEdges\"\n            [animations]=\"animations\"\n            [showDataLabel]=\"showDataLabel\"\n            [dataLabelFormatting]=\"dataLabelFormatting\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: '*'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          groupPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarHorizontalNormalizedComponent = /*#__PURE__*/function (_BaseChartComponent6) {
        _inherits(BarHorizontalNormalizedComponent, _BaseChartComponent6);

        var _super7 = _createSuper(BarHorizontalNormalizedComponent);

        function BarHorizontalNormalizedComponent() {
          var _this34;

          _classCallCheck(this, BarHorizontalNormalizedComponent);

          _this34 = _super7.apply(this, arguments);
          _this34.legend = false;
          _this34.legendTitle = 'Legend';
          _this34.legendPosition = 'right';
          _this34.tooltipDisabled = false;
          _this34.showGridLines = true;
          _this34.activeEntries = [];
          _this34.trimXAxisTicks = true;
          _this34.trimYAxisTicks = true;
          _this34.rotateXAxisTicks = true;
          _this34.maxXAxisTickLength = 16;
          _this34.maxYAxisTickLength = 16;
          _this34.barPadding = 8;
          _this34.roundDomains = false;
          _this34.noBarWhenZero = true;
          _this34.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this34.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this34.margin = [10, 20, 10, 20];
          _this34.xAxisHeight = 0;
          _this34.yAxisWidth = 0;
          return _this34;
        }

        _createClass(BarHorizontalNormalizedComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarHorizontalNormalizedComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.formatDates();
            this.groupDomain = this.getGroupDomain();
            this.innerDomain = this.getInnerDomain();
            this.valueDomain = this.getValueDomain();
            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          }
        }, {
          key: "getGroupDomain",
          value: function getGroupDomain() {
            var domain = [];

            var _iterator46 = _createForOfIteratorHelper(this.results),
                _step46;

            try {
              for (_iterator46.s(); !(_step46 = _iterator46.n()).done;) {
                var group = _step46.value;

                if (!domain.includes(group.label)) {
                  domain.push(group.label);
                }
              }
            } catch (err) {
              _iterator46.e(err);
            } finally {
              _iterator46.f();
            }

            return domain;
          }
        }, {
          key: "getInnerDomain",
          value: function getInnerDomain() {
            var domain = [];

            var _iterator47 = _createForOfIteratorHelper(this.results),
                _step47;

            try {
              for (_iterator47.s(); !(_step47 = _iterator47.n()).done;) {
                var group = _step47.value;

                var _iterator48 = _createForOfIteratorHelper(group.series),
                    _step48;

                try {
                  for (_iterator48.s(); !(_step48 = _iterator48.n()).done;) {
                    var d = _step48.value;

                    if (!domain.includes(d.label)) {
                      domain.push(d.label);
                    }
                  }
                } catch (err) {
                  _iterator48.e(err);
                } finally {
                  _iterator48.f();
                }
              }
            } catch (err) {
              _iterator47.e(err);
            } finally {
              _iterator47.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            return [0, 100];
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            var spacing = this.groupDomain.length / (this.dims.height / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).domain(this.groupDomain);
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valueDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "groupTransform",
          value: function groupTransform(group) {
            return "translate(0, ".concat(this.yScale(group.name), ")");
          }
        }, {
          key: "onClick",
          value: function onClick(data, group) {
            if (group) {
              data.series = group.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.innerDomain;
            } else {
              domain = this.valueDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.innerDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.valueDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref28) {
            var width = _ref28.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref29) {
            var height = _ref29.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarHorizontalNormalizedComponent;
      }(BaseChartComponent);

      BarHorizontalNormalizedComponent.ɵfac = function BarHorizontalNormalizedComponent_Factory(t) {
        return ɵBarHorizontalNormalizedComponent_BaseFactory(t || BarHorizontalNormalizedComponent);
      };

      BarHorizontalNormalizedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarHorizontalNormalizedComponent,
        selectors: [["ngx-charts-bar-horizontal-normalized"]],
        contentQueries: function BarHorizontalNormalizedComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 13,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "bar-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-series-horizontal", "", "type", "normalized", 3, "xScale", "yScale", "activeEntries", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "seriesName", "animations", "noBarWhenZero", "select", "activate", "deactivate"]],
        template: function BarHorizontalNormalizedComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function BarHorizontalNormalizedComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, undefined, true);
            })("legendLabelDeactivate", function BarHorizontalNormalizedComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, undefined, true);
            })("legendLabelClick", function BarHorizontalNormalizedComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BarHorizontalNormalizedComponent__svg_g_2_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarHorizontalNormalizedComponent__svg_g_3_Template, 1, 8, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BarHorizontalNormalizedComponent__svg_g_4_Template, 2, 14, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, SeriesHorizontal];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: '*'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }))])])]
        },
        changeDetection: 0
      });
      BarHorizontalNormalizedComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarHorizontalNormalizedComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarHorizontalNormalizedComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarHorizontalNormalizedComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-horizontal-normalized',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-horizontal\n            type=\"normalized\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [activeEntries]=\"activeEntries\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: '*'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarHorizontalStackedComponent = /*#__PURE__*/function (_BaseChartComponent7) {
        _inherits(BarHorizontalStackedComponent, _BaseChartComponent7);

        var _super8 = _createSuper(BarHorizontalStackedComponent);

        function BarHorizontalStackedComponent() {
          var _this35;

          _classCallCheck(this, BarHorizontalStackedComponent);

          _this35 = _super8.apply(this, arguments);
          _this35.legend = false;
          _this35.legendTitle = 'Legend';
          _this35.legendPosition = 'right';
          _this35.tooltipDisabled = false;
          _this35.showGridLines = true;
          _this35.activeEntries = [];
          _this35.trimXAxisTicks = true;
          _this35.trimYAxisTicks = true;
          _this35.rotateXAxisTicks = true;
          _this35.maxXAxisTickLength = 16;
          _this35.maxYAxisTickLength = 16;
          _this35.barPadding = 8;
          _this35.roundDomains = false;
          _this35.showDataLabel = false;
          _this35.noBarWhenZero = true;
          _this35.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this35.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this35.margin = [10, 20, 10, 20];
          _this35.xAxisHeight = 0;
          _this35.yAxisWidth = 0;
          _this35.dataLabelMaxWidth = {
            negative: 0,
            positive: 0
          };
          return _this35;
        }

        _createClass(BarHorizontalStackedComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarHorizontalStackedComponent.prototype), "update", this).call(this);

            if (!this.showDataLabel) {
              this.dataLabelMaxWidth = {
                negative: 0,
                positive: 0
              };
            }

            this.margin = [10, 20 + this.dataLabelMaxWidth.positive, 10, 20 + this.dataLabelMaxWidth.negative];
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.formatDates();
            this.groupDomain = this.getGroupDomain();
            this.innerDomain = this.getInnerDomain();
            this.valueDomain = this.getValueDomain();
            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          }
        }, {
          key: "getGroupDomain",
          value: function getGroupDomain() {
            var domain = [];

            var _iterator49 = _createForOfIteratorHelper(this.results),
                _step49;

            try {
              for (_iterator49.s(); !(_step49 = _iterator49.n()).done;) {
                var group = _step49.value;

                if (!domain.includes(group.label)) {
                  domain.push(group.label);
                }
              }
            } catch (err) {
              _iterator49.e(err);
            } finally {
              _iterator49.f();
            }

            return domain;
          }
        }, {
          key: "getInnerDomain",
          value: function getInnerDomain() {
            var domain = [];

            var _iterator50 = _createForOfIteratorHelper(this.results),
                _step50;

            try {
              for (_iterator50.s(); !(_step50 = _iterator50.n()).done;) {
                var group = _step50.value;

                var _iterator51 = _createForOfIteratorHelper(group.series),
                    _step51;

                try {
                  for (_iterator51.s(); !(_step51 = _iterator51.n()).done;) {
                    var d = _step51.value;

                    if (!domain.includes(d.label)) {
                      domain.push(d.label);
                    }
                  }
                } catch (err) {
                  _iterator51.e(err);
                } finally {
                  _iterator51.f();
                }
              }
            } catch (err) {
              _iterator50.e(err);
            } finally {
              _iterator50.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            var domain = [];
            var smallest = 0;
            var biggest = 0;

            var _iterator52 = _createForOfIteratorHelper(this.results),
                _step52;

            try {
              for (_iterator52.s(); !(_step52 = _iterator52.n()).done;) {
                var group = _step52.value;
                var smallestSum = 0;
                var biggestSum = 0;

                var _iterator53 = _createForOfIteratorHelper(group.series),
                    _step53;

                try {
                  for (_iterator53.s(); !(_step53 = _iterator53.n()).done;) {
                    var d = _step53.value;

                    if (d.value < 0) {
                      smallestSum += d.value;
                    } else {
                      biggestSum += d.value;
                    }

                    smallest = d.value < smallest ? d.value : smallest;
                    biggest = d.value > biggest ? d.value : biggest;
                  }
                } catch (err) {
                  _iterator53.e(err);
                } finally {
                  _iterator53.f();
                }

                domain.push(smallestSum);
                domain.push(biggestSum);
              }
            } catch (err) {
              _iterator52.e(err);
            } finally {
              _iterator52.f();
            }

            domain.push(smallest);
            domain.push(biggest);
            var min = Math.min.apply(Math, [0].concat(domain));
            var max = this.xScaleMax ? Math.max.apply(Math, [this.xScaleMax].concat(domain)) : Math.max.apply(Math, domain);
            return [min, max];
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            var spacing = this.groupDomain.length / (this.dims.height / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).domain(this.groupDomain);
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valueDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "groupTransform",
          value: function groupTransform(group) {
            return "translate(0, ".concat(this.yScale(group.name), ")");
          }
        }, {
          key: "onClick",
          value: function onClick(data, group) {
            if (group) {
              data.series = group.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.innerDomain;
            } else {
              domain = this.valueDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.innerDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.valueDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref30) {
            var width = _ref30.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref31) {
            var height = _ref31.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onDataLabelMaxWidthChanged",
          value: function onDataLabelMaxWidthChanged(event, groupIndex) {
            var _this36 = this;

            if (event.size.negative) {
              this.dataLabelMaxWidth.negative = Math.max(this.dataLabelMaxWidth.negative, event.size.width);
            } else {
              this.dataLabelMaxWidth.positive = Math.max(this.dataLabelMaxWidth.positive, event.size.width);
            }

            if (groupIndex === this.results.length - 1) {
              setTimeout(function () {
                return _this36.update();
              });
            }
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarHorizontalStackedComponent;
      }(BaseChartComponent);

      BarHorizontalStackedComponent.ɵfac = function BarHorizontalStackedComponent_Factory(t) {
        return ɵBarHorizontalStackedComponent_BaseFactory(t || BarHorizontalStackedComponent);
      };

      BarHorizontalStackedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarHorizontalStackedComponent,
        selectors: [["ngx-charts-bar-horizontal-stacked"]],
        contentQueries: function BarHorizontalStackedComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          xScaleMax: "xScaleMax",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 13,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "bar-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "yAxisOffset", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "yAxisOffset", "dimensionsChanged"], ["ngx-charts-series-horizontal", "", "type", "stacked", 3, "xScale", "yScale", "colors", "series", "activeEntries", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "seriesName", "animations", "showDataLabel", "dataLabelFormatting", "noBarWhenZero", "select", "activate", "deactivate", "dataLabelWidthChanged"]],
        template: function BarHorizontalStackedComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function BarHorizontalStackedComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, undefined, true);
            })("legendLabelDeactivate", function BarHorizontalStackedComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, undefined, true);
            })("legendLabelClick", function BarHorizontalStackedComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BarHorizontalStackedComponent__svg_g_2_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarHorizontalStackedComponent__svg_g_3_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BarHorizontalStackedComponent__svg_g_4_Template, 2, 16, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, SeriesHorizontal];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: '*'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }))])])]
        },
        changeDetection: 0
      });
      BarHorizontalStackedComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarHorizontalStackedComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarHorizontalStackedComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarHorizontalStackedComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-horizontal-stacked',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-horizontal\n            type=\"stacked\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [activeEntries]=\"activeEntries\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            [showDataLabel]=\"showDataLabel\"\n            [dataLabelFormatting]=\"dataLabelFormatting\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: '*'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarVerticalComponent = /*#__PURE__*/function (_BaseChartComponent8) {
        _inherits(BarVerticalComponent, _BaseChartComponent8);

        var _super9 = _createSuper(BarVerticalComponent);

        function BarVerticalComponent() {
          var _this37;

          _classCallCheck(this, BarVerticalComponent);

          _this37 = _super9.apply(this, arguments);
          _this37.legend = false;
          _this37.legendTitle = 'Legend';
          _this37.legendPosition = 'right';
          _this37.tooltipDisabled = false;
          _this37.showGridLines = true;
          _this37.activeEntries = [];
          _this37.trimXAxisTicks = true;
          _this37.trimYAxisTicks = true;
          _this37.rotateXAxisTicks = true;
          _this37.maxXAxisTickLength = 16;
          _this37.maxYAxisTickLength = 16;
          _this37.barPadding = 8;
          _this37.roundDomains = false;
          _this37.roundEdges = true;
          _this37.showDataLabel = false;
          _this37.noBarWhenZero = true;
          _this37.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this37.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this37.margin = [10, 20, 10, 20];
          _this37.xAxisHeight = 0;
          _this37.yAxisWidth = 0;
          _this37.dataLabelMaxHeight = {
            negative: 0,
            positive: 0
          };
          return _this37;
        }

        _createClass(BarVerticalComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarVerticalComponent.prototype), "update", this).call(this);

            if (!this.showDataLabel) {
              this.dataLabelMaxHeight = {
                negative: 0,
                positive: 0
              };
            }

            this.margin = [10 + this.dataLabelMaxHeight.positive, 20, 10 + this.dataLabelMaxHeight.negative, 20];
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.formatDates();

            if (this.showDataLabel) {
              this.dims.height -= this.dataLabelMaxHeight.negative;
            }

            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0] + this.dataLabelMaxHeight.negative, ")");
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            this.xDomain = this.getXDomain();
            var spacing = this.xDomain.length / (this.dims.width / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().range([0, this.dims.width]).paddingInner(spacing).domain(this.xDomain);
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            this.yDomain = this.getYDomain();
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.yDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            return this.results.map(function (d) {
              return d.label;
            });
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var values = this.results.map(function (d) {
              return d.value;
            });
            var min = this.yScaleMin ? Math.min.apply(Math, [this.yScaleMin].concat(_toConsumableArray(values))) : Math.min.apply(Math, [0].concat(_toConsumableArray(values)));

            if (this.yAxisTicks && !this.yAxisTicks.some(isNaN)) {
              min = Math.min.apply(Math, [min].concat(_toConsumableArray(this.yAxisTicks)));
            }

            var max = this.yScaleMax ? Math.max.apply(Math, [this.yScaleMax].concat(_toConsumableArray(values))) : Math.max.apply(Math, [0].concat(_toConsumableArray(values)));

            if (this.yAxisTicks && !this.yAxisTicks.some(isNaN)) {
              max = Math.max.apply(Math, [max].concat(_toConsumableArray(this.yAxisTicks)));
            }

            return [min, max];
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.xDomain;
            } else {
              domain = this.yDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.xDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.yDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref32) {
            var width = _ref32.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref33) {
            var height = _ref33.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onDataLabelMaxHeightChanged",
          value: function onDataLabelMaxHeightChanged(event) {
            var _this38 = this;

            if (event.size.negative) {
              this.dataLabelMaxHeight.negative = Math.max(this.dataLabelMaxHeight.negative, event.size.height);
            } else {
              this.dataLabelMaxHeight.positive = Math.max(this.dataLabelMaxHeight.positive, event.size.height);
            }

            if (event.index === this.results.length - 1) {
              setTimeout(function () {
                return _this38.update();
              });
            }
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarVerticalComponent;
      }(BaseChartComponent);

      BarVerticalComponent.ɵfac = function BarVerticalComponent_Factory(t) {
        return ɵBarVerticalComponent_BaseFactory(t || BarVerticalComponent);
      };

      BarVerticalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarVerticalComponent,
        selectors: [["ngx-charts-bar-vertical"]],
        contentQueries: function BarVerticalComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          roundEdges: "roundEdges",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          yScaleMax: "yScaleMax",
          yScaleMin: "yScaleMin",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 25,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "bar-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "xAxisOffset", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-series-vertical", "", 3, "xScale", "yScale", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "showDataLabel", "dataLabelFormatting", "activeEntries", "roundEdges", "animations", "noBarWhenZero", "activate", "deactivate", "select", "dataLabelHeightChanged"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "xAxisOffset", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"]],
        template: function BarVerticalComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function BarVerticalComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function BarVerticalComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, true);
            })("legendLabelDeactivate", function BarVerticalComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, true);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BarVerticalComponent__svg_g_2_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarVerticalComponent__svg_g_3_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("activate", function BarVerticalComponent_Template__svg_g_activate_4_listener($event) {
              return ctx.onActivate($event);
            })("deactivate", function BarVerticalComponent_Template__svg_g_deactivate_4_listener($event) {
              return ctx.onDeactivate($event);
            })("select", function BarVerticalComponent_Template__svg_g_select_4_listener($event) {
              return ctx.onClick($event);
            })("dataLabelHeightChanged", function BarVerticalComponent_Template__svg_g_dataLabelHeightChanged_4_listener($event) {
              return ctx.onDataLabelMaxHeightChanged($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](22, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx.xScale)("yScale", ctx.yScale)("colors", ctx.colors)("series", ctx.results)("dims", ctx.dims)("gradient", ctx.gradient)("tooltipDisabled", ctx.tooltipDisabled)("tooltipTemplate", ctx.tooltipTemplate)("showDataLabel", ctx.showDataLabel)("dataLabelFormatting", ctx.dataLabelFormatting)("activeEntries", ctx.activeEntries)("roundEdges", ctx.roundEdges)("animations", ctx.animations)("noBarWhenZero", ctx.noBarWhenZero);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SeriesVerticalComponent, XAxisComponent, YAxisComponent];
        },
        styles: [_c24],
        encapsulation: 2,
        changeDetection: 0
      });
      BarVerticalComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarVerticalComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarVerticalComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarVerticalComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-vertical',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, true)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          [xAxisOffset]=\"dataLabelMaxHeight.negative\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-series-vertical\n          [xScale]=\"xScale\"\n          [yScale]=\"yScale\"\n          [colors]=\"colors\"\n          [series]=\"results\"\n          [dims]=\"dims\"\n          [gradient]=\"gradient\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [showDataLabel]=\"showDataLabel\"\n          [dataLabelFormatting]=\"dataLabelFormatting\"\n          [activeEntries]=\"activeEntries\"\n          [roundEdges]=\"roundEdges\"\n          [animations]=\"animations\"\n          [noBarWhenZero]=\"noBarWhenZero\"\n          (activate)=\"onActivate($event)\"\n          (deactivate)=\"onDeactivate($event)\"\n          (select)=\"onClick($event)\"\n          (dataLabelHeightChanged)=\"onDataLabelMaxHeightChanged($event)\"\n        ></svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarVertical2DComponent = /*#__PURE__*/function (_BaseChartComponent9) {
        _inherits(BarVertical2DComponent, _BaseChartComponent9);

        var _super10 = _createSuper(BarVertical2DComponent);

        function BarVertical2DComponent() {
          var _this39;

          _classCallCheck(this, BarVertical2DComponent);

          _this39 = _super10.apply(this, arguments);
          _this39.legend = false;
          _this39.legendTitle = 'Legend';
          _this39.legendPosition = 'right';
          _this39.tooltipDisabled = false;
          _this39.scaleType = 'ordinal';
          _this39.showGridLines = true;
          _this39.activeEntries = [];
          _this39.trimXAxisTicks = true;
          _this39.trimYAxisTicks = true;
          _this39.rotateXAxisTicks = true;
          _this39.maxXAxisTickLength = 16;
          _this39.maxYAxisTickLength = 16;
          _this39.groupPadding = 16;
          _this39.barPadding = 8;
          _this39.roundDomains = false;
          _this39.roundEdges = true;
          _this39.showDataLabel = false;
          _this39.noBarWhenZero = true;
          _this39.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this39.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this39.margin = [10, 20, 10, 20];
          _this39.xAxisHeight = 0;
          _this39.yAxisWidth = 0;
          _this39.dataLabelMaxHeight = {
            negative: 0,
            positive: 0
          };
          return _this39;
        }

        _createClass(BarVertical2DComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarVertical2DComponent.prototype), "update", this).call(this);

            if (!this.showDataLabel) {
              this.dataLabelMaxHeight = {
                negative: 0,
                positive: 0
              };
            }

            this.margin = [10 + this.dataLabelMaxHeight.positive, 20, 10 + this.dataLabelMaxHeight.negative, 20];
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });

            if (this.showDataLabel) {
              this.dims.height -= this.dataLabelMaxHeight.negative;
            }

            this.formatDates();
            this.groupDomain = this.getGroupDomain();
            this.innerDomain = this.getInnerDomain();
            this.valuesDomain = this.getValueDomain();
            this.groupScale = this.getGroupScale();
            this.innerScale = this.getInnerScale();
            this.valueScale = this.getValueScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0] + this.dataLabelMaxHeight.negative, ")");
          }
        }, {
          key: "onDataLabelMaxHeightChanged",
          value: function onDataLabelMaxHeightChanged(event, groupIndex) {
            var _this40 = this;

            if (event.size.negative) {
              this.dataLabelMaxHeight.negative = Math.max(this.dataLabelMaxHeight.negative, event.size.height);
            } else {
              this.dataLabelMaxHeight.positive = Math.max(this.dataLabelMaxHeight.positive, event.size.height);
            }

            if (groupIndex === this.results.length - 1) {
              setTimeout(function () {
                return _this40.update();
              });
            }
          }
        }, {
          key: "getGroupScale",
          value: function getGroupScale() {
            var spacing = this.groupDomain.length / (this.dims.height / this.groupPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).paddingInner(spacing).paddingOuter(spacing / 2).domain(this.groupDomain);
          }
        }, {
          key: "getInnerScale",
          value: function getInnerScale() {
            var width = this.groupScale.bandwidth();
            var spacing = this.innerDomain.length / (width / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, width]).paddingInner(spacing).domain(this.innerDomain);
          }
        }, {
          key: "getValueScale",
          value: function getValueScale() {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.valuesDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getGroupDomain",
          value: function getGroupDomain() {
            var domain = [];

            var _iterator54 = _createForOfIteratorHelper(this.results),
                _step54;

            try {
              for (_iterator54.s(); !(_step54 = _iterator54.n()).done;) {
                var group = _step54.value;

                if (!domain.includes(group.label)) {
                  domain.push(group.label);
                }
              }
            } catch (err) {
              _iterator54.e(err);
            } finally {
              _iterator54.f();
            }

            return domain;
          }
        }, {
          key: "getInnerDomain",
          value: function getInnerDomain() {
            var domain = [];

            var _iterator55 = _createForOfIteratorHelper(this.results),
                _step55;

            try {
              for (_iterator55.s(); !(_step55 = _iterator55.n()).done;) {
                var group = _step55.value;

                var _iterator56 = _createForOfIteratorHelper(group.series),
                    _step56;

                try {
                  for (_iterator56.s(); !(_step56 = _iterator56.n()).done;) {
                    var d = _step56.value;

                    if (!domain.includes(d.label)) {
                      domain.push(d.label);
                    }
                  }
                } catch (err) {
                  _iterator56.e(err);
                } finally {
                  _iterator56.f();
                }
              }
            } catch (err) {
              _iterator55.e(err);
            } finally {
              _iterator55.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            var domain = [];

            var _iterator57 = _createForOfIteratorHelper(this.results),
                _step57;

            try {
              for (_iterator57.s(); !(_step57 = _iterator57.n()).done;) {
                var group = _step57.value;

                var _iterator58 = _createForOfIteratorHelper(group.series),
                    _step58;

                try {
                  for (_iterator58.s(); !(_step58 = _iterator58.n()).done;) {
                    var d = _step58.value;

                    if (!domain.includes(d.value)) {
                      domain.push(d.value);
                    }
                  }
                } catch (err) {
                  _iterator58.e(err);
                } finally {
                  _iterator58.f();
                }
              }
            } catch (err) {
              _iterator57.e(err);
            } finally {
              _iterator57.f();
            }

            var min = Math.min.apply(Math, [0].concat(domain));
            var max = this.yScaleMax ? Math.max.apply(Math, [this.yScaleMax].concat(domain)) : Math.max.apply(Math, [0].concat(domain));
            return [min, max];
          }
        }, {
          key: "groupTransform",
          value: function groupTransform(group) {
            return "translate(".concat(this.groupScale(group.label), ", 0)");
          }
        }, {
          key: "onClick",
          value: function onClick(data, group) {
            if (group) {
              data.series = group.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.innerDomain;
            } else {
              domain = this.valuesDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.innerDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.valuesDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref34) {
            var width = _ref34.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref35) {
            var height = _ref35.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarVertical2DComponent;
      }(BaseChartComponent);

      BarVertical2DComponent.ɵfac = function BarVertical2DComponent_Factory(t) {
        return ɵBarVertical2DComponent_BaseFactory(t || BarVertical2DComponent);
      };

      BarVertical2DComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarVertical2DComponent,
        selectors: [["ngx-charts-bar-vertical-2d"]],
        contentQueries: function BarVertical2DComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          scaleType: "scaleType",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          groupPadding: "groupPadding",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          roundEdges: "roundEdges",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          yScaleMax: "yScaleMax",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 6,
        vars: 17,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "bar-chart", "chart"], ["ngx-charts-grid-panel-series", "", "orient", "vertical", 3, "xScale", "yScale", "data", "dims"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "xAxisOffset", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-series-vertical", "", 3, "activeEntries", "xScale", "yScale", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "showDataLabel", "dataLabelFormatting", "seriesName", "roundEdges", "animations", "noBarWhenZero", "select", "activate", "deactivate", "dataLabelHeightChanged", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "xAxisOffset", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-series-vertical", "", 3, "activeEntries", "xScale", "yScale", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "showDataLabel", "dataLabelFormatting", "seriesName", "roundEdges", "animations", "noBarWhenZero", "select", "activate", "deactivate", "dataLabelHeightChanged"]],
        template: function BarVertical2DComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function BarVertical2DComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, undefined, true);
            })("legendLabelDeactivate", function BarVertical2DComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, undefined, true);
            })("legendLabelClick", function BarVertical2DComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarVertical2DComponent__svg_g_3_Template, 1, 10, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BarVertical2DComponent__svg_g_4_Template, 1, 9, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, BarVertical2DComponent__svg_g_5_Template, 1, 17, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](14, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx.groupScale)("yScale", ctx.valueScale)("data", ctx.results)("dims", ctx.dims);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, GridPanelSeriesComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, SeriesVerticalComponent];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: '*'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }))])])]
        },
        changeDetection: 0
      });
      BarVertical2DComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        groupPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarVertical2DComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarVertical2DComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarVertical2DComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-vertical-2d',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-grid-panel-series\n          [xScale]=\"groupScale\"\n          [yScale]=\"valueScale\"\n          [data]=\"results\"\n          [dims]=\"dims\"\n          orient=\"vertical\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"groupScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          [xAxisOffset]=\"dataLabelMaxHeight.negative\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"valueScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-series-vertical\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n          [activeEntries]=\"activeEntries\"\n          [xScale]=\"innerScale\"\n          [yScale]=\"valueScale\"\n          [colors]=\"colors\"\n          [series]=\"group.series\"\n          [dims]=\"dims\"\n          [gradient]=\"gradient\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [showDataLabel]=\"showDataLabel\"\n          [dataLabelFormatting]=\"dataLabelFormatting\"\n          [seriesName]=\"group.name\"\n          [roundEdges]=\"roundEdges\"\n          [animations]=\"animations\"\n          [noBarWhenZero]=\"noBarWhenZero\"\n          (select)=\"onClick($event, group)\"\n          (activate)=\"onActivate($event, group)\"\n          (deactivate)=\"onDeactivate($event, group)\"\n          (dataLabelHeightChanged)=\"onDataLabelMaxHeightChanged($event, index)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: '*'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          groupPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarVerticalNormalizedComponent = /*#__PURE__*/function (_BaseChartComponent10) {
        _inherits(BarVerticalNormalizedComponent, _BaseChartComponent10);

        var _super11 = _createSuper(BarVerticalNormalizedComponent);

        function BarVerticalNormalizedComponent() {
          var _this41;

          _classCallCheck(this, BarVerticalNormalizedComponent);

          _this41 = _super11.apply(this, arguments);
          _this41.legend = false;
          _this41.legendTitle = 'Legend';
          _this41.legendPosition = 'right';
          _this41.tooltipDisabled = false;
          _this41.showGridLines = true;
          _this41.activeEntries = [];
          _this41.trimXAxisTicks = true;
          _this41.trimYAxisTicks = true;
          _this41.rotateXAxisTicks = true;
          _this41.maxXAxisTickLength = 16;
          _this41.maxYAxisTickLength = 16;
          _this41.barPadding = 8;
          _this41.roundDomains = false;
          _this41.noBarWhenZero = true;
          _this41.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this41.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this41.margin = [10, 20, 10, 20];
          _this41.xAxisHeight = 0;
          _this41.yAxisWidth = 0;
          return _this41;
        }

        _createClass(BarVerticalNormalizedComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarVerticalNormalizedComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.formatDates();
            this.groupDomain = this.getGroupDomain();
            this.innerDomain = this.getInnerDomain();
            this.valueDomain = this.getValueDomain();
            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          }
        }, {
          key: "getGroupDomain",
          value: function getGroupDomain() {
            var domain = [];

            var _iterator59 = _createForOfIteratorHelper(this.results),
                _step59;

            try {
              for (_iterator59.s(); !(_step59 = _iterator59.n()).done;) {
                var group = _step59.value;

                if (!domain.includes(group.label)) {
                  domain.push(group.label);
                }
              }
            } catch (err) {
              _iterator59.e(err);
            } finally {
              _iterator59.f();
            }

            return domain;
          }
        }, {
          key: "getInnerDomain",
          value: function getInnerDomain() {
            var domain = [];

            var _iterator60 = _createForOfIteratorHelper(this.results),
                _step60;

            try {
              for (_iterator60.s(); !(_step60 = _iterator60.n()).done;) {
                var group = _step60.value;

                var _iterator61 = _createForOfIteratorHelper(group.series),
                    _step61;

                try {
                  for (_iterator61.s(); !(_step61 = _iterator61.n()).done;) {
                    var d = _step61.value;

                    if (!domain.includes(d.label)) {
                      domain.push(d.label);
                    }
                  }
                } catch (err) {
                  _iterator61.e(err);
                } finally {
                  _iterator61.f();
                }
              }
            } catch (err) {
              _iterator60.e(err);
            } finally {
              _iterator60.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            return [0, 100];
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            var spacing = this.groupDomain.length / (this.dims.width / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).paddingInner(spacing).domain(this.groupDomain);
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.valueDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "groupTransform",
          value: function groupTransform(group) {
            return "translate(".concat(this.xScale(group.name), ", 0)");
          }
        }, {
          key: "onClick",
          value: function onClick(data, group) {
            if (group) {
              data.series = group.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.innerDomain;
            } else {
              domain = this.valueDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.innerDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.valueDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref36) {
            var width = _ref36.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref37) {
            var height = _ref37.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarVerticalNormalizedComponent;
      }(BaseChartComponent);

      BarVerticalNormalizedComponent.ɵfac = function BarVerticalNormalizedComponent_Factory(t) {
        return ɵBarVerticalNormalizedComponent_BaseFactory(t || BarVerticalNormalizedComponent);
      };

      BarVerticalNormalizedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarVerticalNormalizedComponent,
        selectors: [["ngx-charts-bar-vertical-normalized"]],
        contentQueries: function BarVerticalNormalizedComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 13,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "bar-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-series-vertical", "", "type", "normalized", 3, "xScale", "yScale", "activeEntries", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "seriesName", "animations", "noBarWhenZero", "select", "activate", "deactivate"]],
        template: function BarVerticalNormalizedComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function BarVerticalNormalizedComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, undefined, true);
            })("legendLabelDeactivate", function BarVerticalNormalizedComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, undefined, true);
            })("legendLabelClick", function BarVerticalNormalizedComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BarVerticalNormalizedComponent__svg_g_2_Template, 1, 9, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarVerticalNormalizedComponent__svg_g_3_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BarVerticalNormalizedComponent__svg_g_4_Template, 2, 14, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, SeriesVerticalComponent];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: '*'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }))])])]
        },
        changeDetection: 0
      });
      BarVerticalNormalizedComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarVerticalNormalizedComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarVerticalNormalizedComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarVerticalNormalizedComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-vertical-normalized',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-vertical\n            type=\"normalized\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [activeEntries]=\"activeEntries\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: '*'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BarVerticalStackedComponent = /*#__PURE__*/function (_BaseChartComponent11) {
        _inherits(BarVerticalStackedComponent, _BaseChartComponent11);

        var _super12 = _createSuper(BarVerticalStackedComponent);

        function BarVerticalStackedComponent() {
          var _this42;

          _classCallCheck(this, BarVerticalStackedComponent);

          _this42 = _super12.apply(this, arguments);
          _this42.legend = false;
          _this42.legendTitle = 'Legend';
          _this42.legendPosition = 'right';
          _this42.tooltipDisabled = false;
          _this42.showGridLines = true;
          _this42.activeEntries = [];
          _this42.trimXAxisTicks = true;
          _this42.trimYAxisTicks = true;
          _this42.rotateXAxisTicks = true;
          _this42.maxXAxisTickLength = 16;
          _this42.maxYAxisTickLength = 16;
          _this42.barPadding = 8;
          _this42.roundDomains = false;
          _this42.showDataLabel = false;
          _this42.noBarWhenZero = true;
          _this42.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this42.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this42.margin = [10, 20, 10, 20];
          _this42.xAxisHeight = 0;
          _this42.yAxisWidth = 0;
          _this42.dataLabelMaxHeight = {
            negative: 0,
            positive: 0
          };
          return _this42;
        }

        _createClass(BarVerticalStackedComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BarVerticalStackedComponent.prototype), "update", this).call(this);

            if (!this.showDataLabel) {
              this.dataLabelMaxHeight = {
                negative: 0,
                positive: 0
              };
            }

            this.margin = [10 + this.dataLabelMaxHeight.positive, 20, 10 + this.dataLabelMaxHeight.negative, 20];
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });

            if (this.showDataLabel) {
              this.dims.height -= this.dataLabelMaxHeight.negative;
            }

            this.formatDates();
            this.groupDomain = this.getGroupDomain();
            this.innerDomain = this.getInnerDomain();
            this.valueDomain = this.getValueDomain();
            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0] + this.dataLabelMaxHeight.negative, ")");
          }
        }, {
          key: "getGroupDomain",
          value: function getGroupDomain() {
            var domain = [];

            var _iterator62 = _createForOfIteratorHelper(this.results),
                _step62;

            try {
              for (_iterator62.s(); !(_step62 = _iterator62.n()).done;) {
                var group = _step62.value;

                if (!domain.includes(group.label)) {
                  domain.push(group.label);
                }
              }
            } catch (err) {
              _iterator62.e(err);
            } finally {
              _iterator62.f();
            }

            return domain;
          }
        }, {
          key: "getInnerDomain",
          value: function getInnerDomain() {
            var domain = [];

            var _iterator63 = _createForOfIteratorHelper(this.results),
                _step63;

            try {
              for (_iterator63.s(); !(_step63 = _iterator63.n()).done;) {
                var group = _step63.value;

                var _iterator64 = _createForOfIteratorHelper(group.series),
                    _step64;

                try {
                  for (_iterator64.s(); !(_step64 = _iterator64.n()).done;) {
                    var d = _step64.value;

                    if (!domain.includes(d.label)) {
                      domain.push(d.label);
                    }
                  }
                } catch (err) {
                  _iterator64.e(err);
                } finally {
                  _iterator64.f();
                }
              }
            } catch (err) {
              _iterator63.e(err);
            } finally {
              _iterator63.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            var domain = [];
            var smallest = 0;
            var biggest = 0;

            var _iterator65 = _createForOfIteratorHelper(this.results),
                _step65;

            try {
              for (_iterator65.s(); !(_step65 = _iterator65.n()).done;) {
                var group = _step65.value;
                var smallestSum = 0;
                var biggestSum = 0;

                var _iterator66 = _createForOfIteratorHelper(group.series),
                    _step66;

                try {
                  for (_iterator66.s(); !(_step66 = _iterator66.n()).done;) {
                    var d = _step66.value;

                    if (d.value < 0) {
                      smallestSum += d.value;
                    } else {
                      biggestSum += d.value;
                    }

                    smallest = d.value < smallest ? d.value : smallest;
                    biggest = d.value > biggest ? d.value : biggest;
                  }
                } catch (err) {
                  _iterator66.e(err);
                } finally {
                  _iterator66.f();
                }

                domain.push(smallestSum);
                domain.push(biggestSum);
              }
            } catch (err) {
              _iterator65.e(err);
            } finally {
              _iterator65.f();
            }

            domain.push(smallest);
            domain.push(biggest);
            var min = Math.min.apply(Math, [0].concat(domain));
            var max = this.yScaleMax ? Math.max.apply(Math, [this.yScaleMax].concat(domain)) : Math.max.apply(Math, domain);
            return [min, max];
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            var spacing = this.groupDomain.length / (this.dims.width / this.barPadding + 1);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).paddingInner(spacing).domain(this.groupDomain);
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.valueDomain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "onDataLabelMaxHeightChanged",
          value: function onDataLabelMaxHeightChanged(event, groupIndex) {
            var _this43 = this;

            if (event.size.negative) {
              this.dataLabelMaxHeight.negative = Math.max(this.dataLabelMaxHeight.negative, event.size.height);
            } else {
              this.dataLabelMaxHeight.positive = Math.max(this.dataLabelMaxHeight.positive, event.size.height);
            }

            if (groupIndex === this.results.length - 1) {
              setTimeout(function () {
                return _this43.update();
              });
            }
          }
        }, {
          key: "groupTransform",
          value: function groupTransform(group) {
            return "translate(".concat(this.xScale(group.name) || 0, ", 0)");
          }
        }, {
          key: "onClick",
          value: function onClick(data, group) {
            if (group) {
              data.series = group.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.innerDomain;
            } else {
              domain = this.valueDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.innerDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.valueDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref38) {
            var width = _ref38.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref39) {
            var height = _ref39.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return BarVerticalStackedComponent;
      }(BaseChartComponent);

      BarVerticalStackedComponent.ɵfac = function BarVerticalStackedComponent_Factory(t) {
        return ɵBarVerticalStackedComponent_BaseFactory(t || BarVerticalStackedComponent);
      };

      BarVerticalStackedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarVerticalStackedComponent,
        selectors: [["ngx-charts-bar-vertical-stacked"]],
        contentQueries: function BarVerticalStackedComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          tooltipDisabled: "tooltipDisabled",
          showGridLines: "showGridLines",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          barPadding: "barPadding",
          roundDomains: "roundDomains",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          yScaleMax: "yScaleMax",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 13,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "bar-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "xAxisOffset", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "xAxisOffset", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-series-vertical", "", "type", "stacked", 3, "xScale", "yScale", "activeEntries", "colors", "series", "dims", "gradient", "tooltipDisabled", "tooltipTemplate", "showDataLabel", "dataLabelFormatting", "seriesName", "animations", "noBarWhenZero", "select", "activate", "deactivate", "dataLabelHeightChanged"]],
        template: function BarVerticalStackedComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function BarVerticalStackedComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, undefined, true);
            })("legendLabelDeactivate", function BarVerticalStackedComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, undefined, true);
            })("legendLabelClick", function BarVerticalStackedComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BarVerticalStackedComponent__svg_g_2_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BarVerticalStackedComponent__svg_g_3_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BarVerticalStackedComponent__svg_g_4_Template, 2, 16, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, SeriesVerticalComponent];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: '*'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }))])])]
        },
        changeDetection: 0
      });
      BarVerticalStackedComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵBarVerticalStackedComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BarVerticalStackedComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarVerticalStackedComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bar-vertical-stacked',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          [xAxisOffset]=\"dataLabelMaxHeight.negative\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-vertical\n            type=\"stacked\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [activeEntries]=\"activeEntries\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [showDataLabel]=\"showDataLabel\"\n            [dataLabelFormatting]=\"dataLabelFormatting\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            (dataLabelHeightChanged)=\"onDataLabelMaxHeightChanged($event, index)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: '*'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var D0Types;

      (function (D0Types) {
        D0Types["positive"] = "positive";
        D0Types["negative"] = "negative";
      })(D0Types || (D0Types = {}));

      var SeriesVerticalComponent = /*#__PURE__*/function () {
        function SeriesVerticalComponent() {
          _classCallCheck(this, SeriesVerticalComponent);

          this.type = 'standard';
          this.tooltipDisabled = false;
          this.animations = true;
          this.showDataLabel = false;
          this.noBarWhenZero = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.dataLabelHeightChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.barsForDataLabels = [];
        }

        _createClass(SeriesVerticalComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var _d3,
                _this44 = this;

            this.updateTooltipSettings();
            var width;

            if (this.series.length) {
              width = this.xScale.bandwidth();
            }

            width = Math.round(width);
            var yScaleMin = Math.max(this.yScale.domain()[0], 0);
            var d0 = (_d3 = {}, _defineProperty(_d3, D0Types.positive, 0), _defineProperty(_d3, D0Types.negative, 0), _d3);
            var d0Type = D0Types.positive;
            var total;

            if (this.type === 'normalized') {
              total = this.series.map(function (d) {
                return d.value;
              }).reduce(function (sum, d) {
                return sum + d;
              }, 0);
            }

            this.bars = this.series.map(function (d, index) {
              var value = d.value;

              var label = _this44.getLabel(d);

              var formattedLabel = formatLabel(label);
              var roundEdges = _this44.roundEdges;
              d0Type = value > 0 ? D0Types.positive : D0Types.negative;
              var bar = {
                value: value,
                label: label,
                roundEdges: roundEdges,
                data: d,
                width: width,
                formattedLabel: formattedLabel,
                height: 0,
                x: 0,
                y: 0
              };

              if (_this44.type === 'standard') {
                bar.height = Math.abs(_this44.yScale(value) - _this44.yScale(yScaleMin));
                bar.x = _this44.xScale(label);

                if (value < 0) {
                  bar.y = _this44.yScale(0);
                } else {
                  bar.y = _this44.yScale(value);
                }
              } else if (_this44.type === 'stacked') {
                var offset0 = d0[d0Type];
                var offset1 = offset0 + value;
                d0[d0Type] += value;
                bar.height = _this44.yScale(offset0) - _this44.yScale(offset1);
                bar.x = 0;
                bar.y = _this44.yScale(offset1);
                bar.offset0 = offset0;
                bar.offset1 = offset1;
              } else if (_this44.type === 'normalized') {
                var _offset2 = d0[d0Type];

                var _offset3 = _offset2 + value;

                d0[d0Type] += value;

                if (total > 0) {
                  _offset2 = _offset2 * 100 / total;
                  _offset3 = _offset3 * 100 / total;
                } else {
                  _offset2 = 0;
                  _offset3 = 0;
                }

                bar.height = _this44.yScale(_offset2) - _this44.yScale(_offset3);
                bar.x = 0;
                bar.y = _this44.yScale(_offset3);
                bar.offset0 = _offset2;
                bar.offset1 = _offset3;
                value = (_offset3 - _offset2).toFixed(2) + '%';
              }

              if (_this44.colors.scaleType === 'ordinal') {
                bar.color = _this44.colors.getColor(label);
              } else {
                if (_this44.type === 'standard') {
                  bar.color = _this44.colors.getColor(value);
                  bar.gradientStops = _this44.colors.getLinearGradientStops(value);
                } else {
                  bar.color = _this44.colors.getColor(bar.offset1);
                  bar.gradientStops = _this44.colors.getLinearGradientStops(bar.offset1, bar.offset0);
                }
              }

              var tooltipLabel = formattedLabel;
              bar.ariaLabel = formattedLabel + ' ' + value.toLocaleString();

              if (_this44.seriesName) {
                tooltipLabel = "".concat(_this44.seriesName, " \u2022 ").concat(formattedLabel);
                bar.data.series = _this44.seriesName;
                bar.ariaLabel = _this44.seriesName + ' ' + bar.ariaLabel;
              }

              bar.tooltipText = _this44.tooltipDisabled ? undefined : "\n        <span class=\"tooltip-label\">".concat(escapeLabel(tooltipLabel), "</span>\n        <span class=\"tooltip-val\">").concat(_this44.dataLabelFormatting ? _this44.dataLabelFormatting(value) : value.toLocaleString(), "</span>\n      ");
              return bar;
            });
            this.updateDataLabels();
          }
        }, {
          key: "updateDataLabels",
          value: function updateDataLabels() {
            var _this45 = this;

            if (this.type === 'stacked') {
              this.barsForDataLabels = [];
              var section = {};
              section.series = this.seriesName;
              var totalPositive = this.series.map(function (d) {
                return d.value;
              }).reduce(function (sum, d) {
                return d > 0 ? sum + d : sum;
              }, 0);
              var totalNegative = this.series.map(function (d) {
                return d.value;
              }).reduce(function (sum, d) {
                return d < 0 ? sum + d : sum;
              }, 0);
              section.total = totalPositive + totalNegative;
              section.x = 0;
              section.y = 0;

              if (section.total > 0) {
                section.height = this.yScale(totalPositive);
              } else {
                section.height = this.yScale(totalNegative);
              }

              section.width = this.xScale.bandwidth();
              this.barsForDataLabels.push(section);
            } else {
              this.barsForDataLabels = this.series.map(function (d) {
                var section = {};
                section.series = _this45.seriesName ? _this45.seriesName : d.label;
                section.total = d.value;
                section.x = _this45.xScale(d.label);
                section.y = _this45.yScale(0);
                section.height = _this45.yScale(section.total) - _this45.yScale(0);
                section.width = _this45.xScale.bandwidth();
                return section;
              });
            }
          }
        }, {
          key: "updateTooltipSettings",
          value: function updateTooltipSettings() {
            this.tooltipPlacement = this.tooltipDisabled ? undefined : 'top';
            this.tooltipType = this.tooltipDisabled ? undefined : 'tooltip';
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name && entry.series === d.series;
            });
            return item !== undefined;
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "getLabel",
          value: function getLabel(dataItem) {
            if (dataItem.label) {
              return dataItem.label;
            }

            return dataItem.name;
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, bar) {
            return bar.label;
          }
        }, {
          key: "trackDataLabelBy",
          value: function trackDataLabelBy(index, barLabel) {
            return index + '#' + barLabel.series + '#' + barLabel.total;
          }
        }]);

        return SeriesVerticalComponent;
      }();

      SeriesVerticalComponent.ɵfac = function SeriesVerticalComponent_Factory(t) {
        return new (t || SeriesVerticalComponent)();
      };

      SeriesVerticalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: SeriesVerticalComponent,
        selectors: [["g", "ngx-charts-series-vertical", ""]],
        inputs: {
          type: "type",
          tooltipDisabled: "tooltipDisabled",
          animations: "animations",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          dims: "dims",
          series: "series",
          xScale: "xScale",
          yScale: "yScale",
          colors: "colors",
          gradient: "gradient",
          activeEntries: "activeEntries",
          seriesName: "seriesName",
          tooltipTemplate: "tooltipTemplate",
          roundEdges: "roundEdges",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelHeightChanged: "dataLabelHeightChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c27,
        decls: 2,
        vars: 3,
        consts: [["ngx-charts-bar", "", "ngx-tooltip", "", 3, "width", "height", "x", "y", "fill", "stops", "data", "orientation", "roundEdges", "gradient", "ariaLabel", "isActive", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "noBarWhenZero", "animations", "select", "activate", "deactivate", 4, "ngFor", "ngForOf", "ngForTrackBy"], [4, "ngIf"], ["ngx-charts-bar", "", "ngx-tooltip", "", 3, "width", "height", "x", "y", "fill", "stops", "data", "orientation", "roundEdges", "gradient", "ariaLabel", "isActive", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "noBarWhenZero", "animations", "select", "activate", "deactivate"], ["ngx-charts-bar-label", "", 3, "barX", "barY", "barWidth", "barHeight", "value", "valueFormatting", "orientation", "dimensionsChanged", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-bar-label", "", 3, "barX", "barY", "barWidth", "barHeight", "value", "valueFormatting", "orientation", "dimensionsChanged"]],
        template: function SeriesVerticalComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SeriesVerticalComponent__svg_g_0_Template, 1, 22, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SeriesVerticalComponent__svg_g_1_Template, 2, 2, "g", 1);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.bars)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showDataLabel);
          }
        },
        directives: function directives() {
          return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], BarComponent, TooltipDirective, BarLabelComponent];
        },
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }))])])]
        },
        changeDetection: 0
      });
      SeriesVerticalComponent.propDecorators = {
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        type: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        series: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        seriesName: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        dataLabelHeightChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SeriesVerticalComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-series-vertical]',
            template: "\n    <svg:g\n      ngx-charts-bar\n      *ngFor=\"let bar of bars; trackBy: trackBy\"\n      [@animationState]=\"'active'\"\n      [@.disabled]=\"!animations\"\n      [width]=\"bar.width\"\n      [height]=\"bar.height\"\n      [x]=\"bar.x\"\n      [y]=\"bar.y\"\n      [fill]=\"bar.color\"\n      [stops]=\"bar.gradientStops\"\n      [data]=\"bar.data\"\n      [orientation]=\"'vertical'\"\n      [roundEdges]=\"bar.roundEdges\"\n      [gradient]=\"gradient\"\n      [ariaLabel]=\"bar.ariaLabel\"\n      [isActive]=\"isActive(bar.data)\"\n      (select)=\"onClick($event)\"\n      (activate)=\"activate.emit($event)\"\n      (deactivate)=\"deactivate.emit($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"tooltipPlacement\"\n      [tooltipType]=\"tooltipType\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : bar.tooltipText\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"bar.data\"\n      [noBarWhenZero]=\"noBarWhenZero\"\n      [animations]=\"animations\"\n    ></svg:g>\n    <svg:g *ngIf=\"showDataLabel\">\n      <svg:g\n        ngx-charts-bar-label\n        *ngFor=\"let b of barsForDataLabels; let i = index; trackBy: trackDataLabelBy\"\n        [barX]=\"b.x\"\n        [barY]=\"b.y\"\n        [barWidth]=\"b.width\"\n        [barHeight]=\"b.height\"\n        [value]=\"b.total\"\n        [valueFormatting]=\"dataLabelFormatting\"\n        [orientation]=\"'vertical'\"\n        (dimensionsChanged)=\"dataLabelHeightChanged.emit({ size: $event, index: i })\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }))])])]
          }]
        }], function () {
          return [];
        }, {
          type: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dataLabelHeightChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          series: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          seriesName: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var SeriesHorizontal = /*#__PURE__*/function () {
        function SeriesHorizontal() {
          _classCallCheck(this, SeriesHorizontal);

          this.barsForDataLabels = [];
          this.type = 'standard';
          this.tooltipDisabled = false;
          this.animations = true;
          this.showDataLabel = false;
          this.noBarWhenZero = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.dataLabelWidthChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(SeriesHorizontal, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var _d4,
                _this46 = this;

            this.updateTooltipSettings();
            var d0 = (_d4 = {}, _defineProperty(_d4, D0Types.positive, 0), _defineProperty(_d4, D0Types.negative, 0), _d4);
            var d0Type;
            d0Type = D0Types.positive;
            var total;

            if (this.type === 'normalized') {
              total = this.series.map(function (d) {
                return d.value;
              }).reduce(function (sum, d) {
                return sum + d;
              }, 0);
            }

            var xScaleMin = Math.max(this.xScale.domain()[0], 0);
            this.bars = this.series.map(function (d, index) {
              var value = d.value;

              var label = _this46.getLabel(d);

              var formattedLabel = formatLabel(label);
              var roundEdges = _this46.roundEdges;
              d0Type = value > 0 ? D0Types.positive : D0Types.negative;
              var bar = {
                value: value,
                label: label,
                roundEdges: roundEdges,
                data: d,
                formattedLabel: formattedLabel
              };
              bar.height = _this46.yScale.bandwidth();

              if (_this46.type === 'standard') {
                bar.width = Math.abs(_this46.xScale(value) - _this46.xScale(xScaleMin));

                if (value < 0) {
                  bar.x = _this46.xScale(value);
                } else {
                  bar.x = _this46.xScale(xScaleMin);
                }

                bar.y = _this46.yScale(label);
              } else if (_this46.type === 'stacked') {
                var offset0 = d0[d0Type];
                var offset1 = offset0 + value;
                d0[d0Type] += value;
                bar.width = _this46.xScale(offset1) - _this46.xScale(offset0);
                bar.x = _this46.xScale(offset0);
                bar.y = 0;
                bar.offset0 = offset0;
                bar.offset1 = offset1;
              } else if (_this46.type === 'normalized') {
                var _offset4 = d0[d0Type];

                var _offset5 = _offset4 + value;

                d0[d0Type] += value;

                if (total > 0) {
                  _offset4 = _offset4 * 100 / total;
                  _offset5 = _offset5 * 100 / total;
                } else {
                  _offset4 = 0;
                  _offset5 = 0;
                }

                bar.width = _this46.xScale(_offset5) - _this46.xScale(_offset4);
                bar.x = _this46.xScale(_offset4);
                bar.y = 0;
                bar.offset0 = _offset4;
                bar.offset1 = _offset5;
                value = (_offset5 - _offset4).toFixed(2) + '%';
              }

              if (_this46.colors.scaleType === 'ordinal') {
                bar.color = _this46.colors.getColor(label);
              } else {
                if (_this46.type === 'standard') {
                  bar.color = _this46.colors.getColor(value);
                  bar.gradientStops = _this46.colors.getLinearGradientStops(value);
                } else {
                  bar.color = _this46.colors.getColor(bar.offset1);
                  bar.gradientStops = _this46.colors.getLinearGradientStops(bar.offset1, bar.offset0);
                }
              }

              var tooltipLabel = formattedLabel;
              bar.ariaLabel = formattedLabel + ' ' + value.toLocaleString();

              if (_this46.seriesName) {
                tooltipLabel = "".concat(_this46.seriesName, " \u2022 ").concat(formattedLabel);
                bar.data.series = _this46.seriesName;
                bar.ariaLabel = _this46.seriesName + ' ' + bar.ariaLabel;
              }

              bar.tooltipText = _this46.tooltipDisabled ? undefined : "\n        <span class=\"tooltip-label\">".concat(escapeLabel(tooltipLabel), "</span>\n        <span class=\"tooltip-val\">").concat(_this46.dataLabelFormatting ? _this46.dataLabelFormatting(value) : value.toLocaleString(), "</span>\n      ");
              return bar;
            });
            this.updateDataLabels();
          }
        }, {
          key: "updateDataLabels",
          value: function updateDataLabels() {
            var _this47 = this;

            if (this.type === 'stacked') {
              this.barsForDataLabels = [];
              var section = {};
              section.series = this.seriesName;
              var totalPositive = this.series.map(function (d) {
                return d.value;
              }).reduce(function (sum, d) {
                return d > 0 ? sum + d : sum;
              }, 0);
              var totalNegative = this.series.map(function (d) {
                return d.value;
              }).reduce(function (sum, d) {
                return d < 0 ? sum + d : sum;
              }, 0);
              section.total = totalPositive + totalNegative;
              section.x = 0;
              section.y = 0; // if total is positive then we show it on the right, otherwise on the left

              if (section.total > 0) {
                section.width = this.xScale(totalPositive);
              } else {
                section.width = this.xScale(totalNegative);
              }

              section.height = this.yScale.bandwidth();
              this.barsForDataLabels.push(section);
            } else {
              this.barsForDataLabels = this.series.map(function (d) {
                var section = {};
                section.series = _this47.seriesName ? _this47.seriesName : d.label;
                section.total = d.value;
                section.x = _this47.xScale(0);
                section.y = _this47.yScale(d.label);
                section.width = _this47.xScale(section.total) - _this47.xScale(0);
                section.height = _this47.yScale.bandwidth();
                return section;
              });
            }
          }
        }, {
          key: "updateTooltipSettings",
          value: function updateTooltipSettings() {
            this.tooltipPlacement = this.tooltipDisabled ? undefined : 'top';
            this.tooltipType = this.tooltipDisabled ? undefined : 'tooltip';
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name && entry.series === d.series;
            });
            return item !== undefined;
          }
        }, {
          key: "getLabel",
          value: function getLabel(dataItem) {
            if (dataItem.label) {
              return dataItem.label;
            }

            return dataItem.name;
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, bar) {
            return bar.label;
          }
        }, {
          key: "trackDataLabelBy",
          value: function trackDataLabelBy(index, barLabel) {
            return index + '#' + barLabel.series + '#' + barLabel.total;
          }
        }, {
          key: "click",
          value: function click(data) {
            this.select.emit(data);
          }
        }]);

        return SeriesHorizontal;
      }();

      SeriesHorizontal.ɵfac = function SeriesHorizontal_Factory(t) {
        return new (t || SeriesHorizontal)();
      };

      SeriesHorizontal.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: SeriesHorizontal,
        selectors: [["g", "ngx-charts-series-horizontal", ""]],
        inputs: {
          type: "type",
          tooltipDisabled: "tooltipDisabled",
          animations: "animations",
          showDataLabel: "showDataLabel",
          noBarWhenZero: "noBarWhenZero",
          dims: "dims",
          series: "series",
          xScale: "xScale",
          yScale: "yScale",
          colors: "colors",
          gradient: "gradient",
          activeEntries: "activeEntries",
          seriesName: "seriesName",
          tooltipTemplate: "tooltipTemplate",
          roundEdges: "roundEdges",
          dataLabelFormatting: "dataLabelFormatting"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelWidthChanged: "dataLabelWidthChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c28,
        decls: 2,
        vars: 3,
        consts: [["ngx-charts-bar", "", "ngx-tooltip", "", 3, "width", "height", "x", "y", "fill", "stops", "data", "orientation", "roundEdges", "gradient", "isActive", "ariaLabel", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "noBarWhenZero", "select", "activate", "deactivate", 4, "ngFor", "ngForOf", "ngForTrackBy"], [4, "ngIf"], ["ngx-charts-bar", "", "ngx-tooltip", "", 3, "width", "height", "x", "y", "fill", "stops", "data", "orientation", "roundEdges", "gradient", "isActive", "ariaLabel", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "noBarWhenZero", "select", "activate", "deactivate"], ["ngx-charts-bar-label", "", 3, "barX", "barY", "barWidth", "barHeight", "value", "valueFormatting", "orientation", "dimensionsChanged", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-bar-label", "", 3, "barX", "barY", "barWidth", "barHeight", "value", "valueFormatting", "orientation", "dimensionsChanged"]],
        template: function SeriesHorizontal_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SeriesHorizontal__svg_g_0_Template, 1, 21, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SeriesHorizontal__svg_g_1_Template, 2, 2, "g", 1);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.bars)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showDataLabel);
          }
        },
        directives: function directives() {
          return [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], BarComponent, TooltipDirective, BarLabelComponent];
        },
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }))])])]
        },
        changeDetection: 0
      });
      SeriesHorizontal.propDecorators = {
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        type: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        series: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        seriesName: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundEdges: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showDataLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dataLabelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        noBarWhenZero: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        dataLabelWidthChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SeriesHorizontal, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-series-horizontal]',
            template: "\n    <svg:g\n      ngx-charts-bar\n      *ngFor=\"let bar of bars; trackBy: trackBy\"\n      [@animationState]=\"'active'\"\n      [width]=\"bar.width\"\n      [height]=\"bar.height\"\n      [x]=\"bar.x\"\n      [y]=\"bar.y\"\n      [fill]=\"bar.color\"\n      [stops]=\"bar.gradientStops\"\n      [data]=\"bar.data\"\n      [orientation]=\"'horizontal'\"\n      [roundEdges]=\"bar.roundEdges\"\n      (select)=\"click($event)\"\n      [gradient]=\"gradient\"\n      [isActive]=\"isActive(bar.data)\"\n      [ariaLabel]=\"bar.ariaLabel\"\n      [animations]=\"animations\"\n      (activate)=\"activate.emit($event)\"\n      (deactivate)=\"deactivate.emit($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"tooltipPlacement\"\n      [tooltipType]=\"tooltipType\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : bar.tooltipText\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"bar.data\"\n      [noBarWhenZero]=\"noBarWhenZero\"\n    ></svg:g>\n    <svg:g *ngIf=\"showDataLabel\">\n      <svg:g\n        ngx-charts-bar-label\n        *ngFor=\"let b of barsForDataLabels; let i = index; trackBy: trackDataLabelBy\"\n        [barX]=\"b.x\"\n        [barY]=\"b.y\"\n        [barWidth]=\"b.width\"\n        [barHeight]=\"b.height\"\n        [value]=\"b.total\"\n        [valueFormatting]=\"dataLabelFormatting\"\n        [orientation]=\"'horizontal'\"\n        (dimensionsChanged)=\"dataLabelWidthChanged.emit({ size: $event, index: i })\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }))])])]
          }]
        }], function () {
          return [];
        }, {
          type: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showDataLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          noBarWhenZero: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dataLabelWidthChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          series: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          seriesName: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundEdges: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dataLabelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var BarLabelComponent = /*#__PURE__*/function () {
        function BarLabelComponent(element) {
          _classCallCheck(this, BarLabelComponent);

          this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.horizontalPadding = 2;
          this.verticalPadding = 5;
          this.element = element.nativeElement;
        }

        _createClass(BarLabelComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "getSize",
          value: function getSize() {
            var h = this.element.getBoundingClientRect().height;
            var w = this.element.getBoundingClientRect().width;
            return {
              height: h,
              width: w,
              negative: this.value < 0
            };
          }
        }, {
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            this.dimensionsChanged.emit(this.getSize());
          }
        }, {
          key: "update",
          value: function update() {
            if (this.valueFormatting) {
              this.formatedValue = this.valueFormatting(this.value);
            } else {
              this.formatedValue = formatLabel(this.value);
            }

            if (this.orientation === 'horizontal') {
              this.x = this.barX + this.barWidth; // if the value is negative then it's on the left of the x0.
              // we need to put the data label in front of the bar

              if (this.value < 0) {
                this.x = this.x - this.horizontalPadding;
                this.textAnchor = 'end';
              } else {
                this.x = this.x + this.horizontalPadding;
                this.textAnchor = 'start';
              }

              this.y = this.barY + this.barHeight / 2;
            } else {
              // orientation must be "vertical"
              this.x = this.barX + this.barWidth / 2;
              this.y = this.barY + this.barHeight;

              if (this.value < 0) {
                this.y = this.y + this.verticalPadding;
                this.textAnchor = 'end';
              } else {
                this.y = this.y - this.verticalPadding;
                this.textAnchor = 'start';
              }

              this.transform = "rotate(-45, ".concat(this.x, " , ").concat(this.y, ")");
            }
          }
        }]);

        return BarLabelComponent;
      }();

      BarLabelComponent.ɵfac = function BarLabelComponent_Factory(t) {
        return new (t || BarLabelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      BarLabelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BarLabelComponent,
        selectors: [["g", "ngx-charts-bar-label", ""]],
        inputs: {
          value: "value",
          valueFormatting: "valueFormatting",
          barX: "barX",
          barY: "barY",
          barWidth: "barWidth",
          barHeight: "barHeight",
          orientation: "orientation"
        },
        outputs: {
          dimensionsChanged: "dimensionsChanged"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c29,
        decls: 2,
        vars: 5,
        consts: [["alignment-baseline", "middle", 1, "textDataLabel"]],
        template: function BarLabelComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "text", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("text-anchor", ctx.textAnchor)("transform", ctx.transform)("x", ctx.x)("y", ctx.y);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.formatedValue, " ");
          }
        },
        styles: [".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],
        changeDetection: 0
      });

      BarLabelComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      BarLabelComponent.propDecorators = {
        value: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barX: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barY: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barWidth: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        barHeight: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        orientation: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dimensionsChanged: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarLabelComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-bar-label]',
            template: "\n    <svg:text\n      class=\"textDataLabel\"\n      alignment-baseline=\"middle\"\n      [attr.text-anchor]=\"textAnchor\"\n      [attr.transform]=\"transform\"\n      [attr.x]=\"x\"\n      [attr.y]=\"y\"\n    >\n      {{ formatedValue }}\n    </svg:text>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".textDataLabel{font-size:11px}"]
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          dimensionsChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          value: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barX: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barY: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barWidth: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          barHeight: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          orientation: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var BarChartModule = function BarChartModule() {
        _classCallCheck(this, BarChartModule);
      };

      BarChartModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: BarChartModule
      });
      BarChartModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function BarChartModule_Factory(t) {
          return new (t || BarChartModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](BarChartModule, {
          declarations: [BarComponent, BarHorizontalComponent, BarHorizontal2DComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarVerticalComponent, BarVertical2DComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BarLabelComponent, SeriesHorizontal, SeriesVerticalComponent],
          imports: [ChartCommonModule],
          exports: [BarComponent, BarHorizontalComponent, BarHorizontal2DComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarVerticalComponent, BarVertical2DComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BarLabelComponent, SeriesHorizontal, SeriesVerticalComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BarChartModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [BarComponent, BarHorizontalComponent, BarHorizontal2DComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarVerticalComponent, BarVertical2DComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BarLabelComponent, SeriesHorizontal, SeriesVerticalComponent],
            exports: [BarComponent, BarHorizontalComponent, BarHorizontal2DComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarVerticalComponent, BarVertical2DComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BarLabelComponent, SeriesHorizontal, SeriesVerticalComponent]
          }]
        }], null, null);
      })();

      function getDomain(values, scaleType, autoScale, minVal, maxVal) {
        var domain = [];

        if (scaleType === 'linear') {
          values = values.map(function (v) {
            return Number(v);
          });

          if (!autoScale) {
            values.push(0);
          }
        }

        if (scaleType === 'time' || scaleType === 'linear') {
          var min = minVal ? minVal : Math.min.apply(Math, _toConsumableArray(values));
          var max = maxVal ? maxVal : Math.max.apply(Math, _toConsumableArray(values));
          domain = [min, max];
        } else {
          domain = values;
        }

        return domain;
      }

      function getScale(domain, range, scaleType, roundDomains) {
        var scale;

        if (scaleType === 'time') {
          scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range(range).domain(domain);
        } else if (scaleType === 'linear') {
          scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range(range).domain(domain);

          if (roundDomains) {
            scale = scale.nice();
          }
        } else if (scaleType === 'ordinal') {
          scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([range[0], range[1]]).domain(domain);
        }

        return scale;
      }

      var BubbleChartComponent = /*#__PURE__*/function (_BaseChartComponent12) {
        _inherits(BubbleChartComponent, _BaseChartComponent12);

        var _super13 = _createSuper(BubbleChartComponent);

        function BubbleChartComponent() {
          var _this48;

          _classCallCheck(this, BubbleChartComponent);

          _this48 = _super13.apply(this, arguments);
          _this48.showGridLines = true;
          _this48.legend = false;
          _this48.legendTitle = 'Legend';
          _this48.legendPosition = 'right';
          _this48.xAxis = true;
          _this48.yAxis = true;
          _this48.trimXAxisTicks = true;
          _this48.trimYAxisTicks = true;
          _this48.rotateXAxisTicks = true;
          _this48.maxXAxisTickLength = 16;
          _this48.maxYAxisTickLength = 16;
          _this48.roundDomains = false;
          _this48.maxRadius = 10;
          _this48.minRadius = 3;
          _this48.schemeType = 'ordinal';
          _this48.tooltipDisabled = false;
          _this48.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this48.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this48.scaleType = 'linear';
          _this48.margin = [10, 20, 10, 20];
          _this48.bubblePadding = [0, 0, 0, 0];
          _this48.xAxisHeight = 0;
          _this48.yAxisWidth = 0;
          _this48.activeEntries = [];
          return _this48;
        }

        _createClass(BubbleChartComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(BubbleChartComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            this.seriesDomain = this.results.map(function (d) {
              return d.name;
            });
            this.rDomain = this.getRDomain();
            this.xDomain = this.getXDomain();
            this.yDomain = this.getYDomain();
            this.transform = "translate(".concat(this.dims.xOffset, ",").concat(this.margin[0], ")");
            var colorDomain = this.schemeType === 'ordinal' ? this.seriesDomain : this.rDomain;
            this.colors = new ColorHelper(this.scheme, this.schemeType, colorDomain, this.customColors);
            this.data = this.results;
            this.minRadius = Math.max(this.minRadius, 1);
            this.maxRadius = Math.max(this.maxRadius, 1);
            this.rScale = this.getRScale(this.rDomain, [this.minRadius, this.maxRadius]);
            this.bubblePadding = [0, 0, 0, 0];
            this.setScales();
            this.bubblePadding = this.getBubblePadding();
            this.setScales();
            this.legendOptions = this.getLegendOptions();
            this.clipPathId = 'clip' + id().toString();
            this.clipPath = "url(#".concat(this.clipPathId, ")");
          }
        }, {
          key: "hideCircles",
          value: function hideCircles() {
            this.deactivateAll();
          }
        }, {
          key: "onClick",
          value: function onClick(data, series) {
            if (series) {
              data.series = series.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "getBubblePadding",
          value: function getBubblePadding() {
            var yMin = 0;
            var xMin = 0;
            var yMax = this.dims.height;
            var xMax = this.dims.width;

            var _iterator67 = _createForOfIteratorHelper(this.data),
                _step67;

            try {
              for (_iterator67.s(); !(_step67 = _iterator67.n()).done;) {
                var s = _step67.value;

                var _iterator68 = _createForOfIteratorHelper(s.series),
                    _step68;

                try {
                  for (_iterator68.s(); !(_step68 = _iterator68.n()).done;) {
                    var d = _step68.value;
                    var r = this.rScale(d.r);
                    var cx = this.xScaleType === 'linear' ? this.xScale(Number(d.x)) : this.xScale(d.x);
                    var cy = this.yScaleType === 'linear' ? this.yScale(Number(d.y)) : this.yScale(d.y);
                    xMin = Math.max(r - cx, xMin);
                    yMin = Math.max(r - cy, yMin);
                    yMax = Math.max(cy + r, yMax);
                    xMax = Math.max(cx + r, xMax);
                  }
                } catch (err) {
                  _iterator68.e(err);
                } finally {
                  _iterator68.f();
                }
              }
            } catch (err) {
              _iterator67.e(err);
            } finally {
              _iterator67.f();
            }

            xMax = Math.max(xMax - this.dims.width, 0);
            yMax = Math.max(yMax - this.dims.height, 0);
            return [yMin, xMax, yMax, xMin];
          }
        }, {
          key: "setScales",
          value: function setScales() {
            var width = this.dims.width;

            if (this.xScaleMin === undefined && this.xScaleMax === undefined) {
              width = width - this.bubblePadding[1];
            }

            var height = this.dims.height;

            if (this.yScaleMin === undefined && this.yScaleMax === undefined) {
              height = height - this.bubblePadding[2];
            }

            this.xScale = this.getXScale(this.xDomain, width);
            this.yScale = this.getYScale(this.yDomain, height);
          }
        }, {
          key: "getYScale",
          value: function getYScale(domain, height) {
            return getScale(domain, [height, this.bubblePadding[0]], this.yScaleType, this.roundDomains);
          }
        }, {
          key: "getXScale",
          value: function getXScale(domain, width) {
            return getScale(domain, [this.bubblePadding[3], width], this.xScaleType, this.roundDomains);
          }
        }, {
          key: "getRScale",
          value: function getRScale(domain, range) {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range(range).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              position: this.legendPosition,
              title: undefined
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.seriesDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.rDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = [];

            var _iterator69 = _createForOfIteratorHelper(this.results),
                _step69;

            try {
              for (_iterator69.s(); !(_step69 = _iterator69.n()).done;) {
                var results = _step69.value;

                var _iterator70 = _createForOfIteratorHelper(results.series),
                    _step70;

                try {
                  for (_iterator70.s(); !(_step70 = _iterator70.n()).done;) {
                    var d = _step70.value;

                    if (!values.includes(d.x)) {
                      values.push(d.x);
                    }
                  }
                } catch (err) {
                  _iterator70.e(err);
                } finally {
                  _iterator70.f();
                }
              }
            } catch (err) {
              _iterator69.e(err);
            } finally {
              _iterator69.f();
            }

            this.xScaleType = getScaleType(values);
            return getDomain(values, this.xScaleType, this.autoScale, this.xScaleMin, this.xScaleMax);
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var values = [];

            var _iterator71 = _createForOfIteratorHelper(this.results),
                _step71;

            try {
              for (_iterator71.s(); !(_step71 = _iterator71.n()).done;) {
                var results = _step71.value;

                var _iterator72 = _createForOfIteratorHelper(results.series),
                    _step72;

                try {
                  for (_iterator72.s(); !(_step72 = _iterator72.n()).done;) {
                    var d = _step72.value;

                    if (!values.includes(d.y)) {
                      values.push(d.y);
                    }
                  }
                } catch (err) {
                  _iterator72.e(err);
                } finally {
                  _iterator72.f();
                }
              }
            } catch (err) {
              _iterator71.e(err);
            } finally {
              _iterator71.f();
            }

            this.yScaleType = getScaleType(values);
            return getDomain(values, this.yScaleType, this.autoScale, this.yScaleMin, this.yScaleMax);
          }
        }, {
          key: "getRDomain",
          value: function getRDomain() {
            var min = Infinity;
            var max = -Infinity;

            var _iterator73 = _createForOfIteratorHelper(this.results),
                _step73;

            try {
              for (_iterator73.s(); !(_step73 = _iterator73.n()).done;) {
                var results = _step73.value;

                var _iterator74 = _createForOfIteratorHelper(results.series),
                    _step74;

                try {
                  for (_iterator74.s(); !(_step74 = _iterator74.n()).done;) {
                    var d = _step74.value;
                    var value = Number(d.r) || 1;
                    min = Math.min(min, value);
                    max = Math.max(max, value);
                  }
                } catch (err) {
                  _iterator74.e(err);
                } finally {
                  _iterator74.f();
                }
              }
            } catch (err) {
              _iterator73.e(err);
            } finally {
              _iterator73.f();
            }

            return [min, max];
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref40) {
            var width = _ref40.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref41) {
            var height = _ref41.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "deactivateAll",
          value: function deactivateAll() {
            this.activeEntries = _toConsumableArray(this.activeEntries);

            var _iterator75 = _createForOfIteratorHelper(this.activeEntries),
                _step75;

            try {
              for (_iterator75.s(); !(_step75 = _iterator75.n()).done;) {
                var entry = _step75.value;
                this.deactivate.emit({
                  value: entry,
                  entries: []
                });
              }
            } catch (err) {
              _iterator75.e(err);
            } finally {
              _iterator75.f();
            }

            this.activeEntries = [];
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }]);

        return BubbleChartComponent;
      }(BaseChartComponent);

      BubbleChartComponent.ɵfac = function BubbleChartComponent_Factory(t) {
        return ɵBubbleChartComponent_BaseFactory(t || BubbleChartComponent);
      };

      BubbleChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BubbleChartComponent,
        selectors: [["ngx-charts-bubble-chart"]],
        contentQueries: function BubbleChartComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        hostBindings: function BubbleChartComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function BubbleChartComponent_mouseleave_HostBindingHandler() {
              return ctx.hideCircles();
            });
          }
        },
        inputs: {
          showGridLines: "showGridLines",
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          xAxis: "xAxis",
          yAxis: "yAxis",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          roundDomains: "roundDomains",
          maxRadius: "maxRadius",
          minRadius: "minRadius",
          schemeType: "schemeType",
          tooltipDisabled: "tooltipDisabled",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          autoScale: "autoScale",
          xScaleMin: "xScaleMin",
          xScaleMax: "xScaleMax",
          yScaleMin: "yScaleMin",
          yScaleMax: "yScaleMax"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 10,
        vars: 20,
        consts: [[3, "view", "showLegend", "activeEntries", "legendOptions", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "bubble-chart", "chart"], ["ngx-charts-x-axis", "", 3, "showGridLines", "dims", "xScale", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "showGridLines", "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["x", "0", "y", "0", 1, "bubble-chart-area", 2, "fill", "rgb(255, 0, 0)", "opacity", "0", "cursor", "auto", 3, "mouseenter"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-x-axis", "", 3, "showGridLines", "dims", "xScale", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "showGridLines", "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-bubble-series", "", 3, "xScale", "yScale", "rScale", "xScaleType", "yScaleType", "xAxisLabel", "yAxisLabel", "colors", "data", "activeEntries", "tooltipDisabled", "tooltipTemplate", "select", "activate", "deactivate"]],
        template: function BubbleChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function BubbleChartComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function BubbleChartComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function BubbleChartComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "clipPath");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "rect");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, BubbleChartComponent__svg_g_5_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, BubbleChartComponent__svg_g_6_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "rect", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function BubbleChartComponent_Template__svg_rect_mouseenter_7_listener() {
              return ctx.deactivateAll();
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, BubbleChartComponent__svg_g_9_Template, 2, 13, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("activeEntries", ctx.activeEntries)("legendOptions", ctx.legendOptions)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("id", ctx.clipPathId);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.dims.width + 10)("height", ctx.dims.height + 10)("transform", "translate(-5, -5)");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.dims.width)("height", ctx.dims.height);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("clip-path", ctx.clipPath);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.data)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, BubbleSeriesComponent];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }))])])]
        },
        changeDetection: 0
      });
      BubbleChartComponent.propDecorators = {
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        minRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        autoScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        hideCircles: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };

      var ɵBubbleChartComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BubbleChartComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BubbleChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-bubble-chart',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [activeEntries]=\"activeEntries\"\n      [legendOptions]=\"legendOptions\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"bubble-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [showGridLines]=\"showGridLines\"\n          [dims]=\"dims\"\n          [xScale]=\"xScale\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        />\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [showGridLines]=\"showGridLines\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        />\n        <svg:rect\n          class=\"bubble-chart-area\"\n          x=\"0\"\n          y=\"0\"\n          [attr.width]=\"dims.width\"\n          [attr.height]=\"dims.height\"\n          style=\"fill: rgb(255, 0, 0); opacity: 0; cursor: 'auto';\"\n          (mouseenter)=\"deactivateAll()\"\n        />\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of data; trackBy: trackBy\" [@animationState]=\"'active'\">\n            <svg:g\n              ngx-charts-bubble-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [rScale]=\"rScale\"\n              [xScaleType]=\"xScaleType\"\n              [yScaleType]=\"yScaleType\"\n              [xAxisLabel]=\"xAxisLabel\"\n              [yAxisLabel]=\"yAxisLabel\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"tooltipTemplate\"\n              (select)=\"onClick($event, series)\"\n              (activate)=\"onActivate($event)\"\n              (deactivate)=\"onDeactivate($event)\"\n            />\n          </svg:g>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          minRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          hideCircles: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          autoScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var BubbleSeriesComponent = /*#__PURE__*/function () {
        function BubbleSeriesComponent() {
          _classCallCheck(this, BubbleSeriesComponent);

          this.tooltipDisabled = false;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(BubbleSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.circles = this.getCircles();
          }
        }, {
          key: "getCircles",
          value: function getCircles() {
            var _this49 = this;

            var seriesName = this.data.name;
            return this.data.series.map(function (d, i) {
              if (typeof d.y !== 'undefined' && typeof d.x !== 'undefined') {
                var y = d.y;
                var x = d.x;
                var r = d.r;

                var radius = _this49.rScale(r || 1);

                var tooltipLabel = formatLabel(d.name);
                var cx = _this49.xScaleType === 'linear' ? _this49.xScale(Number(x)) : _this49.xScale(x);
                var cy = _this49.yScaleType === 'linear' ? _this49.yScale(Number(y)) : _this49.yScale(y);
                var color = _this49.colors.scaleType === 'linear' ? _this49.colors.getColor(r) : _this49.colors.getColor(seriesName);
                var isActive = !_this49.activeEntries.length ? true : _this49.isActive({
                  name: seriesName
                });
                var opacity = isActive ? 1 : 0.3;
                var data = Object.assign({}, d, {
                  series: seriesName,
                  name: d.name,
                  value: d.y,
                  x: d.x,
                  radius: d.r
                });
                return {
                  data: data,
                  x: x,
                  y: y,
                  r: r,
                  classNames: ["circle-data-".concat(i)],
                  value: y,
                  label: x,
                  cx: cx,
                  cy: cy,
                  radius: radius,
                  tooltipLabel: tooltipLabel,
                  color: color,
                  opacity: opacity,
                  seriesName: seriesName,
                  isActive: isActive,
                  transform: "translate(".concat(cx, ",").concat(cy, ")")
                };
              }
            }).filter(function (circle) {
              return circle !== undefined;
            });
          }
        }, {
          key: "getTooltipText",
          value: function getTooltipText(circle) {
            var hasRadius = typeof circle.r !== 'undefined';
            var hasTooltipLabel = circle.tooltipLabel && circle.tooltipLabel.length;
            var hasSeriesName = circle.seriesName && circle.seriesName.length;
            var radiusValue = hasRadius ? formatLabel(circle.r) : '';
            var xAxisLabel = this.xAxisLabel && this.xAxisLabel !== '' ? "".concat(this.xAxisLabel, ":") : '';
            var yAxisLabel = this.yAxisLabel && this.yAxisLabel !== '' ? "".concat(this.yAxisLabel, ":") : '';
            var x = formatLabel(circle.x);
            var y = formatLabel(circle.y);
            var name = hasSeriesName && hasTooltipLabel ? "".concat(circle.seriesName, " \u2022 ").concat(circle.tooltipLabel) : circle.seriesName + circle.tooltipLabel;
            var tooltipTitle = hasSeriesName || hasTooltipLabel ? "<span class=\"tooltip-label\">".concat(escapeLabel(name), "</span>") : '';
            return "\n      ".concat(tooltipTitle, "\n      <span class=\"tooltip-label\">\n        <label>").concat(escapeLabel(xAxisLabel), "</label> ").concat(escapeLabel(x), "<br />\n        <label>").concat(escapeLabel(yAxisLabel), "</label> ").concat(escapeLabel(y), "\n      </span>\n      <span class=\"tooltip-val\">\n        ").concat(escapeLabel(radiusValue), "\n      </span>\n    ");
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item !== undefined;
          }
        }, {
          key: "isVisible",
          value: function isVisible(circle) {
            if (this.activeEntries.length > 0) {
              return this.isActive({
                name: circle.seriesName
              });
            }

            return circle.opacity !== 0;
          }
        }, {
          key: "activateCircle",
          value: function activateCircle(circle) {
            circle.barVisible = true;
            this.activate.emit({
              name: this.data.name
            });
          }
        }, {
          key: "deactivateCircle",
          value: function deactivateCircle(circle) {
            circle.barVisible = false;
            this.deactivate.emit({
              name: this.data.name
            });
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, circle) {
            return "".concat(circle.data.series, " ").concat(circle.data.name);
          }
        }]);

        return BubbleSeriesComponent;
      }();

      BubbleSeriesComponent.ɵfac = function BubbleSeriesComponent_Factory(t) {
        return new (t || BubbleSeriesComponent)();
      };

      BubbleSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: BubbleSeriesComponent,
        selectors: [["g", "ngx-charts-bubble-series", ""]],
        inputs: {
          tooltipDisabled: "tooltipDisabled",
          data: "data",
          xScale: "xScale",
          yScale: "yScale",
          rScale: "rScale",
          xScaleType: "xScaleType",
          yScaleType: "yScaleType",
          colors: "colors",
          visibleValue: "visibleValue",
          activeEntries: "activeEntries",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c30,
        decls: 1,
        vars: 2,
        consts: [[4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-circle", "", "ngx-tooltip", "", 1, "circle", 3, "cx", "cy", "r", "fill", "pointerEvents", "data", "classNames", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate"]],
        template: function BubbleSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, BubbleSeriesComponent__svg_g_0_Template, 3, 19, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.circles)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], CircleComponent, TooltipDirective],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0,
            transform: 'scale(0)'
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1,
            transform: 'scale(1)'
          }))])])]
        },
        changeDetection: 0
      });
      BubbleSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        visibleValue: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BubbleSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-bubble-series]',
            template: "\n    <svg:g *ngFor=\"let circle of circles; trackBy: trackBy\">\n      <svg:g [attr.transform]=\"circle.transform\">\n        <svg:g\n          ngx-charts-circle\n          [@animationState]=\"'active'\"\n          class=\"circle\"\n          [cx]=\"0\"\n          [cy]=\"0\"\n          [r]=\"circle.radius\"\n          [fill]=\"circle.color\"\n          [style.opacity]=\"circle.opacity\"\n          [class.active]=\"circle.isActive\"\n          [pointerEvents]=\"'all'\"\n          [data]=\"circle.value\"\n          [classNames]=\"circle.classNames\"\n          (select)=\"onClick(circle.data)\"\n          (activate)=\"activateCircle(circle)\"\n          (deactivate)=\"deactivateCircle(circle)\"\n          ngx-tooltip\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipPlacement]=\"'top'\"\n          [tooltipType]=\"'tooltip'\"\n          [tooltipTitle]=\"tooltipTemplate ? undefined : getTooltipText(circle)\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [tooltipContext]=\"circle.data\"\n        />\n      </svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0,
              transform: 'scale(0)'
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1,
              transform: 'scale(1)'
            }))])])]
          }]
        }], function () {
          return [];
        }, {
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          visibleValue: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var BubbleChartModule = function BubbleChartModule() {
        _classCallCheck(this, BubbleChartModule);
      };

      BubbleChartModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: BubbleChartModule
      });
      BubbleChartModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function BubbleChartModule_Factory(t) {
          return new (t || BubbleChartModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](BubbleChartModule, {
          declarations: [BubbleChartComponent, BubbleSeriesComponent],
          imports: [ChartCommonModule],
          exports: [BubbleChartComponent, BubbleSeriesComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BubbleChartModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [BubbleChartComponent, BubbleSeriesComponent],
            exports: [BubbleChartComponent, BubbleSeriesComponent]
          }]
        }], null, null);
      })();

      var HeatMapCellComponent = /*#__PURE__*/function () {
        function HeatMapCellComponent(element) {
          _classCallCheck(this, HeatMapCellComponent);

          this.gradient = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.element = element.nativeElement;
        }

        _createClass(HeatMapCellComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.transform = "translate(".concat(this.x, " , ").concat(this.y, ")");
            this.startOpacity = 0.3;
            this.gradientId = 'grad' + id().toString();
            this.gradientUrl = "url(#".concat(this.gradientId, ")");
            this.gradientStops = this.getGradientStops();

            if (this.animations) {
              this.loadAnimation();
            }
          }
        }, {
          key: "getGradientStops",
          value: function getGradientStops() {
            return [{
              offset: 0,
              color: this.fill,
              opacity: this.startOpacity
            }, {
              offset: 100,
              color: this.fill,
              opacity: 1
            }];
          }
        }, {
          key: "loadAnimation",
          value: function loadAnimation() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');
            node.attr('opacity', 0);
            this.animateToCurrentForm();
          }
        }, {
          key: "animateToCurrentForm",
          value: function animateToCurrentForm() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');
            node.transition().duration(750).attr('opacity', 1);
          }
        }, {
          key: "onClick",
          value: function onClick() {
            this.select.emit(this.data);
          }
        }, {
          key: "onMouseEnter",
          value: function onMouseEnter() {
            this.activate.emit(this.data);
          }
        }, {
          key: "onMouseLeave",
          value: function onMouseLeave() {
            this.deactivate.emit(this.data);
          }
        }]);

        return HeatMapCellComponent;
      }();

      HeatMapCellComponent.ɵfac = function HeatMapCellComponent_Factory(t) {
        return new (t || HeatMapCellComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      HeatMapCellComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: HeatMapCellComponent,
        selectors: [["g", "ngx-charts-heat-map-cell", ""]],
        hostBindings: function HeatMapCellComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function HeatMapCellComponent_mouseenter_HostBindingHandler() {
              return ctx.onMouseEnter();
            })("mouseleave", function HeatMapCellComponent_mouseleave_HostBindingHandler() {
              return ctx.onMouseLeave();
            });
          }
        },
        inputs: {
          gradient: "gradient",
          animations: "animations",
          fill: "fill",
          x: "x",
          y: "y",
          width: "width",
          height: "height",
          data: "data",
          label: "label"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c31,
        decls: 3,
        vars: 5,
        consts: [[1, "cell"], [4, "ngIf"], ["rx", "3", 1, "cell", 2, "cursor", "pointer", 3, "click"], ["ngx-charts-svg-linear-gradient", "", "orientation", "vertical", 3, "name", "stops"]],
        template: function HeatMapCellComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, HeatMapCellComponent__svg_defs_1_Template, 2, 2, "defs", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "rect", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function HeatMapCellComponent_Template__svg_rect_click_2_listener() {
              return ctx.onClick();
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.gradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("fill", ctx.gradient ? ctx.gradientUrl : ctx.fill)("width", ctx.width)("height", ctx.height);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SvgLinearGradientComponent],
        encapsulation: 2,
        changeDetection: 0
      });

      HeatMapCellComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      HeatMapCellComponent.propDecorators = {
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        x: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        y: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onMouseEnter: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseenter']
        }],
        onMouseLeave: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HeatMapCellComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-heat-map-cell]',
            template: "\n    <svg:g [attr.transform]=\"transform\" class=\"cell\">\n      <defs *ngIf=\"gradient\">\n        <svg:g ngx-charts-svg-linear-gradient orientation=\"vertical\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n      </defs>\n      <svg:rect\n        [attr.fill]=\"gradient ? gradientUrl : fill\"\n        rx=\"3\"\n        [attr.width]=\"width\"\n        [attr.height]=\"height\"\n        class=\"cell\"\n        style=\"cursor: pointer\"\n        (click)=\"onClick()\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          onMouseEnter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseenter']
          }],
          onMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          x: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          y: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var HeatCellSeriesComponent = /*#__PURE__*/function () {
        function HeatCellSeriesComponent() {
          _classCallCheck(this, HeatCellSeriesComponent);

          this.tooltipDisabled = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(HeatCellSeriesComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            if (!this.tooltipText) {
              this.tooltipText = this.getTooltipText;
            }
          }
        }, {
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.cells = this.getCells();
          }
        }, {
          key: "getCells",
          value: function getCells() {
            var _this50 = this;

            var cells = [];
            this.data.map(function (row) {
              row.series.map(function (cell) {
                var value = cell.value;
                cell.series = row.name;
                cells.push({
                  row: row,
                  cell: cell,
                  x: _this50.xScale(row.name),
                  y: _this50.yScale(cell.name),
                  width: _this50.xScale.bandwidth(),
                  height: _this50.yScale.bandwidth(),
                  fill: _this50.colors.getColor(value),
                  data: value,
                  label: formatLabel(cell.name),
                  series: row.name
                });
              });
            });
            return cells;
          }
        }, {
          key: "getTooltipText",
          value: function getTooltipText(_ref42) {
            var label = _ref42.label,
                data = _ref42.data,
                series = _ref42.series;
            return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(series), " \u2022 ").concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(data.toLocaleString(), "</span>\n    ");
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.tooltipText;
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }]);

        return HeatCellSeriesComponent;
      }();

      HeatCellSeriesComponent.ɵfac = function HeatCellSeriesComponent_Factory(t) {
        return new (t || HeatCellSeriesComponent)();
      };

      HeatCellSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: HeatCellSeriesComponent,
        selectors: [["g", "ngx-charts-heat-map-cell-series", ""]],
        inputs: {
          tooltipDisabled: "tooltipDisabled",
          animations: "animations",
          tooltipText: "tooltipText",
          data: "data",
          colors: "colors",
          xScale: "xScale",
          yScale: "yScale",
          gradient: "gradient",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c32,
        decls: 1,
        vars: 2,
        consts: [["ngx-charts-heat-map-cell", "", "ngx-tooltip", "", 3, "x", "y", "width", "height", "fill", "data", "gradient", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-heat-map-cell", "", "ngx-tooltip", "", 3, "x", "y", "width", "height", "fill", "data", "gradient", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate"]],
        template: function HeatCellSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, HeatCellSeriesComponent__svg_g_0_Template, 1, 18, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.cells)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], HeatMapCellComponent, TooltipDirective],
        encapsulation: 2,
        changeDetection: 0
      });
      HeatCellSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HeatCellSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-heat-map-cell-series]',
            template: "\n    <svg:g\n      ngx-charts-heat-map-cell\n      *ngFor=\"let c of cells; trackBy: trackBy\"\n      [x]=\"c.x\"\n      [y]=\"c.y\"\n      [width]=\"c.width\"\n      [height]=\"c.height\"\n      [fill]=\"c.fill\"\n      [data]=\"c.data\"\n      (select)=\"onClick(c.cell)\"\n      (activate)=\"activate.emit(c.cell)\"\n      (deactivate)=\"deactivate.emit(c.cell)\"\n      [gradient]=\"gradient\"\n      [animations]=\"animations\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"'top'\"\n      [tooltipType]=\"'tooltip'\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText(c)\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"{ series: c.series, name: c.label, value: c.data }\"\n    ></svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var HeatMapComponent = /*#__PURE__*/function (_BaseChartComponent13) {
        _inherits(HeatMapComponent, _BaseChartComponent13);

        var _super14 = _createSuper(HeatMapComponent);

        function HeatMapComponent() {
          var _this51;

          _classCallCheck(this, HeatMapComponent);

          _this51 = _super14.apply(this, arguments);
          _this51.legendTitle = 'Legend';
          _this51.legendPosition = 'right';
          _this51.innerPadding = 8;
          _this51.trimXAxisTicks = true;
          _this51.trimYAxisTicks = true;
          _this51.rotateXAxisTicks = true;
          _this51.maxXAxisTickLength = 16;
          _this51.maxYAxisTickLength = 16;
          _this51.tooltipDisabled = false;
          _this51.activeEntries = [];
          _this51.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this51.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this51.margin = [10, 20, 10, 20];
          _this51.xAxisHeight = 0;
          _this51.yAxisWidth = 0;
          _this51.scaleType = 'linear';
          return _this51;
        }

        _createClass(HeatMapComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(HeatMapComponent.prototype), "update", this).call(this);

            this.formatDates();
            this.xDomain = this.getXDomain();
            this.yDomain = this.getYDomain();
            this.valueDomain = this.getValueDomain();
            this.scaleType = getScaleType(this.valueDomain, false);
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.scaleType,
              legendPosition: this.legendPosition
            });

            if (this.scaleType === 'linear') {
              var min = this.min;
              var max = this.max;

              if (!this.min) {
                min = Math.min.apply(Math, [0].concat(_toConsumableArray(this.valueDomain)));
              }

              if (!this.max) {
                max = Math.max.apply(Math, _toConsumableArray(this.valueDomain));
              }

              this.valueDomain = [min, max];
            }

            this.xScale = this.getXScale();
            this.yScale = this.getYScale();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
            this.rects = this.getRects();
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var domain = [];

            var _iterator76 = _createForOfIteratorHelper(this.results),
                _step76;

            try {
              for (_iterator76.s(); !(_step76 = _iterator76.n()).done;) {
                var group = _step76.value;

                if (!domain.includes(group.name)) {
                  domain.push(group.name);
                }
              }
            } catch (err) {
              _iterator76.e(err);
            } finally {
              _iterator76.f();
            }

            return domain;
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var domain = [];

            var _iterator77 = _createForOfIteratorHelper(this.results),
                _step77;

            try {
              for (_iterator77.s(); !(_step77 = _iterator77.n()).done;) {
                var group = _step77.value;

                var _iterator78 = _createForOfIteratorHelper(group.series),
                    _step78;

                try {
                  for (_iterator78.s(); !(_step78 = _iterator78.n()).done;) {
                    var d = _step78.value;

                    if (!domain.includes(d.name)) {
                      domain.push(d.name);
                    }
                  }
                } catch (err) {
                  _iterator78.e(err);
                } finally {
                  _iterator78.f();
                }
              }
            } catch (err) {
              _iterator77.e(err);
            } finally {
              _iterator77.f();
            }

            return domain;
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            var domain = [];

            var _iterator79 = _createForOfIteratorHelper(this.results),
                _step79;

            try {
              for (_iterator79.s(); !(_step79 = _iterator79.n()).done;) {
                var group = _step79.value;

                var _iterator80 = _createForOfIteratorHelper(group.series),
                    _step80;

                try {
                  for (_iterator80.s(); !(_step80 = _iterator80.n()).done;) {
                    var d = _step80.value;

                    if (!domain.includes(d.value)) {
                      domain.push(d.value);
                    }
                  }
                } catch (err) {
                  _iterator80.e(err);
                } finally {
                  _iterator80.f();
                }
              }
            } catch (err) {
              _iterator79.e(err);
            } finally {
              _iterator79.f();
            }

            return domain;
          }
          /**
           * Converts the input to gap paddingInner in fraction
           * Supports the following inputs:
           *    Numbers: 8
           *    Strings: "8", "8px", "8%"
           *    Arrays: [8,2], "8,2", "[8,2]"
           *    Mixed: [8,"2%"], ["8px","2%"], "8,2%", "[8,2%]"
           *
           * @memberOf HeatMapComponent
           */

        }, {
          key: "getDimension",
          value: function getDimension(value) {
            var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
            var N = arguments.length > 2 ? arguments[2] : undefined;
            var L = arguments.length > 3 ? arguments[3] : undefined;

            if (typeof value === 'string') {
              value = value.replace('[', '').replace(']', '').replace('px', '') // tslint:disable-next-line: quotemark
              .replace("'", '');

              if (value.includes(',')) {
                value = value.split(',');
              }
            }

            if (Array.isArray(value) && typeof index === 'number') {
              return this.getDimension(value[index], null, N, L);
            }

            if (typeof value === 'string' && value.includes('%')) {
              return +value.replace('%', '') / 100;
            }

            return N / (L / +value + 1);
          }
        }, {
          key: "getXScale",
          value: function getXScale() {
            var f = this.getDimension(this.innerPadding, 0, this.xDomain.length, this.dims.width);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).domain(this.xDomain).paddingInner(f);
          }
        }, {
          key: "getYScale",
          value: function getYScale() {
            var f = this.getDimension(this.innerPadding, 1, this.yDomain.length, this.dims.height);
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([this.dims.height, 0]).domain(this.yDomain).paddingInner(f);
          }
        }, {
          key: "getRects",
          value: function getRects() {
            var _this52 = this;

            var rects = [];
            this.xDomain.map(function (xVal) {
              _this52.yDomain.map(function (yVal) {
                rects.push({
                  x: _this52.xScale(xVal),
                  y: _this52.yScale(yVal),
                  rx: 3,
                  width: _this52.xScale.bandwidth(),
                  height: _this52.yScale.bandwidth(),
                  fill: 'rgba(200,200,200,0.03)'
                });
              });
            });
            return rects;
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, this.scaleType, this.valueDomain);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            return {
              scaleType: this.scaleType,
              domain: this.valueDomain,
              colors: this.scaleType === 'ordinal' ? this.colors : this.colors.scale,
              title: this.scaleType === 'ordinal' ? this.legendTitle : undefined,
              position: this.legendPosition
            };
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref43) {
            var width = _ref43.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref44) {
            var height = _ref44.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            var items = this.results.map(function (g) {
              return g.series;
            }).flat().filter(function (i) {
              if (fromLegend) {
                return i.label === item.name;
              } else {
                return i.name === item.name && i.series === item.series;
              }
            });
            this.activeEntries = _toConsumableArray(items);
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(event, group) {
            var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
            var item = Object.assign({}, event);

            if (group) {
              item.series = group.name;
            }

            this.activeEntries = this.activeEntries.filter(function (i) {
              if (fromLegend) {
                return i.label !== item.name;
              } else {
                return !(i.name === item.name && i.series === item.series);
              }
            });
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return HeatMapComponent;
      }(BaseChartComponent);

      HeatMapComponent.ɵfac = function HeatMapComponent_Factory(t) {
        return ɵHeatMapComponent_BaseFactory(t || HeatMapComponent);
      };

      HeatMapComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: HeatMapComponent,
        selectors: [["ngx-charts-heat-map"]],
        contentQueries: function HeatMapComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          innerPadding: "innerPadding",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          tooltipDisabled: "tooltipDisabled",
          activeEntries: "activeEntries",
          legend: "legend",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          gradient: "gradient",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          tooltipText: "tooltipText",
          min: "min",
          max: "max"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 6,
        vars: 20,
        consts: [[3, "view", "showLegend", "animations", "legendOptions", "legendLabelClick"], [1, "heat-map", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["ngx-charts-heat-map-cell-series", "", 3, "xScale", "yScale", "colors", "data", "gradient", "animations", "tooltipDisabled", "tooltipTemplate", "tooltipText", "select", "activate", "deactivate"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"]],
        template: function HeatMapComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function HeatMapComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, HeatMapComponent__svg_g_2_Template, 1, 9, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, HeatMapComponent__svg_g_3_Template, 1, 8, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, HeatMapComponent__svg_rect_4_Template, 1, 6, "rect", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function HeatMapComponent_Template__svg_g_select_5_listener($event) {
              return ctx.onClick($event);
            })("activate", function HeatMapComponent_Template__svg_g_activate_5_listener($event) {
              return ctx.onActivate($event, undefined);
            })("deactivate", function HeatMapComponent_Template__svg_g_deactivate_5_listener($event) {
              return ctx.onDeactivate($event, undefined);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("animations", ctx.animations)("legendOptions", ctx.legendOptions);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.rects);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("xScale", ctx.xScale)("yScale", ctx.yScale)("colors", ctx.colors)("data", ctx.results)("gradient", ctx.gradient)("animations", ctx.animations)("tooltipDisabled", ctx.tooltipDisabled)("tooltipTemplate", ctx.tooltipTemplate)("tooltipText", ctx.tooltipText);
          }
        },
        directives: [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], HeatCellSeriesComponent, XAxisComponent, YAxisComponent],
        styles: [_c24],
        encapsulation: 2,
        changeDetection: 0
      });
      HeatMapComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        innerPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        min: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        max: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵHeatMapComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](HeatMapComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HeatMapComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-heat-map',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [animations]=\"animations\"\n      [legendOptions]=\"legendOptions\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"heat-map chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:rect\n          *ngFor=\"let rect of rects\"\n          [attr.x]=\"rect.x\"\n          [attr.y]=\"rect.y\"\n          [attr.rx]=\"rect.rx\"\n          [attr.width]=\"rect.width\"\n          [attr.height]=\"rect.height\"\n          [attr.fill]=\"rect.fill\"\n        />\n        <svg:g\n          ngx-charts-heat-map-cell-series\n          [xScale]=\"xScale\"\n          [yScale]=\"yScale\"\n          [colors]=\"colors\"\n          [data]=\"results\"\n          [gradient]=\"gradient\"\n          [animations]=\"animations\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [tooltipText]=\"tooltipText\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event, undefined)\"\n          (deactivate)=\"onDeactivate($event, undefined)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          innerPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          min: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          max: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var HeatMapModule = function HeatMapModule() {
        _classCallCheck(this, HeatMapModule);
      };

      HeatMapModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: HeatMapModule
      });
      HeatMapModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function HeatMapModule_Factory(t) {
          return new (t || HeatMapModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](HeatMapModule, {
          declarations: [HeatMapCellComponent, HeatCellSeriesComponent, HeatMapComponent],
          imports: [ChartCommonModule],
          exports: [HeatMapCellComponent, HeatCellSeriesComponent, HeatMapComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HeatMapModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [HeatMapCellComponent, HeatCellSeriesComponent, HeatMapComponent],
            exports: [HeatMapCellComponent, HeatCellSeriesComponent, HeatMapComponent]
          }]
        }], null, null);
      })();

      var LineComponent = /*#__PURE__*/function () {
        function LineComponent(element) {
          _classCallCheck(this, LineComponent);

          this.element = element;
          this.fill = 'none';
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.initialized = false;
        }

        _createClass(LineComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            if (!this.initialized) {
              this.initialized = true;
              this.initialPath = this.path;
            } else {
              this.updatePathEl();
            }
          }
        }, {
          key: "updatePathEl",
          value: function updatePathEl() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element.nativeElement).select('.line');

            if (this.animations) {
              node.transition().duration(750).attr('d', this.path);
            } else {
              node.attr('d', this.path);
            }
          }
        }]);

        return LineComponent;
      }();

      LineComponent.ɵfac = function LineComponent_Factory(t) {
        return new (t || LineComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      LineComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LineComponent,
        selectors: [["g", "ngx-charts-line", ""]],
        inputs: {
          fill: "fill",
          animations: "animations",
          path: "path",
          stroke: "stroke",
          data: "data"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c34,
        decls: 1,
        vars: 4,
        consts: [["stroke-width", "1.5px", 1, "line"]],
        template: function LineComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "path", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@animationState", "active");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", ctx.initialPath)("fill", ctx.fill)("stroke", ctx.stroke);
          }
        },
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            strokeDasharray: 2000,
            strokeDashoffset: 2000
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(1000, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            strokeDashoffset: 0
          }))])])]
        },
        changeDetection: 0
      });

      LineComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      LineComponent.propDecorators = {
        path: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        stroke: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LineComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-line]',
            template: "\n    <svg:path\n      [@animationState]=\"'active'\"\n      class=\"line\"\n      [attr.d]=\"initialPath\"\n      [attr.fill]=\"fill\"\n      [attr.stroke]=\"stroke\"\n      stroke-width=\"1.5px\"\n    />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              strokeDasharray: 2000,
              strokeDashoffset: 2000
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(1000, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              strokeDashoffset: 0
            }))])])]
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          path: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          stroke: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var LineChartComponent = /*#__PURE__*/function (_BaseChartComponent14) {
        _inherits(LineChartComponent, _BaseChartComponent14);

        var _super15 = _createSuper(LineChartComponent);

        function LineChartComponent() {
          var _this53;

          _classCallCheck(this, LineChartComponent);

          _this53 = _super15.apply(this, arguments);
          _this53.legendTitle = 'Legend';
          _this53.legendPosition = 'right';
          _this53.showGridLines = true;
          _this53.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
          _this53.activeEntries = [];
          _this53.trimXAxisTicks = true;
          _this53.trimYAxisTicks = true;
          _this53.rotateXAxisTicks = true;
          _this53.maxXAxisTickLength = 16;
          _this53.maxYAxisTickLength = 16;
          _this53.roundDomains = false;
          _this53.tooltipDisabled = false;
          _this53.showRefLines = false;
          _this53.showRefLabels = true;
          _this53.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this53.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this53.margin = [10, 20, 10, 20];
          _this53.xAxisHeight = 0;
          _this53.yAxisWidth = 0;
          _this53.timelineHeight = 50;
          _this53.timelinePadding = 10;
          return _this53;
        }

        _createClass(LineChartComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(LineChartComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });

            if (this.timeline) {
              this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
            }

            this.xDomain = this.getXDomain();

            if (this.filteredDomain) {
              this.xDomain = this.filteredDomain;
            }

            this.yDomain = this.getYDomain();
            this.seriesDomain = this.getSeriesDomain();
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
            this.yScale = this.getYScale(this.yDomain, this.dims.height);
            this.updateTimeline();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
            this.clipPathId = 'clip' + id().toString();
            this.clipPath = "url(#".concat(this.clipPathId, ")");
          }
        }, {
          key: "updateTimeline",
          value: function updateTimeline() {
            if (this.timeline) {
              this.timelineWidth = this.dims.width;
              this.timelineXDomain = this.getXDomain();
              this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
              this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
              this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
            }
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = getUniqueXDomainValues(this.results);
            this.scaleType = getScaleType(values);
            var domain = [];

            if (this.scaleType === 'linear') {
              values = values.map(function (v) {
                return Number(v);
              });
            }

            var min;
            var max;

            if (this.scaleType === 'time' || this.scaleType === 'linear') {
              min = this.xScaleMin ? this.xScaleMin : Math.min.apply(Math, _toConsumableArray(values));
              max = this.xScaleMax ? this.xScaleMax : Math.max.apply(Math, _toConsumableArray(values));
            }

            if (this.scaleType === 'time') {
              domain = [new Date(min), new Date(max)];
              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                var aDate = a.getTime();
                var bDate = b.getTime();
                if (aDate > bDate) return 1;
                if (bDate > aDate) return -1;
                return 0;
              });
            } else if (this.scaleType === 'linear') {
              domain = [min, max]; // Use compare function to sort numbers numerically

              this.xSet = _toConsumableArray(values).sort(function (a, b) {
                return a - b;
              });
            } else {
              domain = values;
              this.xSet = values;
            }

            return domain;
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var domain = [];

            var _iterator81 = _createForOfIteratorHelper(this.results),
                _step81;

            try {
              for (_iterator81.s(); !(_step81 = _iterator81.n()).done;) {
                var results = _step81.value;

                var _iterator82 = _createForOfIteratorHelper(results.series),
                    _step82;

                try {
                  for (_iterator82.s(); !(_step82 = _iterator82.n()).done;) {
                    var d = _step82.value;

                    if (domain.indexOf(d.value) < 0) {
                      domain.push(d.value);
                    }

                    if (d.min !== undefined) {
                      this.hasRange = true;

                      if (domain.indexOf(d.min) < 0) {
                        domain.push(d.min);
                      }
                    }

                    if (d.max !== undefined) {
                      this.hasRange = true;

                      if (domain.indexOf(d.max) < 0) {
                        domain.push(d.max);
                      }
                    }
                  }
                } catch (err) {
                  _iterator82.e(err);
                } finally {
                  _iterator82.f();
                }
              }
            } catch (err) {
              _iterator81.e(err);
            } finally {
              _iterator81.f();
            }

            var values = [].concat(domain);

            if (!this.autoScale) {
              values.push(0);
            }

            var min = this.yScaleMin ? this.yScaleMin : Math.min.apply(Math, _toConsumableArray(values));
            var max = this.yScaleMax ? this.yScaleMax : Math.max.apply(Math, _toConsumableArray(values));
            return [min, max];
          }
        }, {
          key: "getSeriesDomain",
          value: function getSeriesDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "getXScale",
          value: function getXScale(domain, width) {
            var scale;

            if (this.scaleType === 'time') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range([0, width]).domain(domain);
            } else if (this.scaleType === 'linear') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, width]).domain(domain);

              if (this.roundDomains) {
                scale = scale.nice();
              }
            } else if (this.scaleType === 'ordinal') {
              scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([0, width]).padding(0.1).domain(domain);
            }

            return scale;
          }
        }, {
          key: "getYScale",
          value: function getYScale(domain, height) {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "updateDomain",
          value: function updateDomain(domain) {
            this.filteredDomain = domain;
            this.xDomain = this.filteredDomain;
            this.xScale = this.getXScale(this.xDomain, this.dims.width);
          }
        }, {
          key: "updateHoveredVertical",
          value: function updateHoveredVertical(item) {
            this.hoveredVertical = item.value;
            this.deactivateAll();
          }
        }, {
          key: "hideCircles",
          value: function hideCircles() {
            this.hoveredVertical = null;
            this.deactivateAll();
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain;

            if (this.schemeType === 'ordinal') {
              domain = this.seriesDomain;
            } else {
              domain = this.yDomain;
            }

            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            var opts = {
              scaleType: this.schemeType,
              colors: undefined,
              domain: [],
              title: undefined,
              position: this.legendPosition
            };

            if (opts.scaleType === 'ordinal') {
              opts.domain = this.seriesDomain;
              opts.colors = this.colors;
              opts.title = this.legendTitle;
            } else {
              opts.domain = this.yDomain;
              opts.colors = this.colors.scale;
            }

            return opts;
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref45) {
            var width = _ref45.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref46) {
            var height = _ref46.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            this.deactivateAll();
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item];
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "deactivateAll",
          value: function deactivateAll() {
            this.activeEntries = _toConsumableArray(this.activeEntries);

            var _iterator83 = _createForOfIteratorHelper(this.activeEntries),
                _step83;

            try {
              for (_iterator83.s(); !(_step83 = _iterator83.n()).done;) {
                var entry = _step83.value;
                this.deactivate.emit({
                  value: entry,
                  entries: []
                });
              }
            } catch (err) {
              _iterator83.e(err);
            } finally {
              _iterator83.f();
            }

            this.activeEntries = [];
          }
        }]);

        return LineChartComponent;
      }(BaseChartComponent);

      LineChartComponent.ɵfac = function LineChartComponent_Factory(t) {
        return ɵLineChartComponent_BaseFactory(t || LineChartComponent);
      };

      LineChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LineChartComponent,
        selectors: [["ngx-charts-line-chart"]],
        contentQueries: function LineChartComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c22, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.seriesTooltipTemplate = _t.first);
          }
        },
        hostBindings: function LineChartComponent_HostBindings(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseleave", function LineChartComponent_mouseleave_HostBindingHandler() {
              return ctx.hideCircles();
            });
          }
        },
        inputs: {
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          showGridLines: "showGridLines",
          curve: "curve",
          activeEntries: "activeEntries",
          trimXAxisTicks: "trimXAxisTicks",
          trimYAxisTicks: "trimYAxisTicks",
          rotateXAxisTicks: "rotateXAxisTicks",
          maxXAxisTickLength: "maxXAxisTickLength",
          maxYAxisTickLength: "maxYAxisTickLength",
          roundDomains: "roundDomains",
          tooltipDisabled: "tooltipDisabled",
          showRefLines: "showRefLines",
          showRefLabels: "showRefLabels",
          legend: "legend",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          autoScale: "autoScale",
          timeline: "timeline",
          gradient: "gradient",
          schemeType: "schemeType",
          rangeFillOpacity: "rangeFillOpacity",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting",
          xAxisTicks: "xAxisTicks",
          yAxisTicks: "yAxisTicks",
          referenceLines: "referenceLines",
          xScaleMin: "xScaleMin",
          xScaleMax: "xScaleMax",
          yScaleMin: "yScaleMin",
          yScaleMax: "yScaleMax"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 11,
        vars: 20,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "line-chart", "chart"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "referenceLines", "showRefLines", "showRefLabels", "dimensionsChanged", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseleave", 4, "ngIf"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "scaleType", "legend", "onDomainChange", 4, "ngIf"], ["ngx-charts-x-axis", "", 3, "xScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "rotateTicks", "maxTickLength", "tickFormatting", "ticks", "dimensionsChanged"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "ticks", "referenceLines", "showRefLines", "showRefLabels", "dimensionsChanged"], ["ngx-charts-line-series", "", 3, "xScale", "yScale", "colors", "data", "activeEntries", "scaleType", "curve", "rangeFillOpacity", "hasRange", "animations"], [3, "mouseleave"], ["ngx-charts-tooltip-area", "", 3, "dims", "xSet", "xScale", "yScale", "results", "colors", "tooltipDisabled", "tooltipTemplate", "hover"], [4, "ngFor", "ngForOf"], ["ngx-charts-circle-series", "", 3, "xScale", "yScale", "colors", "data", "scaleType", "visibleValue", "activeEntries", "tooltipDisabled", "tooltipTemplate", "select", "activate", "deactivate"], ["ngx-charts-timeline", "", 3, "results", "view", "height", "scheme", "customColors", "scaleType", "legend", "onDomainChange"], ["ngx-charts-line-series", "", 3, "xScale", "yScale", "colors", "data", "scaleType", "curve", "hasRange", "animations"]],
        template: function LineChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function LineChartComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function LineChartComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function LineChartComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "clipPath");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "rect");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LineChartComponent__svg_g_5_Template, 1, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, LineChartComponent__svg_g_6_Template, 1, 12, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, LineChartComponent__svg_g_8_Template, 2, 11, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, LineChartComponent__svg_g_9_Template, 3, 9, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, LineChartComponent__svg_g_10_Template, 2, 13, "g", 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("id", ctx.clipPathId);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.dims.width + 10)("height", ctx.dims.height + 10)("transform", "translate(-5, -5)");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("clip-path", ctx.clipPath);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.tooltipDisabled);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.timeline && ctx.scaleType != "ordinal");
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], XAxisComponent, YAxisComponent, LineSeriesComponent, TooltipArea, CircleSeriesComponent, Timeline];
        },
        styles: [_c24],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }))])])]
        },
        changeDetection: 0
      });
      LineChartComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        autoScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        timeline: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rangeFillOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateXAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxXAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showRefLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        referenceLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showRefLabels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScaleMax: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        seriesTooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['seriesTooltipTemplate']
        }],
        hideCircles: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
          args: ['mouseleave']
        }]
      };

      var ɵLineChartComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](LineChartComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LineChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-line-chart',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"line-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [referenceLines]=\"referenceLines\"\n          [showRefLines]=\"showRefLines\"\n          [showRefLabels]=\"showRefLabels\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\" [@animationState]=\"'active'\">\n            <svg:g\n              ngx-charts-line-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [scaleType]=\"scaleType\"\n              [curve]=\"curve\"\n              [rangeFillOpacity]=\"rangeFillOpacity\"\n              [hasRange]=\"hasRange\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results\">\n              <svg:g\n                ngx-charts-circle-series\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [activeEntries]=\"activeEntries\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [scaleType]=\"scaleType\"\n        [legend]=\"legend\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-line-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [curve]=\"curve\"\n            [hasRange]=\"hasRange\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
          }]
        }], null, {
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rotateXAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxXAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showRefLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showRefLabels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          hideCircles: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          autoScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          timeline: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rangeFillOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          referenceLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScaleMax: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }],
          seriesTooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['seriesTooltipTemplate']
          }]
        });
      })();

      var LineSeriesComponent = /*#__PURE__*/function () {
        function LineSeriesComponent() {
          _classCallCheck(this, LineSeriesComponent);

          this.animations = true;
        }

        _createClass(LineSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.updateGradients();
            var data = this.sortData(this.data.series);
            var lineGen = this.getLineGenerator();
            this.path = lineGen(data) || '';
            var areaGen = this.getAreaGenerator();
            this.areaPath = areaGen(data) || '';

            if (this.hasRange) {
              var range = this.getRangeGenerator();
              this.outerPath = range(data) || '';
            }

            if (this.hasGradient) {
              this.stroke = this.gradientUrl;
              var values = this.data.series.map(function (d) {
                return d.value;
              });
              var max = Math.max.apply(Math, _toConsumableArray(values));
              var min = Math.min.apply(Math, _toConsumableArray(values));

              if (max === min) {
                this.stroke = this.colors.getColor(max);
              }
            } else {
              this.stroke = this.colors.getColor(this.data.name);
            }
          }
        }, {
          key: "getLineGenerator",
          value: function getLineGenerator() {
            var _this54 = this;

            return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["line"])().x(function (d) {
              var label = d.name;
              var value;

              if (_this54.scaleType === 'time') {
                value = _this54.xScale(label);
              } else if (_this54.scaleType === 'linear') {
                value = _this54.xScale(Number(label));
              } else {
                value = _this54.xScale(label);
              }

              return value;
            }).y(function (d) {
              return _this54.yScale(d.value);
            }).curve(this.curve);
          }
        }, {
          key: "getRangeGenerator",
          value: function getRangeGenerator() {
            var _this55 = this;

            return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(function (d) {
              var label = d.name;
              var value;

              if (_this55.scaleType === 'time') {
                value = _this55.xScale(label);
              } else if (_this55.scaleType === 'linear') {
                value = _this55.xScale(Number(label));
              } else {
                value = _this55.xScale(label);
              }

              return value;
            }).y0(function (d) {
              return _this55.yScale(typeof d.min === 'number' ? d.min : d.value);
            }).y1(function (d) {
              return _this55.yScale(typeof d.max === 'number' ? d.max : d.value);
            }).curve(this.curve);
          }
        }, {
          key: "getAreaGenerator",
          value: function getAreaGenerator() {
            var _this56 = this;

            var xProperty = function xProperty(d) {
              var label = d.name;
              return _this56.xScale(label);
            };

            return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function () {
              return _this56.yScale.range()[0];
            }).y1(function (d) {
              return _this56.yScale(d.value);
            }).curve(this.curve);
          }
        }, {
          key: "sortData",
          value: function sortData(data) {
            if (this.scaleType === 'linear') {
              data = sortLinear(data, 'name');
            } else if (this.scaleType === 'time') {
              data = sortByTime(data, 'name');
            } else {
              data = sortByDomain(data, 'name', 'asc', this.xScale.domain());
            }

            return data;
          }
        }, {
          key: "updateGradients",
          value: function updateGradients() {
            if (this.colors.scaleType === 'linear') {
              this.hasGradient = true;
              this.gradientId = 'grad' + id().toString();
              this.gradientUrl = "url(#".concat(this.gradientId, ")");
              var values = this.data.series.map(function (d) {
                return d.value;
              });
              var max = Math.max.apply(Math, _toConsumableArray(values));
              var min = Math.min.apply(Math, _toConsumableArray(values));
              this.gradientStops = this.colors.getLinearGradientStops(max, min);
              this.areaGradientStops = this.colors.getLinearGradientStops(max);
            } else {
              this.hasGradient = false;
              this.gradientStops = undefined;
              this.areaGradientStops = undefined;
            }
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item !== undefined;
          }
        }, {
          key: "isInactive",
          value: function isInactive(entry) {
            if (!this.activeEntries || this.activeEntries.length === 0) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item === undefined;
          }
        }]);

        return LineSeriesComponent;
      }();

      LineSeriesComponent.ɵfac = function LineSeriesComponent_Factory(t) {
        return new (t || LineSeriesComponent)();
      };

      LineSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LineSeriesComponent,
        selectors: [["g", "ngx-charts-line-series", ""]],
        inputs: {
          animations: "animations",
          data: "data",
          xScale: "xScale",
          yScale: "yScale",
          colors: "colors",
          scaleType: "scaleType",
          curve: "curve",
          activeEntries: "activeEntries",
          rangeFillOpacity: "rangeFillOpacity",
          hasRange: "hasRange"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c35,
        decls: 6,
        vars: 22,
        consts: [["ngx-charts-svg-linear-gradient", "", "orientation", "vertical", 3, "name", "stops", 4, "ngIf"], ["ngx-charts-area", "", 1, "line-highlight", 3, "data", "path", "fill", "opacity", "startOpacity", "gradient", "stops", "animations"], ["ngx-charts-line", "", 1, "line-series", 3, "data", "path", "stroke", "animations"], ["ngx-charts-area", "", "class", "line-series-range", 3, "data", "path", "fill", "active", "inactive", "opacity", "animations", 4, "ngIf"], ["ngx-charts-svg-linear-gradient", "", "orientation", "vertical", 3, "name", "stops"], ["ngx-charts-area", "", 1, "line-series-range", 3, "data", "path", "fill", "opacity", "animations"]],
        template: function LineSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, LineSeriesComponent__svg_g_2_Template, 1, 2, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LineSeriesComponent__svg_g_5_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasGradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.isActive(ctx.data))("inactive", ctx.isInactive(ctx.data));

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", ctx.data)("path", ctx.areaPath)("fill", ctx.hasGradient ? ctx.gradientUrl : ctx.colors.getColor(ctx.data.name))("opacity", 0.25)("startOpacity", 0)("gradient", true)("stops", ctx.areaGradientStops)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.isActive(ctx.data))("inactive", ctx.isInactive(ctx.data));

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", ctx.data)("path", ctx.path)("stroke", ctx.stroke)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasRange);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], AreaComponent, LineComponent, SvgLinearGradientComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      LineSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rangeFillOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        hasRange: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LineSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-line-series]',
            template: "\n    <svg:g>\n      <defs>\n        <svg:g\n          ngx-charts-svg-linear-gradient\n          *ngIf=\"hasGradient\"\n          orientation=\"vertical\"\n          [name]=\"gradientId\"\n          [stops]=\"gradientStops\"\n        />\n      </defs>\n      <svg:g\n        ngx-charts-area\n        class=\"line-highlight\"\n        [data]=\"data\"\n        [path]=\"areaPath\"\n        [fill]=\"hasGradient ? gradientUrl : colors.getColor(data.name)\"\n        [opacity]=\"0.25\"\n        [startOpacity]=\"0\"\n        [gradient]=\"true\"\n        [stops]=\"areaGradientStops\"\n        [class.active]=\"isActive(data)\"\n        [class.inactive]=\"isInactive(data)\"\n        [animations]=\"animations\"\n      />\n      <svg:g\n        ngx-charts-line\n        class=\"line-series\"\n        [data]=\"data\"\n        [path]=\"path\"\n        [stroke]=\"stroke\"\n        [animations]=\"animations\"\n        [class.active]=\"isActive(data)\"\n        [class.inactive]=\"isInactive(data)\"\n      />\n      <svg:g\n        ngx-charts-area\n        *ngIf=\"hasRange\"\n        class=\"line-series-range\"\n        [data]=\"data\"\n        [path]=\"outerPath\"\n        [fill]=\"hasGradient ? gradientUrl : colors.getColor(data.name)\"\n        [class.active]=\"isActive(data)\"\n        [class.inactive]=\"isInactive(data)\"\n        [opacity]=\"rangeFillOpacity\"\n        [animations]=\"animations\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rangeFillOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          hasRange: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var LineChartModule = function LineChartModule() {
        _classCallCheck(this, LineChartModule);
      };

      LineChartModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: LineChartModule
      });
      LineChartModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function LineChartModule_Factory(t) {
          return new (t || LineChartModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](LineChartModule, {
          declarations: [LineComponent, LineChartComponent, LineSeriesComponent],
          imports: [ChartCommonModule],
          exports: [LineComponent, LineChartComponent, LineSeriesComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LineChartModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [LineComponent, LineChartComponent, LineSeriesComponent],
            exports: [LineComponent, LineChartComponent, LineSeriesComponent]
          }]
        }], null, null);
      })();

      function isDate(value) {
        return toString.call(value) === '[object Date]';
      }

      function isNumber(value) {
        return typeof value === 'number';
      }

      var twoPI = 2 * Math.PI;

      var PolarChartComponent = /*#__PURE__*/function (_BaseChartComponent15) {
        _inherits(PolarChartComponent, _BaseChartComponent15);

        var _super16 = _createSuper(PolarChartComponent);

        function PolarChartComponent() {
          var _this57;

          _classCallCheck(this, PolarChartComponent);

          _this57 = _super16.apply(this, arguments);
          _this57.legendTitle = 'Legend';
          _this57.legendPosition = 'right';
          _this57.showGridLines = true;
          _this57.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveCardinalClosed"];
          _this57.activeEntries = [];
          _this57.rangeFillOpacity = 0.15;
          _this57.trimYAxisTicks = true;
          _this57.maxYAxisTickLength = 16;
          _this57.roundDomains = false;
          _this57.tooltipDisabled = false;
          _this57.showSeriesOnHover = true;
          _this57.gradient = false;
          _this57.yAxisMinScale = 0;
          _this57.labelTrim = true;
          _this57.labelTrimSize = 10;
          _this57.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this57.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this57.margin = [10, 20, 10, 20];
          _this57.xAxisHeight = 0;
          _this57.yAxisWidth = 0;
          return _this57;
        }

        _createClass(PolarChartComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(PolarChartComponent.prototype), "update", this).call(this);

            this.setDims();
            this.setScales();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            this.setTicks();
          }
        }, {
          key: "setDims",
          value: function setDims() {
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showXAxis: this.xAxis,
              showYAxis: this.yAxis,
              xAxisHeight: this.xAxisHeight,
              yAxisWidth: this.yAxisWidth,
              showXLabel: this.showXAxisLabel,
              showYLabel: this.showYAxisLabel,
              showLegend: this.legend,
              legendType: this.schemeType,
              legendPosition: this.legendPosition
            });
            var halfWidth = Math.floor(this.dims.width / 2);
            var halfHeight = Math.floor(this.dims.height / 2);
            var outerRadius = this.outerRadius = Math.min(halfHeight / 1.5, halfWidth / 1.5);
            var yOffset = Math.max(0, halfHeight - outerRadius);
            this.yAxisDims = Object.assign(Object.assign({}, this.dims), {
              width: halfWidth
            });
            this.transform = "translate(".concat(this.dims.xOffset, ", ").concat(this.margin[0], ")");
            this.transformYAxis = "translate(0, ".concat(yOffset, ")");
            this.labelOffset = this.dims.height + 40;
            this.transformPlot = "translate(".concat(halfWidth, ", ").concat(halfHeight, ")");
          }
        }, {
          key: "setScales",
          value: function setScales() {
            var xValues = this.getXValues();
            this.scaleType = getScaleType(xValues);
            this.xDomain = this.filteredDomain || this.getXDomain(xValues);
            this.yDomain = this.getYDomain();
            this.seriesDomain = this.getSeriesDomain();
            this.xScale = this.getXScale(this.xDomain, twoPI);
            this.yScale = this.getYScale(this.yDomain, this.outerRadius);
            this.yAxisScale = this.getYScale(this.yDomain.reverse(), this.outerRadius);
          }
        }, {
          key: "setTicks",
          value: function setTicks() {
            var _this58 = this;

            var tickFormat;

            if (this.xAxisTickFormatting) {
              tickFormat = this.xAxisTickFormatting;
            } else if (this.xScale.tickFormat) {
              tickFormat = this.xScale.tickFormat.apply(this.xScale, [5]);
            } else {
              tickFormat = function tickFormat(d) {
                if (isDate(d)) {
                  return d.toLocaleDateString();
                }

                return d.toLocaleString();
              };
            }

            var outerRadius = this.outerRadius;
            var s = 1.1;
            this.thetaTicks = this.xDomain.map(function (d) {
              var startAngle = _this58.xScale(d);

              var dd = s * outerRadius * (startAngle > Math.PI ? -1 : 1);
              var label = tickFormat(d);
              var startPos = [outerRadius * Math.sin(startAngle), -outerRadius * Math.cos(startAngle)];
              var pos = [dd, s * startPos[1]];
              return {
                innerRadius: 0,
                outerRadius: outerRadius,
                startAngle: startAngle,
                endAngle: startAngle,
                value: outerRadius,
                label: label,
                startPos: startPos,
                pos: pos
              };
            });
            var minDistance = 10;
            /* from pie chart, abstract out -*/

            for (var i = 0; i < this.thetaTicks.length - 1; i++) {
              var a = this.thetaTicks[i];

              for (var j = i + 1; j < this.thetaTicks.length; j++) {
                var b = this.thetaTicks[j]; // if they're on the same side

                if (b.pos[0] * a.pos[0] > 0) {
                  // if they're overlapping
                  var o = minDistance - Math.abs(b.pos[1] - a.pos[1]);

                  if (o > 0) {
                    // push the second up or down
                    b.pos[1] += Math.sign(b.pos[0]) * o;
                  }
                }
              }
            }

            this.radiusTicks = this.yAxisScale.ticks(Math.floor(this.dims.height / 50)).map(function (d) {
              return _this58.yScale(d);
            });
          }
        }, {
          key: "getXValues",
          value: function getXValues() {
            var values = [];

            var _iterator84 = _createForOfIteratorHelper(this.results),
                _step84;

            try {
              for (_iterator84.s(); !(_step84 = _iterator84.n()).done;) {
                var results = _step84.value;

                var _iterator85 = _createForOfIteratorHelper(results.series),
                    _step85;

                try {
                  for (_iterator85.s(); !(_step85 = _iterator85.n()).done;) {
                    var d = _step85.value;

                    if (!values.includes(d.name)) {
                      values.push(d.name);
                    }
                  }
                } catch (err) {
                  _iterator85.e(err);
                } finally {
                  _iterator85.f();
                }
              }
            } catch (err) {
              _iterator84.e(err);
            } finally {
              _iterator84.f();
            }

            return values;
          }
        }, {
          key: "getXDomain",
          value: function getXDomain() {
            var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.getXValues();

            if (this.scaleType === 'time') {
              var min = Math.min.apply(Math, _toConsumableArray(values));
              var max = Math.max.apply(Math, _toConsumableArray(values));
              return [min, max];
            } else if (this.scaleType === 'linear') {
              values = values.map(function (v) {
                return Number(v);
              });

              var _min3 = Math.min.apply(Math, _toConsumableArray(values));

              var _max4 = Math.max.apply(Math, _toConsumableArray(values));

              return [_min3, _max4];
            }

            return values;
          }
        }, {
          key: "getYValues",
          value: function getYValues() {
            var domain = [];

            var _iterator86 = _createForOfIteratorHelper(this.results),
                _step86;

            try {
              for (_iterator86.s(); !(_step86 = _iterator86.n()).done;) {
                var results = _step86.value;

                var _iterator87 = _createForOfIteratorHelper(results.series),
                    _step87;

                try {
                  for (_iterator87.s(); !(_step87 = _iterator87.n()).done;) {
                    var d = _step87.value;

                    if (domain.indexOf(d.value) < 0) {
                      domain.push(d.value);
                    }

                    if (d.min !== undefined) {
                      if (domain.indexOf(d.min) < 0) {
                        domain.push(d.min);
                      }
                    }

                    if (d.max !== undefined) {
                      if (domain.indexOf(d.max) < 0) {
                        domain.push(d.max);
                      }
                    }
                  }
                } catch (err) {
                  _iterator87.e(err);
                } finally {
                  _iterator87.f();
                }
              }
            } catch (err) {
              _iterator86.e(err);
            } finally {
              _iterator86.f();
            }

            return domain;
          }
        }, {
          key: "getYDomain",
          value: function getYDomain() {
            var domain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.getYValues();
            var min = Math.min.apply(Math, _toConsumableArray(domain));
            var max = Math.max.apply(Math, [this.yAxisMinScale].concat(_toConsumableArray(domain)));
            min = Math.max(0, min);

            if (!this.autoScale) {
              min = Math.min(0, min);
            }

            return [min, max];
          }
        }, {
          key: "getSeriesDomain",
          value: function getSeriesDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "getXScale",
          value: function getXScale(domain, width) {
            switch (this.scaleType) {
              case 'time':
                return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range([0, width]).domain(domain);

              case 'linear':
                var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, width]).domain(domain);
                return this.roundDomains ? scale.nice() : scale;

              default:
                return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([0, width - twoPI / domain.length]).padding(0).domain(domain);
            }
          }
        }, {
          key: "getYScale",
          value: function getYScale(domain, height) {
            var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, height]).domain(domain);
            return this.roundDomains ? scale.nice() : scale;
          }
        }, {
          key: "onClick",
          value: function onClick(data, series) {
            if (series) {
              data.series = series.name;
            }

            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            var domain = this.schemeType === 'ordinal' ? this.seriesDomain : this.yDomain.reverse();
            this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            if (this.schemeType === 'ordinal') {
              return {
                scaleType: this.schemeType,
                colors: this.colors,
                domain: this.seriesDomain,
                title: this.legendTitle,
                position: this.legendPosition
              };
            }

            return {
              scaleType: this.schemeType,
              colors: this.colors.scale,
              domain: this.yDomain,
              title: undefined,
              position: this.legendPosition
            };
          }
        }, {
          key: "updateYAxisWidth",
          value: function updateYAxisWidth(_ref47) {
            var width = _ref47.width;
            this.yAxisWidth = width;
            this.update();
          }
        }, {
          key: "updateXAxisHeight",
          value: function updateXAxisHeight(_ref48) {
            var height = _ref48.height;
            this.xAxisHeight = height;
            this.update();
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = this.showSeriesOnHover ? [item].concat(_toConsumableArray(this.activeEntries)) : this.activeEntries;
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "deactivateAll",
          value: function deactivateAll() {
            this.activeEntries = _toConsumableArray(this.activeEntries);

            var _iterator88 = _createForOfIteratorHelper(this.activeEntries),
                _step88;

            try {
              for (_iterator88.s(); !(_step88 = _iterator88.n()).done;) {
                var entry = _step88.value;
                this.deactivate.emit({
                  value: entry,
                  entries: []
                });
              }
            } catch (err) {
              _iterator88.e(err);
            } finally {
              _iterator88.f();
            }

            this.activeEntries = [];
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.name;
          }
        }]);

        return PolarChartComponent;
      }(BaseChartComponent);

      PolarChartComponent.ɵfac = function PolarChartComponent_Factory(t) {
        return ɵPolarChartComponent_BaseFactory(t || PolarChartComponent);
      };

      PolarChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PolarChartComponent,
        selectors: [["ngx-charts-polar-chart"]],
        contentQueries: function PolarChartComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          showGridLines: "showGridLines",
          curve: "curve",
          activeEntries: "activeEntries",
          rangeFillOpacity: "rangeFillOpacity",
          trimYAxisTicks: "trimYAxisTicks",
          maxYAxisTickLength: "maxYAxisTickLength",
          roundDomains: "roundDomains",
          tooltipDisabled: "tooltipDisabled",
          showSeriesOnHover: "showSeriesOnHover",
          gradient: "gradient",
          yAxisMinScale: "yAxisMinScale",
          labelTrim: "labelTrim",
          labelTrimSize: "labelTrimSize",
          legend: "legend",
          xAxis: "xAxis",
          yAxis: "yAxis",
          showXAxisLabel: "showXAxisLabel",
          showYAxisLabel: "showYAxisLabel",
          xAxisLabel: "xAxisLabel",
          yAxisLabel: "yAxisLabel",
          autoScale: "autoScale",
          schemeType: "schemeType",
          xAxisTickFormatting: "xAxisTickFormatting",
          yAxisTickFormatting: "yAxisTickFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 10,
        vars: 18,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "polar-chart", "chart"], ["cx", "0", "cy", "0", 1, "polar-chart-background"], [4, "ngIf"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "dimensionsChanged", 4, "ngIf"], ["ngx-charts-axis-label", "", 3, "label", "offset", "orient", "height", "width", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "gridline-path radial-gridline-path", "cx", "0", "cy", "0", 4, "ngFor", "ngForOf"], ["cx", "0", "cy", "0", 1, "gridline-path", "radial-gridline-path"], ["ngx-charts-pie-label", "", 3, "data", "radius", "label", "max", "value", "explodeSlices", "animations", "labelTrim", "labelTrimSize", 4, "ngFor", "ngForOf"], ["ngx-charts-pie-label", "", 3, "data", "radius", "label", "max", "value", "explodeSlices", "animations", "labelTrim", "labelTrimSize"], ["ngx-charts-y-axis", "", 3, "yScale", "dims", "showGridLines", "showLabel", "labelText", "trimTicks", "maxTickLength", "tickFormatting", "dimensionsChanged"], ["ngx-charts-axis-label", "", 3, "label", "offset", "orient", "height", "width"], ["ngx-charts-polar-series", "", 3, "gradient", "xScale", "yScale", "colors", "data", "activeEntries", "scaleType", "curve", "rangeFillOpacity", "animations", "tooltipDisabled", "tooltipTemplate", "select", "activate", "deactivate"]],
        template: function PolarChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function PolarChartComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function PolarChartComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function PolarChartComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "circle", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, PolarChartComponent__svg_g_4_Template, 2, 1, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, PolarChartComponent__svg_g_5_Template, 2, 1, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PolarChartComponent__svg_g_6_Template, 1, 9, "g", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, PolarChartComponent__svg_g_7_Template, 1, 5, "g", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, PolarChartComponent__svg_g_9_Template, 2, 13, "g", 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](15, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transformPlot);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("r", ctx.outerRadius);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showGridLines);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.yAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.xAxis && ctx.showXAxisLabel);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transformPlot);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.results)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], PieLabelComponent, YAxisComponent, AxisLabelComponent, PolarSeriesComponent];
        },
        styles: [_c24, _c39, ".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{fill:none;stroke-dasharray:10 10}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}"],
        encapsulation: 2,
        data: {
          animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 1
          }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
            opacity: 0
          }))])])]
        },
        changeDetection: 0
      });
      PolarChartComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showXAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showYAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisLabel: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        autoScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showGridLines: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        schemeType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rangeFillOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimYAxisTicks: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxYAxisTickLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        roundDomains: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showSeriesOnHover: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yAxisMinScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelTrim: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelTrimSize: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵPolarChartComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PolarChartComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PolarChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-polar-chart',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:g class=\"polar-chart chart\" [attr.transform]=\"transform\">\n        <svg:g [attr.transform]=\"transformPlot\">\n          <svg:circle class=\"polar-chart-background\" cx=\"0\" cy=\"0\" [attr.r]=\"this.outerRadius\" />\n          <svg:g *ngIf=\"showGridLines\">\n            <svg:circle\n              *ngFor=\"let r of radiusTicks\"\n              class=\"gridline-path radial-gridline-path\"\n              cx=\"0\"\n              cy=\"0\"\n              [attr.r]=\"r\"\n            />\n          </svg:g>\n          <svg:g *ngIf=\"xAxis\">\n            <svg:g\n              ngx-charts-pie-label\n              *ngFor=\"let tick of thetaTicks\"\n              [data]=\"tick\"\n              [radius]=\"outerRadius\"\n              [label]=\"tick.label\"\n              [max]=\"outerRadius\"\n              [value]=\"showGridLines ? 1 : outerRadius\"\n              [explodeSlices]=\"true\"\n              [animations]=\"animations\"\n              [labelTrim]=\"labelTrim\"\n              [labelTrimSize]=\"labelTrimSize\"\n            ></svg:g>\n          </svg:g>\n        </svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          [attr.transform]=\"transformYAxis\"\n          *ngIf=\"yAxis\"\n          [yScale]=\"yAxisScale\"\n          [dims]=\"yAxisDims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-axis-label\n          *ngIf=\"xAxis && showXAxisLabel\"\n          [label]=\"xAxisLabel\"\n          [offset]=\"labelOffset\"\n          [orient]=\"'bottom'\"\n          [height]=\"dims.height\"\n          [width]=\"dims.width\"\n        ></svg:g>\n        <svg:g [attr.transform]=\"transformPlot\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\" [@animationState]=\"'active'\">\n            <svg:g\n              ngx-charts-polar-series\n              [gradient]=\"gradient\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [scaleType]=\"scaleType\"\n              [curve]=\"curve\"\n              [rangeFillOpacity]=\"rangeFillOpacity\"\n              [animations]=\"animations\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"tooltipTemplate\"\n              (select)=\"onClick($event)\"\n              (activate)=\"onActivate($event)\"\n              (deactivate)=\"onDeactivate($event)\"\n            />\n          </svg:g>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 1
            }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
              opacity: 0
            }))])])],
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}", ".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{fill:none;stroke-dasharray:10 10}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}"]
          }]
        }], null, {
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showGridLines: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rangeFillOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimYAxisTicks: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxYAxisTickLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          roundDomains: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showSeriesOnHover: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisMinScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelTrim: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelTrimSize: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showXAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showYAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisLabel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          autoScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          schemeType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yAxisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var PolarSeriesComponent = /*#__PURE__*/function () {
        function PolarSeriesComponent() {
          _classCallCheck(this, PolarSeriesComponent);

          this.tooltipDisabled = false;
          this.gradient = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.circleRadius = 3;
        }

        _createClass(PolarSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var _this59 = this;

            this.updateGradients();
            var line = this.getLineGenerator();
            var data = this.sortData(this.data.series);
            var seriesName = this.data.name;
            var linearScaleType = this.colors.scaleType === 'linear';
            var min = this.yScale.domain()[0];
            this.seriesColor = this.colors.getColor(linearScaleType ? min : seriesName);
            this.path = line(data) || '';
            this.circles = data.map(function (d) {
              var a = _this59.getAngle(d);

              var r = _this59.getRadius(d);

              var value = d.value;

              var color = _this59.colors.getColor(linearScaleType ? Math.abs(value) : seriesName);

              var cData = Object.assign({}, d, {
                series: seriesName,
                value: value,
                name: d.name
              });
              return {
                data: cData,
                cx: r * Math.sin(a),
                cy: -r * Math.cos(a),
                value: value,
                color: color,
                label: d.name
              };
            });
            this.active = this.isActive(this.data);
            this.inactive = this.isInactive(this.data);

            this.tooltipText = this.tooltipText || function (c) {
              return _this59.defaultTooltipText(c);
            };
          }
        }, {
          key: "getAngle",
          value: function getAngle(d) {
            var label = d.name;

            if (this.scaleType === 'time') {
              return this.xScale(label);
            } else if (this.scaleType === 'linear') {
              return this.xScale(Number(label));
            }

            return this.xScale(label);
          }
        }, {
          key: "getRadius",
          value: function getRadius(d) {
            return this.yScale(d.value);
          }
        }, {
          key: "getLineGenerator",
          value: function getLineGenerator() {
            var _this60 = this;

            return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["lineRadial"])().angle(function (d) {
              return _this60.getAngle(d);
            }).radius(function (d) {
              return _this60.getRadius(d);
            }).curve(this.curve);
          }
        }, {
          key: "sortData",
          value: function sortData(data) {
            if (this.scaleType === 'linear') {
              return sortLinear(data, 'name');
            } else if (this.scaleType === 'time') {
              return sortByTime(data, 'name');
            }

            return sortByDomain(data, 'name', 'asc', this.xScale.domain());
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item !== undefined;
          }
        }, {
          key: "isInactive",
          value: function isInactive(entry) {
            if (!this.activeEntries || this.activeEntries.length === 0) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name;
            });
            return item === undefined;
          }
        }, {
          key: "defaultTooltipText",
          value: function defaultTooltipText(_ref49) {
            var label = _ref49.label,
                value = _ref49.value;
            return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(this.data.name), " \u2022 ").concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(value.toLocaleString(), "</span>\n    ");
          }
        }, {
          key: "updateGradients",
          value: function updateGradients() {
            this.hasGradient = this.gradient || this.colors.scaleType === 'linear';

            if (!this.hasGradient) {
              return;
            }

            this.gradientId = 'grad' + id().toString();
            this.gradientUrl = "url(#".concat(this.gradientId, ")");

            if (this.colors.scaleType === 'linear') {
              var values = this.data.series.map(function (d) {
                return d.value;
              });
              var max = Math.max.apply(Math, _toConsumableArray(values));
              var min = Math.min.apply(Math, _toConsumableArray(values));
              this.gradientStops = this.colors.getLinearGradientStops(max, min);
            } else {
              this.gradientStops = undefined;
            }
          }
        }]);

        return PolarSeriesComponent;
      }();

      PolarSeriesComponent.ɵfac = function PolarSeriesComponent_Factory(t) {
        return new (t || PolarSeriesComponent)();
      };

      PolarSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PolarSeriesComponent,
        selectors: [["g", "ngx-charts-polar-series", ""]],
        inputs: {
          tooltipDisabled: "tooltipDisabled",
          gradient: "gradient",
          animations: "animations",
          tooltipText: "tooltipText",
          name: "name",
          data: "data",
          xScale: "xScale",
          yScale: "yScale",
          colors: "colors",
          scaleType: "scaleType",
          curve: "curve",
          activeEntries: "activeEntries",
          rangeFillOpacity: "rangeFillOpacity",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c36,
        decls: 5,
        vars: 11,
        consts: [[1, "polar-charts-series"], ["ngx-charts-svg-radial-gradient", "", "orientation", "vertical", 3, "color", "name", "startOpacity", "endOpacity", "stops", 4, "ngIf"], ["ngx-charts-line", "", 1, "polar-series-path", 3, "path", "stroke", "fill", "animations"], ["ngx-charts-circle", "", "class", "circle", "ngx-tooltip", "", "tooltipType", "tooltip", 3, "cx", "cy", "r", "fill", "opacity", "tooltipDisabled", "tooltipPlacement", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate", 4, "ngFor", "ngForOf"], ["ngx-charts-svg-radial-gradient", "", "orientation", "vertical", 3, "color", "name", "startOpacity", "endOpacity", "stops"], ["ngx-charts-circle", "", "ngx-tooltip", "", "tooltipType", "tooltip", 1, "circle", 3, "cx", "cy", "r", "fill", "tooltipDisabled", "tooltipPlacement", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate"]],
        template: function PolarSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "defs");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PolarSeriesComponent__svg_g_2_Template, 1, 5, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, PolarSeriesComponent__svg_g_4_Template, 1, 11, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasGradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.active)("inactive", ctx.inactive);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("path", ctx.path)("stroke", ctx.hasGradient ? ctx.gradientUrl : ctx.seriesColor)("fill", ctx.hasGradient ? ctx.gradientUrl : ctx.seriesColor)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("fill-opacity", ctx.rangeFillOpacity);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.circles);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], LineComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], SvgRadialGradientComponent, CircleComponent, TooltipDirective],
        encapsulation: 2,
        changeDetection: 0
      });
      PolarSeriesComponent.propDecorators = {
        name: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        xScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        yScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scaleType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        curve: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rangeFillOpacity: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PolarSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-polar-series]',
            template: "\n    <svg:g class=\"polar-charts-series\">\n      <defs>\n        <svg:g\n          ngx-charts-svg-radial-gradient\n          *ngIf=\"hasGradient\"\n          orientation=\"vertical\"\n          [color]=\"seriesColor\"\n          [name]=\"gradientId\"\n          [startOpacity]=\"0.25\"\n          [endOpacity]=\"1\"\n          [stops]=\"gradientStops\"\n        />\n      </defs>\n      <svg:g\n        ngx-charts-line\n        class=\"polar-series-path\"\n        [path]=\"path\"\n        [stroke]=\"hasGradient ? gradientUrl : seriesColor\"\n        [class.active]=\"active\"\n        [class.inactive]=\"inactive\"\n        [attr.fill-opacity]=\"rangeFillOpacity\"\n        [fill]=\"hasGradient ? gradientUrl : seriesColor\"\n        [animations]=\"animations\"\n      />\n      <svg:g\n        ngx-charts-circle\n        *ngFor=\"let circle of circles\"\n        class=\"circle\"\n        [cx]=\"circle.cx\"\n        [cy]=\"circle.cy\"\n        [r]=\"circleRadius\"\n        [fill]=\"circle.color\"\n        [style.opacity]=\"inactive ? 0.2 : 1\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'top'\"\n        tooltipType=\"tooltip\"\n        [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText(circle)\"\n        [tooltipTemplate]=\"tooltipTemplate\"\n        [tooltipContext]=\"circle.data\"\n        (select)=\"select.emit(circle.data)\"\n        (activate)=\"activate.emit({ name: circle.data.series })\"\n        (deactivate)=\"deactivate.emit({ name: circle.data.series })\"\n      ></svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          name: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          xScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          yScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          scaleType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          curve: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          rangeFillOpacity: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var AdvancedPieChartComponent = /*#__PURE__*/function (_BaseChartComponent16) {
        _inherits(AdvancedPieChartComponent, _BaseChartComponent16);

        var _super17 = _createSuper(AdvancedPieChartComponent);

        function AdvancedPieChartComponent() {
          var _this61;

          _classCallCheck(this, AdvancedPieChartComponent);

          _this61 = _super17.apply(this, arguments);
          _this61.activeEntries = [];
          _this61.tooltipDisabled = false;
          _this61.label = 'Total';
          _this61.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this61.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this61.margin = [20, 20, 20, 20];
          return _this61;
        }

        _createClass(AdvancedPieChartComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(AdvancedPieChartComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width * 4 / 12.0,
              height: this.height,
              margins: this.margin
            });
            this.formatDates();
            this.domain = this.getDomain();
            this.setColors();
            var xOffset = this.dims.width / 2;
            var yOffset = this.margin[0] + this.dims.height / 2;
            this.legendWidth = this.width - this.dims.width - this.margin[1];
            this.outerRadius = Math.min(this.dims.width, this.dims.height) / 2.5;
            this.innerRadius = this.outerRadius * 0.75;
            this.transform = "translate(".concat(xOffset, " , ").concat(yOffset, ")");
          }
        }, {
          key: "getDomain",
          value: function getDomain() {
            return this.results.map(function (d) {
              return d.label;
            });
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return AdvancedPieChartComponent;
      }(BaseChartComponent);

      AdvancedPieChartComponent.ɵfac = function AdvancedPieChartComponent_Factory(t) {
        return ɵAdvancedPieChartComponent_BaseFactory(t || AdvancedPieChartComponent);
      };

      AdvancedPieChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AdvancedPieChartComponent,
        selectors: [["ngx-charts-advanced-pie-chart"]],
        contentQueries: function AdvancedPieChartComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          activeEntries: "activeEntries",
          tooltipDisabled: "tooltipDisabled",
          label: "label",
          gradient: "gradient",
          tooltipText: "tooltipText",
          valueFormatting: "valueFormatting",
          nameFormatting: "nameFormatting",
          percentageFormatting: "percentageFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 7,
        vars: 37,
        consts: [[1, "advanced-pie", "chart"], [3, "view", "showLegend", "animations"], [1, "pie", "chart"], ["ngx-charts-pie-series", "", 3, "colors", "series", "innerRadius", "activeEntries", "outerRadius", "gradient", "tooltipDisabled", "tooltipTemplate", "tooltipText", "animations", "select", "activate", "deactivate"], [1, "advanced-pie-legend-wrapper"], [3, "data", "colors", "width", "label", "animations", "valueFormatting", "labelFormatting", "percentageFormatting", "select", "activate", "deactivate"]],
        template: function AdvancedPieChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "ngx-charts-chart", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function AdvancedPieChartComponent_Template__svg_g_select_4_listener($event) {
              return ctx.onClick($event);
            })("activate", function AdvancedPieChartComponent_Template__svg_g_activate_4_listener($event) {
              return ctx.onActivate($event);
            })("deactivate", function AdvancedPieChartComponent_Template__svg_g_deactivate_4_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "ngx-charts-advanced-legend", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function AdvancedPieChartComponent_Template_ngx_charts_advanced_legend_select_6_listener($event) {
              return ctx.onClick($event);
            })("activate", function AdvancedPieChartComponent_Template_ngx_charts_advanced_legend_activate_6_listener($event) {
              return ctx.onActivate($event, true);
            })("deactivate", function AdvancedPieChartComponent_Template_ngx_charts_advanced_legend_deactivate_6_listener($event) {
              return ctx.onDeactivate($event, true);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx.width, "px")("height", ctx.height, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx.dims.width, "px")("height", ctx.dims.height, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](34, _c23, ctx.width, ctx.height))("showLegend", false)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("colors", ctx.colors)("series", ctx.results)("innerRadius", ctx.innerRadius)("activeEntries", ctx.activeEntries)("outerRadius", ctx.outerRadius)("gradient", ctx.gradient)("tooltipDisabled", ctx.tooltipDisabled)("tooltipTemplate", ctx.tooltipTemplate)("tooltipText", ctx.tooltipText)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx.width - ctx.dims.width, "px")("height", ctx.height, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", ctx.results)("colors", ctx.colors)("width", ctx.width - ctx.dims.width - ctx.margin[1])("label", ctx.label)("animations", ctx.animations)("valueFormatting", ctx.valueFormatting)("labelFormatting", ctx.nameFormatting)("percentageFormatting", ctx.percentageFormatting);
          }
        },
        directives: function directives() {
          return [ChartComponent, PieSeriesComponent, AdvancedLegendComponent];
        },
        styles: [_c24, ".advanced-pie{float:left}.advanced-pie,.advanced-pie-legend-wrapper{display:inline-block}"],
        encapsulation: 2,
        changeDetection: 0
      });
      AdvancedPieChartComponent.propDecorators = {
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        nameFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        percentageFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };

      var ɵAdvancedPieChartComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](AdvancedPieChartComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AdvancedPieChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-advanced-pie-chart',
            template: "\n    <div [style.width.px]=\"width\" [style.height.px]=\"height\">\n      <div class=\"advanced-pie chart\" [style.width.px]=\"dims.width\" [style.height.px]=\"dims.height\">\n        <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n          <svg:g [attr.transform]=\"transform\" class=\"pie chart\">\n            <svg:g\n              ngx-charts-pie-series\n              [colors]=\"colors\"\n              [series]=\"results\"\n              [innerRadius]=\"innerRadius\"\n              [activeEntries]=\"activeEntries\"\n              [outerRadius]=\"outerRadius\"\n              [gradient]=\"gradient\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"tooltipTemplate\"\n              [tooltipText]=\"tooltipText\"\n              (select)=\"onClick($event)\"\n              (activate)=\"onActivate($event)\"\n              (deactivate)=\"onDeactivate($event)\"\n              [animations]=\"animations\"\n            ></svg:g>\n          </svg:g>\n        </ngx-charts-chart>\n      </div>\n      <div class=\"advanced-pie-legend-wrapper\" [style.width.px]=\"width - dims.width\" [style.height.px]=\"height\">\n        <ngx-charts-advanced-legend\n          [data]=\"results\"\n          [colors]=\"colors\"\n          [width]=\"width - dims.width - margin[1]\"\n          [label]=\"label\"\n          [animations]=\"animations\"\n          [valueFormatting]=\"valueFormatting\"\n          [labelFormatting]=\"nameFormatting\"\n          [percentageFormatting]=\"percentageFormatting\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event, true)\"\n          (deactivate)=\"onDeactivate($event, true)\"\n        >\n        </ngx-charts-advanced-legend>\n      </div>\n    </div>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".advanced-pie{float:left}.advanced-pie,.advanced-pie-legend-wrapper{display:inline-block}"]
          }]
        }], null, {
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          nameFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          percentageFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var PieLabelComponent = /*#__PURE__*/function () {
        function PieLabelComponent() {
          _classCallCheck(this, PieLabelComponent);

          this.animations = true;
          this.labelTrim = true;
          this.labelTrimSize = 10;
          this.isIE = /(edge|msie|trident)/i.test(navigator.userAgent);
          this.trimLabel = trimLabel;
        }

        _createClass(PieLabelComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var startRadius = this.radius;

            if (this.explodeSlices) {
              startRadius = this.radius * this.value / this.max;
            }

            var innerArc = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["arc"])().innerRadius(startRadius).outerRadius(startRadius); // Calculate innerPos then scale outer position to match label position

            var innerPos = innerArc.centroid(this.data);
            var scale = this.data.pos[1] / innerPos[1];

            if (this.data.pos[1] === 0 || innerPos[1] === 0) {
              scale = 1;
            }

            var outerPos = [scale * innerPos[0], scale * innerPos[1]];
            this.line = "M".concat(innerPos, "L").concat(outerPos, "L").concat(this.data.pos);
          }
        }, {
          key: "textX",
          get: function get() {
            return this.data.pos[0];
          }
        }, {
          key: "textY",
          get: function get() {
            return this.data.pos[1];
          }
        }, {
          key: "styleTransform",
          get: function get() {
            return this.isIE ? null : "translate3d(".concat(this.textX, "px,").concat(this.textY, "px, 0)");
          }
        }, {
          key: "attrTransform",
          get: function get() {
            return !this.isIE ? null : "translate(".concat(this.textX, ",").concat(this.textY, ")");
          }
        }, {
          key: "textTransition",
          get: function get() {
            return this.isIE || !this.animations ? null : 'transform 0.75s';
          }
        }, {
          key: "textAnchor",
          value: function textAnchor() {
            return this.midAngle(this.data) < Math.PI ? 'start' : 'end';
          }
        }, {
          key: "midAngle",
          value: function midAngle(d) {
            return d.startAngle + (d.endAngle - d.startAngle) / 2;
          }
        }]);

        return PieLabelComponent;
      }();

      PieLabelComponent.ɵfac = function PieLabelComponent_Factory(t) {
        return new (t || PieLabelComponent)();
      };

      PieLabelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PieLabelComponent,
        selectors: [["g", "ngx-charts-pie-label", ""]],
        inputs: {
          animations: "animations",
          labelTrim: "labelTrim",
          labelTrimSize: "labelTrimSize",
          data: "data",
          radius: "radius",
          label: "label",
          color: "color",
          max: "max",
          value: "value",
          explodeSlices: "explodeSlices"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c37,
        decls: 6,
        vars: 17,
        consts: [["dy", ".35em", 1, "pie-label"], ["fill", "none", 1, "pie-label-line", "line"]],
        template: function PieLabelComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "title");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "text", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "path", 1);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.label);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("transform", ctx.styleTransform)("transition", ctx.textTransition);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.attrTransform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("text-anchor", ctx.textAnchor())("shape-rendering", "crispEdges");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("animation", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.labelTrim ? ctx.trimLabel(ctx.label, ctx.labelTrimSize) : ctx.label, " ");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("animation", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", ctx.line)("stroke", ctx.color);
          }
        },
        encapsulation: 2,
        changeDetection: 0
      });

      PieLabelComponent.ctorParameters = function () {
        return [];
      };

      PieLabelComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        radius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        color: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        max: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        value: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        explodeSlices: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelTrim: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelTrimSize: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieLabelComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-pie-label]',
            template: "\n    <title>{{ label }}</title>\n    <svg:g [attr.transform]=\"attrTransform\" [style.transform]=\"styleTransform\" [style.transition]=\"textTransition\">\n      <svg:text\n        class=\"pie-label\"\n        [class.animation]=\"animations\"\n        dy=\".35em\"\n        [style.textAnchor]=\"textAnchor()\"\n        [style.shapeRendering]=\"'crispEdges'\"\n      >\n        {{ labelTrim ? trimLabel(label, labelTrimSize) : label }}\n      </svg:text>\n    </svg:g>\n    <svg:path\n      [attr.d]=\"line\"\n      [attr.stroke]=\"color\"\n      fill=\"none\"\n      class=\"pie-label-line line\"\n      [class.animation]=\"animations\"\n    ></svg:path>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelTrim: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelTrimSize: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          radius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          color: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          max: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          value: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          explodeSlices: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var PieArcComponent = /*#__PURE__*/function () {
        function PieArcComponent(element) {
          _classCallCheck(this, PieArcComponent);

          this.startAngle = 0;
          this.endAngle = Math.PI * 2;
          this.cornerRadius = 0;
          this.explodeSlices = false;
          this.gradient = false;
          this.animate = true;
          this.pointerEvents = true;
          this.isActive = false;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.dblclick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.initialized = false;
          this.element = element.nativeElement;
        }

        _createClass(PieArcComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "getGradient",
          value: function getGradient() {
            return this.gradient ? this.gradientFill : this.fill;
          }
        }, {
          key: "getPointerEvents",
          value: function getPointerEvents() {
            return this.pointerEvents ? 'auto' : 'none';
          }
        }, {
          key: "update",
          value: function update() {
            var calc = this.calculateArc();
            this.startOpacity = 0.5;
            this.radialGradientId = 'linearGrad' + id().toString();
            this.gradientFill = "url(#".concat(this.radialGradientId, ")");

            if (this.animate) {
              if (this.initialized) {
                this.updateAnimation();
              } else {
                this.loadAnimation();
                this.initialized = true;
              }
            } else {
              this.path = calc.startAngle(this.startAngle).endAngle(this.endAngle)();
            }
          }
        }, {
          key: "calculateArc",
          value: function calculateArc() {
            var outerRadius = this.outerRadius;

            if (this.explodeSlices && this.innerRadius === 0) {
              outerRadius = this.outerRadius * this.value / this.max;
            }

            return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["arc"])().innerRadius(this.innerRadius).outerRadius(outerRadius).cornerRadius(this.cornerRadius);
          }
        }, {
          key: "loadAnimation",
          value: function loadAnimation() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).selectAll('.arc').data([{
              startAngle: this.startAngle,
              endAngle: this.endAngle
            }]);
            var calc = this.calculateArc();
            node.transition().attrTween('d', function (d) {
              this._current = this._current || d;
              var copyOfD = Object.assign({}, d);
              copyOfD.endAngle = copyOfD.startAngle;
              var interpolater = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_13__["interpolate"])(copyOfD, copyOfD);
              this._current = interpolater(0);
              return function (t) {
                return calc(interpolater(t));
              };
            }).transition().duration(750).attrTween('d', function (d) {
              this._current = this._current || d;
              var interpolater = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_13__["interpolate"])(this._current, d);
              this._current = interpolater(0);
              return function (t) {
                return calc(interpolater(t));
              };
            });
          }
        }, {
          key: "updateAnimation",
          value: function updateAnimation() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).selectAll('.arc').data([{
              startAngle: this.startAngle,
              endAngle: this.endAngle
            }]);
            var calc = this.calculateArc();
            node.transition().duration(750).attrTween('d', function (d) {
              this._current = this._current || d;
              var interpolater = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_13__["interpolate"])(this._current, d);
              this._current = interpolater(0);
              return function (t) {
                return calc(interpolater(t));
              };
            });
          }
        }, {
          key: "onClick",
          value: function onClick() {
            var _this62 = this;

            clearTimeout(this._timeout);
            this._timeout = setTimeout(function () {
              return _this62.select.emit(_this62.data);
            }, 200);
          }
        }, {
          key: "onDblClick",
          value: function onDblClick(event) {
            event.preventDefault();
            event.stopPropagation();
            clearTimeout(this._timeout);
            this.dblclick.emit({
              data: this.data,
              nativeEvent: event
            });
          }
        }]);

        return PieArcComponent;
      }();

      PieArcComponent.ɵfac = function PieArcComponent_Factory(t) {
        return new (t || PieArcComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      PieArcComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PieArcComponent,
        selectors: [["g", "ngx-charts-pie-arc", ""]],
        inputs: {
          startAngle: "startAngle",
          endAngle: "endAngle",
          cornerRadius: "cornerRadius",
          explodeSlices: "explodeSlices",
          gradient: "gradient",
          animate: "animate",
          pointerEvents: "pointerEvents",
          isActive: "isActive",
          fill: "fill",
          innerRadius: "innerRadius",
          outerRadius: "outerRadius",
          value: "value",
          max: "max",
          data: "data"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dblclick: "dblclick"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c38,
        decls: 3,
        vars: 7,
        consts: [[1, "arc-group"], [4, "ngIf"], [1, "arc", 3, "click", "dblclick", "mouseenter", "mouseleave"], ["ngx-charts-svg-radial-gradient", "", "orientation", "vertical", 3, "color", "name", "startOpacity"]],
        template: function PieArcComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PieArcComponent__svg_defs_1_Template, 2, 3, "defs", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "path", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PieArcComponent_Template__svg_path_click_2_listener() {
              return ctx.onClick();
            })("dblclick", function PieArcComponent_Template__svg_path_dblclick_2_listener($event) {
              return ctx.onDblClick($event);
            })("mouseenter", function PieArcComponent_Template__svg_path_mouseenter_2_listener() {
              return ctx.activate.emit(ctx.data);
            })("mouseleave", function PieArcComponent_Template__svg_path_mouseleave_2_listener() {
              return ctx.deactivate.emit(ctx.data);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.gradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("pointer-events", ctx.getPointerEvents());

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.isActive);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("d", ctx.path)("fill", ctx.getGradient());
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SvgRadialGradientComponent],
        encapsulation: 2,
        changeDetection: 0
      });

      PieArcComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      PieArcComponent.propDecorators = {
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startAngle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        endAngle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        innerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        outerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cornerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        value: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        max: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        explodeSlices: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        pointerEvents: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        isActive: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        dblclick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieArcComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-pie-arc]',
            template: "\n    <svg:g class=\"arc-group\">\n      <svg:defs *ngIf=\"gradient\">\n        <svg:g\n          ngx-charts-svg-radial-gradient\n          [color]=\"fill\"\n          orientation=\"vertical\"\n          [name]=\"radialGradientId\"\n          [startOpacity]=\"startOpacity\"\n        />\n      </svg:defs>\n      <svg:path\n        [attr.d]=\"path\"\n        class=\"arc\"\n        [class.active]=\"isActive\"\n        [attr.fill]=\"getGradient()\"\n        (click)=\"onClick()\"\n        (dblclick)=\"onDblClick($event)\"\n        (mouseenter)=\"activate.emit(data)\"\n        (mouseleave)=\"deactivate.emit(data)\"\n        [style.pointer-events]=\"getPointerEvents()\"\n      />\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          startAngle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          endAngle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cornerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          explodeSlices: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          pointerEvents: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          isActive: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dblclick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          innerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          outerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          value: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          max: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var PieChartComponent = /*#__PURE__*/function (_BaseChartComponent17) {
        _inherits(PieChartComponent, _BaseChartComponent17);

        var _super18 = _createSuper(PieChartComponent);

        function PieChartComponent() {
          var _this63;

          _classCallCheck(this, PieChartComponent);

          _this63 = _super18.apply(this, arguments);
          _this63.labels = false;
          _this63.legend = false;
          _this63.legendTitle = 'Legend';
          _this63.legendPosition = 'right';
          _this63.explodeSlices = false;
          _this63.doughnut = false;
          _this63.arcWidth = 0.25;
          _this63.activeEntries = [];
          _this63.tooltipDisabled = false;
          _this63.trimLabels = true;
          _this63.maxLabelLength = 10;
          _this63.dblclick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this63.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this63.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this63.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          return _this63;
        }

        _createClass(PieChartComponent, [{
          key: "update",
          value: function update() {
            var _this64 = this;

            _get(_getPrototypeOf(PieChartComponent.prototype), "update", this).call(this);

            if (this.labels && this.hasNoOptionalMarginsSet()) {
              this.margins = [30, 80, 30, 80];
            } else if (!this.labels && this.hasNoOptionalMarginsSet()) {
              // default value for margins
              this.margins = [20, 20, 20, 20];
            }

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margins,
              showLegend: this.legend,
              legendPosition: this.legendPosition
            });
            this.formatDates();
            var xOffset = this.margins[3] + this.dims.width / 2;
            var yOffset = this.margins[0] + this.dims.height / 2;
            this.translation = "translate(".concat(xOffset, ", ").concat(yOffset, ")");
            this.outerRadius = Math.min(this.dims.width, this.dims.height);

            if (this.labels) {
              // make room for labels
              this.outerRadius /= 3;
            } else {
              this.outerRadius /= 2;
            }

            this.innerRadius = 0;

            if (this.doughnut) {
              this.innerRadius = this.outerRadius * (1 - this.arcWidth);
            }

            this.domain = this.getDomain(); // sort data according to domain

            this.data = this.results.sort(function (a, b) {
              return _this64.domain.indexOf(a.name) - _this64.domain.indexOf(b.name);
            });
            this.setColors();
            this.legendOptions = this.getLegendOptions();
          }
        }, {
          key: "getDomain",
          value: function getDomain() {
            return this.results.map(function (d) {
              return d.label;
            });
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            return {
              scaleType: 'ordinal',
              domain: this.domain,
              colors: this.colors,
              title: this.legendTitle,
              position: this.legendPosition
            };
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "hasNoOptionalMarginsSet",
          value: function hasNoOptionalMarginsSet() {
            return !this.margins || this.margins.length <= 0;
          }
        }]);

        return PieChartComponent;
      }(BaseChartComponent);

      PieChartComponent.ɵfac = function PieChartComponent_Factory(t) {
        return ɵPieChartComponent_BaseFactory(t || PieChartComponent);
      };

      PieChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PieChartComponent,
        selectors: [["ngx-charts-pie-chart"]],
        contentQueries: function PieChartComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          labels: "labels",
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          explodeSlices: "explodeSlices",
          doughnut: "doughnut",
          arcWidth: "arcWidth",
          activeEntries: "activeEntries",
          tooltipDisabled: "tooltipDisabled",
          trimLabels: "trimLabels",
          maxLabelLength: "maxLabelLength",
          margins: "margins",
          gradient: "gradient",
          labelFormatting: "labelFormatting",
          tooltipText: "tooltipText"
        },
        outputs: {
          dblclick: "dblclick",
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 3,
        vars: 24,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelActivate", "legendLabelDeactivate", "legendLabelClick"], [1, "pie-chart", "chart"], ["ngx-charts-pie-series", "", 3, "colors", "series", "showLabels", "labelFormatting", "trimLabels", "maxLabelLength", "activeEntries", "innerRadius", "outerRadius", "explodeSlices", "gradient", "animations", "tooltipDisabled", "tooltipTemplate", "tooltipText", "dblclick", "select", "activate", "deactivate"]],
        template: function PieChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelActivate", function PieChartComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event, true);
            })("legendLabelDeactivate", function PieChartComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event, true);
            })("legendLabelClick", function PieChartComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("dblclick", function PieChartComponent_Template__svg_g_dblclick_2_listener($event) {
              return ctx.dblclick.emit($event);
            })("select", function PieChartComponent_Template__svg_g_select_2_listener($event) {
              return ctx.onClick($event);
            })("activate", function PieChartComponent_Template__svg_g_activate_2_listener($event) {
              return ctx.onActivate($event);
            })("deactivate", function PieChartComponent_Template__svg_g_deactivate_2_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](21, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.translation);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("colors", ctx.colors)("series", ctx.data)("showLabels", ctx.labels)("labelFormatting", ctx.labelFormatting)("trimLabels", ctx.trimLabels)("maxLabelLength", ctx.maxLabelLength)("activeEntries", ctx.activeEntries)("innerRadius", ctx.innerRadius)("outerRadius", ctx.outerRadius)("explodeSlices", ctx.explodeSlices)("gradient", ctx.gradient)("animations", ctx.animations)("tooltipDisabled", ctx.tooltipDisabled)("tooltipTemplate", ctx.tooltipTemplate)("tooltipText", ctx.tooltipText);
          }
        },
        directives: function directives() {
          return [ChartComponent, PieSeriesComponent];
        },
        styles: [_c24, _c39],
        encapsulation: 2,
        changeDetection: 0
      });
      PieChartComponent.propDecorators = {
        labels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        explodeSlices: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        doughnut: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        arcWidth: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimLabels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxLabelLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dblclick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        margins: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵPieChartComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PieChartComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-pie-chart',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"translation\" class=\"pie-chart chart\">\n        <svg:g\n          ngx-charts-pie-series\n          [colors]=\"colors\"\n          [series]=\"data\"\n          [showLabels]=\"labels\"\n          [labelFormatting]=\"labelFormatting\"\n          [trimLabels]=\"trimLabels\"\n          [maxLabelLength]=\"maxLabelLength\"\n          [activeEntries]=\"activeEntries\"\n          [innerRadius]=\"innerRadius\"\n          [outerRadius]=\"outerRadius\"\n          [explodeSlices]=\"explodeSlices\"\n          [gradient]=\"gradient\"\n          [animations]=\"animations\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [tooltipText]=\"tooltipText\"\n          (dblclick)=\"dblclick.emit($event)\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event)\"\n          (deactivate)=\"onDeactivate($event)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}"]
          }]
        }], null, {
          labels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          explodeSlices: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          doughnut: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          arcWidth: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimLabels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxLabelLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dblclick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          margins: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      function gridSize(dims, len, minWidth) {
        var rows = 1;
        var cols = len;
        var width = dims.width;

        if (width > minWidth) {
          while (width / cols < minWidth) {
            rows += 1;
            cols = Math.ceil(len / rows);
          }
        }

        return [cols, rows];
      }

      function gridLayout(dims, data, minWidth, designatedTotal) {
        var xScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])();
        var yScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])();
        var width = dims.width;
        var height = dims.height;

        var _gridSize = gridSize(dims, data.length, minWidth),
            _gridSize2 = _slicedToArray(_gridSize, 2),
            columns = _gridSize2[0],
            rows = _gridSize2[1];

        var xDomain = [];
        var yDomain = [];

        for (var i = 0; i < rows; i++) {
          yDomain.push(i);
        }

        for (var _i2 = 0; _i2 < columns; _i2++) {
          xDomain.push(_i2);
        }

        xScale.domain(xDomain);
        yScale.domain(yDomain);
        xScale.rangeRound([0, width], 0.1);
        yScale.rangeRound([0, height], 0.1);
        var res = [];
        var total = designatedTotal ? designatedTotal : getTotal(data);
        var cardWidth = xScale.bandwidth();
        var cardHeight = yScale.bandwidth();

        for (var _i3 = 0; _i3 < data.length; _i3++) {
          res[_i3] = {};
          res[_i3].data = {
            name: data[_i3] ? data[_i3].name : '',
            value: data[_i3] ? data[_i3].value : undefined,
            extra: data[_i3] ? data[_i3].extra : undefined,
            label: data[_i3] ? data[_i3].label : ''
          };
          res[_i3].x = xScale(_i3 % columns);
          res[_i3].y = yScale(Math.floor(_i3 / columns));
          res[_i3].width = cardWidth;
          res[_i3].height = cardHeight;
          res[_i3].data.percent = total > 0 ? res[_i3].data.value / total : 0;
          res[_i3].data.total = total;
        }

        return res;
      }

      function getTotal(results) {
        return results.map(function (d) {
          return d ? d.value : 0;
        }).reduce(function (sum, val) {
          return sum + val;
        }, 0);
      }

      var PieGridComponent = /*#__PURE__*/function (_BaseChartComponent18) {
        _inherits(PieGridComponent, _BaseChartComponent18);

        var _super19 = _createSuper(PieGridComponent);

        function PieGridComponent() {
          var _this65;

          _classCallCheck(this, PieGridComponent);

          _this65 = _super19.apply(this, arguments);
          _this65.tooltipDisabled = false;
          _this65.label = 'Total';
          _this65.minWidth = 150;
          _this65.activeEntries = [];
          _this65.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this65.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this65.margin = [20, 20, 20, 20];
          return _this65;
        }

        _createClass(PieGridComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(PieGridComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin
            });
            this.formatDates();
            this.domain = this.getDomain();
            this.data = gridLayout(this.dims, this.results, this.minWidth, this.designatedTotal);
            this.transform = "translate(".concat(this.margin[3], " , ").concat(this.margin[0], ")");
            this.series = this.getSeries();
            this.setColors();
            this.tooltipText = this.tooltipText || this.defaultTooltipText;
          }
        }, {
          key: "defaultTooltipText",
          value: function defaultTooltipText(_ref50) {
            var data = _ref50.data;
            var label = trimLabel(formatLabel(data.name));
            var val = data.value.toLocaleString();
            return "\n      <span class=\"tooltip-label\">".concat(label, "</span>\n      <span class=\"tooltip-val\">").concat(val, "</span>\n    ");
          }
        }, {
          key: "getDomain",
          value: function getDomain() {
            return this.results.map(function (d) {
              return d.label;
            });
          }
        }, {
          key: "getSeries",
          value: function getSeries() {
            var _this66 = this;

            var total = this.designatedTotal ? this.designatedTotal : this.getTotal();
            return this.data.map(function (d) {
              var baselineLabelHeight = 20;
              var padding = 10;
              var name = d.data.name;
              var label = formatLabel(name);
              var value = d.data.value;
              var radius = Object(d3_array__WEBPACK_IMPORTED_MODULE_12__["min"])([d.width - padding, d.height - baselineLabelHeight]) / 2 - 5;
              var innerRadius = radius * 0.9;
              var count = 0;

              var colors = function colors() {
                count += 1;

                if (count === 1) {
                  return 'rgba(100,100,100,0.3)';
                } else {
                  return _this66.colorScale.getColor(label);
                }
              };

              var xPos = d.x + (d.width - padding) / 2;
              var yPos = d.y + (d.height - baselineLabelHeight) / 2;
              return {
                transform: "translate(".concat(xPos, ", ").concat(yPos, ")"),
                colors: colors,
                innerRadius: innerRadius,
                outerRadius: radius,
                name: name,
                label: trimLabel(label),
                total: value,
                value: value,
                percent: Object(d3_format__WEBPACK_IMPORTED_MODULE_14__["format"])('.1%')(d.data.percent),
                data: [d, {
                  data: {
                    other: true,
                    value: total - value,
                    name: d.data.name
                  }
                }]
              };
            });
          }
        }, {
          key: "getTotal",
          value: function getTotal() {
            return this.results.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return sum + d;
            }, 0);
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colorScale = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
            item = this.results.find(function (d) {
              if (fromLegend) {
                return d.label === item.name;
              } else {
                return d.name === item.name;
              }
            });
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value && d.series === item.series;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }]);

        return PieGridComponent;
      }(BaseChartComponent);

      PieGridComponent.ɵfac = function PieGridComponent_Factory(t) {
        return ɵPieGridComponent_BaseFactory(t || PieGridComponent);
      };

      PieGridComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PieGridComponent,
        selectors: [["ngx-charts-pie-grid"]],
        contentQueries: function PieGridComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          tooltipDisabled: "tooltipDisabled",
          label: "label",
          minWidth: "minWidth",
          activeEntries: "activeEntries",
          tooltipText: "tooltipText",
          designatedTotal: "designatedTotal"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 3,
        vars: 8,
        consts: [[3, "view", "showLegend", "animations"], [1, "pie-grid", "chart"], ["class", "pie-grid-item", 4, "ngFor", "ngForOf"], [1, "pie-grid-item"], ["ngx-charts-pie-grid-series", "", "ngx-tooltip", "", 3, "colors", "data", "innerRadius", "outerRadius", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate"], ["class", "label percent-label", "dy", "-0.5em", "x", "0", "y", "5", "ngx-charts-count-up", "", "text-anchor", "middle", 3, "countTo", "countSuffix", 4, "ngIf"], ["class", "label percent-label", "dy", "-0.5em", "x", "0", "y", "5", "text-anchor", "middle", 4, "ngIf"], ["dy", "0.5em", "x", "0", "y", "5", "text-anchor", "middle", 1, "label"], ["class", "label", "dy", "1.23em", "x", "0", "text-anchor", "middle", "ngx-charts-count-up", "", 3, "countTo", "countPrefix", 4, "ngIf"], ["class", "label", "dy", "1.23em", "x", "0", "text-anchor", "middle", 4, "ngIf"], ["dy", "-0.5em", "x", "0", "y", "5", "ngx-charts-count-up", "", "text-anchor", "middle", 1, "label", "percent-label", 3, "countTo", "countSuffix"], ["dy", "-0.5em", "x", "0", "y", "5", "text-anchor", "middle", 1, "label", "percent-label"], ["dy", "1.23em", "x", "0", "text-anchor", "middle", "ngx-charts-count-up", "", 1, "label", 3, "countTo", "countPrefix"], ["dy", "1.23em", "x", "0", "text-anchor", "middle", 1, "label"]],
        template: function PieGridComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PieGridComponent__svg_g_2_Template, 8, 19, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](5, _c23, ctx.width, ctx.height))("showLegend", false)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.series);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], PieGridSeriesComponent, TooltipDirective, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], CountUpDirective];
        },
        styles: [_c24, ".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}"],
        encapsulation: 2,
        changeDetection: 0
      });
      PieGridComponent.propDecorators = {
        designatedTotal: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        minWidth: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵPieGridComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PieGridComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieGridComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-pie-grid',
            template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n      <svg:g [attr.transform]=\"transform\" class=\"pie-grid chart\">\n        <svg:g *ngFor=\"let series of series\" class=\"pie-grid-item\" [attr.transform]=\"series.transform\">\n          <svg:g\n            ngx-charts-pie-grid-series\n            [colors]=\"series.colors\"\n            [data]=\"series.data\"\n            [innerRadius]=\"series.innerRadius\"\n            [outerRadius]=\"series.outerRadius\"\n            [animations]=\"animations\"\n            (select)=\"onClick($event)\"\n            ngx-tooltip\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipPlacement]=\"'top'\"\n            [tooltipType]=\"'tooltip'\"\n            [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText({ data: series })\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [tooltipContext]=\"series.data[0].data\"\n            (activate)=\"onActivate($event)\"\n            (deactivate)=\"onDeactivate($event)\"\n          />\n          <svg:text\n            *ngIf=\"animations\"\n            class=\"label percent-label\"\n            dy=\"-0.5em\"\n            x=\"0\"\n            y=\"5\"\n            ngx-charts-count-up\n            [countTo]=\"series.percent\"\n            [countSuffix]=\"'%'\"\n            text-anchor=\"middle\"\n          ></svg:text>\n          <svg:text *ngIf=\"!animations\" class=\"label percent-label\" dy=\"-0.5em\" x=\"0\" y=\"5\" text-anchor=\"middle\">\n            {{ series.percent.toLocaleString() }}\n          </svg:text>\n          <svg:text class=\"label\" dy=\"0.5em\" x=\"0\" y=\"5\" text-anchor=\"middle\">\n            {{ series.label }}\n          </svg:text>\n          <svg:text\n            *ngIf=\"animations\"\n            class=\"label\"\n            dy=\"1.23em\"\n            x=\"0\"\n            [attr.y]=\"series.outerRadius\"\n            text-anchor=\"middle\"\n            ngx-charts-count-up\n            [countTo]=\"series.total\"\n            [countPrefix]=\"label + ': '\"\n          ></svg:text>\n          <svg:text\n            *ngIf=\"!animations\"\n            class=\"label\"\n            dy=\"1.23em\"\n            x=\"0\"\n            [attr.y]=\"series.outerRadius\"\n            text-anchor=\"middle\"\n          >\n            {{ label }}: {{ series.total.toLocaleString() }}\n          </svg:text>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}"]
          }]
        }], null, {
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          minWidth: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          designatedTotal: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var PieGridSeriesComponent = /*#__PURE__*/function () {
        function PieGridSeriesComponent(element) {
          _classCallCheck(this, PieGridSeriesComponent);

          this.innerRadius = 70;
          this.outerRadius = 80;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.element = element.nativeElement;
        }

        _createClass(PieGridSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.layout = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["pie"])().value(function (d) {
              return d.data.value;
            }).sort(null);
            this.arcs = this.getArcs();
          }
        }, {
          key: "getArcs",
          value: function getArcs() {
            var _this67 = this;

            return this.layout(this.data).map(function (arc, index) {
              var label = arc.data.data.name;
              var other = arc.data.data.other;

              if (index === 0) {
                arc.startAngle = 0;
              }

              var color = _this67.colors(label);

              return {
                data: arc.data.data,
                "class": 'arc ' + 'arc' + index,
                fill: color,
                startAngle: other ? 0 : arc.startAngle,
                endAngle: arc.endAngle,
                animate: _this67.animations && !other,
                pointerEvents: !other
              };
            });
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(this.data[0].data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.data.name;
          }
        }, {
          key: "label",
          value: function label(arc) {
            return arc.data.name;
          }
        }, {
          key: "color",
          value: function color(arc) {
            return this.colors(this.label(arc));
          }
        }]);

        return PieGridSeriesComponent;
      }();

      PieGridSeriesComponent.ɵfac = function PieGridSeriesComponent_Factory(t) {
        return new (t || PieGridSeriesComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      PieGridSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PieGridSeriesComponent,
        selectors: [["g", "ngx-charts-pie-grid-series", ""]],
        inputs: {
          innerRadius: "innerRadius",
          outerRadius: "outerRadius",
          animations: "animations",
          colors: "colors",
          data: "data"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c41,
        decls: 2,
        vars: 2,
        consts: [[1, "pie-grid-arcs"], ["ngx-charts-pie-arc", "", 3, "startAngle", "endAngle", "innerRadius", "outerRadius", "fill", "value", "data", "gradient", "pointerEvents", "animate", "select", "activate", "deactivate", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-pie-arc", "", 3, "startAngle", "endAngle", "innerRadius", "outerRadius", "fill", "value", "data", "gradient", "pointerEvents", "animate", "select", "activate", "deactivate"]],
        template: function PieGridSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PieGridSeriesComponent__svg_g_1_Template, 1, 11, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.arcs)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], PieArcComponent],
        encapsulation: 2,
        changeDetection: 0
      });

      PieGridSeriesComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      PieGridSeriesComponent.propDecorators = {
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        innerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        outerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieGridSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-pie-grid-series]',
            template: "\n    <svg:g class=\"pie-grid-arcs\">\n      <svg:g\n        ngx-charts-pie-arc\n        *ngFor=\"let arc of arcs; trackBy: trackBy\"\n        [attr.class]=\"arc.class\"\n        [startAngle]=\"arc.startAngle\"\n        [endAngle]=\"arc.endAngle\"\n        [innerRadius]=\"innerRadius\"\n        [outerRadius]=\"outerRadius\"\n        [fill]=\"color(arc)\"\n        [value]=\"arc.data.value\"\n        [data]=\"arc.data\"\n        [gradient]=\"false\"\n        [pointerEvents]=\"arc.pointerEvents\"\n        [animate]=\"arc.animate\"\n        (select)=\"onClick($event)\"\n        (activate)=\"activate.emit($event)\"\n        (deactivate)=\"deactivate.emit($event)\"\n      ></svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          innerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          outerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var PieSeriesComponent = /*#__PURE__*/function () {
        function PieSeriesComponent() {
          _classCallCheck(this, PieSeriesComponent);

          this.series = [];
          this.innerRadius = 60;
          this.outerRadius = 80;
          this.trimLabels = true;
          this.maxLabelLength = 10;
          this.tooltipDisabled = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.dblclick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(PieSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            var pieGenerator = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["pie"])().value(function (d) {
              return d.value;
            }).sort(null);
            var arcData = pieGenerator(this.series);
            this.max = Object(d3_array__WEBPACK_IMPORTED_MODULE_12__["max"])(arcData, function (d) {
              return d.value;
            });
            this.data = this.calculateLabelPositions(arcData);
            this.tooltipText = this.tooltipText || this.defaultTooltipText;
          }
        }, {
          key: "midAngle",
          value: function midAngle(d) {
            return d.startAngle + (d.endAngle - d.startAngle) / 2;
          }
        }, {
          key: "outerArc",
          value: function outerArc() {
            var factor = 1.5;
            return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["arc"])().innerRadius(this.outerRadius * factor).outerRadius(this.outerRadius * factor);
          }
        }, {
          key: "calculateLabelPositions",
          value: function calculateLabelPositions(pieData) {
            var _this68 = this;

            var factor = 1.5;
            var minDistance = 10;
            var labelPositions = pieData;
            labelPositions.forEach(function (d) {
              d.pos = _this68.outerArc().centroid(d);
              d.pos[0] = factor * _this68.outerRadius * (_this68.midAngle(d) < Math.PI ? 1 : -1);
            });

            for (var i = 0; i < labelPositions.length - 1; i++) {
              var a = labelPositions[i];

              if (!this.labelVisible(a)) {
                continue;
              }

              for (var j = i + 1; j < labelPositions.length; j++) {
                var b = labelPositions[j];

                if (!this.labelVisible(b)) {
                  continue;
                } // if they're on the same side


                if (b.pos[0] * a.pos[0] > 0) {
                  // if they're overlapping
                  var o = minDistance - Math.abs(b.pos[1] - a.pos[1]);

                  if (o > 0) {
                    // push the second up or down
                    b.pos[1] += Math.sign(b.pos[0]) * o;
                  }
                }
              }
            }

            return labelPositions;
          }
        }, {
          key: "labelVisible",
          value: function labelVisible(myArc) {
            return this.showLabels && myArc.endAngle - myArc.startAngle > Math.PI / 30;
          }
        }, {
          key: "getTooltipTitle",
          value: function getTooltipTitle(a) {
            return this.tooltipTemplate ? undefined : this.tooltipText(a);
          }
        }, {
          key: "labelText",
          value: function labelText(myArc) {
            if (this.labelFormatting) {
              return this.labelFormatting(myArc.data.name);
            }

            return this.label(myArc);
          }
        }, {
          key: "label",
          value: function label(myArc) {
            return formatLabel(myArc.data.name);
          }
        }, {
          key: "defaultTooltipText",
          value: function defaultTooltipText(myArc) {
            var label = this.label(myArc);
            var val = formatLabel(myArc.data.value);
            return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(val, "</span>\n    ");
          }
        }, {
          key: "color",
          value: function color(myArc) {
            return this.colors.getColor(this.label(myArc));
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.data.name;
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name && entry.series === d.series;
            });
            return item !== undefined;
          }
        }]);

        return PieSeriesComponent;
      }();

      PieSeriesComponent.ɵfac = function PieSeriesComponent_Factory(t) {
        return new (t || PieSeriesComponent)();
      };

      PieSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PieSeriesComponent,
        selectors: [["g", "ngx-charts-pie-series", ""]],
        inputs: {
          series: "series",
          innerRadius: "innerRadius",
          outerRadius: "outerRadius",
          trimLabels: "trimLabels",
          maxLabelLength: "maxLabelLength",
          tooltipDisabled: "tooltipDisabled",
          animations: "animations",
          tooltipText: "tooltipText",
          colors: "colors",
          dims: "dims",
          explodeSlices: "explodeSlices",
          showLabels: "showLabels",
          gradient: "gradient",
          activeEntries: "activeEntries",
          labelFormatting: "labelFormatting",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dblclick: "dblclick"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c42,
        decls: 1,
        vars: 2,
        consts: [[4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-pie-label", "", 3, "data", "radius", "color", "label", "labelTrim", "labelTrimSize", "max", "value", "explodeSlices", "animations", 4, "ngIf"], ["ngx-charts-pie-arc", "", "ngx-tooltip", "", 3, "startAngle", "endAngle", "innerRadius", "outerRadius", "fill", "value", "gradient", "data", "max", "explodeSlices", "isActive", "animate", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate", "dblclick"], ["ngx-charts-pie-label", "", 3, "data", "radius", "color", "label", "labelTrim", "labelTrimSize", "max", "value", "explodeSlices", "animations"]],
        template: function PieSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PieSeriesComponent__svg_g_0_Template, 3, 19, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.data)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], PieArcComponent, TooltipDirective, PieLabelComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      PieSeriesComponent.propDecorators = {
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        series: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        innerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        outerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        explodeSlices: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showLabels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        trimLabels: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        maxLabelLength: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        dblclick: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-pie-series]',
            template: "\n    <svg:g *ngFor=\"let arc of data; trackBy: trackBy\">\n      <svg:g\n        ngx-charts-pie-label\n        *ngIf=\"labelVisible(arc)\"\n        [data]=\"arc\"\n        [radius]=\"outerRadius\"\n        [color]=\"color(arc)\"\n        [label]=\"labelText(arc)\"\n        [labelTrim]=\"trimLabels\"\n        [labelTrimSize]=\"maxLabelLength\"\n        [max]=\"max\"\n        [value]=\"arc.value\"\n        [explodeSlices]=\"explodeSlices\"\n        [animations]=\"animations\"\n      ></svg:g>\n      <svg:g\n        ngx-charts-pie-arc\n        [startAngle]=\"arc.startAngle\"\n        [endAngle]=\"arc.endAngle\"\n        [innerRadius]=\"innerRadius\"\n        [outerRadius]=\"outerRadius\"\n        [fill]=\"color(arc)\"\n        [value]=\"arc.data.value\"\n        [gradient]=\"gradient\"\n        [data]=\"arc.data\"\n        [max]=\"max\"\n        [explodeSlices]=\"explodeSlices\"\n        [isActive]=\"isActive(arc.data)\"\n        [animate]=\"animations\"\n        (select)=\"onClick($event)\"\n        (activate)=\"activate.emit($event)\"\n        (deactivate)=\"deactivate.emit($event)\"\n        (dblclick)=\"dblclick.emit($event)\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'top'\"\n        [tooltipType]=\"'tooltip'\"\n        [tooltipTitle]=\"getTooltipTitle(arc)\"\n        [tooltipTemplate]=\"tooltipTemplate\"\n        [tooltipContext]=\"arc.data\"\n      ></svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          series: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          innerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          outerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          trimLabels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          maxLabelLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          dblclick: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          tooltipText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          explodeSlices: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showLabels: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var PieChartModule = function PieChartModule() {
        _classCallCheck(this, PieChartModule);
      };

      PieChartModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: PieChartModule
      });
      PieChartModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function PieChartModule_Factory(t) {
          return new (t || PieChartModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](PieChartModule, {
          declarations: [AdvancedPieChartComponent, PieLabelComponent, PieArcComponent, PieChartComponent, PieGridComponent, PieGridSeriesComponent, PieSeriesComponent],
          imports: [ChartCommonModule],
          exports: [AdvancedPieChartComponent, PieLabelComponent, PieArcComponent, PieChartComponent, PieGridComponent, PieGridSeriesComponent, PieSeriesComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PieChartModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [AdvancedPieChartComponent, PieLabelComponent, PieArcComponent, PieChartComponent, PieGridComponent, PieGridSeriesComponent, PieSeriesComponent],
            exports: [AdvancedPieChartComponent, PieLabelComponent, PieArcComponent, PieChartComponent, PieGridComponent, PieGridSeriesComponent, PieSeriesComponent]
          }]
        }], null, null);
      })();

      var PolarChartModule = function PolarChartModule() {
        _classCallCheck(this, PolarChartModule);
      };

      PolarChartModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: PolarChartModule
      });
      PolarChartModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function PolarChartModule_Factory(t) {
          return new (t || PolarChartModule)();
        },
        imports: [[ChartCommonModule, PieChartModule, LineChartModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](PolarChartModule, {
          declarations: [PolarChartComponent, PolarSeriesComponent],
          imports: [ChartCommonModule, PieChartModule, LineChartModule],
          exports: [PolarChartComponent, PolarSeriesComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PolarChartModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule, PieChartModule, LineChartModule],
            declarations: [PolarChartComponent, PolarSeriesComponent],
            exports: [PolarChartComponent, PolarSeriesComponent]
          }]
        }], null, null);
      })();

      var CardComponent = /*#__PURE__*/function () {
        function CardComponent(element, cd, zone) {
          _classCallCheck(this, CardComponent);

          this.cd = cd;
          this.zone = zone;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.value = '';
          this.textFontSize = 12;
          this.textTransform = '';
          this.initialized = false;
          this.bandHeight = 10;
          this.textPadding = [10, 20, 5, 20];
          this.labelFontSize = 15;
          this.element = element.nativeElement;
        }

        _createClass(CardComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "ngOnDestroy",
          value: function ngOnDestroy() {
            cancelAnimationFrame(this.animationReq);
          }
        }, {
          key: "update",
          value: function update() {
            var _this69 = this;

            this.zone.run(function () {
              var hasValue = _this69.data && typeof _this69.data.value !== 'undefined';

              var valueFormatting = _this69.valueFormatting || function (card) {
                return card.value.toLocaleString();
              };

              var labelFormatting = _this69.labelFormatting || function (card) {
                return escapeLabel(trimLabel(card.label, 55));
              };

              _this69.transform = "translate(".concat(_this69.x, " , ").concat(_this69.y, ")");
              _this69.textWidth = Math.max(0, _this69.width) - _this69.textPadding[1] - _this69.textPadding[3];
              _this69.cardWidth = Math.max(0, _this69.width);
              _this69.cardHeight = Math.max(0, _this69.height);
              _this69.label = _this69.label ? _this69.label : _this69.data.name;
              var cardData = {
                label: _this69.label,
                data: _this69.data,
                value: _this69.data.value
              };
              _this69.formattedLabel = labelFormatting(cardData);
              _this69.transformBand = "translate(0 , ".concat(_this69.cardHeight - _this69.bandHeight, ")");
              var value = hasValue ? valueFormatting(cardData) : '';
              _this69.value = _this69.paddedValue(value);

              _this69.setPadding();

              _this69.bandPath = roundedRect(0, 0, _this69.cardWidth, _this69.bandHeight, 3, [false, false, true, true]);
              setTimeout(function () {
                _this69.scaleText();

                _this69.value = value;

                if (hasValue && !_this69.initialized) {
                  setTimeout(function () {
                    return _this69.startCount();
                  }, 20);
                }
              }, 8);
            });
          }
        }, {
          key: "paddedValue",
          value: function paddedValue(value) {
            if (this.medianSize && this.medianSize > value.length) {
              value += "\u2007".repeat(this.medianSize - value.length);
            }

            return value;
          }
        }, {
          key: "startCount",
          value: function startCount() {
            var _this70 = this;

            if (!this.initialized && this.animations) {
              cancelAnimationFrame(this.animationReq);
              var val = this.data.value;
              var decs = decimalChecker(val);

              var valueFormatting = this.valueFormatting || function (card) {
                return card.value.toLocaleString();
              };

              var callback = function callback(_ref51) {
                var value = _ref51.value,
                    finished = _ref51.finished;

                _this70.zone.run(function () {
                  value = finished ? val : value;
                  _this70.value = valueFormatting({
                    label: _this70.label,
                    data: _this70.data,
                    value: value
                  });

                  if (!finished) {
                    _this70.value = _this70.paddedValue(_this70.value);
                  }

                  _this70.cd.markForCheck();
                });
              };

              this.animationReq = count(0, val, decs, 1, callback);
              this.initialized = true;
            }
          }
        }, {
          key: "scaleText",
          value: function scaleText() {
            var _this71 = this;

            this.zone.run(function () {
              var _this71$textEl$native = _this71.textEl.nativeElement.getBoundingClientRect(),
                  width = _this71$textEl$native.width,
                  height = _this71$textEl$native.height;

              if (width === 0 || height === 0) {
                return;
              }

              var textPadding = _this71.textPadding[1] = _this71.textPadding[3] = _this71.cardWidth / 8;
              var availableWidth = _this71.cardWidth - 2 * textPadding;
              var availableHeight = _this71.cardHeight / 3;
              var resizeScale = Math.min(availableWidth / width, availableHeight / height);
              _this71.textFontSize = Math.floor(_this71.textFontSize * resizeScale);
              _this71.labelFontSize = Math.min(_this71.textFontSize, 15);

              _this71.setPadding();

              _this71.cd.markForCheck();
            });
          }
        }, {
          key: "setPadding",
          value: function setPadding() {
            this.textPadding[1] = this.textPadding[3] = this.cardWidth / 8;
            var padding = this.cardHeight / 2;
            this.textPadding[0] = padding - this.textFontSize - this.labelFontSize / 2;
            this.textPadding[2] = padding - this.labelFontSize;
          }
        }, {
          key: "onClick",
          value: function onClick() {
            this.select.emit(this.data);
          }
        }]);

        return CardComponent;
      }();

      CardComponent.ɵfac = function CardComponent_Factory(t) {
        return new (t || CardComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]));
      };

      CardComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CardComponent,
        selectors: [["g", "ngx-charts-card", ""]],
        viewQuery: function CardComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c43, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.textEl = _t.first);
          }
        },
        inputs: {
          animations: "animations",
          label: "label",
          color: "color",
          bandColor: "bandColor",
          textColor: "textColor",
          x: "x",
          y: "y",
          width: "width",
          height: "height",
          data: "data",
          medianSize: "medianSize",
          valueFormatting: "valueFormatting",
          labelFormatting: "labelFormatting"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c44,
        decls: 10,
        vars: 25,
        consts: [[1, "cell", 3, "click"], ["rx", "3", "ry", "3", 1, "card"], ["class", "card-band", "stroke", "none", 4, "ngIf"], ["x", "5", "alignment-baseline", "hanging", 1, "trimmed-label"], [3, "innerHTML"], ["text-anchor", "start", "alignment-baseline", "hanging", 1, "value-text"], ["textEl", ""], ["stroke", "none", 1, "card-band"]],
        template: function CardComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_Template__svg_g_click_0_listener() {
              return ctx.onClick();
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "rect", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CardComponent__svg_path_2_Template, 1, 3, "path", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "title");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "foreignObject", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "p", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "text", 5, 6);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("fill", ctx.color);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("width", ctx.cardWidth)("height", ctx.cardHeight);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.bandColor && ctx.bandColor !== ctx.color);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.label);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", ctx.textPadding[3])("y", ctx.cardHeight - ctx.textPadding[2])("width", ctx.textWidth)("height", ctx.labelFontSize + ctx.textPadding[2]);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", ctx.textColor)("font-size", ctx.labelFontSize, "px")("line-height", ctx.labelFontSize, "px");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx.formattedLabel, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("fill", ctx.textColor)("font-size", ctx.textFontSize, "pt");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("x", ctx.textPadding[3])("y", ctx.textPadding[0]);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.value, " ");
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"]],
        encapsulation: 2,
        changeDetection: 0
      });

      CardComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
        }];
      };

      CardComponent.propDecorators = {
        color: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        bandColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        textColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        x: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        y: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        medianSize: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        textEl: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['textEl', {
            "static": false
          }]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CardComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-card]',
            template: "\n    <svg:g [attr.transform]=\"transform\" class=\"cell\" (click)=\"onClick()\">\n      <svg:rect class=\"card\" [style.fill]=\"color\" [attr.width]=\"cardWidth\" [attr.height]=\"cardHeight\" rx=\"3\" ry=\"3\" />\n      <svg:path\n        *ngIf=\"bandColor && bandColor !== color\"\n        class=\"card-band\"\n        [attr.fill]=\"bandColor\"\n        [attr.transform]=\"transformBand\"\n        stroke=\"none\"\n        [attr.d]=\"bandPath\"\n      />\n      <title>{{ label }}</title>\n      <svg:foreignObject\n        class=\"trimmed-label\"\n        x=\"5\"\n        [attr.x]=\"textPadding[3]\"\n        [attr.y]=\"cardHeight - textPadding[2]\"\n        [attr.width]=\"textWidth\"\n        [attr.height]=\"labelFontSize + textPadding[2]\"\n        alignment-baseline=\"hanging\"\n      >\n        <xhtml:p\n          [style.color]=\"textColor\"\n          [style.fontSize.px]=\"labelFontSize\"\n          [style.lineHeight.px]=\"labelFontSize\"\n          [innerHTML]=\"formattedLabel\"\n        >\n        </xhtml:p>\n      </svg:foreignObject>\n      <svg:text\n        #textEl\n        class=\"value-text\"\n        [attr.x]=\"textPadding[3]\"\n        [attr.y]=\"textPadding[0]\"\n        [style.fill]=\"textColor\"\n        text-anchor=\"start\"\n        alignment-baseline=\"hanging\"\n        [style.font-size.pt]=\"textFontSize\"\n      >\n        {{ value }}\n      </svg:text>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
          }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
          }];
        }, {
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          color: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          bandColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          textColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          x: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          y: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          medianSize: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          textEl: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['textEl', {
              "static": false
            }]
          }]
        });
      })();
      /**
       * Converts a hex to RGB
       *
       * @export
       */


      function hexToRgb(value) {
        // deprecated, use d3.color()
        return Object(d3_color__WEBPACK_IMPORTED_MODULE_15__["rgb"])(value);
      }
      /**
       * Accepts a color (string) and returns a inverted hex color (string)
       * http://stackoverflow.com/questions/9600295/automatically-change-text-color-to-assure-readability
       *
       * @export
       */


      function invertColor(value) {
        var color = Object(d3_color__WEBPACK_IMPORTED_MODULE_15__["rgb"])(value);
        var r = color.r,
            g = color.g,
            b = color.b,
            opacity = color.opacity;

        if (opacity === 0) {
          return color.toString();
        }

        var yiq = (r * 299 + g * 587 + b * 114) / 1000;
        var depth = yiq >= 128 ? -0.8 : 0.8;
        return shadeRGBColor(color, depth);
      }
      /**
       * Given a rgb, it will darken/lighten
       * http://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
       *
       * @export
       * @param \{ r, g, b }
       */


      function shadeRGBColor(_ref52, percent) {
        var r = _ref52.r,
            g = _ref52.g,
            b = _ref52.b;
        var t = percent < 0 ? 0 : 255;
        var p = percent < 0 ? percent * -1 : percent;
        r = Math.round((t - r) * p) + r;
        g = Math.round((t - g) * p) + g;
        b = Math.round((t - b) * p) + b;
        return "rgb(".concat(r, ", ").concat(g, ", ").concat(b, ")");
      }

      var CardSeriesComponent = /*#__PURE__*/function () {
        function CardSeriesComponent() {
          _classCallCheck(this, CardSeriesComponent);

          this.innerPadding = 15;
          this.emptyColor = 'rgba(0, 0, 0, 0)';
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(CardSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            if (this.data.length > 2) {
              var valueFormatting = this.valueFormatting || function (card) {
                return card.value.toLocaleString();
              };

              var sortedLengths = this.data.map(function (d) {
                var hasValue = d && d.data && typeof d.data.value !== 'undefined' && d.data.value !== null;
                return hasValue ? valueFormatting({
                  data: d.data,
                  label: d ? d.data.name : '',
                  value: d && d.data ? d.data.value : ''
                }).length : 0;
              }).sort(function (a, b) {
                return b - a;
              });
              var idx = Math.ceil(this.data.length / 2);
              this.medianSize = sortedLengths[idx];
            }

            var cards = this.getCards();
            this.cards = cards.filter(function (d) {
              return d.data.value !== null;
            });
            this.emptySlots = cards.filter(function (d) {
              return d.data.value === null;
            });
          }
        }, {
          key: "getCards",
          value: function getCards() {
            var _this72 = this;

            var yPadding = typeof this.innerPadding === 'number' ? this.innerPadding : this.innerPadding[0] + this.innerPadding[2];
            var xPadding = typeof this.innerPadding === 'number' ? this.innerPadding : this.innerPadding[1] + this.innerPadding[3];
            return this.data.map(function (d, index) {
              var label = d.data.name;

              if (label && label.constructor.name === 'Date') {
                label = label.toLocaleDateString();
              } else {
                label = label ? label.toLocaleString() : label;
              }

              var value = d.data.value;
              var valueColor = label ? _this72.colors.getColor(label) : _this72.emptyColor;
              var color = _this72.cardColor || valueColor || '#000';
              return {
                x: d.x,
                y: d.y,
                width: d.width - xPadding,
                height: d.height - yPadding,
                color: color,
                bandColor: _this72.bandColor || valueColor,
                textColor: _this72.textColor || invertColor(color),
                label: label,
                data: d.data,
                tooltipText: "".concat(label, ": ").concat(value)
              };
            });
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, card) {
            return card.label;
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }]);

        return CardSeriesComponent;
      }();

      CardSeriesComponent.ɵfac = function CardSeriesComponent_Factory(t) {
        return new (t || CardSeriesComponent)();
      };

      CardSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CardSeriesComponent,
        selectors: [["g", "ngx-charts-card-series", ""]],
        inputs: {
          innerPadding: "innerPadding",
          emptyColor: "emptyColor",
          animations: "animations",
          data: "data",
          slots: "slots",
          dims: "dims",
          colors: "colors",
          cardColor: "cardColor",
          bandColor: "bandColor",
          textColor: "textColor",
          valueFormatting: "valueFormatting",
          labelFormatting: "labelFormatting"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c45,
        decls: 2,
        vars: 4,
        consts: [["class", "card-empty", "rx", "3", "ry", "3", 3, "fill", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-card", "", 3, "x", "y", "width", "height", "color", "bandColor", "textColor", "data", "label", "medianSize", "valueFormatting", "labelFormatting", "animations", "select", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["rx", "3", "ry", "3", 1, "card-empty"], ["ngx-charts-card", "", 3, "x", "y", "width", "height", "color", "bandColor", "textColor", "data", "label", "medianSize", "valueFormatting", "labelFormatting", "animations", "select"]],
        template: function CardSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, CardSeriesComponent__svg_rect_0_Template, 1, 6, "rect", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CardSeriesComponent__svg_g_1_Template, 1, 13, "g", 1);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.emptySlots)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.cards)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], CardComponent],
        encapsulation: 2,
        changeDetection: 0
      });
      CardSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        slots: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        innerPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cardColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        bandColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        emptyColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        textColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CardSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-card-series]',
            template: "\n    <svg:rect\n      *ngFor=\"let c of emptySlots; trackBy: trackBy\"\n      class=\"card-empty\"\n      [attr.x]=\"c.x\"\n      [attr.y]=\"c.y\"\n      [style.fill]=\"emptyColor\"\n      [attr.width]=\"c.width\"\n      [attr.height]=\"c.height\"\n      rx=\"3\"\n      ry=\"3\"\n    />\n    <svg:g\n      ngx-charts-card\n      *ngFor=\"let c of cards; trackBy: trackBy\"\n      [x]=\"c.x\"\n      [y]=\"c.y\"\n      [width]=\"c.width\"\n      [height]=\"c.height\"\n      [color]=\"c.color\"\n      [bandColor]=\"c.bandColor\"\n      [textColor]=\"c.textColor\"\n      [data]=\"c.data\"\n      [label]=\"c.label\"\n      [medianSize]=\"medianSize\"\n      [valueFormatting]=\"valueFormatting\"\n      [labelFormatting]=\"labelFormatting\"\n      [animations]=\"animations\"\n      (select)=\"onClick($event)\"\n    />\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          innerPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          emptyColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          slots: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cardColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          bandColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          textColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var NumberCardComponent = /*#__PURE__*/function (_BaseChartComponent19) {
        _inherits(NumberCardComponent, _BaseChartComponent19);

        var _super20 = _createSuper(NumberCardComponent);

        function NumberCardComponent() {
          var _this73;

          _classCallCheck(this, NumberCardComponent);

          _this73 = _super20.apply(this, arguments);
          _this73.emptyColor = 'rgba(0, 0, 0, 0)';
          _this73.innerPadding = 15;
          _this73.margin = [10, 10, 10, 10];
          return _this73;
        }

        _createClass(NumberCardComponent, [{
          key: "clickable",
          get: function get() {
            return !!this.select.observers.length;
          }
        }, {
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(NumberCardComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin
            });
            this.formatDates();
            this.domain = this.getDomain();
            this.setColors();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
            var size = gridSize(this.dims, this.results.length, 150);
            var N = size[0] * size[1];
            var data = this.results.slice();

            while (data.length < N) {
              data.push({
                value: null
              });
            }

            this.data = gridLayout(this.dims, data, 150, this.designatedTotal);
          }
        }, {
          key: "getDomain",
          value: function getDomain() {
            return this.results.map(function (d) {
              return d.label;
            });
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
          }
        }]);

        return NumberCardComponent;
      }(BaseChartComponent);

      NumberCardComponent.ɵfac = function NumberCardComponent_Factory(t) {
        return ɵNumberCardComponent_BaseFactory(t || NumberCardComponent);
      };

      NumberCardComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: NumberCardComponent,
        selectors: [["ngx-charts-number-card"]],
        inputs: {
          emptyColor: "emptyColor",
          innerPadding: "innerPadding",
          cardColor: "cardColor",
          bandColor: "bandColor",
          textColor: "textColor",
          valueFormatting: "valueFormatting",
          labelFormatting: "labelFormatting",
          designatedTotal: "designatedTotal"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 3,
        vars: 20,
        consts: [[3, "view", "showLegend", "animations"], [1, "number-card", "chart"], ["ngx-charts-card-series", "", 3, "colors", "cardColor", "bandColor", "textColor", "emptyColor", "data", "dims", "innerPadding", "valueFormatting", "labelFormatting", "animations", "select"]],
        template: function NumberCardComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function NumberCardComponent_Template__svg_g_select_2_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](17, _c23, ctx.width, ctx.height))("showLegend", false)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("clickable", ctx.clickable);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("colors", ctx.colors)("cardColor", ctx.cardColor)("bandColor", ctx.bandColor)("textColor", ctx.textColor)("emptyColor", ctx.emptyColor)("data", ctx.data)("dims", ctx.dims)("innerPadding", ctx.innerPadding)("valueFormatting", ctx.valueFormatting)("labelFormatting", ctx.labelFormatting)("animations", ctx.animations);
          }
        },
        directives: [ChartComponent, CardSeriesComponent],
        styles: [_c24, "ngx-charts-number-card .cell .trimmed-label{font-size:12px;line-height:1em;overflow:hidden;pointer-events:none;text-align:left}ngx-charts-number-card .cell .trimmed-label p{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}"],
        encapsulation: 2,
        changeDetection: 0
      });
      NumberCardComponent.propDecorators = {
        cardColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        bandColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        emptyColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        innerPadding: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        textColor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        designatedTotal: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };

      var ɵNumberCardComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](NumberCardComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NumberCardComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-number-card',
            template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n      <svg:g [attr.transform]=\"transform\" class=\"number-card chart\" [class.clickable]=\"clickable\">\n        <svg:g\n          ngx-charts-card-series\n          [colors]=\"colors\"\n          [cardColor]=\"cardColor\"\n          [bandColor]=\"bandColor\"\n          [textColor]=\"textColor\"\n          [emptyColor]=\"emptyColor\"\n          [data]=\"data\"\n          [dims]=\"dims\"\n          [innerPadding]=\"innerPadding\"\n          [valueFormatting]=\"valueFormatting\"\n          [labelFormatting]=\"labelFormatting\"\n          [animations]=\"animations\"\n          (select)=\"onClick($event)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", "ngx-charts-number-card .cell .trimmed-label{font-size:12px;line-height:1em;overflow:hidden;pointer-events:none;text-align:left}ngx-charts-number-card .cell .trimmed-label p{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}"]
          }]
        }], null, {
          emptyColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          innerPadding: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cardColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          bandColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          textColor: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          designatedTotal: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var NumberCardModule = function NumberCardModule() {
        _classCallCheck(this, NumberCardModule);
      };

      NumberCardModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: NumberCardModule
      });
      NumberCardModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function NumberCardModule_Factory(t) {
          return new (t || NumberCardModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NumberCardModule, {
          declarations: [CardComponent, CardSeriesComponent, NumberCardComponent],
          imports: [ChartCommonModule],
          exports: [CardComponent, CardSeriesComponent, NumberCardComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NumberCardModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [CardComponent, CardSeriesComponent, NumberCardComponent],
            exports: [CardComponent, CardSeriesComponent, NumberCardComponent]
          }]
        }], null, null);
      })();

      var TreeMapCellComponent = /*#__PURE__*/function () {
        function TreeMapCellComponent(element) {
          _classCallCheck(this, TreeMapCellComponent);

          this.gradient = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.initialized = false;
          this.element = element.nativeElement;
        }

        _createClass(TreeMapCellComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges() {
            this.update();

            this.valueFormatting = this.valueFormatting || function (value) {
              return value.toLocaleString();
            };

            var labelFormatting = this.labelFormatting || function (cell) {
              return escapeLabel(trimLabel(cell.label, 55));
            };

            var cellData = {
              data: this.data,
              label: this.label,
              value: this.value
            };
            this.formattedValue = this.valueFormatting(cellData.value);
            this.formattedLabel = labelFormatting(cellData);
            this.gradientId = 'grad' + id().toString();
            this.gradientUrl = "url(#".concat(this.gradientId, ")");
            this.gradientStops = this.getGradientStops();
          }
        }, {
          key: "update",
          value: function update() {
            if (this.initialized) {
              this.animateToCurrentForm();
            } else {
              if (this.animations) {
                this.loadAnimation();
              }

              this.initialized = true;
            }
          }
        }, {
          key: "loadAnimation",
          value: function loadAnimation() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');
            node.attr('opacity', 0).attr('x', this.x).attr('y', this.y);
            this.animateToCurrentForm();
          }
        }, {
          key: "getTextColor",
          value: function getTextColor() {
            return invertColor(this.fill);
          }
        }, {
          key: "animateToCurrentForm",
          value: function animateToCurrentForm() {
            var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');

            if (this.animations) {
              node.transition().duration(750).attr('opacity', 1).attr('x', this.x).attr('y', this.y).attr('width', this.width).attr('height', this.height);
            } else {
              node.attr('opacity', 1).attr('x', this.x).attr('y', this.y).attr('width', this.width).attr('height', this.height);
            }
          }
        }, {
          key: "onClick",
          value: function onClick() {
            this.select.emit(this.data);
          }
        }, {
          key: "getGradientStops",
          value: function getGradientStops() {
            return [{
              offset: 0,
              color: this.fill,
              opacity: 0.3
            }, {
              offset: 100,
              color: this.fill,
              opacity: 1
            }];
          }
        }]);

        return TreeMapCellComponent;
      }();

      TreeMapCellComponent.ɵfac = function TreeMapCellComponent_Factory(t) {
        return new (t || TreeMapCellComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
      };

      TreeMapCellComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: TreeMapCellComponent,
        selectors: [["g", "ngx-charts-tree-map-cell", ""]],
        inputs: {
          gradient: "gradient",
          animations: "animations",
          valueFormatting: "valueFormatting",
          data: "data",
          fill: "fill",
          x: "x",
          y: "y",
          width: "width",
          height: "height",
          label: "label",
          value: "value",
          valueType: "valueType",
          labelFormatting: "labelFormatting"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c46,
        decls: 4,
        vars: 9,
        consts: [[4, "ngIf"], [1, "cell", 3, "click"], ["class", "treemap-label", 3, "pointer-events", 4, "ngIf"], ["ngx-charts-svg-linear-gradient", "", "orientation", "vertical", 3, "name", "stops"], [1, "treemap-label"], [1, "treemap-label", 3, "innerHTML"], ["class", "treemap-val", "ngx-charts-count-up", "", 3, "countTo", "valueFormatting", 4, "ngIf"], ["class", "treemap-val", 4, "ngIf"], ["ngx-charts-count-up", "", 1, "treemap-val", 3, "countTo", "valueFormatting"], [1, "treemap-val"]],
        template: function TreeMapCellComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TreeMapCellComponent__svg_defs_1_Template, 2, 2, "defs", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "rect", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function TreeMapCellComponent_Template__svg_rect_click_2_listener() {
              return ctx.onClick();
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, TreeMapCellComponent__svg_foreignObject_3_Template, 6, 15, "foreignObject", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.gradient);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("cursor", "pointer");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("fill", ctx.gradient ? ctx.gradientUrl : ctx.fill)("width", ctx.width)("height", ctx.height)("x", ctx.x)("y", ctx.y);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.width >= 70 && ctx.height >= 35);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], SvgLinearGradientComponent, CountUpDirective],
        encapsulation: 2,
        changeDetection: 0
      });

      TreeMapCellComponent.ctorParameters = function () {
        return [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
        }];
      };

      TreeMapCellComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        fill: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        x: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        y: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        width: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        height: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        label: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        value: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueType: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TreeMapCellComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-tree-map-cell]',
            template: "\n    <svg:g>\n      <defs *ngIf=\"gradient\">\n        <svg:g ngx-charts-svg-linear-gradient orientation=\"vertical\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n      </defs>\n      <svg:rect\n        [attr.fill]=\"gradient ? gradientUrl : fill\"\n        [attr.width]=\"width\"\n        [attr.height]=\"height\"\n        [attr.x]=\"x\"\n        [attr.y]=\"y\"\n        [style.cursor]=\"'pointer'\"\n        class=\"cell\"\n        (click)=\"onClick()\"\n      />\n      <svg:foreignObject\n        *ngIf=\"width >= 70 && height >= 35\"\n        [attr.x]=\"x\"\n        [attr.y]=\"y\"\n        [attr.width]=\"width\"\n        [attr.height]=\"height\"\n        class=\"treemap-label\"\n        [style.pointer-events]=\"'none'\"\n      >\n        <xhtml:p [style.color]=\"getTextColor()\" [style.height]=\"height + 'px'\" [style.width]=\"width + 'px'\">\n          <xhtml:span class=\"treemap-label\" [innerHTML]=\"formattedLabel\"> </xhtml:span>\n          <xhtml:br />\n          <xhtml:span\n            *ngIf=\"animations\"\n            class=\"treemap-val\"\n            ngx-charts-count-up\n            [countTo]=\"value\"\n            [valueFormatting]=\"valueFormatting\"\n          >\n          </xhtml:span>\n          <xhtml:span *ngIf=\"!animations\" class=\"treemap-val\">\n            {{ formattedValue }}\n          </xhtml:span>\n        </xhtml:p>\n      </svg:foreignObject>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
          }];
        }, {
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          fill: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          x: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          y: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          width: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          height: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          label: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          value: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var TreeMapCellSeriesComponent = /*#__PURE__*/function () {
        function TreeMapCellSeriesComponent() {
          _classCallCheck(this, TreeMapCellSeriesComponent);

          this.gradient = false;
          this.tooltipDisabled = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(TreeMapCellSeriesComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.cells = this.getCells();
          }
        }, {
          key: "getCells",
          value: function getCells() {
            var _this74 = this;

            return this.data.children.filter(function (d) {
              return d.depth === 1;
            }).map(function (d, index) {
              var label = d.id;
              return {
                data: d.data,
                x: d.x0,
                y: d.y0,
                width: d.x1 - d.x0,
                height: d.y1 - d.y0,
                fill: _this74.colors.getColor(label),
                label: label,
                value: d.value,
                valueType: d.valueType
              };
            });
          }
        }, {
          key: "getTooltipText",
          value: function getTooltipText(_ref53) {
            var label = _ref53.label,
                value = _ref53.value;
            return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(value.toLocaleString(), "</span>\n    ");
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.label;
          }
        }]);

        return TreeMapCellSeriesComponent;
      }();

      TreeMapCellSeriesComponent.ɵfac = function TreeMapCellSeriesComponent_Factory(t) {
        return new (t || TreeMapCellSeriesComponent)();
      };

      TreeMapCellSeriesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: TreeMapCellSeriesComponent,
        selectors: [["g", "ngx-charts-tree-map-cell-series", ""]],
        inputs: {
          gradient: "gradient",
          tooltipDisabled: "tooltipDisabled",
          animations: "animations",
          data: "data",
          dims: "dims",
          colors: "colors",
          valueFormatting: "valueFormatting",
          labelFormatting: "labelFormatting",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c47,
        decls: 1,
        vars: 2,
        consts: [["ngx-charts-tree-map-cell", "", "ngx-tooltip", "", 3, "data", "x", "y", "width", "height", "fill", "label", "value", "valueType", "valueFormatting", "labelFormatting", "gradient", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-tree-map-cell", "", "ngx-tooltip", "", 3, "data", "x", "y", "width", "height", "fill", "label", "value", "valueType", "valueFormatting", "labelFormatting", "gradient", "animations", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select"]],
        template: function TreeMapCellSeriesComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, TreeMapCellSeriesComponent__svg_g_0_Template, 1, 19, "g", 0);
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.cells)("ngForTrackBy", ctx.trackBy);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], TreeMapCellComponent, TooltipDirective],
        encapsulation: 2,
        changeDetection: 0
      });
      TreeMapCellSeriesComponent.propDecorators = {
        data: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        dims: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TreeMapCellSeriesComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-tree-map-cell-series]',
            template: "\n    <svg:g\n      ngx-charts-tree-map-cell\n      *ngFor=\"let c of cells; trackBy: trackBy\"\n      [data]=\"c.data\"\n      [x]=\"c.x\"\n      [y]=\"c.y\"\n      [width]=\"c.width\"\n      [height]=\"c.height\"\n      [fill]=\"c.fill\"\n      [label]=\"c.label\"\n      [value]=\"c.value\"\n      [valueType]=\"c.valueType\"\n      [valueFormatting]=\"valueFormatting\"\n      [labelFormatting]=\"labelFormatting\"\n      [gradient]=\"gradient\"\n      [animations]=\"animations\"\n      (select)=\"onClick($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"'top'\"\n      [tooltipType]=\"'tooltip'\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : getTooltipText(c)\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"c.data\"\n    ></svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          data: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          dims: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var TreeMapComponent = /*#__PURE__*/function (_BaseChartComponent20) {
        _inherits(TreeMapComponent, _BaseChartComponent20);

        var _super21 = _createSuper(TreeMapComponent);

        function TreeMapComponent() {
          var _this75;

          _classCallCheck(this, TreeMapComponent);

          _this75 = _super21.apply(this, arguments);
          _this75.tooltipDisabled = false;
          _this75.gradient = false;
          _this75.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this75.margin = [10, 10, 10, 10];
          return _this75;
        }

        _createClass(TreeMapComponent, [{
          key: "update",
          value: function update() {
            _get(_getPrototypeOf(TreeMapComponent.prototype), "update", this).call(this);

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin
            });
            this.domain = this.getDomain();
            this.treemap = Object(d3_hierarchy__WEBPACK_IMPORTED_MODULE_16__["treemap"])().size([this.dims.width, this.dims.height]);
            var rootNode = {
              name: 'root',
              value: 0,
              isRoot: true
            };
            var root = Object(d3_hierarchy__WEBPACK_IMPORTED_MODULE_16__["stratify"])().id(function (d) {
              var label = d.name;

              if (label.constructor.name === 'Date') {
                label = label.toLocaleDateString();
              } else {
                label = label.toLocaleString();
              }

              return label;
            }).parentId(function (d) {
              return d.isRoot ? null : 'root';
            })([rootNode].concat(_toConsumableArray(this.results))).sum(function (d) {
              return d.value;
            });
            this.data = this.treemap(root);
            this.setColors();
            this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          }
        }, {
          key: "getDomain",
          value: function getDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
          }
        }]);

        return TreeMapComponent;
      }(BaseChartComponent);

      TreeMapComponent.ɵfac = function TreeMapComponent_Factory(t) {
        return ɵTreeMapComponent_BaseFactory(t || TreeMapComponent);
      };

      TreeMapComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: TreeMapComponent,
        selectors: [["ngx-charts-tree-map"]],
        contentQueries: function TreeMapComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        inputs: {
          tooltipDisabled: "tooltipDisabled",
          gradient: "gradient",
          results: "results",
          valueFormatting: "valueFormatting",
          labelFormatting: "labelFormatting"
        },
        outputs: {
          select: "select"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 3,
        vars: 16,
        consts: [[3, "view", "showLegend", "animations"], [1, "tree-map", "chart"], ["ngx-charts-tree-map-cell-series", "", 3, "colors", "data", "dims", "tooltipDisabled", "tooltipTemplate", "valueFormatting", "labelFormatting", "gradient", "animations", "select"]],
        template: function TreeMapComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function TreeMapComponent_Template__svg_g_select_2_listener($event) {
              return ctx.onClick($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](13, _c23, ctx.width, ctx.height))("showLegend", false)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("colors", ctx.colors)("data", ctx.data)("dims", ctx.dims)("tooltipDisabled", ctx.tooltipDisabled)("tooltipTemplate", ctx.tooltipTemplate)("valueFormatting", ctx.valueFormatting)("labelFormatting", ctx.labelFormatting)("gradient", ctx.gradient)("animations", ctx.animations);
          }
        },
        directives: [ChartComponent, TreeMapCellSeriesComponent],
        styles: [".tree-map .treemap-val{display:inline-block;font-size:1.3em;padding-top:5px}.tree-map .treemap-label p{display:table-cell;line-height:1.2em;text-align:center;vertical-align:middle}"],
        encapsulation: 2,
        changeDetection: 0
      });
      TreeMapComponent.propDecorators = {
        results: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        labelFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        gradient: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }]
      };

      var ɵTreeMapComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](TreeMapComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TreeMapComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-tree-map',
            template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n      <svg:g [attr.transform]=\"transform\" class=\"tree-map chart\">\n        <svg:g\n          ngx-charts-tree-map-cell-series\n          [colors]=\"colors\"\n          [data]=\"data\"\n          [dims]=\"dims\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [valueFormatting]=\"valueFormatting\"\n          [labelFormatting]=\"labelFormatting\"\n          [gradient]=\"gradient\"\n          [animations]=\"animations\"\n          (select)=\"onClick($event)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".tree-map .treemap-val{display:inline-block;font-size:1.3em;padding-top:5px}.tree-map .treemap-label p{display:table-cell;line-height:1.2em;text-align:center;vertical-align:middle}"]
          }]
        }], null, {
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          gradient: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          results: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          labelFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }]
        });
      })();

      var TreeMapModule = function TreeMapModule() {
        _classCallCheck(this, TreeMapModule);
      };

      TreeMapModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: TreeMapModule
      });
      TreeMapModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function TreeMapModule_Factory(t) {
          return new (t || TreeMapModule)();
        },
        imports: [[ChartCommonModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](TreeMapModule, {
          declarations: [TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent],
          imports: [ChartCommonModule],
          exports: [TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TreeMapModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule],
            declarations: [TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent],
            exports: [TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent]
          }]
        }], null, null);
      })();

      var LinearGaugeComponent = /*#__PURE__*/function (_BaseChartComponent21) {
        _inherits(LinearGaugeComponent, _BaseChartComponent21);

        var _super22 = _createSuper(LinearGaugeComponent);

        function LinearGaugeComponent() {
          var _this76;

          _classCallCheck(this, LinearGaugeComponent);

          _this76 = _super22.apply(this, arguments);
          _this76.min = 0;
          _this76.max = 100;
          _this76.value = 0;
          _this76.margin = [10, 20, 10, 20];
          _this76.valueResizeScale = 1;
          _this76.unitsResizeScale = 1;
          _this76.valueTextTransform = '';
          _this76.valueTranslate = '';
          _this76.unitsTextTransform = '';
          _this76.unitsTranslate = '';
          return _this76;
        }

        _createClass(LinearGaugeComponent, [{
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            var _this77 = this;

            _get(_getPrototypeOf(LinearGaugeComponent.prototype), "ngAfterViewInit", this).call(this);

            setTimeout(function () {
              _this77.scaleText('value');

              _this77.scaleText('units');
            });
          }
        }, {
          key: "update",
          value: function update() {
            var _this78 = this;

            _get(_getPrototypeOf(LinearGaugeComponent.prototype), "update", this).call(this);

            this.hasPreviousValue = this.previousValue !== undefined;
            this.max = Math.max(this.max, this.value);
            this.min = Math.min(this.min, this.value);

            if (this.hasPreviousValue) {
              this.max = Math.max(this.max, this.previousValue);
              this.min = Math.min(this.min, this.previousValue);
            }

            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin
            });
            this.valueDomain = this.getValueDomain();
            this.valueScale = this.getValueScale();
            this.displayValue = this.getDisplayValue();
            this.setColors();
            var xOffset = this.margin[3] + this.dims.width / 2;
            var yOffset = this.margin[0] + this.dims.height / 2;
            this.transform = "translate(".concat(xOffset, ", ").concat(yOffset, ")");
            this.transformLine = "translate(".concat(this.margin[3] + this.valueScale(this.previousValue), ", ").concat(yOffset, ")");
            this.valueTranslate = "translate(0, -15)";
            this.unitsTranslate = "translate(0, 15)";
            setTimeout(function () {
              return _this78.scaleText('value');
            }, 50);
            setTimeout(function () {
              return _this78.scaleText('units');
            }, 50);
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            return [this.min, this.max];
          }
        }, {
          key: "getValueScale",
          value: function getValueScale() {
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valueDomain);
          }
        }, {
          key: "getDisplayValue",
          value: function getDisplayValue() {
            if (this.valueFormatting) {
              return this.valueFormatting(this.value);
            }

            return this.value.toLocaleString();
          }
        }, {
          key: "scaleText",
          value: function scaleText(element) {
            var _this79 = this;

            var repeat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
            var el;
            var resizeScale;

            if (element === 'value') {
              el = this.valueTextEl;
              resizeScale = this.valueResizeScale;
            } else {
              el = this.unitsTextEl;
              resizeScale = this.unitsResizeScale;
            }

            var _el$nativeElement$get = el.nativeElement.getBoundingClientRect(),
                width = _el$nativeElement$get.width,
                height = _el$nativeElement$get.height;

            if (width === 0 || height === 0) return;
            var oldScale = resizeScale;
            var availableWidth = this.dims.width;
            var availableHeight = Math.max(this.dims.height / 2 - 15, 0);
            var resizeScaleWidth = Math.floor(availableWidth / (width / resizeScale) * 100) / 100;
            var resizeScaleHeight = Math.floor(availableHeight / (height / resizeScale) * 100) / 100;
            resizeScale = Math.min(resizeScaleHeight, resizeScaleWidth);

            if (resizeScale !== oldScale) {
              if (element === 'value') {
                this.valueResizeScale = resizeScale;
                this.valueTextTransform = "scale(".concat(resizeScale, ", ").concat(resizeScale, ")");
              } else {
                this.unitsResizeScale = resizeScale;
                this.unitsTextTransform = "scale(".concat(resizeScale, ", ").concat(resizeScale, ")");
              }

              this.cd.markForCheck();

              if (repeat) {
                setTimeout(function () {
                  _this79.scaleText(element, false);
                }, 50);
              }
            }
          }
        }, {
          key: "onClick",
          value: function onClick() {
            this.select.emit({
              name: 'Value',
              value: this.value
            });
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, 'ordinal', [this.value], this.customColors);
          }
        }]);

        return LinearGaugeComponent;
      }(BaseChartComponent);

      LinearGaugeComponent.ɵfac = function LinearGaugeComponent_Factory(t) {
        return ɵLinearGaugeComponent_BaseFactory(t || LinearGaugeComponent);
      };

      LinearGaugeComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LinearGaugeComponent,
        selectors: [["ngx-charts-linear-gauge"]],
        viewQuery: function LinearGaugeComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c48, true);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c49, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.valueTextEl = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.unitsTextEl = _t.first);
          }
        },
        inputs: {
          min: "min",
          max: "max",
          value: "value",
          units: "units",
          previousValue: "previousValue",
          valueFormatting: "valueFormatting"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 15,
        vars: 38,
        consts: [[3, "view", "showLegend", "animations", "click"], [1, "linear-gauge", "chart"], ["ngx-charts-bar", "", 1, "background-bar", 3, "width", "height", "x", "y", "data", "orientation", "roundEdges", "animations"], ["ngx-charts-bar", "", 3, "width", "height", "x", "y", "fill", "data", "orientation", "roundEdges", "animations"], ["x1", "0", "y1", "5", "x2", "0", "y2", "15", 4, "ngIf"], ["x1", "0", "y1", "-5", "x2", "0", "y2", "-15", 4, "ngIf"], ["alignment-baseline", "after-edge", 1, "value"], ["valueTextEl", ""], ["alignment-baseline", "before-edge", 1, "units"], ["unitsTextEl", ""], ["x1", "0", "y1", "5", "x2", "0", "y2", "15"], ["x1", "0", "y1", "-5", "x2", "0", "y2", "-15"]],
        template: function LinearGaugeComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LinearGaugeComponent_Template_ngx_charts_chart_click_0_listener() {
              return ctx.onClick();
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, LinearGaugeComponent__svg_line_4_Template, 1, 2, "line", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LinearGaugeComponent__svg_line_5_Template, 1, 2, "line", 5);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "text", 6, 7);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "text", 8, 9);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](33, _c23, ctx.width, ctx.height))("showLegend", false)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("width", ctx.dims.width)("height", 3)("x", ctx.margin[3])("y", ctx.dims.height / 2 + ctx.margin[0] - 2)("data", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](36, _c50))("orientation", "horizontal")("roundEdges", true)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("width", ctx.valueScale(ctx.value))("height", 3)("x", ctx.margin[3])("y", ctx.dims.height / 2 + ctx.margin[0] - 2)("fill", ctx.colors.getColor(ctx.units))("data", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](37, _c50))("orientation", "horizontal")("roundEdges", true)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasPreviousValue);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasPreviousValue);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.valueTranslate);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("text-anchor", "middle");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.valueTextTransform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.displayValue, " ");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.unitsTranslate);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("text-anchor", "middle");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.unitsTextTransform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.units, " ");
          }
        },
        directives: [ChartComponent, BarComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"]],
        styles: [_c24, ".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:rgba(0,0,0,.05)}.linear-gauge .units{fill:#666}"],
        encapsulation: 2,
        changeDetection: 0
      });
      LinearGaugeComponent.propDecorators = {
        min: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        max: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        value: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        units: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        previousValue: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueTextEl: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['valueTextEl']
        }],
        unitsTextEl: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['unitsTextEl']
        }]
      };

      var ɵLinearGaugeComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](LinearGaugeComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LinearGaugeComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-linear-gauge',
            template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\" (click)=\"onClick()\">\n      <svg:g class=\"linear-gauge chart\">\n        <svg:g\n          ngx-charts-bar\n          class=\"background-bar\"\n          [width]=\"dims.width\"\n          [height]=\"3\"\n          [x]=\"margin[3]\"\n          [y]=\"dims.height / 2 + margin[0] - 2\"\n          [data]=\"{}\"\n          [orientation]=\"'horizontal'\"\n          [roundEdges]=\"true\"\n          [animations]=\"animations\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-bar\n          [width]=\"valueScale(value)\"\n          [height]=\"3\"\n          [x]=\"margin[3]\"\n          [y]=\"dims.height / 2 + margin[0] - 2\"\n          [fill]=\"colors.getColor(units)\"\n          [data]=\"{}\"\n          [orientation]=\"'horizontal'\"\n          [roundEdges]=\"true\"\n          [animations]=\"animations\"\n        ></svg:g>\n\n        <svg:line\n          *ngIf=\"hasPreviousValue\"\n          [attr.transform]=\"transformLine\"\n          x1=\"0\"\n          y1=\"5\"\n          x2=\"0\"\n          y2=\"15\"\n          [attr.stroke]=\"colors.getColor(units)\"\n        />\n\n        <svg:line\n          *ngIf=\"hasPreviousValue\"\n          [attr.transform]=\"transformLine\"\n          x1=\"0\"\n          y1=\"-5\"\n          x2=\"0\"\n          y2=\"-15\"\n          [attr.stroke]=\"colors.getColor(units)\"\n        />\n\n        <svg:g [attr.transform]=\"transform\">\n          <svg:g [attr.transform]=\"valueTranslate\">\n            <svg:text\n              #valueTextEl\n              class=\"value\"\n              [style.textAnchor]=\"'middle'\"\n              [attr.transform]=\"valueTextTransform\"\n              alignment-baseline=\"after-edge\"\n            >\n              {{ displayValue }}\n            </svg:text>\n          </svg:g>\n\n          <svg:g [attr.transform]=\"unitsTranslate\">\n            <svg:text\n              #unitsTextEl\n              class=\"units\"\n              [style.textAnchor]=\"'middle'\"\n              [attr.transform]=\"unitsTextTransform\"\n              alignment-baseline=\"before-edge\"\n            >\n              {{ units }}\n            </svg:text>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:rgba(0,0,0,.05)}.linear-gauge .units{fill:#666}"]
          }]
        }], null, {
          min: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          max: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          value: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          units: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          previousValue: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueTextEl: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['valueTextEl']
          }],
          unitsTextEl: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['unitsTextEl']
          }]
        });
      })();

      var GaugeComponent = /*#__PURE__*/function (_BaseChartComponent22) {
        _inherits(GaugeComponent, _BaseChartComponent22);

        var _super23 = _createSuper(GaugeComponent);

        function GaugeComponent() {
          var _this80;

          _classCallCheck(this, GaugeComponent);

          _this80 = _super23.apply(this, arguments);
          _this80.legend = false;
          _this80.legendTitle = 'Legend';
          _this80.legendPosition = 'right';
          _this80.min = 0;
          _this80.max = 100;
          _this80.bigSegments = 10;
          _this80.smallSegments = 5;
          _this80.showAxis = true;
          _this80.startAngle = -120;
          _this80.angleSpan = 240;
          _this80.activeEntries = [];
          _this80.tooltipDisabled = false;
          _this80.showText = true;
          _this80.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this80.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          _this80.resizeScale = 1;
          _this80.rotation = '';
          _this80.textTransform = 'scale(1, 1)';
          _this80.cornerRadius = 10;
          return _this80;
        }

        _createClass(GaugeComponent, [{
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            var _this81 = this;

            _get(_getPrototypeOf(GaugeComponent.prototype), "ngAfterViewInit", this).call(this);

            setTimeout(function () {
              return _this81.scaleText();
            });
          }
        }, {
          key: "update",
          value: function update() {
            var _this82 = this;

            _get(_getPrototypeOf(GaugeComponent.prototype), "update", this).call(this);

            if (!this.showAxis) {
              if (!this.margin) {
                this.margin = [10, 20, 10, 20];
              }
            } else {
              if (!this.margin) {
                this.margin = [60, 100, 60, 100];
              }
            } // make the starting angle positive


            if (this.startAngle < 0) {
              this.startAngle = this.startAngle % 360 + 360;
            }

            this.angleSpan = Math.min(this.angleSpan, 360);
            this.dims = calculateViewDimensions({
              width: this.width,
              height: this.height,
              margins: this.margin,
              showLegend: this.legend,
              legendPosition: this.legendPosition
            });
            this.domain = this.getDomain();
            this.valueDomain = this.getValueDomain();
            this.valueScale = this.getValueScale();
            this.displayValue = this.getDisplayValue();
            this.outerRadius = Math.min(this.dims.width, this.dims.height) / 2;
            this.arcs = this.getArcs();
            this.setColors();
            this.legendOptions = this.getLegendOptions();
            var xOffset = this.margin[3] + this.dims.width / 2;
            var yOffset = this.margin[0] + this.dims.height / 2;
            this.transform = "translate(".concat(xOffset, ", ").concat(yOffset, ")");
            this.rotation = "rotate(".concat(this.startAngle, ")");
            setTimeout(function () {
              return _this82.scaleText();
            }, 50);
          }
        }, {
          key: "getArcs",
          value: function getArcs() {
            var arcs = [];
            var availableRadius = this.outerRadius * 0.7;
            var radiusPerArc = Math.min(availableRadius / this.results.length, 10);
            var arcWidth = radiusPerArc * 0.7;
            this.textRadius = this.outerRadius - this.results.length * radiusPerArc;
            this.cornerRadius = Math.floor(arcWidth / 2);
            var i = 0;

            var _iterator89 = _createForOfIteratorHelper(this.results),
                _step89;

            try {
              for (_iterator89.s(); !(_step89 = _iterator89.n()).done;) {
                var d = _step89.value;
                var outerRadius = this.outerRadius - i * radiusPerArc;
                var innerRadius = outerRadius - arcWidth;
                var backgroundArc = {
                  endAngle: this.angleSpan * Math.PI / 180,
                  innerRadius: innerRadius,
                  outerRadius: outerRadius,
                  data: {
                    value: this.max,
                    name: d.name
                  }
                };
                var valueArc = {
                  endAngle: Math.min(this.valueScale(d.value), this.angleSpan) * Math.PI / 180,
                  innerRadius: innerRadius,
                  outerRadius: outerRadius,
                  data: {
                    value: d.value,
                    name: d.name
                  }
                };
                var arc = {
                  backgroundArc: backgroundArc,
                  valueArc: valueArc
                };
                arcs.push(arc);
                i++;
              }
            } catch (err) {
              _iterator89.e(err);
            } finally {
              _iterator89.f();
            }

            return arcs;
          }
        }, {
          key: "getDomain",
          value: function getDomain() {
            return this.results.map(function (d) {
              return d.name;
            });
          }
        }, {
          key: "getValueDomain",
          value: function getValueDomain() {
            var values = this.results.map(function (d) {
              return d.value;
            });
            var dataMin = Math.min.apply(Math, _toConsumableArray(values));
            var dataMax = Math.max.apply(Math, _toConsumableArray(values));

            if (this.min !== undefined) {
              this.min = Math.min(this.min, dataMin);
            } else {
              this.min = dataMin;
            }

            if (this.max !== undefined) {
              this.max = Math.max(this.max, dataMax);
            } else {
              this.max = dataMax;
            }

            return [this.min, this.max];
          }
        }, {
          key: "getValueScale",
          value: function getValueScale() {
            return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.angleSpan]).nice().domain(this.valueDomain);
          }
        }, {
          key: "getDisplayValue",
          value: function getDisplayValue() {
            var value = this.results.map(function (d) {
              return d.value;
            }).reduce(function (a, b) {
              return a + b;
            }, 0);

            if (this.textValue && 0 !== this.textValue.length) {
              return this.textValue.toLocaleString();
            }

            if (this.valueFormatting) {
              return this.valueFormatting(value);
            }

            return value.toLocaleString();
          }
        }, {
          key: "scaleText",
          value: function scaleText() {
            var _this83 = this;

            var repeat = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;

            if (!this.showText) {
              return;
            }

            var _this$textEl$nativeEl = this.textEl.nativeElement.getBoundingClientRect(),
                width = _this$textEl$nativeEl.width;

            var oldScale = this.resizeScale;

            if (width === 0) {
              this.resizeScale = 1;
            } else {
              var availableSpace = this.textRadius;
              this.resizeScale = Math.floor(availableSpace / (width / this.resizeScale) * 100) / 100;
            }

            if (this.resizeScale !== oldScale) {
              this.textTransform = "scale(".concat(this.resizeScale, ", ").concat(this.resizeScale, ")");
              this.cd.markForCheck();

              if (repeat) {
                setTimeout(function () {
                  return _this83.scaleText(false);
                }, 50);
              }
            }
          }
        }, {
          key: "onClick",
          value: function onClick(data) {
            this.select.emit(data);
          }
        }, {
          key: "getLegendOptions",
          value: function getLegendOptions() {
            return {
              scaleType: 'ordinal',
              colors: this.colors,
              domain: this.domain,
              title: this.legendTitle,
              position: this.legendPosition
            };
          }
        }, {
          key: "setColors",
          value: function setColors() {
            this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
          }
        }, {
          key: "onActivate",
          value: function onActivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });

            if (idx > -1) {
              return;
            }

            this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
            this.activate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "onDeactivate",
          value: function onDeactivate(item) {
            var idx = this.activeEntries.findIndex(function (d) {
              return d.name === item.name && d.value === item.value;
            });
            this.activeEntries.splice(idx, 1);
            this.activeEntries = _toConsumableArray(this.activeEntries);
            this.deactivate.emit({
              value: item,
              entries: this.activeEntries
            });
          }
        }, {
          key: "isActive",
          value: function isActive(entry) {
            if (!this.activeEntries) return false;
            var item = this.activeEntries.find(function (d) {
              return entry.name === d.name && entry.series === d.series;
            });
            return item !== undefined;
          }
        }, {
          key: "trackBy",
          value: function trackBy(index, item) {
            return item.valueArc.data.name;
          }
        }]);

        return GaugeComponent;
      }(BaseChartComponent);

      GaugeComponent.ɵfac = function GaugeComponent_Factory(t) {
        return ɵGaugeComponent_BaseFactory(t || GaugeComponent);
      };

      GaugeComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: GaugeComponent,
        selectors: [["ngx-charts-gauge"]],
        contentQueries: function GaugeComponent_ContentQueries(rf, ctx, dirIndex) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, _c21, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.tooltipTemplate = _t.first);
          }
        },
        viewQuery: function GaugeComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c43, true);
          }

          if (rf & 2) {
            var _t;

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.textEl = _t.first);
          }
        },
        inputs: {
          legend: "legend",
          legendTitle: "legendTitle",
          legendPosition: "legendPosition",
          min: "min",
          max: "max",
          bigSegments: "bigSegments",
          smallSegments: "smallSegments",
          showAxis: "showAxis",
          startAngle: "startAngle",
          angleSpan: "angleSpan",
          activeEntries: "activeEntries",
          tooltipDisabled: "tooltipDisabled",
          showText: "showText",
          margin: "margin",
          textValue: "textValue",
          units: "units",
          results: "results",
          axisTickFormatting: "axisTickFormatting",
          valueFormatting: "valueFormatting"
        },
        outputs: {
          activate: "activate",
          deactivate: "deactivate"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
        decls: 5,
        vars: 13,
        consts: [[3, "view", "showLegend", "legendOptions", "activeEntries", "animations", "legendLabelClick", "legendLabelActivate", "legendLabelDeactivate"], [1, "gauge", "chart"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["ngx-charts-gauge-axis", "", 3, "bigSegments", "smallSegments", "min", "max", "radius", "angleSpan", "valueScale", "startAngle", "tickFormatting", 4, "ngIf"], ["alignment-baseline", "central", 3, "textAnchor", 4, "ngIf"], ["ngx-charts-gauge-arc", "", 3, "backgroundArc", "valueArc", "cornerRadius", "colors", "isActive", "tooltipDisabled", "tooltipTemplate", "valueFormatting", "animations", "select", "activate", "deactivate"], ["ngx-charts-gauge-axis", "", 3, "bigSegments", "smallSegments", "min", "max", "radius", "angleSpan", "valueScale", "startAngle", "tickFormatting"], ["alignment-baseline", "central"], ["textEl", ""], ["x", "0", "dy", "0"], ["x", "0", "dy", "1.2em"]],
        template: function GaugeComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-charts-chart", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("legendLabelClick", function GaugeComponent_Template_ngx_charts_chart_legendLabelClick_0_listener($event) {
              return ctx.onClick($event);
            })("legendLabelActivate", function GaugeComponent_Template_ngx_charts_chart_legendLabelActivate_0_listener($event) {
              return ctx.onActivate($event);
            })("legendLabelDeactivate", function GaugeComponent_Template_ngx_charts_chart_legendLabelDeactivate_0_listener($event) {
              return ctx.onDeactivate($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, GaugeComponent__svg_g_2_Template, 2, 10, "g", 2);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, GaugeComponent__svg_g_3_Template, 1, 9, "g", 3);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, GaugeComponent__svg_text_4_Template, 6, 5, "text", 4);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("view", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](10, _c23, ctx.width, ctx.height))("showLegend", ctx.legend)("legendOptions", ctx.legendOptions)("activeEntries", ctx.activeEntries)("animations", ctx.animations);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.transform);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.arcs)("ngForTrackBy", ctx.trackBy);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showAxis);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showText);
          }
        },
        directives: function directives() {
          return [ChartComponent, _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], GaugeArcComponent, GaugeAxisComponent];
        },
        styles: [_c24, ".gauge .background-arc path{fill:rgba(0,0,0,.05)}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{fill:#666;font-size:12px;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}"],
        encapsulation: 2,
        changeDetection: 0
      });
      GaugeComponent.propDecorators = {
        legend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendTitle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        legendPosition: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        min: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        max: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        textValue: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        units: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        bigSegments: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        smallSegments: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        results: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showAxis: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startAngle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        angleSpan: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activeEntries: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        axisTickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showText: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        margin: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
          args: ['tooltipTemplate']
        }],
        textEl: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['textEl']
        }]
      };

      var ɵGaugeComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](GaugeComponent);
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GaugeComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'ngx-charts-gauge',
            template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"gauge chart\">\n        <svg:g *ngFor=\"let arc of arcs; trackBy: trackBy\" [attr.transform]=\"rotation\">\n          <svg:g\n            ngx-charts-gauge-arc\n            [backgroundArc]=\"arc.backgroundArc\"\n            [valueArc]=\"arc.valueArc\"\n            [cornerRadius]=\"cornerRadius\"\n            [colors]=\"colors\"\n            [isActive]=\"isActive(arc.valueArc.data)\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [valueFormatting]=\"valueFormatting\"\n            [animations]=\"animations\"\n            (select)=\"onClick($event)\"\n            (activate)=\"onActivate($event)\"\n            (deactivate)=\"onDeactivate($event)\"\n          ></svg:g>\n        </svg:g>\n\n        <svg:g\n          ngx-charts-gauge-axis\n          *ngIf=\"showAxis\"\n          [bigSegments]=\"bigSegments\"\n          [smallSegments]=\"smallSegments\"\n          [min]=\"min\"\n          [max]=\"max\"\n          [radius]=\"outerRadius\"\n          [angleSpan]=\"angleSpan\"\n          [valueScale]=\"valueScale\"\n          [startAngle]=\"startAngle\"\n          [tickFormatting]=\"axisTickFormatting\"\n        ></svg:g>\n\n        <svg:text\n          #textEl\n          *ngIf=\"showText\"\n          [style.textAnchor]=\"'middle'\"\n          [attr.transform]=\"textTransform\"\n          alignment-baseline=\"central\"\n        >\n          <tspan x=\"0\" dy=\"0\">{{ displayValue }}</tspan>\n          <tspan x=\"0\" dy=\"1.2em\">{{ units }}</tspan>\n        </svg:text>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".gauge .background-arc path{fill:rgba(0,0,0,.05)}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{fill:#666;font-size:12px;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}"]
          }]
        }], null, {
          legend: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendTitle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          legendPosition: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          min: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          max: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          bigSegments: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          smallSegments: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showAxis: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          startAngle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          angleSpan: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activeEntries: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          showText: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          margin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          textValue: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          units: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          results: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          axisTickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
            args: ['tooltipTemplate']
          }],
          textEl: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['textEl']
          }]
        });
      })();

      var GaugeArcComponent = /*#__PURE__*/function () {
        function GaugeArcComponent() {
          _classCallCheck(this, GaugeArcComponent);

          this.isActive = false;
          this.tooltipDisabled = false;
          this.animations = true;
          this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
          this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        }

        _createClass(GaugeArcComponent, [{
          key: "tooltipText",
          value: function tooltipText(arc) {
            var label = formatLabel(arc.data.name);
            var val;

            if (this.valueFormatting) {
              val = this.valueFormatting(arc.data.value);
            } else {
              val = formatLabel(arc.data.value);
            }

            return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(val, "</span>\n    ");
          }
        }]);

        return GaugeArcComponent;
      }();

      GaugeArcComponent.ɵfac = function GaugeArcComponent_Factory(t) {
        return new (t || GaugeArcComponent)();
      };

      GaugeArcComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: GaugeArcComponent,
        selectors: [["g", "ngx-charts-gauge-arc", ""]],
        inputs: {
          isActive: "isActive",
          tooltipDisabled: "tooltipDisabled",
          animations: "animations",
          backgroundArc: "backgroundArc",
          valueArc: "valueArc",
          cornerRadius: "cornerRadius",
          colors: "colors",
          valueFormatting: "valueFormatting",
          tooltipTemplate: "tooltipTemplate"
        },
        outputs: {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        },
        attrs: _c51,
        decls: 2,
        vars: 23,
        consts: [["ngx-charts-pie-arc", "", 1, "background-arc", 3, "startAngle", "endAngle", "innerRadius", "outerRadius", "cornerRadius", "data", "animate", "pointerEvents"], ["ngx-charts-pie-arc", "", "ngx-tooltip", "", 3, "startAngle", "endAngle", "innerRadius", "outerRadius", "cornerRadius", "fill", "data", "animate", "isActive", "tooltipDisabled", "tooltipPlacement", "tooltipType", "tooltipTitle", "tooltipTemplate", "tooltipContext", "select", "activate", "deactivate"]],
        template: function GaugeArcComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("select", function GaugeArcComponent_Template__svg_g_select_1_listener($event) {
              return ctx.select.emit($event);
            })("activate", function GaugeArcComponent_Template__svg_g_activate_1_listener($event) {
              return ctx.activate.emit($event);
            })("deactivate", function GaugeArcComponent_Template__svg_g_deactivate_1_listener($event) {
              return ctx.deactivate.emit($event);
            });

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("startAngle", 0)("endAngle", ctx.backgroundArc.endAngle)("innerRadius", ctx.backgroundArc.innerRadius)("outerRadius", ctx.backgroundArc.outerRadius)("cornerRadius", ctx.cornerRadius)("data", ctx.backgroundArc.data)("animate", false)("pointerEvents", false);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("startAngle", 0)("endAngle", ctx.valueArc.endAngle)("innerRadius", ctx.valueArc.innerRadius)("outerRadius", ctx.valueArc.outerRadius)("cornerRadius", ctx.cornerRadius)("fill", ctx.colors.getColor(ctx.valueArc.data.name))("data", ctx.valueArc.data)("animate", ctx.animations)("isActive", ctx.isActive)("tooltipDisabled", ctx.tooltipDisabled)("tooltipPlacement", "top")("tooltipType", "tooltip")("tooltipTitle", ctx.tooltipTemplate ? undefined : ctx.tooltipText(ctx.valueArc))("tooltipTemplate", ctx.tooltipTemplate)("tooltipContext", ctx.valueArc.data);
          }
        },
        directives: [PieArcComponent, TooltipDirective],
        encapsulation: 2,
        changeDetection: 0
      });
      GaugeArcComponent.propDecorators = {
        backgroundArc: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueArc: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cornerRadius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        colors: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        isActive: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipDisabled: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tooltipTemplate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        animations: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        select: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        activate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        deactivate: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GaugeArcComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-gauge-arc]',
            template: "\n    <svg:g\n      ngx-charts-pie-arc\n      class=\"background-arc\"\n      [startAngle]=\"0\"\n      [endAngle]=\"backgroundArc.endAngle\"\n      [innerRadius]=\"backgroundArc.innerRadius\"\n      [outerRadius]=\"backgroundArc.outerRadius\"\n      [cornerRadius]=\"cornerRadius\"\n      [data]=\"backgroundArc.data\"\n      [animate]=\"false\"\n      [pointerEvents]=\"false\"\n    ></svg:g>\n    <svg:g\n      ngx-charts-pie-arc\n      [startAngle]=\"0\"\n      [endAngle]=\"valueArc.endAngle\"\n      [innerRadius]=\"valueArc.innerRadius\"\n      [outerRadius]=\"valueArc.outerRadius\"\n      [cornerRadius]=\"cornerRadius\"\n      [fill]=\"colors.getColor(valueArc.data.name)\"\n      [data]=\"valueArc.data\"\n      [animate]=\"animations\"\n      [isActive]=\"isActive\"\n      (select)=\"select.emit($event)\"\n      (activate)=\"activate.emit($event)\"\n      (deactivate)=\"deactivate.emit($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"'top'\"\n      [tooltipType]=\"'tooltip'\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText(valueArc)\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"valueArc.data\"\n    ></svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          isActive: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipDisabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          animations: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          select: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          activate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          deactivate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
          }],
          backgroundArc: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueArc: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          cornerRadius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          colors: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tooltipTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var GaugeAxisComponent = /*#__PURE__*/function () {
        function GaugeAxisComponent() {
          _classCallCheck(this, GaugeAxisComponent);

          this.rotate = '';
        }

        _createClass(GaugeAxisComponent, [{
          key: "ngOnChanges",
          value: function ngOnChanges(changes) {
            this.update();
          }
        }, {
          key: "update",
          value: function update() {
            this.rotationAngle = -90 + this.startAngle;
            this.rotate = "rotate(".concat(this.rotationAngle, ")");
            this.ticks = this.getTicks();
          }
        }, {
          key: "getTicks",
          value: function getTicks() {
            var bigTickSegment = this.angleSpan / this.bigSegments;
            var smallTickSegment = bigTickSegment / this.smallSegments;
            var tickLength = 20;
            var ticks = {
              big: [],
              small: []
            };
            var startDistance = this.radius + 10;
            var textDist = startDistance + tickLength + 10;

            for (var i = 0; i <= this.bigSegments; i++) {
              var angleDeg = i * bigTickSegment;
              var angle = angleDeg * Math.PI / 180;
              var textAnchor = this.getTextAnchor(angleDeg);
              var skip = false;

              if (i === 0 && this.angleSpan === 360) {
                skip = true;
              }

              if (!skip) {
                var text = Number.parseFloat(this.valueScale.invert(angleDeg).toString()).toLocaleString();

                if (this.tickFormatting) {
                  text = this.tickFormatting(text);
                }

                ticks.big.push({
                  line: this.getTickPath(startDistance, tickLength, angle),
                  textAnchor: textAnchor,
                  text: text,
                  textTransform: "\n            translate(".concat(textDist * Math.cos(angle), ", ").concat(textDist * Math.sin(angle), ") rotate(").concat(-this.rotationAngle, ")\n          ")
                });
              }

              if (i === this.bigSegments) {
                continue;
              }

              for (var j = 1; j <= this.smallSegments; j++) {
                var smallAngleDeg = angleDeg + j * smallTickSegment;
                var smallAngle = smallAngleDeg * Math.PI / 180;
                ticks.small.push({
                  line: this.getTickPath(startDistance, tickLength / 2, smallAngle)
                });
              }
            }

            return ticks;
          }
        }, {
          key: "getTextAnchor",
          value: function getTextAnchor(angle) {
            // [0, 45] = 'middle';
            // [46, 135] = 'start';
            // [136, 225] = 'middle';
            // [226, 315] = 'end';
            angle = (this.startAngle + angle) % 360;
            var textAnchor = 'middle';

            if (angle > 45 && angle <= 135) {
              textAnchor = 'start';
            } else if (angle > 225 && angle <= 315) {
              textAnchor = 'end';
            }

            return textAnchor;
          }
        }, {
          key: "getTickPath",
          value: function getTickPath(startDistance, tickLength, angle) {
            var y1 = startDistance * Math.sin(angle);
            var y2 = (startDistance + tickLength) * Math.sin(angle);
            var x1 = startDistance * Math.cos(angle);
            var x2 = (startDistance + tickLength) * Math.cos(angle);
            var points = [{
              x: x1,
              y: y1
            }, {
              x: x2,
              y: y2
            }];
            var lineGenerator = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["line"])().x(function (d) {
              return d.x;
            }).y(function (d) {
              return d.y;
            });
            return lineGenerator(points);
          }
        }]);

        return GaugeAxisComponent;
      }();

      GaugeAxisComponent.ɵfac = function GaugeAxisComponent_Factory(t) {
        return new (t || GaugeAxisComponent)();
      };

      GaugeAxisComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: GaugeAxisComponent,
        selectors: [["g", "ngx-charts-gauge-axis", ""]],
        inputs: {
          bigSegments: "bigSegments",
          smallSegments: "smallSegments",
          min: "min",
          max: "max",
          angleSpan: "angleSpan",
          startAngle: "startAngle",
          radius: "radius",
          valueScale: "valueScale",
          tickFormatting: "tickFormatting"
        },
        features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
        attrs: _c52,
        decls: 4,
        vars: 4,
        consts: [["class", "gauge-tick gauge-tick-large", 4, "ngFor", "ngForOf"], ["class", "gauge-tick gauge-tick-small", 4, "ngFor", "ngForOf"], [1, "gauge-tick", "gauge-tick-large"], ["alignment-baseline", "central"], [1, "gauge-tick", "gauge-tick-small"]],
        template: function GaugeAxisComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "g");

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GaugeAxisComponent__svg_g_1_Template, 2, 1, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, GaugeAxisComponent__svg_g_2_Template, 3, 4, "g", 0);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, GaugeAxisComponent__svg_g_3_Template, 2, 1, "g", 1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }

          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("transform", ctx.rotate);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks.big);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks.big);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);

            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.ticks.small);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"]],
        encapsulation: 2,
        changeDetection: 0
      });
      GaugeAxisComponent.propDecorators = {
        bigSegments: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        smallSegments: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        min: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        max: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        angleSpan: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startAngle: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        radius: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        valueScale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        tickFormatting: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      /*@__PURE__*/

      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GaugeAxisComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'g[ngx-charts-gauge-axis]',
            template: "\n    <svg:g [attr.transform]=\"rotate\">\n      <svg:g *ngFor=\"let tick of ticks.big\" class=\"gauge-tick gauge-tick-large\">\n        <svg:path [attr.d]=\"tick.line\" />\n      </svg:g>\n      <svg:g *ngFor=\"let tick of ticks.big\" class=\"gauge-tick gauge-tick-large\">\n        <svg:text\n          [style.textAnchor]=\"tick.textAnchor\"\n          [attr.transform]=\"tick.textTransform\"\n          alignment-baseline=\"central\"\n        >\n          {{ tick.text }}\n        </svg:text>\n      </svg:g>\n      <svg:g *ngFor=\"let tick of ticks.small\" class=\"gauge-tick gauge-tick-small\">\n        <svg:path [attr.d]=\"tick.line\" />\n      </svg:g>\n    </svg:g>\n  ",
            changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
          }]
        }], function () {
          return [];
        }, {
          bigSegments: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          smallSegments: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          min: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          max: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          angleSpan: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          startAngle: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          radius: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          valueScale: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          tickFormatting: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();

      var GaugeModule = function GaugeModule() {
        _classCallCheck(this, GaugeModule);
      };

      GaugeModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: GaugeModule
      });
      GaugeModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function GaugeModule_Factory(t) {
          return new (t || GaugeModule)();
        },
        imports: [[ChartCommonModule, PieChartModule, BarChartModule]]
      });

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](GaugeModule, {
          declarations: [LinearGaugeComponent, GaugeComponent, GaugeArcComponent, GaugeAxisComponent],
          imports: [ChartCommonModule, PieChartModule, BarChartModule],
          exports: [LinearGaugeComponent, GaugeComponent, GaugeArcComponent, GaugeAxisComponent]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GaugeModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [ChartCommonModule, PieChartModule, BarChartModule],
            declarations: [LinearGaugeComponent, GaugeComponent, GaugeArcComponent, GaugeAxisComponent],
            exports: [LinearGaugeComponent, GaugeComponent, GaugeArcComponent, GaugeAxisComponent]
          }]
        }], null, null);
      })(); // The export is needed here to generate a valid polyfills.metadata.json file


      function ngxChartsPolyfills() {
        // IE11 fix
        // Ref: https://github.com/swimlane/ngx-charts/issues/386
        if (typeof SVGElement !== 'undefined' && typeof SVGElement.prototype.contains === 'undefined') {
          SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
        }
      }

      var NgxChartsModule = function NgxChartsModule() {
        _classCallCheck(this, NgxChartsModule);

        ngxChartsPolyfills();
      };

      NgxChartsModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: NgxChartsModule
      });
      NgxChartsModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function NgxChartsModule_Factory(t) {
          return new (t || NgxChartsModule)();
        },
        imports: [ChartCommonModule, AreaChartModule, BarChartModule, BubbleChartModule, HeatMapModule, LineChartModule, PolarChartModule, NumberCardModule, PieChartModule, TreeMapModule, GaugeModule]
      });

      NgxChartsModule.ctorParameters = function () {
        return [];
      };

      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NgxChartsModule, {
          exports: [ChartCommonModule, AreaChartModule, BarChartModule, BubbleChartModule, HeatMapModule, LineChartModule, PolarChartModule, NumberCardModule, PieChartModule, TreeMapModule, GaugeModule]
        });
      })();
      /*@__PURE__*/


      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgxChartsModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            exports: [ChartCommonModule, AreaChartModule, BarChartModule, BubbleChartModule, HeatMapModule, LineChartModule, PolarChartModule, NumberCardModule, PieChartModule, TreeMapModule, GaugeModule]
          }]
        }], function () {
          return [];
        }, null);
      })();

      function tickFormat(fieldType, groupByType) {
        return function (label) {
          if (label === 'No Value' || label === 'Other') {
            return label;
          }

          if (fieldType === 'date' && groupByType === 'groupBy') {
            var formatter = Object(d3_time_format__WEBPACK_IMPORTED_MODULE_17__["timeFormat"])('MM/DD/YYYY');
            return formatter(label);
          }

          return label.toString();
        };
      }
      /*
       * Public API Surface of ngx-charts
       */

      /**
       * Generated bundle index. Do not edit.
       */
      //# sourceMappingURL=swimlane-ngx-charts.js.map

      /***/

    },

    /***/
    "MHiR": function MHiR(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "bounceIn", function () {
        return bounceIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "bounceOut", function () {
        return bounceOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "bounceInOut", function () {
        return bounceInOut;
      });

      var b1 = 4 / 11,
          b2 = 6 / 11,
          b3 = 8 / 11,
          b4 = 3 / 4,
          b5 = 9 / 11,
          b6 = 10 / 11,
          b7 = 15 / 16,
          b8 = 21 / 22,
          b9 = 63 / 64,
          b0 = 1 / b1 / b1;

      function bounceIn(t) {
        return 1 - bounceOut(1 - t);
      }

      function bounceOut(t) {
        return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;
      }

      function bounceInOut(t) {
        return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;
      }
      /***/

    },

    /***/
    "MYM+": function MYM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "years", function () {
        return years;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");

      var year = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setMonth(0, 1);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setFullYear(date.getFullYear() + step);
      }, function (start, end) {
        return end.getFullYear() - start.getFullYear();
      }, function (date) {
        return date.getFullYear();
      }); // An optimized implementation for this simple case.

      year.every = function (k) {
        return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setFullYear(Math.floor(date.getFullYear() / k) * k);
          date.setMonth(0, 1);
          date.setHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setFullYear(date.getFullYear() + step * k);
        });
      };
      /* harmony default export */


      __webpack_exports__["default"] = year;
      var years = year.range;
      /***/
    },

    /***/
    "MiBC": function MiBC(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (source, keys) {
        return Array.from(keys, function (key) {
          return source[key];
        });
      };
      /***/

    },

    /***/
    "Mlif": function Mlif(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "identity", function () {
        return identity;
      });

      var degrees = 180 / Math.PI;
      var identity = {
        translateX: 0,
        translateY: 0,
        rotate: 0,
        skewX: 0,
        scaleX: 1,
        scaleY: 1
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (a, b, c, d, e, f) {
        var scaleX, scaleY, skewX;
        if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;
        if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;
        if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
        if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;
        return {
          translateX: e,
          translateY: f,
          rotate: Math.atan2(b, a) * degrees,
          skewX: Math.atan(skewX) * degrees,
          scaleX: scaleX,
          scaleY: scaleY
        };
      };
      /***/

    },

    /***/
    "NLDM": function NLDM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcTicks", function () {
        return utcTicks;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcTickInterval", function () {
        return utcTickInterval;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "timeTicks", function () {
        return timeTicks;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "timeTickInterval", function () {
        return timeTickInterval;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");
      /* harmony import */


      var _millisecond_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./millisecond.js */
      "Wv09");
      /* harmony import */


      var _second_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./second.js */
      "XKfN");
      /* harmony import */


      var _minute_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./minute.js */
      "eFZf");
      /* harmony import */


      var _hour_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./hour.js */
      "cpNG");
      /* harmony import */


      var _day_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./day.js */
      "9ANq");
      /* harmony import */


      var _week_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./week.js */
      "YO/N");
      /* harmony import */


      var _month_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./month.js */
      "39FP");
      /* harmony import */


      var _year_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./year.js */
      "MYM+");
      /* harmony import */


      var _utcMinute_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./utcMinute.js */
      "7C4L");
      /* harmony import */


      var _utcHour_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./utcHour.js */
      "qo2l");
      /* harmony import */


      var _utcDay_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./utcDay.js */
      "cexm");
      /* harmony import */


      var _utcWeek_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./utcWeek.js */
      "Qg4V");
      /* harmony import */


      var _utcMonth_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./utcMonth.js */
      "gwhR");
      /* harmony import */


      var _utcYear_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./utcYear.js */
      "yIB4");

      function ticker(year, month, week, day, hour, minute) {
        var tickIntervals = [[_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [minute, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [minute, 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [minute, 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [minute, 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [hour, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [hour, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [hour, 6, 6 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [hour, 12, 12 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [day, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"]], [day, 2, 2 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"]], [week, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"]], [month, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMonth"]], [month, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMonth"]], [year, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"]]];

        function ticks(start, stop, count) {
          var reverse = stop < start;

          if (reverse) {
            var _ref54 = [stop, start];
            start = _ref54[0];
            stop = _ref54[1];
          }

          var interval = count && typeof count.range === "function" ? count : tickInterval(start, stop, count);
          var ticks = interval ? interval.range(start, +stop + 1) : []; // inclusive stop

          return reverse ? ticks.reverse() : ticks;
        }

        function tickInterval(start, stop, count) {
          var target = Math.abs(stop - start) / count;
          var i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisector"])(function (_ref55) {
            var _ref56 = _slicedToArray(_ref55, 3),
                step = _ref56[2];

            return step;
          }).right(tickIntervals, target);
          if (i === tickIntervals.length) return year.every(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"], stop / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"], count));
          if (i === 0) return _millisecond_js__WEBPACK_IMPORTED_MODULE_2__["default"].every(Math.max(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start, stop, count), 1));

          var _tickIntervals = _slicedToArray(tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i], 2),
              t = _tickIntervals[0],
              step = _tickIntervals[1];

          return t.every(step);
        }

        return [ticks, tickInterval];
      }

      var _ticker = ticker(_utcYear_js__WEBPACK_IMPORTED_MODULE_15__["default"], _utcMonth_js__WEBPACK_IMPORTED_MODULE_14__["default"], _utcWeek_js__WEBPACK_IMPORTED_MODULE_13__["utcSunday"], _utcDay_js__WEBPACK_IMPORTED_MODULE_12__["default"], _utcHour_js__WEBPACK_IMPORTED_MODULE_11__["default"], _utcMinute_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
          _ticker2 = _slicedToArray(_ticker, 2),
          utcTicks = _ticker2[0],
          utcTickInterval = _ticker2[1];

      var _ticker3 = ticker(_year_js__WEBPACK_IMPORTED_MODULE_9__["default"], _month_js__WEBPACK_IMPORTED_MODULE_8__["default"], _week_js__WEBPACK_IMPORTED_MODULE_7__["sunday"], _day_js__WEBPACK_IMPORTED_MODULE_6__["default"], _hour_js__WEBPACK_IMPORTED_MODULE_5__["default"], _minute_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
          _ticker4 = _slicedToArray(_ticker3, 2),
          timeTicks = _ticker4[0],
          timeTickInterval = _ticker4[1];
      /***/

    },

    /***/
    "NU5n": function NU5n(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _accessors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./accessors.js */
      "IeU1");
      /* harmony import */


      var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./hierarchy/index.js */
      "a8tM");

      var keyPrefix = "$",
          // Protect against keys like “__proto__”.
      preroot = {
        depth: -1
      },
          ambiguous = {};

      function defaultId(d) {
        return d.id;
      }

      function defaultParentId(d) {
        return d.parentId;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var id = defaultId,
            parentId = defaultParentId;

        function stratify(data) {
          var d,
              i,
              n = data.length,
              root,
              parent,
              node,
              nodes = new Array(n),
              nodeId,
              nodeKey,
              nodeByKey = {};

          for (i = 0; i < n; ++i) {
            d = data[i], node = nodes[i] = new _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["Node"](d);

            if ((nodeId = id(d, i, data)) != null && (nodeId += "")) {
              nodeKey = keyPrefix + (node.id = nodeId);
              nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;
            }
          }

          for (i = 0; i < n; ++i) {
            node = nodes[i], nodeId = parentId(data[i], i, data);

            if (nodeId == null || !(nodeId += "")) {
              if (root) throw new Error("multiple roots");
              root = node;
            } else {
              parent = nodeByKey[keyPrefix + nodeId];
              if (!parent) throw new Error("missing: " + nodeId);
              if (parent === ambiguous) throw new Error("ambiguous: " + nodeId);
              if (parent.children) parent.children.push(node);else parent.children = [node];
              node.parent = parent;
            }
          }

          if (!root) throw new Error("no root");
          root.parent = preroot;
          root.eachBefore(function (node) {
            node.depth = node.parent.depth + 1;
            --n;
          }).eachBefore(_hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["computeHeight"]);
          root.parent = null;
          if (n > 0) throw new Error("cycle");
          return root;
        }

        stratify.id = function (x) {
          return arguments.length ? (id = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_0__["required"])(x), stratify) : id;
        };

        stratify.parentId = function (x) {
          return arguments.length ? (parentId = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_0__["required"])(x), stratify) : parentId;
        };

        return stratify;
      };
      /***/

    },

    /***/
    "Nehl": function Nehl(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tweenValue", function () {
        return tweenValue;
      });
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");

      function tweenRemove(id, name) {
        var tween0, tween1;
        return function () {
          var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id),
              tween = schedule.tween; // If this node shared tween with the previous node,
          // just assign the updated shared tween and we’re done!
          // Otherwise, copy-on-write.

          if (tween !== tween0) {
            tween1 = tween0 = tween;

            for (var i = 0, n = tween1.length; i < n; ++i) {
              if (tween1[i].name === name) {
                tween1 = tween1.slice();
                tween1.splice(i, 1);
                break;
              }
            }
          }

          schedule.tween = tween1;
        };
      }

      function tweenFunction(id, name, value) {
        var tween0, tween1;
        if (typeof value !== "function") throw new Error();
        return function () {
          var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id),
              tween = schedule.tween; // If this node shared tween with the previous node,
          // just assign the updated shared tween and we’re done!
          // Otherwise, copy-on-write.

          if (tween !== tween0) {
            tween1 = (tween0 = tween).slice();

            for (var t = {
              name: name,
              value: value
            }, i = 0, n = tween1.length; i < n; ++i) {
              if (tween1[i].name === name) {
                tween1[i] = t;
                break;
              }
            }

            if (i === n) tween1.push(t);
          }

          schedule.tween = tween1;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value) {
        var id = this._id;
        name += "";

        if (arguments.length < 2) {
          var tween = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).tween;

          for (var i = 0, n = tween.length, t; i < n; ++i) {
            if ((t = tween[i]).name === name) {
              return t.value;
            }
          }

          return null;
        }

        return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));
      };

      function tweenValue(transition, name, value) {
        var id = transition._id;
        transition.each(function () {
          var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id);
          (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);
        });
        return function (node) {
          return Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(node, id).value[name];
        };
      }
      /***/

    },

    /***/
    "Nkvg": function Nkvg(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "styleValue", function () {
        return styleValue;
      });
      /* harmony import */


      var _window__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../window */
      "oxeV");

      function styleRemove(name) {
        return function () {
          this.style.removeProperty(name);
        };
      }

      function styleConstant(name, value, priority) {
        return function () {
          this.style.setProperty(name, value, priority);
        };
      }

      function styleFunction(name, value, priority) {
        return function () {
          var v = value.apply(this, arguments);
          if (v == null) this.style.removeProperty(name);else this.style.setProperty(name, v, priority);
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value, priority) {
        return arguments.length > 1 ? this.each((value == null ? styleRemove : typeof value === "function" ? styleFunction : styleConstant)(name, value, priority == null ? "" : priority)) : styleValue(this.node(), name);
      };

      function styleValue(node, name) {
        return node.style.getPropertyValue(name) || Object(_window__WEBPACK_IMPORTED_MODULE_0__["default"])(node).getComputedStyle(node, null).getPropertyValue(name);
      }
      /***/

    },

    /***/
    "Nl5w": function Nl5w(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../count.js */
      "hiel");
      /* harmony default export */


      __webpack_exports__["default"] = function (values) {
        return Math.ceil(Math.log(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values)) / Math.LN2) + 1;
      };
      /***/

    },

    /***/
    "NltA": function NltA(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (start, stop, step) {
        start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
        var i = -1,
            n = Math.max(0, Math.ceil((stop - start) / step)) | 0,
            range = new Array(n);

        while (++i < n) {
          range[i] = start + i * step;
        }

        return range;
      };
      /***/

    },

    /***/
    "NtxT": function NtxT(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./none.js */
      "0T5i");
      /* harmony default export */


      __webpack_exports__["default"] = function (series, order) {
        if (!((n = series.length) > 0)) return;

        for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {
          for (var i = 0, y = 0; i < n; ++i) {
            y += series[i][j][1] || 0;
          }

          s0[j][1] += s0[j][0] = -y / 2;
        }

        Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order);
      };
      /***/

    },

    /***/
    "O03L": function O03L(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CardinalClosed", function () {
        return CardinalClosed;
      });
      /* harmony import */


      var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../noop.js */
      "0K5P");
      /* harmony import */


      var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./cardinal.js */
      "d5JU");

      function CardinalClosed(context, tension) {
        this._context = context;
        this._k = (1 - tension) / 6;
      }

      CardinalClosed.prototype = {
        areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 1:
              {
                this._context.moveTo(this._x3, this._y3);

                this._context.closePath();

                break;
              }

            case 2:
              {
                this._context.lineTo(this._x3, this._y3);

                this._context.closePath();

                break;
              }

            case 3:
              {
                this.point(this._x3, this._y3);
                this.point(this._x4, this._y4);
                this.point(this._x5, this._y5);
                break;
              }
          }
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              this._x3 = x, this._y3 = y;
              break;

            case 1:
              this._point = 2;

              this._context.moveTo(this._x4 = x, this._y4 = y);

              break;

            case 2:
              this._point = 3;
              this._x5 = x, this._y5 = y;
              break;

            default:
              Object(_cardinal_js__WEBPACK_IMPORTED_MODULE_1__["point"])(this, x, y);
              break;
          }

          this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
          this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(tension) {
        function cardinal(context) {
          return new CardinalClosed(context, tension);
        }

        cardinal.tension = function (tension) {
          return custom(+tension);
        };

        return cardinal;
      }(0);
      /***/

    },

    /***/
    "O0DV": function O0DV(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return utcTime;
      });
      /* harmony import */


      var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-time */
      "tLhX");
      /* harmony import */


      var d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-time-format */
      "cOGN");
      /* harmony import */


      var _time_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./time.js */
      "R0i0");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function utcTime() {
        return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(Object(_time_js__WEBPACK_IMPORTED_MODULE_2__["calendar"])(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcTicks"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcTickInterval"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonth"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcWeek"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcHour"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMinute"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcSecond"], d3_time_format__WEBPACK_IMPORTED_MODULE_1__["utcFormat"]).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]), arguments);
      }
      /***/

    },

    /***/
    "OHKE": function OHKE(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "cubehelixLong", function () {
        return cubehelixLong;
      });
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./color.js */
      "sFV2");

      function cubehelix(hue) {
        return function cubehelixGamma(y) {
          y = +y;

          function cubehelix(start, end) {
            var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["cubehelix"])(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["cubehelix"])(end)).h),
                s = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s),
                l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
                opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
            return function (t) {
              start.h = h(t);
              start.s = s(t);
              start.l = l(Math.pow(t, y));
              start.opacity = opacity(t);
              return start + "";
            };
          }

          cubehelix.gamma = cubehelixGamma;
          return cubehelix;
        }(1);
      }
      /* harmony default export */


      __webpack_exports__["default"] = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["hue"]);
      var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
      /***/
    },

    /***/
    "OP1V": function OP1V(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return diverging;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "divergingLog", function () {
        return divergingLog;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "divergingSymlog", function () {
        return divergingSymlog;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "divergingPow", function () {
        return divergingPow;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "divergingSqrt", function () {
        return divergingSqrt;
      });
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _log_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./log.js */
      "n0hd");
      /* harmony import */


      var _sequential_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./sequential.js */
      "zmsm");
      /* harmony import */


      var _symlog_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./symlog.js */
      "wC0G");
      /* harmony import */


      var _pow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./pow.js */
      "eJvb");

      function transformer() {
        var x0 = 0,
            x1 = 0.5,
            x2 = 1,
            s = 1,
            t0,
            t1,
            t2,
            k10,
            k21,
            interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"],
            transform,
            clamp = false,
            unknown;

        function scale(x) {
          return isNaN(x = +x) ? unknown : (x = 0.5 + ((x = +transform(x)) - t1) * (s * x < s * t1 ? k10 : k21), interpolator(clamp ? Math.max(0, Math.min(1, x)) : x));
        }

        scale.domain = function (_) {
          var _ref57, _ref58;

          return arguments.length ? ((_ref57 = _, _ref58 = _slicedToArray(_ref57, 3), x0 = _ref58[0], x1 = _ref58[1], x2 = _ref58[2], _ref57), t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), t2 = transform(x2 = +x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), s = t1 < t0 ? -1 : 1, scale) : [x0, x1, x2];
        };

        scale.clamp = function (_) {
          return arguments.length ? (clamp = !!_, scale) : clamp;
        };

        scale.interpolator = function (_) {
          return arguments.length ? (interpolator = _, scale) : interpolator;
        };

        function range(interpolate) {
          return function (_) {
            var _ref59, _ref60;

            var r0, r1, r2;
            return arguments.length ? ((_ref59 = _, _ref60 = _slicedToArray(_ref59, 3), r0 = _ref60[0], r1 = _ref60[1], r2 = _ref60[2], _ref59), interpolator = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["piecewise"])(interpolate, [r0, r1, r2]), scale) : [interpolator(0), interpolator(0.5), interpolator(1)];
          };
        }

        scale.range = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolate"]);
        scale.rangeRound = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateRound"]);

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        return function (t) {
          transform = t, t0 = t(x0), t1 = t(x1), t2 = t(x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), s = t1 < t0 ? -1 : 1;
          return scale;
        };
      }

      function diverging() {
        var scale = Object(_linear_js__WEBPACK_IMPORTED_MODULE_3__["linearish"])(transformer()(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]));

        scale.copy = function () {
          return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, diverging());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function divergingLog() {
        var scale = Object(_log_js__WEBPACK_IMPORTED_MODULE_4__["loggish"])(transformer()).domain([0.1, 1, 10]);

        scale.copy = function () {
          return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, divergingLog()).base(scale.base());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function divergingSymlog() {
        var scale = Object(_symlog_js__WEBPACK_IMPORTED_MODULE_6__["symlogish"])(transformer());

        scale.copy = function () {
          return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, divergingSymlog()).constant(scale.constant());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function divergingPow() {
        var scale = Object(_pow_js__WEBPACK_IMPORTED_MODULE_7__["powish"])(transformer());

        scale.copy = function () {
          return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, divergingPow()).exponent(scale.exponent());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function divergingSqrt() {
        return divergingPow.apply(null, arguments).exponent(0.5);
      }
      /***/

    },

    /***/
    "OWWo": function OWWo(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return sum;
      });

      function sum(values, valueof) {
        var sum = 0;

        if (valueof === undefined) {
          var _iterator90 = _createForOfIteratorHelper(values),
              _step90;

          try {
            for (_iterator90.s(); !(_step90 = _iterator90.n()).done;) {
              var value = _step90.value;

              if (value = +value) {
                sum += value;
              }
            }
          } catch (err) {
            _iterator90.e(err);
          } finally {
            _iterator90.f();
          }
        } else {
          var index = -1;

          var _iterator91 = _createForOfIteratorHelper(values),
              _step91;

          try {
            for (_iterator91.s(); !(_step91 = _iterator91.n()).done;) {
              var _value5 = _step91.value;

              if (_value5 = +valueof(_value5, ++index, values)) {
                sum += _value5;
              }
            }
          } catch (err) {
            _iterator91.e(err);
          } finally {
            _iterator91.f();
          }
        }

        return sum;
      }
      /***/

    },

    /***/
    "Ok6N": function Ok6N(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return scan;
      });
      /* harmony import */


      var _leastIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./leastIndex.js */
      "/CzE");

      function scan(values, compare) {
        var index = Object(_leastIndex_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, compare);
        return index < 0 ? undefined : index;
      }
      /***/

    },

    /***/
    "Oo5A": function Oo5A(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _appearance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./appearance.js */
      "T17Z");
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./ascending.js */
      "WuDp");
      /* harmony default export */


      __webpack_exports__["default"] = function (series) {
        var n = series.length,
            i,
            j,
            sums = series.map(_ascending_js__WEBPACK_IMPORTED_MODULE_1__["sum"]),
            order = Object(_appearance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series),
            top = 0,
            bottom = 0,
            tops = [],
            bottoms = [];

        for (i = 0; i < n; ++i) {
          j = order[i];

          if (top < bottom) {
            top += sums[j];
            tops.push(j);
          } else {
            bottom += sums[j];
            bottoms.push(j);
          }
        }

        return bottoms.reverse().concat(tops);
      };
      /***/

    },

    /***/
    "OqQA": function OqQA(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function () {
          return x;
        };
      };
      /***/

    },

    /***/
    "OrLo": function OrLo(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return radial;
      });
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./number.js */
      "4m7i");

      function square(x) {
        return Math.sign(x) * x * x;
      }

      function unsquare(x) {
        return Math.sign(x) * Math.sqrt(Math.abs(x));
      }

      function radial() {
        var squared = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_0__["default"])(),
            range = [0, 1],
            round = false,
            unknown;

        function scale(x) {
          var y = unsquare(squared(x));
          return isNaN(y) ? unknown : round ? Math.round(y) : y;
        }

        scale.invert = function (y) {
          return squared.invert(square(y));
        };

        scale.domain = function (_) {
          return arguments.length ? (squared.domain(_), scale) : squared.domain();
        };

        scale.range = function (_) {
          return arguments.length ? (squared.range((range = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_3__["default"])).map(square)), scale) : range.slice();
        };

        scale.rangeRound = function (_) {
          return scale.range(_).round(true);
        };

        scale.round = function (_) {
          return arguments.length ? (round = !!_, scale) : round;
        };

        scale.clamp = function (_) {
          return arguments.length ? (squared.clamp(_), scale) : squared.clamp();
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        scale.copy = function () {
          return radial(squared.domain(), range).round(round).clamp(squared.clamp()).unknown(unknown);
        };

        _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(scale, arguments);

        return Object(_linear_js__WEBPACK_IMPORTED_MODULE_2__["linearish"])(scale);
      }
      /***/

    },

    /***/
    "P3dq": function P3dq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (onenter, onupdate, onexit) {
        var enter = this.enter(),
            update = this,
            exit = this.exit();
        enter = typeof onenter === "function" ? onenter(enter) : enter.append(onenter + "");
        if (onupdate != null) update = onupdate(update);
        if (onexit == null) exit.remove();else onexit(exit);
        return enter && update ? enter.merge(update).order() : update;
      };
      /***/

    },

    /***/
    "P3jZ": function P3jZ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./formatDecimal.js */
      "qnQu");
      /* harmony default export */


      __webpack_exports__["default"] = function (x, p) {
        var d = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(x, p);
        if (!d) return x + "";
        var coefficient = d[0],
            exponent = d[1];
        return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
      };
      /***/

    },

    /***/
    "PYcf": function PYcf(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (callback) {
        var node = this,
            nodes = [node],
            children,
            i;

        while (node = nodes.pop()) {
          callback(node), children = node.children;
          if (children) for (i = children.length - 1; i >= 0; --i) {
            nodes.push(children[i]);
          }
        }

        return this;
      };
      /***/

    },

    /***/
    "Pgey": function Pgey(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./timer.js */
      "dPRQ");
      /* harmony default export */


      __webpack_exports__["default"] = function (callback, delay, time) {
        var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__["Timer"]();
        delay = delay == null ? 0 : +delay;
        t.restart(function (elapsed) {
          t.stop();
          callback(elapsed + delay);
        }, delay, time);
        return t;
      };
      /***/

    },

    /***/
    "PuQ0": function PuQ0(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./array.js */
      "wMLG");
      /* harmony import */


      var _bisect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./bisect.js */
      "h8nK");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./constant.js */
      "2bil");
      /* harmony import */


      var _extent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./extent.js */
      "wz8V");
      /* harmony import */


      var _identity_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./identity.js */
      "i202");
      /* harmony import */


      var _nice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./nice.js */
      "GWx9");
      /* harmony import */


      var _ticks_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./ticks.js */
      "7ssf");
      /* harmony import */


      var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./threshold/sturges.js */
      "Nl5w");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var value = _identity_js__WEBPACK_IMPORTED_MODULE_4__["default"],
            domain = _extent_js__WEBPACK_IMPORTED_MODULE_3__["default"],
            threshold = _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_7__["default"];

        function histogram(data) {
          if (!Array.isArray(data)) data = Array.from(data);
          var i,
              n = data.length,
              x,
              values = new Array(n);

          for (i = 0; i < n; ++i) {
            values[i] = value(data[i], i, data);
          }

          var xz = domain(values),
              x0 = xz[0],
              x1 = xz[1],
              tz = threshold(values, x0, x1); // Convert number of thresholds into uniform thresholds, and nice the
          // default domain accordingly.

          if (!Array.isArray(tz)) {
            var max = x1,
                tn = +tz;

            if (domain === _extent_js__WEBPACK_IMPORTED_MODULE_3__["default"]) {
              var _Object = Object(_nice_js__WEBPACK_IMPORTED_MODULE_5__["default"])(x0, x1, tn);

              var _Object2 = _slicedToArray(_Object, 2);

              x0 = _Object2[0];
              x1 = _Object2[1];
            }

            tz = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_6__["default"])(x0, x1, tn); // If the last threshold is coincident with the domain’s upper bound, the
            // last bin will be zero-width. If the default domain is used, and this
            // last threshold is coincident with the maximum input value, we can
            // extend the niced upper bound by one tick to ensure uniform bin widths;
            // otherwise, we simply remove the last threshold. Note that we don’t
            // coerce values or the domain to numbers, and thus must be careful to
            // compare order (>=) rather than strict equality (===)!

            if (tz[tz.length - 1] >= x1) {
              if (max >= x1 && domain === _extent_js__WEBPACK_IMPORTED_MODULE_3__["default"]) {
                var step = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_6__["tickIncrement"])(x0, x1, tn);

                if (isFinite(step)) {
                  if (step > 0) {
                    x1 = (Math.floor(x1 / step) + 1) * step;
                  } else if (step < 0) {
                    x1 = (Math.ceil(x1 * -step) + 1) / -step;
                  }
                }
              } else {
                tz.pop();
              }
            }
          } // Remove any thresholds outside the domain.


          var m = tz.length;

          while (tz[0] <= x0) {
            tz.shift(), --m;
          }

          while (tz[m - 1] > x1) {
            tz.pop(), --m;
          }

          var bins = new Array(m + 1),
              bin; // Initialize bins.

          for (i = 0; i <= m; ++i) {
            bin = bins[i] = [];
            bin.x0 = i > 0 ? tz[i - 1] : x0;
            bin.x1 = i < m ? tz[i] : x1;
          } // Assign data to bins by value, ignoring any outside the domain.


          for (i = 0; i < n; ++i) {
            x = values[i];

            if (x0 <= x && x <= x1) {
              bins[Object(_bisect_js__WEBPACK_IMPORTED_MODULE_1__["default"])(tz, x, 0, m)].push(data[i]);
            }
          }

          return bins;
        }

        histogram.value = function (_) {
          return arguments.length ? (value = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : value;
        };

        histogram.domain = function (_) {
          return arguments.length ? (domain = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])([_[0], _[1]]), histogram) : domain;
        };

        histogram.thresholds = function (_) {
          return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(_)) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : threshold;
        };

        return histogram;
      };
      /***/

    },

    /***/
    "Q43v": function Q43v(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./cardinalOpen.js */
      "sK06");
      /* harmony import */


      var _catmullRom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./catmullRom.js */
      "Kcim");

      function CatmullRomOpen(context, alpha) {
        this._context = context;
        this._alpha = alpha;
      }

      CatmullRomOpen.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
          this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
        },
        lineEnd: function lineEnd() {
          if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          if (this._point) {
            var x23 = this._x2 - x,
                y23 = this._y2 - y;
            this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
          }

          switch (this._point) {
            case 0:
              this._point = 1;
              break;

            case 1:
              this._point = 2;
              break;

            case 2:
              this._point = 3;
              this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
              break;

            case 3:
              this._point = 4;
            // proceed

            default:
              Object(_catmullRom_js__WEBPACK_IMPORTED_MODULE_1__["point"])(this, x, y);
              break;
          }

          this._l01_a = this._l12_a, this._l12_a = this._l23_a;
          this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
          this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
          this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(alpha) {
        function catmullRom(context) {
          return alpha ? new CatmullRomOpen(context, alpha) : new _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_0__["CardinalOpen"](context, 0);
        }

        catmullRom.alpha = function (alpha) {
          return custom(+alpha);
        };

        return catmullRom;
      }(0.5);
      /***/

    },

    /***/
    "QK7T": function QK7T(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "shuffler", function () {
        return shuffler;
      });
      /* harmony default export */


      __webpack_exports__["default"] = shuffler(Math.random);

      function shuffler(random) {
        return function shuffle(array) {
          var i0 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
          var i1 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : array.length;
          var m = i1 - (i0 = +i0);

          while (m) {
            var i = random() * m-- | 0,
                t = array[m + i0];
            array[m + i0] = array[i + i0];
            array[i + i0] = t;
          }

          return array;
        };
      }
      /***/

    },

    /***/
    "Qg4V": function Qg4V(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
        return utcSunday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
        return utcMonday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
        return utcTuesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
        return utcWednesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
        return utcThursday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
        return utcFriday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
        return utcSaturday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
        return utcSundays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
        return utcMondays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
        return utcTuesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
        return utcWednesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
        return utcThursdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
        return utcFridays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
        return utcSaturdays;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      function utcWeekday(i) {
        return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
          date.setUTCHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setUTCDate(date.getUTCDate() + step * 7);
        }, function (start, end) {
          return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
        });
      }

      var utcSunday = utcWeekday(0);
      var utcMonday = utcWeekday(1);
      var utcTuesday = utcWeekday(2);
      var utcWednesday = utcWeekday(3);
      var utcThursday = utcWeekday(4);
      var utcFriday = utcWeekday(5);
      var utcSaturday = utcWeekday(6);
      var utcSundays = utcSunday.range;
      var utcMondays = utcMonday.range;
      var utcTuesdays = utcTuesday.range;
      var utcWednesdays = utcWednesday.range;
      var utcThursdays = utcThursday.range;
      var utcFridays = utcFriday.range;
      var utcSaturdays = utcSaturday.range;
      /***/
    },

    /***/
    "QjDJ": function QjDJ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function empty() {
        return [];
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (selector) {
        return selector == null ? empty : function () {
          return this.querySelectorAll(selector);
        };
      };
      /***/

    },

    /***/
    "R0i0": function R0i0(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "calendar", function () {
        return calendar;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return time;
      });
      /* harmony import */


      var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-time */
      "tLhX");
      /* harmony import */


      var d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-time-format */
      "cOGN");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");
      /* harmony import */


      var _nice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./nice.js */
      "bcaG");

      function date(t) {
        return new Date(t);
      }

      function number(t) {
        return t instanceof Date ? +t : +new Date(+t);
      }

      function calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format) {
        var scale = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_2__["default"])(),
            invert = scale.invert,
            domain = scale.domain;
        var formatMillisecond = format(".%L"),
            formatSecond = format(":%S"),
            formatMinute = format("%I:%M"),
            formatHour = format("%I %p"),
            formatDay = format("%a %d"),
            formatWeek = format("%b %d"),
            formatMonth = format("%B"),
            formatYear = format("%Y");

        function tickFormat(date) {
          return (second(date) < date ? formatMillisecond : minute(date) < date ? formatSecond : hour(date) < date ? formatMinute : day(date) < date ? formatHour : month(date) < date ? week(date) < date ? formatDay : formatWeek : year(date) < date ? formatMonth : formatYear)(date);
        }

        scale.invert = function (y) {
          return new Date(invert(y));
        };

        scale.domain = function (_) {
          return arguments.length ? domain(Array.from(_, number)) : domain().map(date);
        };

        scale.ticks = function (interval) {
          var d = domain();
          return ticks(d[0], d[d.length - 1], interval == null ? 10 : interval);
        };

        scale.tickFormat = function (count, specifier) {
          return specifier == null ? tickFormat : format(specifier);
        };

        scale.nice = function (interval) {
          var d = domain();
          if (!interval || typeof interval.range !== "function") interval = tickInterval(d[0], d[d.length - 1], interval == null ? 10 : interval);
          return interval ? domain(Object(_nice_js__WEBPACK_IMPORTED_MODULE_4__["default"])(d, interval)) : scale;
        };

        scale.copy = function () {
          return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_2__["copy"])(scale, calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format));
        };

        return scale;
      }

      function time() {
        return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(calendar(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeTicks"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeTickInterval"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonth"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeWeek"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeHour"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMinute"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeSecond"], d3_time_format__WEBPACK_IMPORTED_MODULE_1__["timeFormat"]).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]), arguments);
      }
      /***/

    },

    /***/
    "R9CD": function R9CD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return pairs;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "pair", function () {
        return pair;
      });

      function pairs(values) {
        var pairof = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pair;
        var pairs = [];
        var previous;
        var first = false;

        var _iterator92 = _createForOfIteratorHelper(values),
            _step92;

        try {
          for (_iterator92.s(); !(_step92 = _iterator92.n()).done;) {
            var value = _step92.value;
            if (first) pairs.push(pairof(previous, value));
            previous = value;
            first = true;
          }
        } catch (err) {
          _iterator92.e(err);
        } finally {
          _iterator92.f();
        }

        return pairs;
      }

      function pair(a, b) {
        return [a, b];
      }
      /***/

    },

    /***/
    "S/r+": function SR(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var node = this,
            nodes = [node];

        while (node = node.parent) {
          nodes.push(node);
        }

        return nodes;
      };
      /***/

    },

    /***/
    "S3lI": function S3lI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function () {
        return interpolateTransformCss;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function () {
        return interpolateTransformSvg;
      });
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../number.js */
      "4xfg");
      /* harmony import */


      var _parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./parse.js */
      "2nV0");

      function interpolateTransform(parse, pxComma, pxParen, degParen) {
        function pop(s) {
          return s.length ? s.pop() + " " : "";
        }

        function translate(xa, ya, xb, yb, s, q) {
          if (xa !== xb || ya !== yb) {
            var i = s.push("translate(", null, pxComma, null, pxParen);
            q.push({
              i: i - 4,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(xa, xb)
            }, {
              i: i - 2,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ya, yb)
            });
          } else if (xb || yb) {
            s.push("translate(" + xb + pxComma + yb + pxParen);
          }
        }

        function rotate(a, b, s, q) {
          if (a !== b) {
            if (a - b > 180) b += 360;else if (b - a > 180) a += 360; // shortest path

            q.push({
              i: s.push(pop(s) + "rotate(", null, degParen) - 2,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a, b)
            });
          } else if (b) {
            s.push(pop(s) + "rotate(" + b + degParen);
          }
        }

        function skewX(a, b, s, q) {
          if (a !== b) {
            q.push({
              i: s.push(pop(s) + "skewX(", null, degParen) - 2,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a, b)
            });
          } else if (b) {
            s.push(pop(s) + "skewX(" + b + degParen);
          }
        }

        function scale(xa, ya, xb, yb, s, q) {
          if (xa !== xb || ya !== yb) {
            var i = s.push(pop(s) + "scale(", null, ",", null, ")");
            q.push({
              i: i - 4,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(xa, xb)
            }, {
              i: i - 2,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ya, yb)
            });
          } else if (xb !== 1 || yb !== 1) {
            s.push(pop(s) + "scale(" + xb + "," + yb + ")");
          }
        }

        return function (a, b) {
          var s = [],
              // string constants and placeholders
          q = []; // number interpolators

          a = parse(a), b = parse(b);
          translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);
          rotate(a.rotate, b.rotate, s, q);
          skewX(a.skewX, b.skewX, s, q);
          scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);
          a = b = null; // gc

          return function (t) {
            var i = -1,
                n = q.length,
                o;

            while (++i < n) {
              s[(o = q[i]).i] = o.x(t);
            }

            return s.join("");
          };
        };
      }

      var interpolateTransformCss = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__["parseCss"], "px, ", "px)", "deg)");
      var interpolateTransformSvg = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__["parseSvg"], ", ", ")", ")");
      /***/
    },

    /***/
    "S83q": function S83q(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./basis.js */
      "yEp2");
      /* harmony default export */


      __webpack_exports__["default"] = function (values) {
        var n = values.length;
        return function (t) {
          var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),
              v0 = values[(i + n - 1) % n],
              v1 = values[i % n],
              v2 = values[(i + 1) % n],
              v3 = values[(i + 2) % n];
          return Object(_basis_js__WEBPACK_IMPORTED_MODULE_0__["basis"])((t - i / n) * n, v0, v1, v2, v3);
        };
      };
      /***/

    },

    /***/
    "SC+/": function SC(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./color.js */
      "FmoU");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "color", function () {
        return _color_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "rgb", function () {
        return _color_js__WEBPACK_IMPORTED_MODULE_0__["rgb"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "hsl", function () {
        return _color_js__WEBPACK_IMPORTED_MODULE_0__["hsl"];
      });
      /* harmony import */


      var _lab_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./lab.js */
      "YvDT");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "lab", function () {
        return _lab_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "hcl", function () {
        return _lab_js__WEBPACK_IMPORTED_MODULE_1__["hcl"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "lch", function () {
        return _lab_js__WEBPACK_IMPORTED_MODULE_1__["lch"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "gray", function () {
        return _lab_js__WEBPACK_IMPORTED_MODULE_1__["gray"];
      });
      /* harmony import */


      var _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./cubehelix.js */
      "Faen");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "cubehelix", function () {
        return _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /***/

    },

    /***/
    "SDD1": function SDD1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function Linear(context) {
        this._context = context;
      }

      Linear.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
              break;

            case 1:
              this._point = 2;
            // proceed

            default:
              this._context.lineTo(x, y);

              break;
          }
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (context) {
        return new Linear(context);
      };
      /***/

    },

    /***/
    "SSHS": function SSHS(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return some;
      });

      function some(values, test) {
        if (typeof test !== "function") throw new TypeError("test is not a function");
        var index = -1;

        var _iterator93 = _createForOfIteratorHelper(values),
            _step93;

        try {
          for (_iterator93.s(); !(_step93 = _iterator93.n()).done;) {
            var value = _step93.value;

            if (test(value, ++index, values)) {
              return true;
            }
          }
        } catch (err) {
          _iterator93.e(err);
        } finally {
          _iterator93.f();
        }

        return false;
      }
      /***/

    },

    /***/
    "SgsU": function SgsU(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var root = this,
            links = [];
        root.each(function (node) {
          if (node !== root) {
            // Don’t include the root’s parent, if any.
            links.push({
              source: node.parent,
              target: node
            });
          }
        });
        return links;
      };
      /***/

    },

    /***/
    "T17Z": function T17Z(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./none.js */
      "qqpY");
      /* harmony default export */


      __webpack_exports__["default"] = function (series) {
        var peaks = series.map(peak);
        return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).sort(function (a, b) {
          return peaks[a] - peaks[b];
        });
      };

      function peak(series) {
        var i = -1,
            j = 0,
            n = series.length,
            vi,
            vj = -Infinity;

        while (++i < n) {
          if ((vi = +series[i][1]) > vj) vj = vi, j = i;
        }

        return j;
      }
      /***/

    },

    /***/
    "T9TN": function T9TN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _selection_on__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./selection/on */
      "AWXE");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var current = _selection_on__WEBPACK_IMPORTED_MODULE_0__["event"],
            source;

        while (source = current.sourceEvent) {
          current = source;
        }

        return current;
      };
      /***/

    },

    /***/
    "TCOF": function TCOF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "timeFormat", function () {
        return timeFormat;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "timeParse", function () {
        return timeParse;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcFormat", function () {
        return utcFormat;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcParse", function () {
        return utcParse;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return defaultLocale;
      });
      /* harmony import */


      var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./locale.js */
      "pZEX");

      var locale;
      var timeFormat;
      var timeParse;
      var utcFormat;
      var utcParse;
      defaultLocale({
        dateTime: "%x, %X",
        date: "%-m/%-d/%Y",
        time: "%-I:%M:%S %p",
        periods: ["AM", "PM"],
        days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
        shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
        months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
        shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
      });

      function defaultLocale(definition) {
        locale = Object(_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
        timeFormat = locale.format;
        timeParse = locale.parse;
        utcFormat = locale.utcFormat;
        utcParse = locale.utcParse;
        return locale;
      }
      /***/

    },

    /***/
    "TI0E": function TI0E(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "lineRadial", function () {
        return lineRadial;
      });
      /* harmony import */


      var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./curve/radial.js */
      "JnD7");
      /* harmony import */


      var _line_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./line.js */
      "+ugm");

      function lineRadial(l) {
        var c = l.curve;
        l.angle = l.x, delete l.x;
        l.radius = l.y, delete l.y;

        l.curve = function (_) {
          return arguments.length ? c(Object(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_)) : c()._curve;
        };

        return l;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return lineRadial(Object(_line_js__WEBPACK_IMPORTED_MODULE_1__["default"])().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["curveRadialLinear"]));
      };
      /***/

    },

    /***/
    "TKo5": function TKo5(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return DragEvent;
      });

      function DragEvent(target, type, subject, id, active, x, y, dx, dy, dispatch) {
        this.target = target;
        this.type = type;
        this.subject = subject;
        this.identifier = id;
        this.active = active;
        this.x = x;
        this.y = y;
        this.dx = dx;
        this.dy = dy;
        this._ = dispatch;
      }

      DragEvent.prototype.on = function () {
        var value = this._.on.apply(this._, arguments);

        return value === this._ ? this : value;
      };
      /***/

    },

    /***/
    "TXIv": function TXIv(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "quadIn", function () {
        return quadIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "quadOut", function () {
        return quadOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "quadInOut", function () {
        return quadInOut;
      });

      function quadIn(t) {
        return t * t;
      }

      function quadOut(t) {
        return t * (2 - t);
      }

      function quadInOut(t) {
        return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
      }
      /***/

    },

    /***/
    "TfGn": function TfGn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return constants;
      });

      function constants(x) {
        return function () {
          return x;
        };
      }
      /***/

    },

    /***/
    "TisH": function TisH(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _window__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../window */
      "oxeV");

      function dispatchEvent(node, type, params) {
        var window = Object(_window__WEBPACK_IMPORTED_MODULE_0__["default"])(node),
            event = window.CustomEvent;

        if (typeof event === "function") {
          event = new event(type, params);
        } else {
          event = window.document.createEvent("Event");
          if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;else event.initEvent(type, false, false);
        }

        node.dispatchEvent(event);
      }

      function dispatchConstant(type, params) {
        return function () {
          return dispatchEvent(this, type, params);
        };
      }

      function dispatchFunction(type, params) {
        return function () {
          return dispatchEvent(this, type, params.apply(this, arguments));
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (type, params) {
        return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
      };
      /***/

    },

    /***/
    "U6M7": function U6M7(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./color.js */
      "sFV2");
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        var i = Object(_color_js__WEBPACK_IMPORTED_MODULE_0__["hue"])(+a, +b);
        return function (t) {
          var x = i(t);
          return x - 360 * Math.floor(x / 360);
        };
      };
      /***/

    },

    /***/
    "UFbn": function UFbn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./none.js */
      "qqpY");
      /* harmony default export */


      __webpack_exports__["default"] = function (series) {
        return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).reverse();
      };
      /***/

    },

    /***/
    "UGGt": function UGGt(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (range) {
        var n = range.length;
        return function (t) {
          return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];
        };
      };
      /***/

    },

    /***/
    "UHDu": function UHDu(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./hierarchy/index.js */
      "a8tM");

      function defaultSeparation(a, b) {
        return a.parent === b.parent ? 1 : 2;
      } // function radialSeparation(a, b) {
      //   return (a.parent === b.parent ? 1 : 2) / a.depth;
      // }
      // This function is used to traverse the left contour of a subtree (or
      // subforest). It returns the successor of v on this contour. This successor is
      // either given by the leftmost child of v or by the thread of v. The function
      // returns null if and only if v is on the highest level of its subtree.


      function nextLeft(v) {
        var children = v.children;
        return children ? children[0] : v.t;
      } // This function works analogously to nextLeft.


      function nextRight(v) {
        var children = v.children;
        return children ? children[children.length - 1] : v.t;
      } // Shifts the current subtree rooted at w+. This is done by increasing
      // prelim(w+) and mod(w+) by shift.


      function moveSubtree(wm, wp, shift) {
        var change = shift / (wp.i - wm.i);
        wp.c -= change;
        wp.s += shift;
        wm.c += change;
        wp.z += shift;
        wp.m += shift;
      } // All other shifts, applied to the smaller subtrees between w- and w+, are
      // performed by this function. To prepare the shifts, we have to adjust
      // change(w+), shift(w+), and change(w-).


      function executeShifts(v) {
        var shift = 0,
            change = 0,
            children = v.children,
            i = children.length,
            w;

        while (--i >= 0) {
          w = children[i];
          w.z += shift;
          w.m += shift;
          shift += w.s + (change += w.c);
        }
      } // If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,
      // returns the specified (default) ancestor.


      function nextAncestor(vim, v, ancestor) {
        return vim.a.parent === v.parent ? vim.a : ancestor;
      }

      function TreeNode(node, i) {
        this._ = node;
        this.parent = null;
        this.children = null;
        this.A = null; // default ancestor

        this.a = this; // ancestor

        this.z = 0; // prelim

        this.m = 0; // mod

        this.c = 0; // change

        this.s = 0; // shift

        this.t = null; // thread

        this.i = i; // number
      }

      TreeNode.prototype = Object.create(_hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__["Node"].prototype);

      function treeRoot(root) {
        var tree = new TreeNode(root, 0),
            node,
            nodes = [tree],
            child,
            children,
            i,
            n;

        while (node = nodes.pop()) {
          if (children = node._.children) {
            node.children = new Array(n = children.length);

            for (i = n - 1; i >= 0; --i) {
              nodes.push(child = node.children[i] = new TreeNode(children[i], i));
              child.parent = node;
            }
          }
        }

        (tree.parent = new TreeNode(null, 0)).children = [tree];
        return tree;
      } // Node-link tree diagram using the Reingold-Tilford "tidy" algorithm

      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var separation = defaultSeparation,
            dx = 1,
            dy = 1,
            nodeSize = null;

        function tree(root) {
          var t = treeRoot(root); // Compute the layout using Buchheim et al.’s algorithm.

          t.eachAfter(firstWalk), t.parent.m = -t.z;
          t.eachBefore(secondWalk); // If a fixed node size is specified, scale x and y.

          if (nodeSize) root.eachBefore(sizeNode); // If a fixed tree size is specified, scale x and y based on the extent.
          // Compute the left-most, right-most, and depth-most nodes for extents.
          else {
            var left = root,
                right = root,
                bottom = root;
            root.eachBefore(function (node) {
              if (node.x < left.x) left = node;
              if (node.x > right.x) right = node;
              if (node.depth > bottom.depth) bottom = node;
            });
            var s = left === right ? 1 : separation(left, right) / 2,
                tx = s - left.x,
                kx = dx / (right.x + s + tx),
                ky = dy / (bottom.depth || 1);
            root.eachBefore(function (node) {
              node.x = (node.x + tx) * kx;
              node.y = node.depth * ky;
            });
          }
          return root;
        } // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is
        // applied recursively to the children of v, as well as the function
        // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the
        // node v is placed to the midpoint of its outermost children.


        function firstWalk(v) {
          var children = v.children,
              siblings = v.parent.children,
              w = v.i ? siblings[v.i - 1] : null;

          if (children) {
            executeShifts(v);
            var midpoint = (children[0].z + children[children.length - 1].z) / 2;

            if (w) {
              v.z = w.z + separation(v._, w._);
              v.m = v.z - midpoint;
            } else {
              v.z = midpoint;
            }
          } else if (w) {
            v.z = w.z + separation(v._, w._);
          }

          v.parent.A = apportion(v, w, v.parent.A || siblings[0]);
        } // Computes all real x-coordinates by summing up the modifiers recursively.


        function secondWalk(v) {
          v._.x = v.z + v.parent.m;
          v.m += v.parent.m;
        } // The core of the algorithm. Here, a new subtree is combined with the
        // previous subtrees. Threads are used to traverse the inside and outside
        // contours of the left and right subtree up to the highest common level. The
        // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the
        // superscript o means outside and i means inside, the subscript - means left
        // subtree and + means right subtree. For summing up the modifiers along the
        // contour, we use respective variables si+, si-, so-, and so+. Whenever two
        // nodes of the inside contours conflict, we compute the left one of the
        // greatest uncommon ancestors using the function ANCESTOR and call MOVE
        // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.
        // Finally, we add a new thread (if necessary).


        function apportion(v, w, ancestor) {
          if (w) {
            var vip = v,
                vop = v,
                vim = w,
                vom = vip.parent.children[0],
                sip = vip.m,
                sop = vop.m,
                sim = vim.m,
                som = vom.m,
                shift;

            while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {
              vom = nextLeft(vom);
              vop = nextRight(vop);
              vop.a = v;
              shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);

              if (shift > 0) {
                moveSubtree(nextAncestor(vim, v, ancestor), v, shift);
                sip += shift;
                sop += shift;
              }

              sim += vim.m;
              sip += vip.m;
              som += vom.m;
              sop += vop.m;
            }

            if (vim && !nextRight(vop)) {
              vop.t = vim;
              vop.m += sim - sop;
            }

            if (vip && !nextLeft(vom)) {
              vom.t = vip;
              vom.m += sip - som;
              ancestor = v;
            }
          }

          return ancestor;
        }

        function sizeNode(node) {
          node.x *= dx;
          node.y = node.depth * dy;
        }

        tree.separation = function (x) {
          return arguments.length ? (separation = x, tree) : separation;
        };

        tree.size = function (x) {
          return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : nodeSize ? null : [dx, dy];
        };

        tree.nodeSize = function (x) {
          return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : nodeSize ? [dx, dy] : null;
        };

        return tree;
      };
      /***/

    },

    /***/
    "ULlS": function ULlS(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function classArray(string) {
        return string.trim().split(/^|\s+/);
      }

      function classList(node) {
        return node.classList || new ClassList(node);
      }

      function ClassList(node) {
        this._node = node;
        this._names = classArray(node.getAttribute("class") || "");
      }

      ClassList.prototype = {
        add: function add(name) {
          var i = this._names.indexOf(name);

          if (i < 0) {
            this._names.push(name);

            this._node.setAttribute("class", this._names.join(" "));
          }
        },
        remove: function remove(name) {
          var i = this._names.indexOf(name);

          if (i >= 0) {
            this._names.splice(i, 1);

            this._node.setAttribute("class", this._names.join(" "));
          }
        },
        contains: function contains(name) {
          return this._names.indexOf(name) >= 0;
        }
      };

      function classedAdd(node, names) {
        var list = classList(node),
            i = -1,
            n = names.length;

        while (++i < n) {
          list.add(names[i]);
        }
      }

      function classedRemove(node, names) {
        var list = classList(node),
            i = -1,
            n = names.length;

        while (++i < n) {
          list.remove(names[i]);
        }
      }

      function classedTrue(names) {
        return function () {
          classedAdd(this, names);
        };
      }

      function classedFalse(names) {
        return function () {
          classedRemove(this, names);
        };
      }

      function classedFunction(names, value) {
        return function () {
          (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value) {
        var names = classArray(name + "");

        if (arguments.length < 2) {
          var list = classList(this.node()),
              i = -1,
              n = names.length;

          while (++i < n) {
            if (!list.contains(names[i])) return false;
          }

          return true;
        }

        return this.each((typeof value === "function" ? classedFunction : value ? classedTrue : classedFalse)(names, value));
      };
      /***/

    },

    /***/
    "UPWK": function UPWK(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return cumsum;
      });

      function cumsum(values, valueof) {
        var sum = 0,
            index = 0;
        return Float64Array.from(values, valueof === undefined ? function (v) {
          return sum += +v || 0;
        } : function (v) {
          return sum += +valueof(v, index++, values) || 0;
        });
      }
      /***/

    },

    /***/
    "Ud7J": function Ud7J(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "isNumberArray", function () {
        return isNumberArray;
      });
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        if (!b) b = [];
        var n = a ? Math.min(b.length, a.length) : 0,
            c = b.slice(),
            i;
        return function (t) {
          for (i = 0; i < n; ++i) {
            c[i] = a[i] * (1 - t) + b[i] * t;
          }

          return c;
        };
      };

      function isNumberArray(x) {
        return ArrayBuffer.isView(x) && !(x instanceof DataView);
      }
      /***/

    },

    /***/
    "Uwo/": function Uwo(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "deg2rad", function () {
        return deg2rad;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "rad2deg", function () {
        return rad2deg;
      });

      var deg2rad = Math.PI / 180;
      var rad2deg = 180 / Math.PI;
      /***/
    },

    /***/
    "V/Wt": function VWt(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _namespace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./namespace */
      "bNSl");
      /* harmony import */


      var _namespaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./namespaces */
      "4xGt");

      function creatorInherit(name) {
        return function () {
          var document = this.ownerDocument,
              uri = this.namespaceURI;
          return uri === _namespaces__WEBPACK_IMPORTED_MODULE_1__["xhtml"] && document.documentElement.namespaceURI === _namespaces__WEBPACK_IMPORTED_MODULE_1__["xhtml"] ? document.createElement(name) : document.createElementNS(uri, name);
        };
      }

      function creatorFixed(fullname) {
        return function () {
          return this.ownerDocument.createElementNS(fullname.space, fullname.local);
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name) {
        var fullname = Object(_namespace__WEBPACK_IMPORTED_MODULE_0__["default"])(name);
        return (fullname.local ? creatorFixed : creatorInherit)(fullname);
      };
      /***/

    },

    /***/
    "V183": function V183(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return mean;
      });

      function mean(values, valueof) {
        var count = 0;
        var sum = 0;

        if (valueof === undefined) {
          var _iterator94 = _createForOfIteratorHelper(values),
              _step94;

          try {
            for (_iterator94.s(); !(_step94 = _iterator94.n()).done;) {
              var value = _step94.value;

              if (value != null && (value = +value) >= value) {
                ++count, sum += value;
              }
            }
          } catch (err) {
            _iterator94.e(err);
          } finally {
            _iterator94.f();
          }
        } else {
          var index = -1;

          var _iterator95 = _createForOfIteratorHelper(values),
              _step95;

          try {
            for (_iterator95.s(); !(_step95 = _iterator95.n()).done;) {
              var _value6 = _step95.value;

              if ((_value6 = valueof(_value6, ++index, values)) != null && (_value6 = +_value6) >= _value6) {
                ++count, sum += _value6;
              }
            }
          } catch (err) {
            _iterator95.e(err);
          } finally {
            _iterator95.f();
          }
        }

        if (count) return sum / count;
      }
      /***/

    },

    /***/
    "VIqg": function VIqg(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "linearish", function () {
        return linearish;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return linear;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");
      /* harmony import */


      var _tickFormat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./tickFormat.js */
      "ssni");

      function linearish(scale) {
        var domain = scale.domain;

        scale.ticks = function (count) {
          var d = domain();
          return Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["ticks"])(d[0], d[d.length - 1], count == null ? 10 : count);
        };

        scale.tickFormat = function (count, specifier) {
          var d = domain();
          return Object(_tickFormat_js__WEBPACK_IMPORTED_MODULE_3__["default"])(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
        };

        scale.nice = function (count) {
          if (count == null) count = 10;
          var d = domain();
          var i0 = 0;
          var i1 = d.length - 1;
          var start = d[i0];
          var stop = d[i1];
          var prestep;
          var step;
          var maxIter = 10;

          if (stop < start) {
            step = start, start = stop, stop = step;
            step = i0, i0 = i1, i1 = step;
          }

          while (maxIter-- > 0) {
            step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickIncrement"])(start, stop, count);

            if (step === prestep) {
              d[i0] = start;
              d[i1] = stop;
              return domain(d);
            } else if (step > 0) {
              start = Math.floor(start / step) * step;
              stop = Math.ceil(stop / step) * step;
            } else if (step < 0) {
              start = Math.ceil(start * step) / step;
              stop = Math.floor(stop * step) / step;
            } else {
              break;
            }

            prestep = step;
          }

          return scale;
        };

        return scale;
      }

      function linear() {
        var scale = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["default"])();

        scale.copy = function () {
          return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["copy"])(scale, linear());
        };

        _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(scale, arguments);

        return linearish(scale);
      }
      /***/

    },

    /***/
    "Vfhj": function Vfhj(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
        return utcMonths;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");

      var utcMonth = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCDate(1);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCMonth(date.getUTCMonth() + step);
      }, function (start, end) {
        return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
      }, function (date) {
        return date.getUTCMonth();
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcMonth;
      var utcMonths = utcMonth.range;
      /***/
    },

    /***/
    "VkQ2": function VkQ2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./cardinalClosed.js */
      "O03L");
      /* harmony import */


      var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../noop.js */
      "0K5P");
      /* harmony import */


      var _catmullRom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./catmullRom.js */
      "Kcim");

      function CatmullRomClosed(context, alpha) {
        this._context = context;
        this._alpha = alpha;
      }

      CatmullRomClosed.prototype = {
        areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"],
        areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"],
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
          this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 1:
              {
                this._context.moveTo(this._x3, this._y3);

                this._context.closePath();

                break;
              }

            case 2:
              {
                this._context.lineTo(this._x3, this._y3);

                this._context.closePath();

                break;
              }

            case 3:
              {
                this.point(this._x3, this._y3);
                this.point(this._x4, this._y4);
                this.point(this._x5, this._y5);
                break;
              }
          }
        },
        point: function point(x, y) {
          x = +x, y = +y;

          if (this._point) {
            var x23 = this._x2 - x,
                y23 = this._y2 - y;
            this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
          }

          switch (this._point) {
            case 0:
              this._point = 1;
              this._x3 = x, this._y3 = y;
              break;

            case 1:
              this._point = 2;

              this._context.moveTo(this._x4 = x, this._y4 = y);

              break;

            case 2:
              this._point = 3;
              this._x5 = x, this._y5 = y;
              break;

            default:
              Object(_catmullRom_js__WEBPACK_IMPORTED_MODULE_2__["point"])(this, x, y);
              break;
          }

          this._l01_a = this._l12_a, this._l12_a = this._l23_a;
          this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
          this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
          this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(alpha) {
        function catmullRom(context) {
          return alpha ? new CatmullRomClosed(context, alpha) : new _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_0__["CardinalClosed"](context, 0);
        }

        catmullRom.alpha = function (alpha) {
          return custom(+alpha);
        };

        return catmullRom;
      }(0.5);
      /***/

    },

    /***/
    "W+J7": function WJ7(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "packEnclose", function () {
        return packEnclose;
      });
      /* harmony import */


      var _enclose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./enclose.js */
      "7Mu7");

      function place(b, a, c) {
        var dx = b.x - a.x,
            x,
            a2,
            dy = b.y - a.y,
            y,
            b2,
            d2 = dx * dx + dy * dy;

        if (d2) {
          a2 = a.r + c.r, a2 *= a2;
          b2 = b.r + c.r, b2 *= b2;

          if (a2 > b2) {
            x = (d2 + b2 - a2) / (2 * d2);
            y = Math.sqrt(Math.max(0, b2 / d2 - x * x));
            c.x = b.x - x * dx - y * dy;
            c.y = b.y - x * dy + y * dx;
          } else {
            x = (d2 + a2 - b2) / (2 * d2);
            y = Math.sqrt(Math.max(0, a2 / d2 - x * x));
            c.x = a.x + x * dx - y * dy;
            c.y = a.y + x * dy + y * dx;
          }
        } else {
          c.x = a.x + c.r;
          c.y = a.y;
        }
      }

      function intersects(a, b) {
        var dr = a.r + b.r - 1e-6,
            dx = b.x - a.x,
            dy = b.y - a.y;
        return dr > 0 && dr * dr > dx * dx + dy * dy;
      }

      function score(node) {
        var a = node._,
            b = node.next._,
            ab = a.r + b.r,
            dx = (a.x * b.r + b.x * a.r) / ab,
            dy = (a.y * b.r + b.y * a.r) / ab;
        return dx * dx + dy * dy;
      }

      function Node(circle) {
        this._ = circle;
        this.next = null;
        this.previous = null;
      }

      function packEnclose(circles) {
        if (!(n = circles.length)) return 0;
        var a, b, c, n, aa, ca, i, j, k, sj, sk; // Place the first circle.

        a = circles[0], a.x = 0, a.y = 0;
        if (!(n > 1)) return a.r; // Place the second circle.

        b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;
        if (!(n > 2)) return a.r + b.r; // Place the third circle.

        place(b, a, c = circles[2]); // Initialize the front-chain using the first three circles a, b and c.

        a = new Node(a), b = new Node(b), c = new Node(c);
        a.next = c.previous = b;
        b.next = a.previous = c;
        c.next = b.previous = a; // Attempt to place each remaining circle…

        pack: for (i = 3; i < n; ++i) {
          place(a._, b._, c = circles[i]), c = new Node(c); // Find the closest intersecting circle on the front-chain, if any.
          // “Closeness” is determined by linear distance along the front-chain.
          // “Ahead” or “behind” is likewise determined by linear distance.

          j = b.next, k = a.previous, sj = b._.r, sk = a._.r;

          do {
            if (sj <= sk) {
              if (intersects(j._, c._)) {
                b = j, a.next = b, b.previous = a, --i;
                continue pack;
              }

              sj += j._.r, j = j.next;
            } else {
              if (intersects(k._, c._)) {
                a = k, a.next = b, b.previous = a, --i;
                continue pack;
              }

              sk += k._.r, k = k.previous;
            }
          } while (j !== k.next); // Success! Insert the new circle c between a and b.


          c.previous = a, c.next = b, a.next = b.previous = b = c; // Compute the new closest circle pair to the centroid.

          aa = score(a);

          while ((c = c.next) !== b) {
            if ((ca = score(c)) < aa) {
              a = c, aa = ca;
            }
          }

          b = a.next;
        } // Compute the enclosing circle of the front chain.


        a = [b._], c = b;

        while ((c = c.next) !== b) {
          a.push(c._);
        }

        c = Object(_enclose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a); // Translate the circles to put the enclosing circle around the origin.

        for (i = 0; i < n; ++i) {
          a = circles[i], a.x -= c.x, a.y -= c.y;
        }

        return c.r;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (circles) {
        packEnclose(circles);
        return circles;
      };
      /***/

    },

    /***/
    "WFWS": function WFWS(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");

      function easeConstant(id, value) {
        if (typeof value !== "function") throw new Error();
        return function () {
          Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id).ease = value;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        var id = this._id;
        return arguments.length ? this.each(easeConstant(id, value)) : Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).ease;
      };
      /***/

    },

    /***/
    "WFeF": function WFeF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        return a = +a, b = +b, function (t) {
          return Math.round(a * (1 - t) + b * t);
        };
      };
      /***/

    },

    /***/
    "WHjf": function WHjf(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return quickselect;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy"); // Based on https://github.com/mourner/quickselect
      // ISC license, Copyright 2018 Vladimir Agafonkin.


      function quickselect(array, k) {
        var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
        var right = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : array.length - 1;
        var compare = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];

        while (right > left) {
          if (right - left > 600) {
            var n = right - left + 1;
            var m = k - left + 1;
            var z = Math.log(n);
            var s = 0.5 * Math.exp(2 * z / 3);
            var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
            var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
            var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
            quickselect(array, k, newLeft, newRight, compare);
          }

          var t = array[k];
          var i = left;
          var j = right;
          swap(array, left, k);
          if (compare(array[right], t) > 0) swap(array, left, right);

          while (i < j) {
            swap(array, i, j), ++i, --j;

            while (compare(array[i], t) < 0) {
              ++i;
            }

            while (compare(array[j], t) > 0) {
              --j;
            }
          }

          if (compare(array[left], t) === 0) swap(array, left, j);else ++j, swap(array, j, right);
          if (j <= k) left = j + 1;
          if (k <= j) right = j - 1;
        }

        return array;
      }

      function swap(array, i, j) {
        var t = array[i];
        array[i] = array[j];
        array[j] = t;
      }
      /***/

    },

    /***/
    "Wk/b": function WkB(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "NgxChartsModuleNgFactory", function () {
        return NgxChartsModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartModuleNgFactory", function () {
        return AreaChartModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarChartModuleNgFactory", function () {
        return BarChartModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BubbleChartModuleNgFactory", function () {
        return BubbleChartModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ChartCommonModuleNgFactory", function () {
        return ChartCommonModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipModuleNgFactory", function () {
        return TooltipModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AxesModuleNgFactory", function () {
        return AxesModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeModuleNgFactory", function () {
        return GaugeModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatMapModuleNgFactory", function () {
        return HeatMapModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineChartModuleNgFactory", function () {
        return LineChartModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "NumberCardModuleNgFactory", function () {
        return NumberCardModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieChartModuleNgFactory", function () {
        return PieChartModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PolarChartModuleNgFactory", function () {
        return PolarChartModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapModuleNgFactory", function () {
        return TreeMapModuleNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AreaChartComponent", function () {
        return RenderType_AreaChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaChartComponent_0", function () {
        return View_AreaChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaChartComponent_Host_0", function () {
        return View_AreaChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartComponentNgFactory", function () {
        return AreaChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AreaChartNormalizedComponent", function () {
        return RenderType_AreaChartNormalizedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaChartNormalizedComponent_0", function () {
        return View_AreaChartNormalizedComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaChartNormalizedComponent_Host_0", function () {
        return View_AreaChartNormalizedComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartNormalizedComponentNgFactory", function () {
        return AreaChartNormalizedComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AreaChartStackedComponent", function () {
        return RenderType_AreaChartStackedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaChartStackedComponent_0", function () {
        return View_AreaChartStackedComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaChartStackedComponent_Host_0", function () {
        return View_AreaChartStackedComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaChartStackedComponentNgFactory", function () {
        return AreaChartStackedComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AreaSeriesComponent", function () {
        return RenderType_AreaSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaSeriesComponent_0", function () {
        return View_AreaSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaSeriesComponent_Host_0", function () {
        return View_AreaSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaSeriesComponentNgFactory", function () {
        return AreaSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarComponent", function () {
        return RenderType_BarComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarComponent_0", function () {
        return View_BarComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarComponent_Host_0", function () {
        return View_BarComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarComponentNgFactory", function () {
        return BarComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontalComponent", function () {
        return RenderType_BarHorizontalComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontalComponent_0", function () {
        return View_BarHorizontalComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontalComponent_Host_0", function () {
        return View_BarHorizontalComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontalComponentNgFactory", function () {
        return BarHorizontalComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontal2DComponent", function () {
        return RenderType_BarHorizontal2DComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontal2DComponent_0", function () {
        return View_BarHorizontal2DComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontal2DComponent_Host_0", function () {
        return View_BarHorizontal2DComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontal2DComponentNgFactory", function () {
        return BarHorizontal2DComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontalNormalizedComponent", function () {
        return RenderType_BarHorizontalNormalizedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontalNormalizedComponent_0", function () {
        return View_BarHorizontalNormalizedComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontalNormalizedComponent_Host_0", function () {
        return View_BarHorizontalNormalizedComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontalNormalizedComponentNgFactory", function () {
        return BarHorizontalNormalizedComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontalStackedComponent", function () {
        return RenderType_BarHorizontalStackedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontalStackedComponent_0", function () {
        return View_BarHorizontalStackedComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarHorizontalStackedComponent_Host_0", function () {
        return View_BarHorizontalStackedComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarHorizontalStackedComponentNgFactory", function () {
        return BarHorizontalStackedComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_SeriesHorizontal", function () {
        return RenderType_SeriesHorizontal;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SeriesHorizontal_0", function () {
        return View_SeriesHorizontal_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SeriesHorizontal_Host_0", function () {
        return View_SeriesHorizontal_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SeriesHorizontalNgFactory", function () {
        return SeriesHorizontalNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarLabelComponent", function () {
        return RenderType_BarLabelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarLabelComponent_0", function () {
        return View_BarLabelComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarLabelComponent_Host_0", function () {
        return View_BarLabelComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarLabelComponentNgFactory", function () {
        return BarLabelComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarVerticalComponent", function () {
        return RenderType_BarVerticalComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVerticalComponent_0", function () {
        return View_BarVerticalComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVerticalComponent_Host_0", function () {
        return View_BarVerticalComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVerticalComponentNgFactory", function () {
        return BarVerticalComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarVertical2DComponent", function () {
        return RenderType_BarVertical2DComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVertical2DComponent_0", function () {
        return View_BarVertical2DComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVertical2DComponent_Host_0", function () {
        return View_BarVertical2DComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVertical2DComponentNgFactory", function () {
        return BarVertical2DComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarVerticalNormalizedComponent", function () {
        return RenderType_BarVerticalNormalizedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVerticalNormalizedComponent_0", function () {
        return View_BarVerticalNormalizedComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVerticalNormalizedComponent_Host_0", function () {
        return View_BarVerticalNormalizedComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVerticalNormalizedComponentNgFactory", function () {
        return BarVerticalNormalizedComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BarVerticalStackedComponent", function () {
        return RenderType_BarVerticalStackedComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVerticalStackedComponent_0", function () {
        return View_BarVerticalStackedComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BarVerticalStackedComponent_Host_0", function () {
        return View_BarVerticalStackedComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BarVerticalStackedComponentNgFactory", function () {
        return BarVerticalStackedComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_SeriesVerticalComponent", function () {
        return RenderType_SeriesVerticalComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SeriesVerticalComponent_0", function () {
        return View_SeriesVerticalComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SeriesVerticalComponent_Host_0", function () {
        return View_SeriesVerticalComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SeriesVerticalComponentNgFactory", function () {
        return SeriesVerticalComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BubbleChartComponent", function () {
        return RenderType_BubbleChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BubbleChartComponent_0", function () {
        return View_BubbleChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BubbleChartComponent_Host_0", function () {
        return View_BubbleChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BubbleChartComponentNgFactory", function () {
        return BubbleChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BubbleSeriesComponent", function () {
        return RenderType_BubbleSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BubbleSeriesComponent_0", function () {
        return View_BubbleSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BubbleSeriesComponent_Host_0", function () {
        return View_BubbleSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BubbleSeriesComponentNgFactory", function () {
        return BubbleSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_LegendComponent", function () {
        return RenderType_LegendComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LegendComponent_0", function () {
        return View_LegendComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LegendComponent_Host_0", function () {
        return View_LegendComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LegendComponentNgFactory", function () {
        return LegendComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_ScaleLegendComponent", function () {
        return RenderType_ScaleLegendComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_ScaleLegendComponent_0", function () {
        return View_ScaleLegendComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_ScaleLegendComponent_Host_0", function () {
        return View_ScaleLegendComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ScaleLegendComponentNgFactory", function () {
        return ScaleLegendComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_LegendEntryComponent", function () {
        return RenderType_LegendEntryComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LegendEntryComponent_0", function () {
        return View_LegendEntryComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LegendEntryComponent_Host_0", function () {
        return View_LegendEntryComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LegendEntryComponentNgFactory", function () {
        return LegendEntryComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AdvancedLegendComponent", function () {
        return RenderType_AdvancedLegendComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AdvancedLegendComponent_0", function () {
        return View_AdvancedLegendComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AdvancedLegendComponent_Host_0", function () {
        return View_AdvancedLegendComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AdvancedLegendComponentNgFactory", function () {
        return AdvancedLegendComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_TooltipContentComponent", function () {
        return RenderType_TooltipContentComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TooltipContentComponent_0", function () {
        return View_TooltipContentComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TooltipContentComponent_Host_0", function () {
        return View_TooltipContentComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipContentComponentNgFactory", function () {
        return TooltipContentComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AxisLabelComponent", function () {
        return RenderType_AxisLabelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AxisLabelComponent_0", function () {
        return View_AxisLabelComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AxisLabelComponent_Host_0", function () {
        return View_AxisLabelComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AxisLabelComponentNgFactory", function () {
        return AxisLabelComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_XAxisComponent", function () {
        return RenderType_XAxisComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_XAxisComponent_0", function () {
        return View_XAxisComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_XAxisComponent_Host_0", function () {
        return View_XAxisComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "XAxisComponentNgFactory", function () {
        return XAxisComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_XAxisTicksComponent", function () {
        return RenderType_XAxisTicksComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_XAxisTicksComponent_0", function () {
        return View_XAxisTicksComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_XAxisTicksComponent_Host_0", function () {
        return View_XAxisTicksComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "XAxisTicksComponentNgFactory", function () {
        return XAxisTicksComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_YAxisComponent", function () {
        return RenderType_YAxisComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_YAxisComponent_0", function () {
        return View_YAxisComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_YAxisComponent_Host_0", function () {
        return View_YAxisComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "YAxisComponentNgFactory", function () {
        return YAxisComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_YAxisTicksComponent", function () {
        return RenderType_YAxisTicksComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_YAxisTicksComponent_0", function () {
        return View_YAxisTicksComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_YAxisTicksComponent_Host_0", function () {
        return View_YAxisTicksComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "YAxisTicksComponentNgFactory", function () {
        return YAxisTicksComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_CountUpDirective", function () {
        return RenderType_CountUpDirective;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CountUpDirective_0", function () {
        return View_CountUpDirective_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CountUpDirective_Host_0", function () {
        return View_CountUpDirective_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CountUpDirectiveNgFactory", function () {
        return CountUpDirectiveNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_Timeline", function () {
        return RenderType_Timeline;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_Timeline_0", function () {
        return View_Timeline_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_Timeline_Host_0", function () {
        return View_Timeline_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TimelineNgFactory", function () {
        return TimelineNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_ChartComponent", function () {
        return RenderType_ChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_ChartComponent_0", function () {
        return View_ChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_ChartComponent_Host_0", function () {
        return View_ChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ChartComponentNgFactory", function () {
        return ChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AreaComponent", function () {
        return RenderType_AreaComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaComponent_0", function () {
        return View_AreaComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AreaComponent_Host_0", function () {
        return View_AreaComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AreaComponentNgFactory", function () {
        return AreaComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_BaseChartComponent", function () {
        return RenderType_BaseChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BaseChartComponent_0", function () {
        return View_BaseChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_BaseChartComponent_Host_0", function () {
        return View_BaseChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "BaseChartComponentNgFactory", function () {
        return BaseChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_CircleComponent", function () {
        return RenderType_CircleComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CircleComponent_0", function () {
        return View_CircleComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CircleComponent_Host_0", function () {
        return View_CircleComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CircleComponentNgFactory", function () {
        return CircleComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_CircleSeriesComponent", function () {
        return RenderType_CircleSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CircleSeriesComponent_0", function () {
        return View_CircleSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CircleSeriesComponent_Host_0", function () {
        return View_CircleSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CircleSeriesComponentNgFactory", function () {
        return CircleSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_GridPanelComponent", function () {
        return RenderType_GridPanelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GridPanelComponent_0", function () {
        return View_GridPanelComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GridPanelComponent_Host_0", function () {
        return View_GridPanelComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GridPanelComponentNgFactory", function () {
        return GridPanelComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_GridPanelSeriesComponent", function () {
        return RenderType_GridPanelSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GridPanelSeriesComponent_0", function () {
        return View_GridPanelSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GridPanelSeriesComponent_Host_0", function () {
        return View_GridPanelSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GridPanelSeriesComponentNgFactory", function () {
        return GridPanelSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_SvgLinearGradientComponent", function () {
        return RenderType_SvgLinearGradientComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SvgLinearGradientComponent_0", function () {
        return View_SvgLinearGradientComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SvgLinearGradientComponent_Host_0", function () {
        return View_SvgLinearGradientComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SvgLinearGradientComponentNgFactory", function () {
        return SvgLinearGradientComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_SvgRadialGradientComponent", function () {
        return RenderType_SvgRadialGradientComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SvgRadialGradientComponent_0", function () {
        return View_SvgRadialGradientComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_SvgRadialGradientComponent_Host_0", function () {
        return View_SvgRadialGradientComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SvgRadialGradientComponentNgFactory", function () {
        return SvgRadialGradientComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_TooltipArea", function () {
        return RenderType_TooltipArea;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TooltipArea_0", function () {
        return View_TooltipArea_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TooltipArea_Host_0", function () {
        return View_TooltipArea_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TooltipAreaNgFactory", function () {
        return TooltipAreaNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_GaugeArcComponent", function () {
        return RenderType_GaugeArcComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GaugeArcComponent_0", function () {
        return View_GaugeArcComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GaugeArcComponent_Host_0", function () {
        return View_GaugeArcComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeArcComponentNgFactory", function () {
        return GaugeArcComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_GaugeAxisComponent", function () {
        return RenderType_GaugeAxisComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GaugeAxisComponent_0", function () {
        return View_GaugeAxisComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GaugeAxisComponent_Host_0", function () {
        return View_GaugeAxisComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeAxisComponentNgFactory", function () {
        return GaugeAxisComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_GaugeComponent", function () {
        return RenderType_GaugeComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GaugeComponent_0", function () {
        return View_GaugeComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_GaugeComponent_Host_0", function () {
        return View_GaugeComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "GaugeComponentNgFactory", function () {
        return GaugeComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_LinearGaugeComponent", function () {
        return RenderType_LinearGaugeComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LinearGaugeComponent_0", function () {
        return View_LinearGaugeComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LinearGaugeComponent_Host_0", function () {
        return View_LinearGaugeComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LinearGaugeComponentNgFactory", function () {
        return LinearGaugeComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_HeatMapComponent", function () {
        return RenderType_HeatMapComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_HeatMapComponent_0", function () {
        return View_HeatMapComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_HeatMapComponent_Host_0", function () {
        return View_HeatMapComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatMapComponentNgFactory", function () {
        return HeatMapComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_HeatMapCellComponent", function () {
        return RenderType_HeatMapCellComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_HeatMapCellComponent_0", function () {
        return View_HeatMapCellComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_HeatMapCellComponent_Host_0", function () {
        return View_HeatMapCellComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatMapCellComponentNgFactory", function () {
        return HeatMapCellComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_HeatCellSeriesComponent", function () {
        return RenderType_HeatCellSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_HeatCellSeriesComponent_0", function () {
        return View_HeatCellSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_HeatCellSeriesComponent_Host_0", function () {
        return View_HeatCellSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "HeatCellSeriesComponentNgFactory", function () {
        return HeatCellSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_LineChartComponent", function () {
        return RenderType_LineChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LineChartComponent_0", function () {
        return View_LineChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LineChartComponent_Host_0", function () {
        return View_LineChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineChartComponentNgFactory", function () {
        return LineChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_LineComponent", function () {
        return RenderType_LineComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LineComponent_0", function () {
        return View_LineComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LineComponent_Host_0", function () {
        return View_LineComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineComponentNgFactory", function () {
        return LineComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_LineSeriesComponent", function () {
        return RenderType_LineSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LineSeriesComponent_0", function () {
        return View_LineSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_LineSeriesComponent_Host_0", function () {
        return View_LineSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "LineSeriesComponentNgFactory", function () {
        return LineSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_NumberCardComponent", function () {
        return RenderType_NumberCardComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_NumberCardComponent_0", function () {
        return View_NumberCardComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_NumberCardComponent_Host_0", function () {
        return View_NumberCardComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "NumberCardComponentNgFactory", function () {
        return NumberCardComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_CardComponent", function () {
        return RenderType_CardComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CardComponent_0", function () {
        return View_CardComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CardComponent_Host_0", function () {
        return View_CardComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CardComponentNgFactory", function () {
        return CardComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_CardSeriesComponent", function () {
        return RenderType_CardSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CardSeriesComponent_0", function () {
        return View_CardSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_CardSeriesComponent_Host_0", function () {
        return View_CardSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CardSeriesComponentNgFactory", function () {
        return CardSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_AdvancedPieChartComponent", function () {
        return RenderType_AdvancedPieChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AdvancedPieChartComponent_0", function () {
        return View_AdvancedPieChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_AdvancedPieChartComponent_Host_0", function () {
        return View_AdvancedPieChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "AdvancedPieChartComponentNgFactory", function () {
        return AdvancedPieChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PieChartComponent", function () {
        return RenderType_PieChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieChartComponent_0", function () {
        return View_PieChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieChartComponent_Host_0", function () {
        return View_PieChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieChartComponentNgFactory", function () {
        return PieChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PieArcComponent", function () {
        return RenderType_PieArcComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieArcComponent_0", function () {
        return View_PieArcComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieArcComponent_Host_0", function () {
        return View_PieArcComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieArcComponentNgFactory", function () {
        return PieArcComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PieGridComponent", function () {
        return RenderType_PieGridComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieGridComponent_0", function () {
        return View_PieGridComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieGridComponent_Host_0", function () {
        return View_PieGridComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieGridComponentNgFactory", function () {
        return PieGridComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PieGridSeriesComponent", function () {
        return RenderType_PieGridSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieGridSeriesComponent_0", function () {
        return View_PieGridSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieGridSeriesComponent_Host_0", function () {
        return View_PieGridSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieGridSeriesComponentNgFactory", function () {
        return PieGridSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PieSeriesComponent", function () {
        return RenderType_PieSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieSeriesComponent_0", function () {
        return View_PieSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieSeriesComponent_Host_0", function () {
        return View_PieSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieSeriesComponentNgFactory", function () {
        return PieSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PieLabelComponent", function () {
        return RenderType_PieLabelComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieLabelComponent_0", function () {
        return View_PieLabelComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PieLabelComponent_Host_0", function () {
        return View_PieLabelComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PieLabelComponentNgFactory", function () {
        return PieLabelComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PolarChartComponent", function () {
        return RenderType_PolarChartComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PolarChartComponent_0", function () {
        return View_PolarChartComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PolarChartComponent_Host_0", function () {
        return View_PolarChartComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PolarChartComponentNgFactory", function () {
        return PolarChartComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_PolarSeriesComponent", function () {
        return RenderType_PolarSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PolarSeriesComponent_0", function () {
        return View_PolarSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_PolarSeriesComponent_Host_0", function () {
        return View_PolarSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "PolarSeriesComponentNgFactory", function () {
        return PolarSeriesComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_TreeMapComponent", function () {
        return RenderType_TreeMapComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TreeMapComponent_0", function () {
        return View_TreeMapComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TreeMapComponent_Host_0", function () {
        return View_TreeMapComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapComponentNgFactory", function () {
        return TreeMapComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_TreeMapCellComponent", function () {
        return RenderType_TreeMapCellComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TreeMapCellComponent_0", function () {
        return View_TreeMapCellComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TreeMapCellComponent_Host_0", function () {
        return View_TreeMapCellComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapCellComponentNgFactory", function () {
        return TreeMapCellComponentNgFactory;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RenderType_TreeMapCellSeriesComponent", function () {
        return RenderType_TreeMapCellSeriesComponent;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TreeMapCellSeriesComponent_0", function () {
        return View_TreeMapCellSeriesComponent_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "View_TreeMapCellSeriesComponent_Host_0", function () {
        return View_TreeMapCellSeriesComponent_Host_0;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "TreeMapCellSeriesComponentNgFactory", function () {
        return TreeMapCellSeriesComponentNgFactory;
      });
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "8Y7J");
      /* harmony import */


      var _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @swimlane/ngx-charts */
      "Lnru");
      /* harmony import */


      var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common */
      "SVse");
      /* harmony import */


      var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/platform-browser */
      "cUpR");
      /**
       * @fileoverview This file was generated by the Angular template compiler. Do not edit.
       *
       * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
       * tslint:disable
       */


      var NgxChartsModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NgxChartsModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NgxChartsModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NgxChartsModule"], [])]);
      });

      var AreaChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], [])]);
      });

      var BarChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], [])]);
      });

      var BubbleChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], [])]);
      });

      var ChartCommonModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], [])]);
      });

      var TooltipModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], [])]);
      });

      var AxesModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, []], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], [])]);
      });

      var GaugeModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], [])]);
      });

      var HeatMapModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], [])]);
      });

      var LineChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], [])]);
      });

      var NumberCardModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], [])]);
      });

      var PieChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], [])]);
      });

      var PolarChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], [])]);
      });

      var TreeMapModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], [], function (_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], [])]);
      });

      var styles_AreaChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_AreaChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AreaChartComponent,
        data: {}
      });

      function View_AreaChartComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          baseValue: [3, "baseValue"],
          colors: [4, "colors"],
          scaleType: [5, "scaleType"],
          gradient: [6, "gradient"],
          curve: [7, "curve"],
          activeEntries: [8, "activeEntries"],
          animations: [9, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.xScale;
          var currVal_2 = _co.yScale;
          var currVal_3 = _co.baseValue;
          var currVal_4 = _co.colors;
          var currVal_5 = _co.scaleType;
          var currVal_6 = _co.gradient;
          var currVal_7 = _co.curve;
          var currVal_8 = _co.activeEntries;
          var currVal_9 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          visibleValue: [5, "visibleValue"],
          activeEntries: [6, "activeEntries"],
          tooltipDisabled: [7, "tooltipDisabled"],
          tooltipTemplate: [8, "tooltipTemplate"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.xScale;
          var currVal_2 = _co.yScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = _co.hoveredVertical;
          var currVal_6 = _co.activeEntries;
          var currVal_7 = _co.tooltipDisabled;
          var currVal_8 = _co.tooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseleave" === en) {
            var pd_0 = _co.hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("hover" === en) {
            var pd_0 = _co.updateHoveredVertical($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
          dims: [0, "dims"],
          xSet: [1, "xSet"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          results: [4, "results"],
          colors: [5, "colors"],
          tooltipDisabled: [6, "tooltipDisabled"],
          tooltipTemplate: [7, "tooltipTemplate"]
        }, {
          hover: "hover"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.dims;
          var currVal_1 = _co.xSet;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.results;
          var currVal_5 = _co.colors;
          var currVal_6 = _co.tooltipDisabled;
          var currVal_7 = _co.seriesTooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;

          _ck(_v, 4, 0, currVal_8);
        }, null);
      }

      function View_AreaChartComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          baseValue: [3, "baseValue"],
          colors: [4, "colors"],
          scaleType: [5, "scaleType"],
          gradient: [6, "gradient"],
          curve: [7, "curve"],
          animations: [8, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.timelineXScale;
          var currVal_2 = _co.timelineYScale;
          var currVal_3 = _co.baseValue;
          var currVal_4 = _co.colors;
          var currVal_5 = _co.scaleType;
          var currVal_6 = _co.gradient;
          var currVal_7 = _co.curve;
          var currVal_8 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("onDomainChange" === en) {
            var pd_0 = _co.updateDomain($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
          view: [0, "view"],
          results: [1, "results"],
          scheme: [2, "scheme"],
          customColors: [3, "customColors"],
          legend: [4, "legend"],
          scaleType: [5, "scaleType"],
          height: [6, "height"]
        }, {
          onDomainChange: "onDomainChange"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

          var currVal_2 = _co.results;
          var currVal_3 = _co.scheme;
          var currVal_4 = _co.customColors;
          var currVal_5 = _co.legend;
          var currVal_6 = _co.scaleType;
          var currVal_7 = _co.timelineHeight;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 4, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.timelineTransform;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_AreaChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "area-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_10 = _co.xAxis;

          _ck(_v, 9, 0, currVal_10);

          var currVal_11 = _co.yAxis;

          _ck(_v, 11, 0, currVal_11);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 14, 0, currVal_13, currVal_14);

          var currVal_15 = !_co.tooltipDisabled;

          _ck(_v, 16, 0, currVal_15);

          var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

          _ck(_v, 18, 0, currVal_16);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.clipPathId;

          _ck(_v, 5, 0, currVal_5);

          var currVal_6 = _co.dims.width + 10;
          var currVal_7 = _co.dims.height + 10;
          var currVal_8 = "translate(-5, -5)";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

          var currVal_9 = _co.transform;

          _ck(_v, 7, 0, currVal_9);

          var currVal_12 = _co.clipPath;

          _ck(_v, 12, 0, currVal_12);
        });
      }

      function View_AreaChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-area-chart", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseleave" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_AreaChartComponent_0, RenderType_AreaChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
          seriesTooltipTemplate: 0
        })], null, null);
      }

      var AreaChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-area-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartComponent"], View_AreaChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        state: "state",
        xAxis: "xAxis",
        yAxis: "yAxis",
        baseValue: "baseValue",
        autoScale: "autoScale",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        timeline: "timeline",
        gradient: "gradient",
        showGridLines: "showGridLines",
        curve: "curve",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        roundDomains: "roundDomains",
        tooltipDisabled: "tooltipDisabled",
        xScaleMin: "xScaleMin",
        xScaleMax: "xScaleMax",
        yScaleMin: "yScaleMin",
        yScaleMax: "yScaleMax"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_AreaChartNormalizedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_AreaChartNormalizedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AreaChartNormalizedComponent,
        data: {}
      });

      function View_AreaChartNormalizedComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartNormalizedComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartNormalizedComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["normalized", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          normalized: [5, "normalized"],
          gradient: [6, "gradient"],
          curve: [7, "curve"],
          activeEntries: [8, "activeEntries"],
          animations: [9, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.xScale;
          var currVal_2 = _co.yScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = "true";
          var currVal_6 = _co.gradient;
          var currVal_7 = _co.curve;
          var currVal_8 = _co.activeEntries;
          var currVal_9 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartNormalizedComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
          data: [0, "data"],
          type: [1, "type"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          colors: [4, "colors"],
          scaleType: [5, "scaleType"],
          visibleValue: [6, "visibleValue"],
          activeEntries: [7, "activeEntries"],
          tooltipDisabled: [8, "tooltipDisabled"],
          tooltipTemplate: [9, "tooltipTemplate"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = "stacked";
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.colors;
          var currVal_5 = _co.scaleType;
          var currVal_6 = _co.hoveredVertical;
          var currVal_7 = _co.activeEntries;
          var currVal_8 = _co.tooltipDisabled;
          var currVal_9 = _co.tooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartNormalizedComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseleave" === en) {
            var pd_0 = _co.hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("hover" === en) {
            var pd_0 = _co.updateHoveredVertical($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
          dims: [0, "dims"],
          xSet: [1, "xSet"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          results: [4, "results"],
          colors: [5, "colors"],
          showPercentage: [6, "showPercentage"],
          tooltipDisabled: [7, "tooltipDisabled"],
          tooltipTemplate: [8, "tooltipTemplate"]
        }, {
          hover: "hover"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.dims;
          var currVal_1 = _co.xSet;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.results;
          var currVal_5 = _co.colors;
          var currVal_6 = true;
          var currVal_7 = _co.tooltipDisabled;
          var currVal_8 = _co.seriesTooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);

          var currVal_9 = _co.results;

          _ck(_v, 4, 0, currVal_9);
        }, null);
      }

      function View_AreaChartNormalizedComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["normalized", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          normalized: [5, "normalized"],
          gradient: [6, "gradient"],
          curve: [7, "curve"],
          animations: [8, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.timelineXScale;
          var currVal_2 = _co.timelineYScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = "true";
          var currVal_6 = _co.gradient;
          var currVal_7 = _co.curve;
          var currVal_8 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartNormalizedComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("onDomainChange" === en) {
            var pd_0 = _co.updateDomain($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
          view: [0, "view"],
          results: [1, "results"],
          scheme: [2, "scheme"],
          customColors: [3, "customColors"],
          legend: [4, "legend"],
          scaleType: [5, "scaleType"],
          height: [6, "height"]
        }, {
          onDomainChange: "onDomainChange"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartNormalizedComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

          var currVal_2 = _co.results;
          var currVal_3 = _co.scheme;
          var currVal_4 = _co.customColors;
          var currVal_5 = _co.legend;
          var currVal_6 = _co.scaleType;
          var currVal_7 = _co.timelineHeight;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 4, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.timelineTransform;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_AreaChartNormalizedComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "area-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartNormalizedComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_10 = _co.xAxis;

          _ck(_v, 9, 0, currVal_10);

          var currVal_11 = _co.yAxis;

          _ck(_v, 11, 0, currVal_11);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 14, 0, currVal_13, currVal_14);

          var currVal_15 = !_co.tooltipDisabled;

          _ck(_v, 16, 0, currVal_15);

          var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

          _ck(_v, 18, 0, currVal_16);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.clipPathId;

          _ck(_v, 5, 0, currVal_5);

          var currVal_6 = _co.dims.width + 10;
          var currVal_7 = _co.dims.height + 10;
          var currVal_8 = "translate(-5, -5)";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

          var currVal_9 = _co.transform;

          _ck(_v, 7, 0, currVal_9);

          var currVal_12 = _co.clipPath;

          _ck(_v, 12, 0, currVal_12);
        });
      }

      function View_AreaChartNormalizedComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-area-chart-normalized", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseleave" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_AreaChartNormalizedComponent_0, RenderType_AreaChartNormalizedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartNormalizedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
          seriesTooltipTemplate: 0
        })], null, null);
      }

      var AreaChartNormalizedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-area-chart-normalized", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartNormalizedComponent"], View_AreaChartNormalizedComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        timeline: "timeline",
        gradient: "gradient",
        showGridLines: "showGridLines",
        curve: "curve",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        roundDomains: "roundDomains",
        tooltipDisabled: "tooltipDisabled"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_AreaChartStackedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_AreaChartStackedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AreaChartStackedComponent,
        data: {}
      });

      function View_AreaChartStackedComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartStackedComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartStackedComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["stacked", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          stacked: [5, "stacked"],
          gradient: [6, "gradient"],
          curve: [7, "curve"],
          activeEntries: [8, "activeEntries"],
          animations: [9, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.xScale;
          var currVal_2 = _co.yScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = "true";
          var currVal_6 = _co.gradient;
          var currVal_7 = _co.curve;
          var currVal_8 = _co.activeEntries;
          var currVal_9 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartStackedComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
          data: [0, "data"],
          type: [1, "type"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          colors: [4, "colors"],
          scaleType: [5, "scaleType"],
          visibleValue: [6, "visibleValue"],
          activeEntries: [7, "activeEntries"],
          tooltipDisabled: [8, "tooltipDisabled"],
          tooltipTemplate: [9, "tooltipTemplate"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = "stacked";
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.colors;
          var currVal_5 = _co.scaleType;
          var currVal_6 = _co.hoveredVertical;
          var currVal_7 = _co.activeEntries;
          var currVal_8 = _co.tooltipDisabled;
          var currVal_9 = _co.tooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartStackedComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseleave" === en) {
            var pd_0 = _co.hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("hover" === en) {
            var pd_0 = _co.updateHoveredVertical($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
          dims: [0, "dims"],
          xSet: [1, "xSet"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          results: [4, "results"],
          colors: [5, "colors"],
          tooltipDisabled: [6, "tooltipDisabled"],
          tooltipTemplate: [7, "tooltipTemplate"]
        }, {
          hover: "hover"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.dims;
          var currVal_1 = _co.xSet;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.results;
          var currVal_5 = _co.colors;
          var currVal_6 = _co.tooltipDisabled;
          var currVal_7 = _co.seriesTooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 4, 0, currVal_8, currVal_9);
        }, null);
      }

      function View_AreaChartStackedComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["stacked", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          stacked: [5, "stacked"],
          gradient: [6, "gradient"],
          curve: [7, "curve"],
          animations: [8, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.timelineXScale;
          var currVal_2 = _co.timelineYScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = "true";
          var currVal_6 = _co.gradient;
          var currVal_7 = _co.curve;
          var currVal_8 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_AreaChartStackedComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("onDomainChange" === en) {
            var pd_0 = _co.updateDomain($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
          view: [0, "view"],
          results: [1, "results"],
          scheme: [2, "scheme"],
          customColors: [3, "customColors"],
          legend: [4, "legend"],
          scaleType: [5, "scaleType"],
          height: [6, "height"]
        }, {
          onDomainChange: "onDomainChange"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartStackedComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

          var currVal_2 = _co.results;
          var currVal_3 = _co.scheme;
          var currVal_4 = _co.customColors;
          var currVal_5 = _co.legend;
          var currVal_6 = _co.scaleType;
          var currVal_7 = _co.timelineHeight;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 4, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.timelineTransform;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_AreaChartStackedComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "area-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartStackedComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_10 = _co.xAxis;

          _ck(_v, 9, 0, currVal_10);

          var currVal_11 = _co.yAxis;

          _ck(_v, 11, 0, currVal_11);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 14, 0, currVal_13, currVal_14);

          var currVal_15 = !_co.tooltipDisabled;

          _ck(_v, 16, 0, currVal_15);

          var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

          _ck(_v, 18, 0, currVal_16);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.clipPathId;

          _ck(_v, 5, 0, currVal_5);

          var currVal_6 = _co.dims.width + 10;
          var currVal_7 = _co.dims.height + 10;
          var currVal_8 = "translate(-5, -5)";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

          var currVal_9 = _co.transform;

          _ck(_v, 7, 0, currVal_9);

          var currVal_12 = _co.clipPath;

          _ck(_v, 12, 0, currVal_12);
        });
      }

      function View_AreaChartStackedComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-area-chart-stacked", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseleave" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_AreaChartStackedComponent_0, RenderType_AreaChartStackedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartStackedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
          seriesTooltipTemplate: 0
        })], null, null);
      }

      var AreaChartStackedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-area-chart-stacked", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartStackedComponent"], View_AreaChartStackedComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        timeline: "timeline",
        gradient: "gradient",
        showGridLines: "showGridLines",
        curve: "curve",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        roundDomains: "roundDomains",
        tooltipDisabled: "tooltipDisabled",
        xScaleMin: "xScaleMin",
        xScaleMax: "xScaleMax",
        yScaleMin: "yScaleMin",
        yScaleMax: "yScaleMax"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_AreaSeriesComponent = [];

      var RenderType_AreaSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AreaSeriesComponent,
        data: {}
      });

      function View_AreaSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "area-series"], ["ngx-charts-area", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          data: [0, "data"],
          path: [1, "path"],
          startingPath: [2, "startingPath"],
          fill: [3, "fill"],
          opacity: [4, "opacity"],
          gradient: [5, "gradient"],
          stops: [6, "stops"],
          animations: [7, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.data;
          var currVal_3 = _co.path;
          var currVal_4 = _co.startingPath;

          var currVal_5 = _co.colors.getColor(_co.data.name);

          var currVal_6 = _co.opacity;
          var currVal_7 = _co.gradient || _co.hasGradient;
          var currVal_8 = _co.gradientStops;
          var currVal_9 = _co.animations;

          _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.isActive(_co.data);

          var currVal_1 = _co.isInactive(_co.data);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_AreaSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-area-series", ""]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], null, null)], null, null);
      }

      var AreaSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-area-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], View_AreaSeriesComponent_Host_0, {
        data: "data",
        xScale: "xScale",
        yScale: "yScale",
        baseValue: "baseValue",
        colors: "colors",
        scaleType: "scaleType",
        stacked: "stacked",
        normalized: "normalized",
        gradient: "gradient",
        curve: "curve",
        activeEntries: "activeEntries",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_BarComponent = [];

      var RenderType_BarComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarComponent,
        data: {}
      });

      function View_BarComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
          orientation: [0, "orientation"],
          name: [1, "name"],
          stops: [2, "stops"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.orientation;
          var currVal_1 = _co.gradientId;
          var currVal_2 = _co.gradientStops;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
        }, null);
      }

      function View_BarComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:path", [["class", "bar"], ["role", "img"], ["stroke", "none"], ["tabIndex", "-1"]], [[2, "active", null], [2, "hidden", null], [1, "d", 0], [1, "aria-label", 0], [1, "fill", 0]], [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.select.emit(_co.data) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.hasGradient;

          _ck(_v, 1, 0, currVal_0);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.isActive;
          var currVal_2 = _co.hideBar;
          var currVal_3 = _co.path;
          var currVal_4 = _co.ariaLabel;
          var currVal_5 = _co.hasGradient ? _co.gradientFill : _co.fill;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
        });
      }

      function View_BarComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-bar", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseenter" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
            ad = pd_1 && ad;
          }

          return ad;
        }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var BarComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-bar]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], View_BarComponent_Host_0, {
        fill: "fill",
        data: "data",
        width: "width",
        height: "height",
        x: "x",
        y: "y",
        orientation: "orientation",
        roundEdges: "roundEdges",
        gradient: "gradient",
        offset: "offset",
        isActive: "isActive",
        stops: "stops",
        animations: "animations",
        ariaLabel: "ariaLabel",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarHorizontalComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarHorizontalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarHorizontalComponent,
        data: {}
      });

      function View_BarHorizontalComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarHorizontalComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          yAxisOffset: [8, "yAxisOffset"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showYAxisLabel;
          var currVal_7 = _co.yAxisLabel;
          var currVal_8 = _co.dataLabelMaxWidth.negative;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarHorizontalComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event, true) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelWidthChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          if ("dataLabelWidthChanged" === en) {
            var pd_3 = _co.onDataLabelMaxWidthChanged($event) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
          dims: [0, "dims"],
          series: [1, "series"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          colors: [4, "colors"],
          tooltipDisabled: [5, "tooltipDisabled"],
          gradient: [6, "gradient"],
          activeEntries: [7, "activeEntries"],
          tooltipTemplate: [8, "tooltipTemplate"],
          roundEdges: [9, "roundEdges"],
          animations: [10, "animations"],
          showDataLabel: [11, "showDataLabel"],
          dataLabelFormatting: [12, "dataLabelFormatting"],
          noBarWhenZero: [13, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelWidthChanged: "dataLabelWidthChanged"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.xAxis;

          _ck(_v, 6, 0, currVal_6);

          var currVal_7 = _co.yAxis;

          _ck(_v, 8, 0, currVal_7);

          var currVal_8 = _co.dims;
          var currVal_9 = _co.results;
          var currVal_10 = _co.xScale;
          var currVal_11 = _co.yScale;
          var currVal_12 = _co.colors;
          var currVal_13 = _co.tooltipDisabled;
          var currVal_14 = _co.gradient;
          var currVal_15 = _co.activeEntries;
          var currVal_16 = _co.tooltipTemplate;
          var currVal_17 = _co.roundEdges;
          var currVal_18 = _co.animations;
          var currVal_19 = _co.showDataLabel;
          var currVal_20 = _co.dataLabelFormatting;
          var currVal_21 = _co.noBarWhenZero;

          _ck(_v, 10, 1, [currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarHorizontalComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal", [], null, null, null, View_BarHorizontalComponent_0, RenderType_BarHorizontalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarHorizontalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalComponent"], View_BarHorizontalComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        roundEdges: "roundEdges",
        xScaleMax: "xScaleMax",
        xScaleMin: "xScaleMin",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarHorizontal2DComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarHorizontal2DComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarHorizontal2DComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "*"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0,
                    transform: "scale(0)"
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BarHorizontal2DComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarHorizontal2DComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          yAxisOffset: [8, "yAxisOffset"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.groupScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showYAxisLabel;
          var currVal_7 = _co.yAxisLabel;
          var currVal_8 = _co.dataLabelMaxWidth.negative;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarHorizontal2DComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelWidthChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
            ad = pd_2 && ad;
          }

          if ("dataLabelWidthChanged" === en) {
            var pd_3 = _co.onDataLabelMaxWidthChanged($event, _v.context.index) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
          dims: [0, "dims"],
          series: [1, "series"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          colors: [4, "colors"],
          tooltipDisabled: [5, "tooltipDisabled"],
          gradient: [6, "gradient"],
          activeEntries: [7, "activeEntries"],
          seriesName: [8, "seriesName"],
          tooltipTemplate: [9, "tooltipTemplate"],
          roundEdges: [10, "roundEdges"],
          animations: [11, "animations"],
          showDataLabel: [12, "showDataLabel"],
          dataLabelFormatting: [13, "dataLabelFormatting"],
          noBarWhenZero: [14, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelWidthChanged: "dataLabelWidthChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.dims;
          var currVal_3 = _v.context.$implicit.series;
          var currVal_4 = _co.valueScale;
          var currVal_5 = _co.innerScale;
          var currVal_6 = _co.colors;
          var currVal_7 = _co.tooltipDisabled;
          var currVal_8 = _co.gradient;
          var currVal_9 = _co.activeEntries;
          var currVal_10 = _v.context.$implicit.name;
          var currVal_11 = _co.tooltipTemplate;
          var currVal_12 = _co.roundEdges;
          var currVal_13 = _co.animations;
          var currVal_14 = _co.showDataLabel;
          var currVal_15 = _co.dataLabelFormatting;
          var currVal_16 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";

          var currVal_1 = _co.groupTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_BarHorizontal2DComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 12, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, undefined, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 8, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-grid-panel-series", ""], ["orient", "horizontal"]], null, null, null, View_GridPanelSeriesComponent_0, RenderType_GridPanelSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], [], {
          data: [0, "data"],
          dims: [1, "dims"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          orient: [4, "orient"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontal2DComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontal2DComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontal2DComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.results;
          var currVal_7 = _co.dims;
          var currVal_8 = _co.valueScale;
          var currVal_9 = _co.groupScale;
          var currVal_10 = "horizontal";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

          var currVal_11 = _co.xAxis;

          _ck(_v, 8, 0, currVal_11);

          var currVal_12 = _co.yAxis;

          _ck(_v, 10, 0, currVal_12);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 12, 0, currVal_13, currVal_14);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarHorizontal2DComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal-2d", [], null, null, null, View_BarHorizontal2DComponent_0, RenderType_BarHorizontal2DComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontal2DComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarHorizontal2DComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal-2d", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontal2DComponent"], View_BarHorizontal2DComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        groupPadding: "groupPadding",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        roundEdges: "roundEdges",
        xScaleMax: "xScaleMax",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarHorizontalNormalizedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarHorizontalNormalizedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarHorizontalNormalizedComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "*"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0,
                    transform: "scale(0)"
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BarHorizontalNormalizedComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarHorizontalNormalizedComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showYAxisLabel;
          var currVal_7 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
        }, null);
      }

      function View_BarHorizontalNormalizedComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""], ["type", "normalized"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
          dims: [0, "dims"],
          type: [1, "type"],
          series: [2, "series"],
          xScale: [3, "xScale"],
          yScale: [4, "yScale"],
          colors: [5, "colors"],
          tooltipDisabled: [6, "tooltipDisabled"],
          gradient: [7, "gradient"],
          activeEntries: [8, "activeEntries"],
          seriesName: [9, "seriesName"],
          tooltipTemplate: [10, "tooltipTemplate"],
          animations: [11, "animations"],
          noBarWhenZero: [12, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.dims;
          var currVal_3 = "normalized";
          var currVal_4 = _v.context.$implicit.series;
          var currVal_5 = _co.xScale;
          var currVal_6 = _co.yScale;
          var currVal_7 = _co.colors;
          var currVal_8 = _co.tooltipDisabled;
          var currVal_9 = _co.gradient;
          var currVal_10 = _co.activeEntries;
          var currVal_11 = _v.context.$implicit.name;
          var currVal_12 = _co.tooltipTemplate;
          var currVal_13 = _co.animations;
          var currVal_14 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";

          var currVal_1 = _co.groupTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_BarHorizontalNormalizedComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, undefined, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalNormalizedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalNormalizedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalNormalizedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.xAxis;

          _ck(_v, 6, 0, currVal_6);

          var currVal_7 = _co.yAxis;

          _ck(_v, 8, 0, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 10, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarHorizontalNormalizedComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal-normalized", [], null, null, null, View_BarHorizontalNormalizedComponent_0, RenderType_BarHorizontalNormalizedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalNormalizedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarHorizontalNormalizedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal-normalized", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalNormalizedComponent"], View_BarHorizontalNormalizedComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarHorizontalStackedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarHorizontalStackedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarHorizontalStackedComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "*"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0,
                    transform: "scale(0)"
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BarHorizontalStackedComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarHorizontalStackedComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          yAxisOffset: [8, "yAxisOffset"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showYAxisLabel;
          var currVal_7 = _co.yAxisLabel;
          var currVal_8 = _co.dataLabelMaxWidth.negative;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarHorizontalStackedComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelWidthChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
            ad = pd_2 && ad;
          }

          if ("dataLabelWidthChanged" === en) {
            var pd_3 = _co.onDataLabelMaxWidthChanged($event, _v.context.index) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
          dims: [0, "dims"],
          type: [1, "type"],
          series: [2, "series"],
          xScale: [3, "xScale"],
          yScale: [4, "yScale"],
          colors: [5, "colors"],
          tooltipDisabled: [6, "tooltipDisabled"],
          gradient: [7, "gradient"],
          activeEntries: [8, "activeEntries"],
          seriesName: [9, "seriesName"],
          tooltipTemplate: [10, "tooltipTemplate"],
          animations: [11, "animations"],
          showDataLabel: [12, "showDataLabel"],
          dataLabelFormatting: [13, "dataLabelFormatting"],
          noBarWhenZero: [14, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelWidthChanged: "dataLabelWidthChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.dims;
          var currVal_3 = "stacked";
          var currVal_4 = _v.context.$implicit.series;
          var currVal_5 = _co.xScale;
          var currVal_6 = _co.yScale;
          var currVal_7 = _co.colors;
          var currVal_8 = _co.tooltipDisabled;
          var currVal_9 = _co.gradient;
          var currVal_10 = _co.activeEntries;
          var currVal_11 = _v.context.$implicit.name;
          var currVal_12 = _co.tooltipTemplate;
          var currVal_13 = _co.animations;
          var currVal_14 = _co.showDataLabel;
          var currVal_15 = _co.dataLabelFormatting;
          var currVal_16 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";

          var currVal_1 = _co.groupTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_BarHorizontalStackedComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, undefined, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalStackedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalStackedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalStackedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.xAxis;

          _ck(_v, 6, 0, currVal_6);

          var currVal_7 = _co.yAxis;

          _ck(_v, 8, 0, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 10, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarHorizontalStackedComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal-stacked", [], null, null, null, View_BarHorizontalStackedComponent_0, RenderType_BarHorizontalStackedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalStackedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarHorizontalStackedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal-stacked", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalStackedComponent"], View_BarHorizontalStackedComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        xScaleMax: "xScaleMax",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_SeriesHorizontal = [];

      var RenderType_SeriesHorizontal = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_SeriesHorizontal,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_SeriesHorizontal_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["ngx-charts-bar", ""], ["ngx-tooltip", ""]], [[24, "@animationState", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("mouseenter" === en) {
            var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
            ad = pd_5 && ad;
          }

          if ("mouseleave" === en) {
            var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
            ad = pd_6 && ad;
          }

          if ("select" === en) {
            var pd_7 = _co.click($event) !== false;
            ad = pd_7 && ad;
          }

          if ("activate" === en) {
            var pd_8 = _co.activate.emit($event) !== false;
            ad = pd_8 && ad;
          }

          if ("deactivate" === en) {
            var pd_9 = _co.deactivate.emit($event) !== false;
            ad = pd_9 && ad;
          }

          return ad;
        }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          data: [1, "data"],
          width: [2, "width"],
          height: [3, "height"],
          x: [4, "x"],
          y: [5, "y"],
          orientation: [6, "orientation"],
          roundEdges: [7, "roundEdges"],
          gradient: [8, "gradient"],
          isActive: [9, "isActive"],
          stops: [10, "stops"],
          animations: [11, "animations"],
          ariaLabel: [12, "ariaLabel"],
          noBarWhenZero: [13, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.tooltipTemplate ? undefined : _v.context.$implicit.tooltipText;
          var currVal_2 = _co.tooltipDisabled;
          var currVal_3 = _co.tooltipPlacement;
          var currVal_4 = _co.tooltipType;
          var currVal_5 = _co.tooltipTemplate;
          var currVal_6 = _v.context.$implicit.data;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

          var currVal_7 = _v.context.$implicit.color;
          var currVal_8 = _v.context.$implicit.data;
          var currVal_9 = _v.context.$implicit.width;
          var currVal_10 = _v.context.$implicit.height;
          var currVal_11 = _v.context.$implicit.x;
          var currVal_12 = _v.context.$implicit.y;
          var currVal_13 = "horizontal";
          var currVal_14 = _v.context.$implicit.roundEdges;
          var currVal_15 = _co.gradient;

          var currVal_16 = _co.isActive(_v.context.$implicit.data);

          var currVal_17 = _v.context.$implicit.gradientStops;
          var currVal_18 = _co.animations;
          var currVal_19 = _v.context.$implicit.ariaLabel;
          var currVal_20 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20]);
        }, function (_ck, _v) {
          var currVal_0 = "active";

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_SeriesHorizontal_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-bar-label", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.dataLabelWidthChanged.emit({
              size: $event,
              index: _v.context.index
            }) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_BarLabelComponent_0, RenderType_BarLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          value: [0, "value"],
          valueFormatting: [1, "valueFormatting"],
          barX: [2, "barX"],
          barY: [3, "barY"],
          barWidth: [4, "barWidth"],
          barHeight: [5, "barHeight"],
          orientation: [6, "orientation"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit.total;
          var currVal_1 = _co.dataLabelFormatting;
          var currVal_2 = _v.context.$implicit.x;
          var currVal_3 = _v.context.$implicit.y;
          var currVal_4 = _v.context.$implicit.width;
          var currVal_5 = _v.context.$implicit.height;
          var currVal_6 = "horizontal";

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
        }, null);
      }

      function View_SeriesHorizontal_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesHorizontal_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.barsForDataLabels;
          var currVal_1 = _co.trackDataLabelBy;

          _ck(_v, 2, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_SeriesHorizontal_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesHorizontal_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesHorizontal_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.bars;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);

          var currVal_2 = _co.showDataLabel;

          _ck(_v, 3, 0, currVal_2);
        }, null);
      }

      function View_SeriesHorizontal_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-series-horizontal", ""]], null, null, null, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], null, null)], null, null);
      }

      var SeriesHorizontalNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-series-horizontal]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], View_SeriesHorizontal_Host_0, {
        dims: "dims",
        type: "type",
        series: "series",
        xScale: "xScale",
        yScale: "yScale",
        colors: "colors",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        activeEntries: "activeEntries",
        seriesName: "seriesName",
        tooltipTemplate: "tooltipTemplate",
        roundEdges: "roundEdges",
        animations: "animations",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelWidthChanged: "dataLabelWidthChanged"
      }, []);

      var styles_BarLabelComponent = [".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"];

      var RenderType_BarLabelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 0,
        styles: styles_BarLabelComponent,
        data: {}
      });

      function View_BarLabelComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["alignment-baseline", "middle"], ["class", "textDataLabel"]], [[1, "text-anchor", 0], [1, "transform", 0], [1, "x", 0], [1, "y", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.textAnchor;
          var currVal_1 = _co.transform;
          var currVal_2 = _co.x;
          var currVal_3 = _co.y;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);

          var currVal_4 = _co.formatedValue;

          _ck(_v, 1, 0, currVal_4);
        });
      }

      function View_BarLabelComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-bar-label", ""]], null, null, null, View_BarLabelComponent_0, RenderType_BarLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var BarLabelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-bar-label]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], View_BarLabelComponent_Host_0, {
        value: "value",
        valueFormatting: "valueFormatting",
        barX: "barX",
        barY: "barY",
        barWidth: "barWidth",
        barHeight: "barHeight",
        orientation: "orientation"
      }, {
        dimensionsChanged: "dimensionsChanged"
      }, []);

      var styles_BarVerticalComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarVerticalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarVerticalComponent,
        data: {}
      });

      function View_BarVerticalComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          ticks: [8, "ticks"],
          xAxisOffset: [9, "xAxisOffset"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showXAxisLabel;
          var currVal_7 = _co.xAxisLabel;
          var currVal_8 = _co.xAxisTicks;
          var currVal_9 = _co.dataLabelMaxHeight.negative;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarVerticalComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarVerticalComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event, true) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""]], null, [[null, "activate"], [null, "deactivate"], [null, "select"], [null, "dataLabelHeightChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("activate" === en) {
            var pd_0 = _co.onActivate($event) !== false;
            ad = pd_0 && ad;
          }

          if ("deactivate" === en) {
            var pd_1 = _co.onDeactivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("select" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          if ("dataLabelHeightChanged" === en) {
            var pd_3 = _co.onDataLabelMaxHeightChanged($event) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
          dims: [0, "dims"],
          series: [1, "series"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          colors: [4, "colors"],
          gradient: [5, "gradient"],
          activeEntries: [6, "activeEntries"],
          tooltipDisabled: [7, "tooltipDisabled"],
          tooltipTemplate: [8, "tooltipTemplate"],
          roundEdges: [9, "roundEdges"],
          animations: [10, "animations"],
          showDataLabel: [11, "showDataLabel"],
          dataLabelFormatting: [12, "dataLabelFormatting"],
          noBarWhenZero: [13, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelHeightChanged: "dataLabelHeightChanged"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.xAxis;

          _ck(_v, 6, 0, currVal_6);

          var currVal_7 = _co.yAxis;

          _ck(_v, 8, 0, currVal_7);

          var currVal_8 = _co.dims;
          var currVal_9 = _co.results;
          var currVal_10 = _co.xScale;
          var currVal_11 = _co.yScale;
          var currVal_12 = _co.colors;
          var currVal_13 = _co.gradient;
          var currVal_14 = _co.activeEntries;
          var currVal_15 = _co.tooltipDisabled;
          var currVal_16 = _co.tooltipTemplate;
          var currVal_17 = _co.roundEdges;
          var currVal_18 = _co.animations;
          var currVal_19 = _co.showDataLabel;
          var currVal_20 = _co.dataLabelFormatting;
          var currVal_21 = _co.noBarWhenZero;

          _ck(_v, 10, 1, [currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarVerticalComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical", [], null, null, null, View_BarVerticalComponent_0, RenderType_BarVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarVerticalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalComponent"], View_BarVerticalComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        roundEdges: "roundEdges",
        yScaleMax: "yScaleMax",
        yScaleMin: "yScaleMin",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarVertical2DComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarVertical2DComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarVertical2DComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "*"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0,
                    transform: "scale(0)"
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BarVertical2DComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          ticks: [8, "ticks"],
          xAxisOffset: [9, "xAxisOffset"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.groupScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showXAxisLabel;
          var currVal_7 = _co.xAxisLabel;
          var currVal_8 = _co.xAxisTicks;
          var currVal_9 = _co.dataLabelMaxHeight.negative;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarVertical2DComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarVertical2DComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""]], [[24, "@animationState", 0], [1, "transform", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelHeightChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
            ad = pd_2 && ad;
          }

          if ("dataLabelHeightChanged" === en) {
            var pd_3 = _co.onDataLabelMaxHeightChanged($event, _v.context.index) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
          dims: [0, "dims"],
          series: [1, "series"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          colors: [4, "colors"],
          gradient: [5, "gradient"],
          activeEntries: [6, "activeEntries"],
          seriesName: [7, "seriesName"],
          tooltipDisabled: [8, "tooltipDisabled"],
          tooltipTemplate: [9, "tooltipTemplate"],
          roundEdges: [10, "roundEdges"],
          animations: [11, "animations"],
          showDataLabel: [12, "showDataLabel"],
          dataLabelFormatting: [13, "dataLabelFormatting"],
          noBarWhenZero: [14, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelHeightChanged: "dataLabelHeightChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.dims;
          var currVal_3 = _v.context.$implicit.series;
          var currVal_4 = _co.innerScale;
          var currVal_5 = _co.valueScale;
          var currVal_6 = _co.colors;
          var currVal_7 = _co.gradient;
          var currVal_8 = _co.activeEntries;
          var currVal_9 = _v.context.$implicit.name;
          var currVal_10 = _co.tooltipDisabled;
          var currVal_11 = _co.tooltipTemplate;
          var currVal_12 = _co.roundEdges;
          var currVal_13 = _co.animations;
          var currVal_14 = _co.showDataLabel;
          var currVal_15 = _co.dataLabelFormatting;
          var currVal_16 = _co.noBarWhenZero;

          _ck(_v, 1, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";

          var currVal_1 = _co.groupTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_BarVertical2DComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 12, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, undefined, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 8, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-grid-panel-series", ""], ["orient", "vertical"]], null, null, null, View_GridPanelSeriesComponent_0, RenderType_GridPanelSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], [], {
          data: [0, "data"],
          dims: [1, "dims"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          orient: [4, "orient"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVertical2DComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVertical2DComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVertical2DComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.results;
          var currVal_7 = _co.dims;
          var currVal_8 = _co.groupScale;
          var currVal_9 = _co.valueScale;
          var currVal_10 = "vertical";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

          var currVal_11 = _co.xAxis;

          _ck(_v, 8, 0, currVal_11);

          var currVal_12 = _co.yAxis;

          _ck(_v, 10, 0, currVal_12);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 12, 0, currVal_13, currVal_14);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarVertical2DComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-2d", [], null, null, null, View_BarVertical2DComponent_0, RenderType_BarVertical2DComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVertical2DComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarVertical2DComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical-2d", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVertical2DComponent"], View_BarVertical2DComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        scaleType: "scaleType",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        groupPadding: "groupPadding",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        roundEdges: "roundEdges",
        yScaleMax: "yScaleMax",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarVerticalNormalizedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarVerticalNormalizedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarVerticalNormalizedComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "*"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0,
                    transform: "scale(0)"
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BarVerticalNormalizedComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          ticks: [8, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showXAxisLabel;
          var currVal_7 = _co.xAxisLabel;
          var currVal_8 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarVerticalNormalizedComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarVerticalNormalizedComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""], ["type", "normalized"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
          dims: [0, "dims"],
          type: [1, "type"],
          series: [2, "series"],
          xScale: [3, "xScale"],
          yScale: [4, "yScale"],
          colors: [5, "colors"],
          gradient: [6, "gradient"],
          activeEntries: [7, "activeEntries"],
          seriesName: [8, "seriesName"],
          tooltipDisabled: [9, "tooltipDisabled"],
          tooltipTemplate: [10, "tooltipTemplate"],
          animations: [11, "animations"],
          noBarWhenZero: [12, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.dims;
          var currVal_3 = "normalized";
          var currVal_4 = _v.context.$implicit.series;
          var currVal_5 = _co.xScale;
          var currVal_6 = _co.yScale;
          var currVal_7 = _co.colors;
          var currVal_8 = _co.gradient;
          var currVal_9 = _co.activeEntries;
          var currVal_10 = _v.context.$implicit.name;
          var currVal_11 = _co.tooltipDisabled;
          var currVal_12 = _co.tooltipTemplate;
          var currVal_13 = _co.animations;
          var currVal_14 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";

          var currVal_1 = _co.groupTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_BarVerticalNormalizedComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, undefined, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalNormalizedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalNormalizedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalNormalizedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.xAxis;

          _ck(_v, 6, 0, currVal_6);

          var currVal_7 = _co.yAxis;

          _ck(_v, 8, 0, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 10, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarVerticalNormalizedComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-normalized", [], null, null, null, View_BarVerticalNormalizedComponent_0, RenderType_BarVerticalNormalizedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalNormalizedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarVerticalNormalizedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical-normalized", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalNormalizedComponent"], View_BarVerticalNormalizedComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BarVerticalStackedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BarVerticalStackedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BarVerticalStackedComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "*"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0,
                    transform: "scale(0)"
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BarVerticalStackedComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          ticks: [8, "ticks"],
          xAxisOffset: [9, "xAxisOffset"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showXAxisLabel;
          var currVal_7 = _co.xAxisLabel;
          var currVal_8 = _co.xAxisTicks;
          var currVal_9 = _co.dataLabelMaxHeight.negative;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BarVerticalStackedComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BarVerticalStackedComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelHeightChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
            ad = pd_2 && ad;
          }

          if ("dataLabelHeightChanged" === en) {
            var pd_3 = _co.onDataLabelMaxHeightChanged($event, _v.context.index) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
          dims: [0, "dims"],
          type: [1, "type"],
          series: [2, "series"],
          xScale: [3, "xScale"],
          yScale: [4, "yScale"],
          colors: [5, "colors"],
          gradient: [6, "gradient"],
          activeEntries: [7, "activeEntries"],
          seriesName: [8, "seriesName"],
          tooltipDisabled: [9, "tooltipDisabled"],
          tooltipTemplate: [10, "tooltipTemplate"],
          animations: [11, "animations"],
          showDataLabel: [12, "showDataLabel"],
          dataLabelFormatting: [13, "dataLabelFormatting"],
          noBarWhenZero: [14, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dataLabelHeightChanged: "dataLabelHeightChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.dims;
          var currVal_3 = "stacked";
          var currVal_4 = _v.context.$implicit.series;
          var currVal_5 = _co.xScale;
          var currVal_6 = _co.yScale;
          var currVal_7 = _co.colors;
          var currVal_8 = _co.gradient;
          var currVal_9 = _co.activeEntries;
          var currVal_10 = _v.context.$implicit.name;
          var currVal_11 = _co.tooltipDisabled;
          var currVal_12 = _co.tooltipTemplate;
          var currVal_13 = _co.animations;
          var currVal_14 = _co.showDataLabel;
          var currVal_15 = _co.dataLabelFormatting;
          var currVal_16 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";

          var currVal_1 = _co.groupTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_BarVerticalStackedComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, undefined, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalStackedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalStackedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalStackedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.xAxis;

          _ck(_v, 6, 0, currVal_6);

          var currVal_7 = _co.yAxis;

          _ck(_v, 8, 0, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 10, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_BarVerticalStackedComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-stacked", [], null, null, null, View_BarVerticalStackedComponent_0, RenderType_BarVerticalStackedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalStackedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BarVerticalStackedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical-stacked", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalStackedComponent"], View_BarVerticalStackedComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        gradient: "gradient",
        showGridLines: "showGridLines",
        activeEntries: "activeEntries",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        barPadding: "barPadding",
        roundDomains: "roundDomains",
        yScaleMax: "yScaleMax",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_SeriesVerticalComponent = [];

      var RenderType_SeriesVerticalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_SeriesVerticalComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_SeriesVerticalComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["ngx-charts-bar", ""], ["ngx-tooltip", ""]], [[24, "@animationState", 0], [24, "@.disabled", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("mouseenter" === en) {
            var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
            ad = pd_5 && ad;
          }

          if ("mouseleave" === en) {
            var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
            ad = pd_6 && ad;
          }

          if ("select" === en) {
            var pd_7 = _co.onClick($event) !== false;
            ad = pd_7 && ad;
          }

          if ("activate" === en) {
            var pd_8 = _co.activate.emit($event) !== false;
            ad = pd_8 && ad;
          }

          if ("deactivate" === en) {
            var pd_9 = _co.deactivate.emit($event) !== false;
            ad = pd_9 && ad;
          }

          return ad;
        }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          data: [1, "data"],
          width: [2, "width"],
          height: [3, "height"],
          x: [4, "x"],
          y: [5, "y"],
          orientation: [6, "orientation"],
          roundEdges: [7, "roundEdges"],
          gradient: [8, "gradient"],
          isActive: [9, "isActive"],
          stops: [10, "stops"],
          animations: [11, "animations"],
          ariaLabel: [12, "ariaLabel"],
          noBarWhenZero: [13, "noBarWhenZero"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.tooltipTemplate ? undefined : _v.context.$implicit.tooltipText;
          var currVal_3 = _co.tooltipDisabled;
          var currVal_4 = _co.tooltipPlacement;
          var currVal_5 = _co.tooltipType;
          var currVal_6 = _co.tooltipTemplate;
          var currVal_7 = _v.context.$implicit.data;

          _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _v.context.$implicit.color;
          var currVal_9 = _v.context.$implicit.data;
          var currVal_10 = _v.context.$implicit.width;
          var currVal_11 = _v.context.$implicit.height;
          var currVal_12 = _v.context.$implicit.x;
          var currVal_13 = _v.context.$implicit.y;
          var currVal_14 = "vertical";
          var currVal_15 = _v.context.$implicit.roundEdges;
          var currVal_16 = _co.gradient;

          var currVal_17 = _co.isActive(_v.context.$implicit.data);

          var currVal_18 = _v.context.$implicit.gradientStops;
          var currVal_19 = _co.animations;
          var currVal_20 = _v.context.$implicit.ariaLabel;
          var currVal_21 = _co.noBarWhenZero;

          _ck(_v, 2, 1, [currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";
          var currVal_1 = !_co.animations;

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_SeriesVerticalComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-bar-label", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.dataLabelHeightChanged.emit({
              size: $event,
              index: _v.context.index
            }) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_BarLabelComponent_0, RenderType_BarLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          value: [0, "value"],
          valueFormatting: [1, "valueFormatting"],
          barX: [2, "barX"],
          barY: [3, "barY"],
          barWidth: [4, "barWidth"],
          barHeight: [5, "barHeight"],
          orientation: [6, "orientation"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit.total;
          var currVal_1 = _co.dataLabelFormatting;
          var currVal_2 = _v.context.$implicit.x;
          var currVal_3 = _v.context.$implicit.y;
          var currVal_4 = _v.context.$implicit.width;
          var currVal_5 = _v.context.$implicit.height;
          var currVal_6 = "vertical";

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
        }, null);
      }

      function View_SeriesVerticalComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesVerticalComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.barsForDataLabels;
          var currVal_1 = _co.trackDataLabelBy;

          _ck(_v, 2, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_SeriesVerticalComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesVerticalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesVerticalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.bars;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);

          var currVal_2 = _co.showDataLabel;

          _ck(_v, 3, 0, currVal_2);
        }, null);
      }

      function View_SeriesVerticalComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-series-vertical", ""]], null, null, null, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], null, null)], null, null);
      }

      var SeriesVerticalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-series-vertical]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], View_SeriesVerticalComponent_Host_0, {
        dims: "dims",
        type: "type",
        series: "series",
        xScale: "xScale",
        yScale: "yScale",
        colors: "colors",
        gradient: "gradient",
        activeEntries: "activeEntries",
        seriesName: "seriesName",
        tooltipDisabled: "tooltipDisabled",
        tooltipTemplate: "tooltipTemplate",
        roundEdges: "roundEdges",
        animations: "animations",
        showDataLabel: "showDataLabel",
        dataLabelFormatting: "dataLabelFormatting",
        noBarWhenZero: "noBarWhenZero"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelHeightChanged: "dataLabelHeightChanged"
      }, []);

      var styles_BubbleChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_BubbleChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BubbleChartComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BubbleChartComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_BubbleChartComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_BubbleChartComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-bubble-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_BubbleSeriesComponent_0, RenderType_BubbleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          rScale: [3, "rScale"],
          xScaleType: [4, "xScaleType"],
          yScaleType: [5, "yScaleType"],
          colors: [6, "colors"],
          activeEntries: [7, "activeEntries"],
          xAxisLabel: [8, "xAxisLabel"],
          yAxisLabel: [9, "yAxisLabel"],
          tooltipDisabled: [10, "tooltipDisabled"],
          tooltipTemplate: [11, "tooltipTemplate"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _v.context.$implicit;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.rScale;
          var currVal_5 = _co.xScaleType;
          var currVal_6 = _co.yScaleType;
          var currVal_7 = _co.colors;
          var currVal_8 = _co.activeEntries;
          var currVal_9 = _co.xAxisLabel;
          var currVal_10 = _co.yAxisLabel;
          var currVal_11 = _co.tooltipDisabled;
          var currVal_12 = _co.tooltipTemplate;

          _ck(_v, 2, 1, [currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12]);
        }, function (_ck, _v) {
          var currVal_0 = "active";

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_BubbleChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 15, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 8, ":svg:g", [["class", "bubble-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 0, ":svg:rect", [["class", "bubble-chart-area"], ["style", "fill: rgb(255, 0, 0); opacity: 0; cursor: 'auto';"], ["x", "0"], ["y", "0"]], [[1, "width", 0], [1, "height", 0]], [[null, "mouseenter"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseenter" === en) {
            var pd_0 = _co.deactivateAll() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](13, 0, null, null, 2, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_10 = _co.xAxis;

          _ck(_v, 9, 0, currVal_10);

          var currVal_11 = _co.yAxis;

          _ck(_v, 11, 0, currVal_11);

          var currVal_15 = _co.data;
          var currVal_16 = _co.trackBy;

          _ck(_v, 15, 0, currVal_15, currVal_16);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.clipPathId;

          _ck(_v, 5, 0, currVal_5);

          var currVal_6 = _co.dims.width + 10;
          var currVal_7 = _co.dims.height + 10;
          var currVal_8 = "translate(-5, -5)";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

          var currVal_9 = _co.transform;

          _ck(_v, 7, 0, currVal_9);

          var currVal_12 = _co.dims.width;
          var currVal_13 = _co.dims.height;

          _ck(_v, 12, 0, currVal_12, currVal_13);

          var currVal_14 = _co.clipPath;

          _ck(_v, 13, 0, currVal_14);
        });
      }

      function View_BubbleChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bubble-chart", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseleave" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_BubbleChartComponent_0, RenderType_BubbleChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var BubbleChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bubble-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartComponent"], View_BubbleChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        showGridLines: "showGridLines",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        roundDomains: "roundDomains",
        maxRadius: "maxRadius",
        minRadius: "minRadius",
        autoScale: "autoScale",
        tooltipDisabled: "tooltipDisabled",
        xScaleMin: "xScaleMin",
        xScaleMax: "xScaleMax",
        yScaleMin: "yScaleMin",
        yScaleMax: "yScaleMax"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_BubbleSeriesComponent = [];

      var RenderType_BubbleSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BubbleSeriesComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":enter",
              animation: [{
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 1,
                    transform: "scale(1)"
                  },
                  offset: null
                },
                timings: 250
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_BubbleSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 3, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 16777216, null, null, 2, ":svg:g", [["class", "circle"], ["ngx-charts-circle", ""], ["ngx-tooltip", ""]], [[24, "@animationState", 0], [4, "opacity", null], [2, "active", null]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("click" === en) {
            var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onClick() !== false;
            ad = pd_5 && ad;
          }

          if ("mouseenter" === en) {
            var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseEnter() !== false;
            ad = pd_6 && ad;
          }

          if ("mouseleave" === en) {
            var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseLeave() !== false;
            ad = pd_7 && ad;
          }

          if ("select" === en) {
            var pd_8 = _co.onClick(_v.context.$implicit.data) !== false;
            ad = pd_8 && ad;
          }

          if ("activate" === en) {
            var pd_9 = _co.activateCircle(_v.context.$implicit) !== false;
            ad = pd_9 && ad;
          }

          if ("deactivate" === en) {
            var pd_10 = _co.deactivateCircle(_v.context.$implicit) !== false;
            ad = pd_10 && ad;
          }

          return ad;
        }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], {
          cx: [0, "cx"],
          cy: [1, "cy"],
          r: [2, "r"],
          fill: [3, "fill"],
          data: [4, "data"],
          classNames: [5, "classNames"],
          pointerEvents: [6, "pointerEvents"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_4 = _co.tooltipTemplate ? undefined : _co.getTooltipText(_v.context.$implicit);
          var currVal_5 = _co.tooltipDisabled;
          var currVal_6 = "top";
          var currVal_7 = "tooltip";
          var currVal_8 = _co.tooltipTemplate;
          var currVal_9 = _v.context.$implicit.data;

          _ck(_v, 3, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);

          var currVal_10 = 0;
          var currVal_11 = 0;
          var currVal_12 = _v.context.$implicit.radius;
          var currVal_13 = _v.context.$implicit.color;
          var currVal_14 = _v.context.$implicit.value;
          var currVal_15 = _v.context.$implicit.classNames;
          var currVal_16 = "all";

          _ck(_v, 4, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16);
        }, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.transform;

          _ck(_v, 1, 0, currVal_0);

          var currVal_1 = "active";
          var currVal_2 = _v.context.$implicit.opacity;
          var currVal_3 = _v.context.$implicit.isActive;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);
        });
      }

      function View_BubbleSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.circles;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_BubbleSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-bubble-series", ""]], null, null, null, View_BubbleSeriesComponent_0, RenderType_BubbleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleSeriesComponent"], [], null, null)], null, null);
      }

      var BubbleSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-bubble-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleSeriesComponent"], View_BubbleSeriesComponent_Host_0, {
        data: "data",
        xScale: "xScale",
        yScale: "yScale",
        rScale: "rScale",
        xScaleType: "xScaleType",
        yScaleType: "yScaleType",
        colors: "colors",
        visibleValue: "visibleValue",
        activeEntries: "activeEntries",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        tooltipDisabled: "tooltipDisabled",
        tooltipTemplate: "tooltipTemplate"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_LegendComponent = [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"];

      var RenderType_LegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_LegendComponent,
        data: {}
      });

      function View_LegendComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "header", [["class", "legend-title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, "span", [["class", "legend-title-text"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.title;

          _ck(_v, 2, 0, currVal_0);
        });
      }

      function View_LegendComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "li", [["class", "legend-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, "ngx-charts-legend-entry", [], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseenter" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
            ad = pd_1 && ad;
          }

          if ("select" === en) {
            var pd_2 = _co.labelClick.emit($event) !== false;
            ad = pd_2 && ad;
          }

          if ("activate" === en) {
            var pd_3 = _co.activate($event) !== false;
            ad = pd_3 && ad;
          }

          if ("deactivate" === en) {
            var pd_4 = _co.deactivate($event) !== false;
            ad = pd_4 && ad;
          }

          return ad;
        }, View_LegendEntryComponent_0, RenderType_LegendEntryComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendEntryComponent"], [], {
          color: [0, "color"],
          label: [1, "label"],
          formattedLabel: [2, "formattedLabel"],
          isActive: [3, "isActive"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit.color;
          var currVal_1 = _v.context.$implicit.label;
          var currVal_2 = _v.context.$implicit.formattedLabel;

          var currVal_3 = _co.isActive(_v.context.$implicit);

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3);
        }, null);
      }

      function View_LegendComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "div", [], [[4, "width", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LegendComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 3, "div", [["class", "legend-wrap"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 2, "ul", [["class", "legend-labels"]], [[2, "horizontal-legend", null], [4, "max-height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LegendComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = (_co.title == null ? null : _co.title.length) > 0;

          _ck(_v, 2, 0, currVal_1);

          var currVal_4 = _co.legendEntries;
          var currVal_5 = _co.trackBy;

          _ck(_v, 6, 0, currVal_4, currVal_5);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.width;

          _ck(_v, 0, 0, currVal_0);

          var currVal_2 = _co.horizontal;
          var currVal_3 = _co.height - 45;

          _ck(_v, 4, 0, currVal_2, currVal_3);
        });
      }

      function View_LegendComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-legend", [], null, null, null, View_LegendComponent_0, RenderType_LegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
      }

      var LegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-legend", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendComponent"], View_LegendComponent_Host_0, {
        data: "data",
        title: "title",
        colors: "colors",
        height: "height",
        width: "width",
        activeEntries: "activeEntries",
        horizontal: "horizontal"
      }, {
        labelClick: "labelClick",
        labelActivate: "labelActivate",
        labelDeactivate: "labelDeactivate"
      }, []);

      var styles_ScaleLegendComponent = [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"];

      var RenderType_ScaleLegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_ScaleLegendComponent,
        data: {}
      });

      function View_ScaleLegendComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, "div", [["class", "scale-legend"]], [[2, "horizontal-legend", null], [4, "height", "px"], [4, "width", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, "div", [["class", "scale-legend-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](3, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 0, "div", [["class", "scale-legend-wrap"]], [[4, "background", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 2, "div", [["class", "scale-legend-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](7, null, ["", ""]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.horizontal;
          var currVal_1 = _co.horizontal ? undefined : _co.height;
          var currVal_2 = _co.width;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);

          var currVal_3 = _co.valueRange[1].toLocaleString();

          _ck(_v, 3, 0, currVal_3);

          var currVal_4 = _co.gradient;

          _ck(_v, 4, 0, currVal_4);

          var currVal_5 = _co.valueRange[0].toLocaleString();

          _ck(_v, 7, 0, currVal_5);
        });
      }

      function View_ScaleLegendComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-scale-legend", [], null, null, null, View_ScaleLegendComponent_0, RenderType_ScaleLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ScaleLegendComponent"], [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["DomSanitizer"]], null, null)], null, null);
      }

      var ScaleLegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-scale-legend", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ScaleLegendComponent"], View_ScaleLegendComponent_Host_0, {
        valueRange: "valueRange",
        colors: "colors",
        height: "height",
        width: "width",
        horizontal: "horizontal"
      }, {}, []);

      var styles_LegendEntryComponent = [];

      var RenderType_LegendEntryComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_LegendEntryComponent,
        data: {}
      });

      function View_LegendEntryComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "span", [["tabindex", "-1"]], [[8, "title", 0], [2, "active", null]], [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.select.emit(_co.formattedLabel) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "span", [["class", "legend-label-color"]], [[4, "background-color", null]], [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.toggle.emit(_co.formattedLabel) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, "span", [["class", "legend-label-text"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](3, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.formattedLabel;
          var currVal_1 = _co.isActive;

          _ck(_v, 0, 0, currVal_0, currVal_1);

          var currVal_2 = _co.color;

          _ck(_v, 1, 0, currVal_2);

          var currVal_3 = _co.trimmedLabel;

          _ck(_v, 3, 0, currVal_3);
        });
      }

      function View_LegendEntryComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-legend-entry", [], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseenter" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
            ad = pd_1 && ad;
          }

          return ad;
        }, View_LegendEntryComponent_0, RenderType_LegendEntryComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendEntryComponent"], [], null, null)], null, null);
      }

      var LegendEntryComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-legend-entry", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendEntryComponent"], View_LegendEntryComponent_Host_0, {
        color: "color",
        label: "label",
        formattedLabel: "formattedLabel",
        isActive: "isActive"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        toggle: "toggle"
      }, []);

      var styles_AdvancedLegendComponent = [".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{overflow:auto;white-space:nowrap}.advanced-pie-legend .legend-items-container .legend-items .legend-item{cursor:pointer;display:inline-block;margin-right:20px}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;margin-left:11px;margin-top:-6px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;margin-left:11px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;float:left;height:42px;margin-right:7px;width:4px}"];

      var RenderType_AdvancedLegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AdvancedLegendComponent,
        data: {}
      });

      function View_AdvancedLegendComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "total-value"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          valueFormatting: [0, "valueFormatting"],
          countTo: [1, "countTo"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueFormatting;
          var currVal_1 = _co.roundedTotal;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_AdvancedLegendComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "total-value"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueFormatting ? _co.valueFormatting(_co.roundedTotal) : _co.defaultValueFormatting(_co.roundedTotal);

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_AdvancedLegendComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-value"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          valueFormatting: [0, "valueFormatting"],
          countTo: [1, "countTo"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueFormatting;
          var currVal_1 = _v.parent.context.$implicit._value;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_AdvancedLegendComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-value"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueFormatting ? _co.valueFormatting(_v.parent.context.$implicit.value) : _co.defaultValueFormatting(_v.parent.context.$implicit.value);

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_AdvancedLegendComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-percent"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          countSuffix: [0, "countSuffix"],
          countTo: [1, "countTo"]
        }, null)], function (_ck, _v) {
          var currVal_0 = "%";
          var currVal_1 = _v.parent.context.$implicit.percentage;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_AdvancedLegendComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-percent"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, ["", "%"]))], null, function (_ck, _v) {
          var currVal_0 = _v.parent.context.$implicit.percentage.toLocaleString();

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_AdvancedLegendComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 11, "div", [["class", "legend-item"], ["tabindex", "-1"]], null, [[null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseenter" === en) {
            var pd_0 = _co.activate.emit(_v.context.$implicit.data) !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _co.deactivate.emit(_v.context.$implicit.data) !== false;
            ad = pd_1 && ad;
          }

          if ("click" === en) {
            var pd_2 = _co.select.emit(_v.context.$implicit.data) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "div", [["class", "item-color"]], [[4, "border-left-color", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 1, "div", [["class", "item-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](7, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.animations;

          _ck(_v, 3, 0, currVal_1);

          var currVal_2 = !_co.animations;

          _ck(_v, 5, 0, currVal_2);

          var currVal_4 = _co.animations;

          _ck(_v, 9, 0, currVal_4);

          var currVal_5 = !_co.animations;

          _ck(_v, 11, 0, currVal_5);
        }, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.color;

          _ck(_v, 1, 0, currVal_0);

          var currVal_3 = _v.context.$implicit.displayLabel;

          _ck(_v, 7, 0, currVal_3);
        });
      }

      function View_AdvancedLegendComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "div", [["class", "advanced-pie-legend"]], [[4, "width", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, "div", [["class", "total-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](6, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 3, "div", [["class", "legend-items-container"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](8, 0, null, null, 2, "div", [["class", "legend-items"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.animations;

          _ck(_v, 2, 0, currVal_1);

          var currVal_2 = !_co.animations;

          _ck(_v, 4, 0, currVal_2);

          var currVal_4 = _co.legendItems;
          var currVal_5 = _co.trackBy;

          _ck(_v, 10, 0, currVal_4, currVal_5);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.width;

          _ck(_v, 0, 0, currVal_0);

          var currVal_3 = _co.label;

          _ck(_v, 6, 0, currVal_3);
        });
      }

      function View_AdvancedLegendComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-advanced-legend", [], null, null, null, View_AdvancedLegendComponent_0, RenderType_AdvancedLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedLegendComponent"], [], null, null)], null, null);
      }

      var AdvancedLegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-advanced-legend", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedLegendComponent"], View_AdvancedLegendComponent_Host_0, {
        width: "width",
        data: "data",
        colors: "colors",
        label: "label",
        animations: "animations",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        percentageFormatting: "percentageFormatting"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_TooltipContentComponent = [".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"];

      var RenderType_TooltipContentComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_TooltipContentComponent,
        data: {}
      });

      function View_TooltipContentComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
      }

      function View_TooltipContentComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 2, null, View_TooltipContentComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
          ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
          ngTemplateOutlet: [1, "ngTemplateOutlet"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](3, {
          model: 0
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.context);

          var currVal_1 = _co.template;

          _ck(_v, 2, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_TooltipContentComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "span", [], [[8, "innerHTML", 1]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.title;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_TooltipContentComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          caretElm: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 6, "div", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, [[1, 0], ["caretElm", 1]], null, 0, "span", [], [[8, "hidden", 0], [8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 4, "div", [["class", "tooltip-content"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TooltipContentComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TooltipContentComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = !_co.title;

          _ck(_v, 5, 0, currVal_2);

          var currVal_3 = _co.title;

          _ck(_v, 7, 0, currVal_3);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = !_co.showCaret;

          var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "tooltip-caret position-", _co.placement, "");

          _ck(_v, 2, 0, currVal_0, currVal_1);
        });
      }

      function View_TooltipContentComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-tooltip-content", [], [[8, "className", 0]], [["window", "resize"]], function (_v, en, $event) {
          var ad = true;

          if ("window:resize" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onWindowResize() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_TooltipContentComponent_0, RenderType_TooltipContentComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4243456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipContentComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], null, null)], null, function (_ck, _v) {
          var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).cssClasses;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      var TooltipContentComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-tooltip-content", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipContentComponent"], View_TooltipContentComponent_Host_0, {
        host: "host",
        showCaret: "showCaret",
        type: "type",
        placement: "placement",
        alignment: "alignment",
        spacing: "spacing",
        cssClass: "cssClass",
        title: "title",
        template: "template",
        context: "context"
      }, {}, []);

      var styles_AxisLabelComponent = [];

      var RenderType_AxisLabelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AxisLabelComponent,
        data: {}
      });

      function View_AxisLabelComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [], [[1, "stroke-width", 0], [1, "x", 0], [1, "y", 0], [1, "text-anchor", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.strokeWidth;
          var currVal_1 = _co.x;
          var currVal_2 = _co.y;
          var currVal_3 = _co.textAnchor;
          var currVal_4 = _co.transform;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_5 = _co.label;

          _ck(_v, 1, 0, currVal_5);
        });
      }

      function View_AxisLabelComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var AxisLabelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-axis-label]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], View_AxisLabelComponent_Host_0, {
        orient: "orient",
        label: "label",
        offset: "offset",
        width: "width",
        height: "height"
      }, {}, []);

      var styles_XAxisComponent = [];

      var RenderType_XAxisComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_XAxisComponent,
        data: {}
      });

      function View_XAxisComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis-ticks", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.emitTicksHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisTicksComponent_0, RenderType_XAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, [[1, 4]], 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisTicksComponent"], [], {
          scale: [0, "scale"],
          orient: [1, "orient"],
          tickArguments: [2, "tickArguments"],
          tickValues: [3, "tickValues"],
          tickStroke: [4, "tickStroke"],
          trimTicks: [5, "trimTicks"],
          maxTickLength: [6, "maxTickLength"],
          tickFormatting: [7, "tickFormatting"],
          showGridLines: [8, "showGridLines"],
          gridLineHeight: [9, "gridLineHeight"],
          width: [10, "width"],
          rotateTicks: [11, "rotateTicks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.xOrient;
          var currVal_2 = _co.tickArguments;
          var currVal_3 = _co.ticks;
          var currVal_4 = _co.tickStroke;
          var currVal_5 = _co.trimTicks;
          var currVal_6 = _co.maxTickLength;
          var currVal_7 = _co.tickFormatting;
          var currVal_8 = _co.showGridLines;
          var currVal_9 = _co.dims.height;
          var currVal_10 = _co.dims.width;
          var currVal_11 = _co.rotateTicks;

          _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]);
        }, null);
      }

      function View_XAxisComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          orient: [0, "orient"],
          label: [1, "label"],
          offset: [2, "offset"],
          width: [3, "width"],
          height: [4, "height"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "bottom";
          var currVal_1 = _co.labelText;
          var currVal_2 = _co.labelOffset;
          var currVal_3 = _co.dims.width;
          var currVal_4 = _co.dims.height;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        }, null);
      }

      function View_XAxisComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          ticksComponent: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 4, ":svg:g", [], [[1, "class", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.xScale;

          _ck(_v, 3, 0, currVal_2);

          var currVal_3 = _co.showLabel;

          _ck(_v, 5, 0, currVal_3);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xAxisClassName;
          var currVal_1 = _co.transform;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        });
      }

      function View_XAxisComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-x-axis", ""]], null, null, null, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], null, null)], null, null);
      }

      var XAxisComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-x-axis]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], View_XAxisComponent_Host_0, {
        xScale: "xScale",
        dims: "dims",
        trimTicks: "trimTicks",
        rotateTicks: "rotateTicks",
        maxTickLength: "maxTickLength",
        tickFormatting: "tickFormatting",
        showGridLines: "showGridLines",
        showLabel: "showLabel",
        labelText: "labelText",
        ticks: "ticks",
        xAxisTickInterval: "xAxisTickInterval",
        xAxisTickCount: "xAxisTickCount",
        xOrient: "xOrient",
        xAxisOffset: "xAxisOffset"
      }, {
        dimensionsChanged: "dimensionsChanged"
      }, []);

      var styles_XAxisTicksComponent = [];

      var RenderType_XAxisTicksComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_XAxisTicksComponent,
        data: {}
      });

      function View_XAxisTicksComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["class", "tick"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["stroke-width", "0.01"]], [[1, "text-anchor", 0], [1, "transform", 0], [4, "font-size", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.tickTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0);

          var currVal_1 = _co.tickFormat(_v.context.$implicit);

          _ck(_v, 2, 0, currVal_1);

          var currVal_2 = _co.textAnchor;
          var currVal_3 = _co.textTransform;
          var currVal_4 = "12px";

          _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4);

          var currVal_5 = _co.tickTrim(_co.tickFormat(_v.context.$implicit));

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_XAxisTicksComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:line", [["class", "gridline-path gridline-path-vertical"], ["y2", "0"]], [[1, "y1", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.gridLineTransform();

          _ck(_v, 0, 0, currVal_0);

          var currVal_1 = -_co.gridLineHeight;

          _ck(_v, 1, 0, currVal_1);
        });
      }

      function View_XAxisTicksComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisTicksComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.showGridLines;

          _ck(_v, 2, 0, currVal_1);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.tickTransform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_XAxisTicksComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          ticksElement: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, [[1, 0], ["ticksel", 1]], null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisTicksComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisTicksComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.ticks;

          _ck(_v, 3, 0, currVal_0);

          var currVal_1 = _co.ticks;

          _ck(_v, 5, 0, currVal_1);
        }, null);
      }

      function View_XAxisTicksComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-x-axis-ticks", ""]], null, null, null, View_XAxisTicksComponent_0, RenderType_XAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisTicksComponent"], [], null, null)], null, null);
      }

      var XAxisTicksComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-x-axis-ticks]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisTicksComponent"], View_XAxisTicksComponent_Host_0, {
        scale: "scale",
        orient: "orient",
        tickArguments: "tickArguments",
        tickValues: "tickValues",
        tickStroke: "tickStroke",
        trimTicks: "trimTicks",
        maxTickLength: "maxTickLength",
        tickFormatting: "tickFormatting",
        showGridLines: "showGridLines",
        gridLineHeight: "gridLineHeight",
        width: "width",
        rotateTicks: "rotateTicks"
      }, {
        dimensionsChanged: "dimensionsChanged"
      }, []);

      var styles_YAxisComponent = [];

      var RenderType_YAxisComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_YAxisComponent,
        data: {}
      });

      function View_YAxisComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis-ticks", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.emitTicksWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisTicksComponent_0, RenderType_YAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, [[1, 4]], 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisTicksComponent"], [], {
          scale: [0, "scale"],
          orient: [1, "orient"],
          tickArguments: [2, "tickArguments"],
          tickValues: [3, "tickValues"],
          tickStroke: [4, "tickStroke"],
          trimTicks: [5, "trimTicks"],
          maxTickLength: [6, "maxTickLength"],
          tickFormatting: [7, "tickFormatting"],
          showGridLines: [8, "showGridLines"],
          gridLineWidth: [9, "gridLineWidth"],
          height: [10, "height"],
          referenceLines: [11, "referenceLines"],
          showRefLabels: [12, "showRefLabels"],
          showRefLines: [13, "showRefLines"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.yOrient;
          var currVal_2 = _co.tickArguments;
          var currVal_3 = _co.ticks;
          var currVal_4 = _co.tickStroke;
          var currVal_5 = _co.trimTicks;
          var currVal_6 = _co.maxTickLength;
          var currVal_7 = _co.tickFormatting;
          var currVal_8 = _co.showGridLines;
          var currVal_9 = _co.dims.width;
          var currVal_10 = _co.dims.height;
          var currVal_11 = _co.referenceLines;
          var currVal_12 = _co.showRefLabels;
          var currVal_13 = _co.showRefLines;

          _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13]);
        }, null);
      }

      function View_YAxisComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          orient: [0, "orient"],
          label: [1, "label"],
          offset: [2, "offset"],
          width: [3, "width"],
          height: [4, "height"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yOrient;
          var currVal_1 = _co.labelText;
          var currVal_2 = _co.labelOffset;
          var currVal_3 = _co.dims.width;
          var currVal_4 = _co.dims.height;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        }, null);
      }

      function View_YAxisComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          ticksComponent: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 4, ":svg:g", [], [[1, "class", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.yScale;

          _ck(_v, 3, 0, currVal_2);

          var currVal_3 = _co.showLabel;

          _ck(_v, 5, 0, currVal_3);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yAxisClassName;
          var currVal_1 = _co.transform;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        });
      }

      function View_YAxisComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-y-axis", ""]], null, null, null, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], null, null)], null, null);
      }

      var YAxisComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-y-axis]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], View_YAxisComponent_Host_0, {
        yScale: "yScale",
        dims: "dims",
        trimTicks: "trimTicks",
        maxTickLength: "maxTickLength",
        tickFormatting: "tickFormatting",
        ticks: "ticks",
        showGridLines: "showGridLines",
        showLabel: "showLabel",
        labelText: "labelText",
        yAxisTickInterval: "yAxisTickInterval",
        yAxisTickCount: "yAxisTickCount",
        yOrient: "yOrient",
        referenceLines: "referenceLines",
        showRefLines: "showRefLines",
        showRefLabels: "showRefLabels",
        yAxisOffset: "yAxisOffset"
      }, {
        dimensionsChanged: "dimensionsChanged"
      }, []);

      var styles_YAxisTicksComponent = [];

      var RenderType_YAxisTicksComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_YAxisTicksComponent,
        data: {}
      });

      function View_YAxisTicksComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["class", "tick"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["stroke-width", "0.01"]], [[1, "dy", 0], [1, "x", 0], [1, "y", 0], [1, "text-anchor", 0], [4, "font-size", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.transform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0);

          var currVal_1 = _co.tickFormat(_v.context.$implicit);

          _ck(_v, 2, 0, currVal_1);

          var currVal_2 = _co.dy;
          var currVal_3 = _co.x1;
          var currVal_4 = _co.y1;
          var currVal_5 = _co.textAnchor;
          var currVal_6 = "12px";

          _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

          var currVal_7 = _co.tickTrim(_co.tickFormat(_v.context.$implicit));

          _ck(_v, 4, 0, currVal_7);
        });
      }

      function View_YAxisTicksComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:path", [["class", "reference-area"]], [[1, "d", 0], [1, "transform", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.referenceAreaPath;

          var currVal_1 = _co.gridLineTransform();

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_YAxisTicksComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["class", "gridline-path gridline-path-horizontal"], ["x1", "0"]], [[1, "x2", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.gridLineWidth;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_YAxisTicksComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["class", "gridline-path gridline-path-horizontal"], ["x1", "0"]], [[1, "x2", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = -_co.gridLineWidth;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_YAxisTicksComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.orient === "left";

          _ck(_v, 2, 0, currVal_1);

          var currVal_2 = _co.orient === "right";

          _ck(_v, 4, 0, currVal_2);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.gridLineTransform();

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_YAxisTicksComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.showGridLines;

          _ck(_v, 2, 0, currVal_1);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.transform(_v.context.$implicit);

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_YAxisTicksComponent_9(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["class", "refline-label"]], [[1, "dy", 0], [1, "y", 0], [1, "x", 0], [1, "text-anchor", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.tickTrim(_co.tickFormat(_v.parent.parent.context.$implicit.value));

          _ck(_v, 2, 0, currVal_0);

          var currVal_1 = _co.dy;
          var currVal_2 = -6;
          var currVal_3 = _co.gridLineWidth;
          var currVal_4 = _co.textAnchor;

          _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_5 = _v.parent.parent.context.$implicit.name;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_YAxisTicksComponent_8(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:line", [["class", "refline-path gridline-path-horizontal"], ["x1", "0"]], [[1, "x2", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_3 = _co.showRefLabels;

          _ck(_v, 3, 0, currVal_3);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.transform(_v.parent.context.$implicit.value);

          _ck(_v, 0, 0, currVal_0);

          var currVal_1 = _co.gridLineWidth;

          var currVal_2 = _co.gridLineTransform();

          _ck(_v, 1, 0, currVal_1, currVal_2);
        });
      }

      function View_YAxisTicksComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.showRefLines;

          _ck(_v, 2, 0, currVal_0);
        }, null);
      }

      function View_YAxisTicksComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          ticksElement: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, [[1, 0], ["ticksel", 1]], null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.ticks;

          _ck(_v, 3, 0, currVal_0);

          var currVal_1 = _co.referenceLineLength > 1 && _co.refMax && _co.refMin && _co.showRefLines;

          _ck(_v, 5, 0, currVal_1);

          var currVal_2 = _co.ticks;

          _ck(_v, 7, 0, currVal_2);

          var currVal_3 = _co.referenceLines;

          _ck(_v, 9, 0, currVal_3);
        }, null);
      }

      function View_YAxisTicksComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-y-axis-ticks", ""]], null, null, null, View_YAxisTicksComponent_0, RenderType_YAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisTicksComponent"], [], null, null)], null, null);
      }

      var YAxisTicksComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-y-axis-ticks]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisTicksComponent"], View_YAxisTicksComponent_Host_0, {
        scale: "scale",
        orient: "orient",
        tickArguments: "tickArguments",
        tickValues: "tickValues",
        tickStroke: "tickStroke",
        trimTicks: "trimTicks",
        maxTickLength: "maxTickLength",
        tickFormatting: "tickFormatting",
        showGridLines: "showGridLines",
        gridLineWidth: "gridLineWidth",
        height: "height",
        referenceLines: "referenceLines",
        showRefLabels: "showRefLabels",
        showRefLines: "showRefLines"
      }, {
        dimensionsChanged: "dimensionsChanged"
      }, []);

      var styles_CountUpDirective = [];

      var RenderType_CountUpDirective = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_CountUpDirective,
        data: {}
      });

      function View_CountUpDirective_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](0, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.value;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_CountUpDirective_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var CountUpDirectiveNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("[ngx-charts-count-up]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], View_CountUpDirective_Host_0, {
        countDuration: "countDuration",
        countPrefix: "countPrefix",
        countSuffix: "countSuffix",
        valueFormatting: "valueFormatting",
        countDecimals: "countDecimals",
        countTo: "countTo",
        countFrom: "countFrom"
      }, {
        countChange: "countChange",
        countFinish: "countFinish"
      }, []);

      var styles_Timeline = [".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"];

      var RenderType_Timeline = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_Timeline,
        data: {}
      });

      function View_Timeline_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, ":svg:g", [["class", "timeline"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:filter", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:feColorMatrix", [["in", "SourceGraphic"], ["type", "matrix"], ["values", "0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:g", [["class", "embedded-chart"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 0, ":svg:rect", [["class", "brush-background"], ["x", "0"], ["y", "0"]], [[1, "width", 0], [1, "height", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:g", [["class", "brush"]], null, null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.transform;

          _ck(_v, 0, 0, currVal_0);

          var currVal_1 = _co.filterId;

          _ck(_v, 1, 0, currVal_1);

          var currVal_2 = _co.view[0];
          var currVal_3 = _co.height;

          _ck(_v, 5, 0, currVal_2, currVal_3);
        });
      }

      function View_Timeline_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-timeline", ""]], null, null, null, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
      }

      var TimelineNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-timeline]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], View_Timeline_Host_0, {
        view: "view",
        state: "state",
        results: "results",
        scheme: "scheme",
        customColors: "customColors",
        legend: "legend",
        miniChart: "miniChart",
        autoScale: "autoScale",
        scaleType: "scaleType",
        height: "height"
      }, {
        select: "select",
        onDomainChange: "onDomainChange"
      }, ["*"]);

      var styles_ChartComponent = [];

      var RenderType_ChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_ChartComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":enter",
              animation: [{
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 1
                  },
                  offset: null
                },
                timings: "500ms 100ms"
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_ChartComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-scale-legend", [["class", "chart-legend"]], null, null, null, View_ScaleLegendComponent_0, RenderType_ScaleLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ScaleLegendComponent"], [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["DomSanitizer"]], {
          valueRange: [0, "valueRange"],
          colors: [1, "colors"],
          height: [2, "height"],
          width: [3, "width"],
          horizontal: [4, "horizontal"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.legendOptions.domain;
          var currVal_1 = _co.legendOptions.colors;
          var currVal_2 = _co.view[1];
          var currVal_3 = _co.legendWidth;
          var currVal_4 = _co.legendOptions && _co.legendOptions.position === "below";

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        }, null);
      }

      function View_ChartComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-legend", [["class", "chart-legend"]], null, [[null, "labelClick"], [null, "labelActivate"], [null, "labelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("labelClick" === en) {
            var pd_0 = _co.legendLabelClick.emit($event) !== false;
            ad = pd_0 && ad;
          }

          if ("labelActivate" === en) {
            var pd_1 = _co.legendLabelActivate.emit($event) !== false;
            ad = pd_1 && ad;
          }

          if ("labelDeactivate" === en) {
            var pd_2 = _co.legendLabelDeactivate.emit($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_LegendComponent_0, RenderType_LegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
          data: [0, "data"],
          title: [1, "title"],
          colors: [2, "colors"],
          height: [3, "height"],
          width: [4, "width"],
          activeEntries: [5, "activeEntries"],
          horizontal: [6, "horizontal"]
        }, {
          labelClick: "labelClick",
          labelActivate: "labelActivate",
          labelDeactivate: "labelDeactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.legendOptions.domain;
          var currVal_1 = _co.legendOptions.title;
          var currVal_2 = _co.legendOptions.colors;
          var currVal_3 = _co.view[1];
          var currVal_4 = _co.legendWidth;
          var currVal_5 = _co.activeEntries;
          var currVal_6 = _co.legendOptions && _co.legendOptions.position === "below";

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
        }, null);
      }

      function View_ChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "div", [["class", "ngx-charts-outer"]], [[4, "width", "px"], [24, "@animationState", 0], [24, "@.disabled", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:svg", [["class", "ngx-charts"]], [[1, "width", 0], [1, "height", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_ChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_ChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.showLegend && _co.legendType === "scaleLegend";

          _ck(_v, 4, 0, currVal_5);

          var currVal_6 = _co.showLegend && _co.legendType === "legend";

          _ck(_v, 6, 0, currVal_6);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.view[0];
          var currVal_1 = "active";
          var currVal_2 = !_co.animations;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);

          var currVal_3 = _co.chartWidth;
          var currVal_4 = _co.view[1];

          _ck(_v, 1, 0, currVal_3, currVal_4);
        });
      }

      function View_ChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], null, null)], null, null);
      }

      var ChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], View_ChartComponent_Host_0, {
        view: "view",
        showLegend: "showLegend",
        legendOptions: "legendOptions",
        data: "data",
        legendData: "legendData",
        legendType: "legendType",
        colors: "colors",
        activeEntries: "activeEntries",
        animations: "animations"
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }, ["*"]);

      var styles_AreaComponent = [];

      var RenderType_AreaComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AreaComponent,
        data: {}
      });

      function View_AreaComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
          orientation: [0, "orientation"],
          name: [1, "name"],
          stops: [2, "stops"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "vertical";
          var currVal_1 = _co.gradientId;
          var currVal_2 = _co.gradientStops;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
        }, null);
      }

      function View_AreaComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:path", [["class", "area"]], [[1, "d", 0], [1, "fill", 0], [4, "opacity", null]], null, null, null, null))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.gradient;

          _ck(_v, 1, 0, currVal_0);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.areaPath;
          var currVal_2 = _co.gradient ? _co.gradientFill : _co.fill;
          var currVal_3 = _co.opacity;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);
        });
      }

      function View_AreaComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-area", ""]], null, null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var AreaComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-area]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], View_AreaComponent_Host_0, {
        data: "data",
        path: "path",
        startingPath: "startingPath",
        fill: "fill",
        opacity: "opacity",
        startOpacity: "startOpacity",
        endOpacity: "endOpacity",
        activeLabel: "activeLabel",
        gradient: "gradient",
        stops: "stops",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_BaseChartComponent = [];

      var RenderType_BaseChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_BaseChartComponent,
        data: {}
      });

      function View_BaseChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "div", [], null, null, null, null, null))], null, null);
      }

      function View_BaseChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "base-chart", [], null, null, null, View_BaseChartComponent_0, RenderType_BaseChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BaseChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
      }

      var BaseChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("base-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BaseChartComponent"], View_BaseChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_CircleComponent = [];

      var RenderType_CircleComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_CircleComponent,
        data: {}
      });

      function View_CircleComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:circle", [], [[1, "cx", 0], [1, "cy", 0], [1, "r", 0], [1, "fill", 0], [1, "stroke", 0], [1, "opacity", 0], [1, "class", 0], [1, "pointer-events", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.cx;
          var currVal_1 = _co.cy;
          var currVal_2 = _co.r;
          var currVal_3 = _co.fill;
          var currVal_4 = _co.stroke;
          var currVal_5 = _co.circleOpacity;
          var currVal_6 = _co.classNames;
          var currVal_7 = _co.pointerEvents;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
        });
      }

      function View_CircleComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-circle", ""]], null, [[null, "click"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("click" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onClick() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseenter" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseleave" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], null, null)], null, null);
      }

      var CircleComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-circle]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], View_CircleComponent_Host_0, {
        cx: "cx",
        cy: "cy",
        r: "r",
        fill: "fill",
        stroke: "stroke",
        data: "data",
        classNames: "classNames",
        circleOpacity: "circleOpacity",
        pointerEvents: "pointerEvents"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_CircleSeriesComponent = [];

      var RenderType_CircleSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_CircleSeriesComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":enter",
              animation: [{
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 1
                  },
                  offset: null
                },
                timings: 250
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_CircleSeriesComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [["class", "tooltip-bar"]], [[24, "@animationState", 0], [1, "x", 0], [1, "y", 0], [1, "width", 0], [1, "height", 0], [1, "fill", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";
          var currVal_1 = _co.circle.cx - _co.circle.radius;
          var currVal_2 = _co.circle.cy;
          var currVal_3 = _co.circle.radius * 2;
          var currVal_4 = _co.circle.height;
          var currVal_5 = _co.gradientFill;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
        });
      }

      function View_CircleSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 9, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
          orientation: [0, "orientation"],
          name: [1, "name"],
          stops: [2, "stops"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CircleSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 16777216, null, null, 3, ":svg:g", [["class", "circle"], ["ngx-charts-circle", ""], ["ngx-tooltip", ""]], [[2, "active", null]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("click" === en) {
            var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onClick() !== false;
            ad = pd_5 && ad;
          }

          if ("mouseenter" === en) {
            var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseEnter() !== false;
            ad = pd_6 && ad;
          }

          if ("mouseleave" === en) {
            var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseLeave() !== false;
            ad = pd_7 && ad;
          }

          if ("select" === en) {
            var pd_8 = _co.onClick(_co.circle.data) !== false;
            ad = pd_8 && ad;
          }

          if ("activate" === en) {
            var pd_9 = _co.activateCircle() !== false;
            ad = pd_9 && ad;
          }

          if ("deactivate" === en) {
            var pd_10 = _co.deactivateCircle() !== false;
            ad = pd_10 && ad;
          }

          return ad;
        }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], {
          cx: [0, "cx"],
          cy: [1, "cy"],
          r: [2, "r"],
          fill: [3, "fill"],
          data: [4, "data"],
          classNames: [5, "classNames"],
          pointerEvents: [6, "pointerEvents"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](9, {
          name: 0
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "vertical";
          var currVal_1 = _co.gradientId;
          var currVal_2 = _co.circle.gradientStops;

          _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2);

          var currVal_3 = _co.barVisible && _co.type === "standard";

          _ck(_v, 5, 0, currVal_3);

          var currVal_5 = _co.tooltipTemplate ? undefined : _co.getTooltipText(_co.circle);
          var currVal_6 = _co.tooltipDisabled;
          var currVal_7 = "top";
          var currVal_8 = "tooltip";
          var currVal_9 = _co.tooltipTemplate;
          var currVal_10 = _co.circle.data;

          _ck(_v, 7, 0, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

          var currVal_11 = _co.circle.cx;
          var currVal_12 = _co.circle.cy;
          var currVal_13 = _co.circle.radius;
          var currVal_14 = _co.circle.color;
          var currVal_15 = _co.circle.value;
          var currVal_16 = _co.circle.classNames;
          var currVal_17 = _co.circle.value === 0 ? "none" : "all";

          _ck(_v, 8, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_4 = _co.isActive(_ck(_v, 9, 0, _co.circle.seriesName));

          _ck(_v, 6, 0, currVal_4);
        });
      }

      function View_CircleSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CircleSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.circle;

          _ck(_v, 1, 0, currVal_0);
        }, null);
      }

      function View_CircleSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-circle-series", ""]], null, null, null, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], null, null)], function (_ck, _v) {
          _ck(_v, 1, 0);
        }, null);
      }

      var CircleSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-circle-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], View_CircleSeriesComponent_Host_0, {
        data: "data",
        type: "type",
        xScale: "xScale",
        yScale: "yScale",
        colors: "colors",
        scaleType: "scaleType",
        visibleValue: "visibleValue",
        activeEntries: "activeEntries",
        tooltipDisabled: "tooltipDisabled",
        tooltipTemplate: "tooltipTemplate"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_GridPanelComponent = [];

      var RenderType_GridPanelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_GridPanelComponent,
        data: {}
      });

      function View_GridPanelComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [["class", "gridpanel"], ["stroke", "none"]], [[1, "height", 0], [1, "width", 0], [1, "x", 0], [1, "y", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.height;
          var currVal_1 = _co.width;
          var currVal_2 = _co.x;
          var currVal_3 = _co.y;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);
        });
      }

      function View_GridPanelComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-grid-panel", ""]], null, null, null, View_GridPanelComponent_0, RenderType_GridPanelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelComponent"], [], null, null)], null, null);
      }

      var GridPanelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-grid-panel]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelComponent"], View_GridPanelComponent_Host_0, {
        path: "path",
        width: "width",
        height: "height",
        x: "x",
        y: "y"
      }, {}, []);

      var styles_GridPanelSeriesComponent = [];

      var RenderType_GridPanelSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_GridPanelSeriesComponent,
        data: {}
      });

      function View_GridPanelSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-grid-panel", ""]], [[2, "grid-panel", null], [2, "odd", null], [2, "even", null]], null, null, View_GridPanelComponent_0, RenderType_GridPanelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelComponent"], [], {
          width: [0, "width"],
          height: [1, "height"],
          x: [2, "x"],
          y: [3, "y"]
        }, null)], function (_ck, _v) {
          var currVal_3 = _v.context.$implicit.width;
          var currVal_4 = _v.context.$implicit.height;
          var currVal_5 = _v.context.$implicit.x;
          var currVal_6 = _v.context.$implicit.y;

          _ck(_v, 1, 0, currVal_3, currVal_4, currVal_5, currVal_6);
        }, function (_ck, _v) {
          var currVal_0 = true;
          var currVal_1 = _v.context.$implicit["class"] === "odd";
          var currVal_2 = _v.context.$implicit["class"] === "even";

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
        });
      }

      function View_GridPanelSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GridPanelSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.gridPanels;

          _ck(_v, 1, 0, currVal_0);
        }, null);
      }

      function View_GridPanelSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-grid-panel-series", ""]], null, null, null, View_GridPanelSeriesComponent_0, RenderType_GridPanelSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], [], null, null)], null, null);
      }

      var GridPanelSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-grid-panel-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], View_GridPanelSeriesComponent_Host_0, {
        data: "data",
        dims: "dims",
        xScale: "xScale",
        yScale: "yScale",
        orient: "orient"
      }, {}, []);

      var styles_SvgLinearGradientComponent = [];

      var RenderType_SvgLinearGradientComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_SvgLinearGradientComponent,
        data: {}
      });

      function View_SvgLinearGradientComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:stop", [], [[1, "offset", 0], [4, "stop-color", null], [4, "stop-opacity", null]], null, null, null, null))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.offset + "%";
          var currVal_1 = _v.context.$implicit.color;
          var currVal_2 = _v.context.$implicit.opacity;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
        });
      }

      function View_SvgLinearGradientComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:linearGradient", [], [[8, "id", 0], [1, "x1", 0], [1, "y1", 0], [1, "x2", 0], [1, "y2", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SvgLinearGradientComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.stops;

          _ck(_v, 2, 0, currVal_5);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.name;
          var currVal_1 = _co.x1;
          var currVal_2 = _co.y1;
          var currVal_3 = _co.x2;
          var currVal_4 = _co.y2;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        });
      }

      function View_SvgLinearGradientComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-svg-linear-gradient", ""]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], null, null)], null, null);
      }

      var SvgLinearGradientComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-svg-linear-gradient]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], View_SvgLinearGradientComponent_Host_0, {
        orientation: "orientation",
        name: "name",
        stops: "stops"
      }, {}, []);

      var styles_SvgRadialGradientComponent = [];

      var RenderType_SvgRadialGradientComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_SvgRadialGradientComponent,
        data: {}
      });

      function View_SvgRadialGradientComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:stop", [], [[1, "offset", 0], [4, "stop-color", null], [4, "stop-opacity", null]], null, null, null, null))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.offset + "%";
          var currVal_1 = _v.context.$implicit.color;
          var currVal_2 = _v.context.$implicit.opacity;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
        });
      }

      function View_SvgRadialGradientComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:radialGradient", [["gradientUnits", "userSpaceOnUse"]], [[8, "id", 0], [1, "cx", 0], [1, "cy", 0], [1, "r", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SvgRadialGradientComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_4 = _co.stops;

          _ck(_v, 2, 0, currVal_4);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.name;
          var currVal_1 = _co.cx;
          var currVal_2 = _co.cy;
          var currVal_3 = _co.r;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);
        });
      }

      function View_SvgRadialGradientComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-svg-radial-gradient", ""]], null, null, null, View_SvgRadialGradientComponent_0, RenderType_SvgRadialGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], [], null, null)], null, null);
      }

      var SvgRadialGradientComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-svg-radial-gradient]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], View_SvgRadialGradientComponent_Host_0, {
        color: "color",
        name: "name",
        startOpacity: "startOpacity",
        endOpacity: "endOpacity",
        cx: "cx",
        cy: "cy",
        stops: "stops"
      }, {}, []);

      var styles_TooltipArea = [];

      var RenderType_TooltipArea = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_TooltipArea,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: "inactive => active",
              animation: [{
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0.7
                  },
                  offset: null
                },
                timings: 250
              }],
              options: null
            }, {
              type: 1,
              expr: "active => inactive",
              animation: [{
                type: 6,
                styles: {
                  opacity: 0.7
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0
                  },
                  offset: null
                },
                timings: 250
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_TooltipArea_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":xhtml:div", [["class", "tooltip-item"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":xhtml:span", [["class", "tooltip-item-color"]], [[4, "background-color", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit.color;

          _ck(_v, 1, 0, currVal_0);

          var currVal_1 = _co.getToolTipText(_v.context.$implicit);

          _ck(_v, 2, 0, currVal_1);
        });
      }

      function View_TooltipArea_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":xhtml:div", [["class", "area-tooltip-container"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TooltipArea_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var currVal_0 = _v.context.model;

          _ck(_v, 2, 0, currVal_0);
        }, null);
      }

      function View_TooltipArea_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          tooltipAnchor: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 4, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:rect", [["class", "tooltip-area"], ["style", "opacity: 0; cursor: 'auto';"], ["y", "0"]], [[1, "x", 0], [1, "width", 0], [1, "height", 0]], [[null, "mousemove"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mousemove" === en) {
            var pd_0 = _co.mouseMove($event) !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _co.hideTooltip() !== false;
            ad = pd_1 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, [["defaultTooltipTemplate", 2]], null, 0, null, View_TooltipArea_1)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 16777216, [[1, 0], ["tooltipAnchor", 1]], null, 1, ":svg:rect", [["class", "tooltip-anchor"], ["ngx-tooltip", ""], ["y", "0"]], [[24, "@animationState", 0], [1, "x", 0], [1, "width", 0], [1, "height", 0], [4, "opacity", null], [4, "pointer-events", null]], [[null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          return ad;
        }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipSpacing: [0, "tooltipSpacing"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"],
          tooltipImmediateExit: [6, "tooltipImmediateExit"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_9 = 15;
          var currVal_10 = _co.tooltipDisabled;
          var currVal_11 = "right";
          var currVal_12 = "tooltip";
          var currVal_13 = _co.tooltipTemplate ? _co.tooltipTemplate : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3);
          var currVal_14 = _co.anchorValues;
          var currVal_15 = true;

          _ck(_v, 5, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = 0;
          var currVal_1 = _co.dims.width;
          var currVal_2 = _co.dims.height;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

          var currVal_3 = _co.anchorOpacity !== 0 ? "active" : "inactive";
          var currVal_4 = _co.anchorPos;
          var currVal_5 = 1;
          var currVal_6 = _co.dims.height;
          var currVal_7 = _co.anchorOpacity;
          var currVal_8 = "none";

          _ck(_v, 4, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        });
      }

      function View_TooltipArea_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-tooltip-area", ""]], null, null, null, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], null, null)], null, null);
      }

      var TooltipAreaNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-tooltip-area]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], View_TooltipArea_Host_0, {
        dims: "dims",
        xSet: "xSet",
        xScale: "xScale",
        yScale: "yScale",
        results: "results",
        colors: "colors",
        showPercentage: "showPercentage",
        tooltipDisabled: "tooltipDisabled",
        tooltipTemplate: "tooltipTemplate"
      }, {
        hover: "hover"
      }, []);

      var styles_GaugeArcComponent = [];

      var RenderType_GaugeArcComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_GaugeArcComponent,
        data: {}
      });

      function View_GaugeArcComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "background-arc"], ["ngx-charts-pie-arc", ""]], null, null, null, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          startAngle: [0, "startAngle"],
          endAngle: [1, "endAngle"],
          innerRadius: [2, "innerRadius"],
          outerRadius: [3, "outerRadius"],
          cornerRadius: [4, "cornerRadius"],
          data: [5, "data"],
          animate: [6, "animate"],
          pointerEvents: [7, "pointerEvents"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 16777216, null, null, 2, ":svg:g", [["ngx-charts-pie-arc", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("select" === en) {
            var pd_5 = _co.select.emit($event) !== false;
            ad = pd_5 && ad;
          }

          if ("activate" === en) {
            var pd_6 = _co.activate.emit($event) !== false;
            ad = pd_6 && ad;
          }

          if ("deactivate" === en) {
            var pd_7 = _co.deactivate.emit($event) !== false;
            ad = pd_7 && ad;
          }

          return ad;
        }, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          startAngle: [1, "startAngle"],
          endAngle: [2, "endAngle"],
          innerRadius: [3, "innerRadius"],
          outerRadius: [4, "outerRadius"],
          cornerRadius: [5, "cornerRadius"],
          data: [6, "data"],
          animate: [7, "animate"],
          isActive: [8, "isActive"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = 0;
          var currVal_1 = _co.backgroundArc.endAngle;
          var currVal_2 = _co.backgroundArc.innerRadius;
          var currVal_3 = _co.backgroundArc.outerRadius;
          var currVal_4 = _co.cornerRadius;
          var currVal_5 = _co.backgroundArc.data;
          var currVal_6 = false;
          var currVal_7 = false;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.tooltipTemplate ? undefined : _co.tooltipText(_co.valueArc);
          var currVal_9 = _co.tooltipDisabled;
          var currVal_10 = "top";
          var currVal_11 = "tooltip";
          var currVal_12 = _co.tooltipTemplate;
          var currVal_13 = _co.valueArc.data;

          _ck(_v, 3, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13);

          var currVal_14 = _co.colors.getColor(_co.valueArc.data.name);

          var currVal_15 = 0;
          var currVal_16 = _co.valueArc.endAngle;
          var currVal_17 = _co.valueArc.innerRadius;
          var currVal_18 = _co.valueArc.outerRadius;
          var currVal_19 = _co.cornerRadius;
          var currVal_20 = _co.valueArc.data;
          var currVal_21 = _co.animations;
          var currVal_22 = _co.isActive;

          _ck(_v, 4, 0, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22);
        }, null);
      }

      function View_GaugeArcComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-gauge-arc", ""]], null, null, null, View_GaugeArcComponent_0, RenderType_GaugeArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeArcComponent"], [], null, null)], null, null);
      }

      var GaugeArcComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-gauge-arc]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeArcComponent"], View_GaugeArcComponent_Host_0, {
        backgroundArc: "backgroundArc",
        valueArc: "valueArc",
        cornerRadius: "cornerRadius",
        colors: "colors",
        isActive: "isActive",
        tooltipDisabled: "tooltipDisabled",
        valueFormatting: "valueFormatting",
        tooltipTemplate: "tooltipTemplate",
        animations: "animations"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_GaugeAxisComponent = [];

      var RenderType_GaugeAxisComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_GaugeAxisComponent,
        data: {}
      });

      function View_GaugeAxisComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "gauge-tick gauge-tick-large"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:path", [], [[1, "d", 0]], null, null, null, null))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.line;

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_GaugeAxisComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [["class", "gauge-tick gauge-tick-large"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:text", [["alignment-baseline", "central"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, [" ", " "]))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.textAnchor;
          var currVal_1 = _v.context.$implicit.textTransform;

          _ck(_v, 1, 0, currVal_0, currVal_1);

          var currVal_2 = _v.context.$implicit.text;

          _ck(_v, 2, 0, currVal_2);
        });
      }

      function View_GaugeAxisComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "gauge-tick gauge-tick-small"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:path", [], [[1, "d", 0]], null, null, null, null))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.line;

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_GaugeAxisComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeAxisComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeAxisComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeAxisComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.ticks.big;

          _ck(_v, 2, 0, currVal_1);

          var currVal_2 = _co.ticks.big;

          _ck(_v, 4, 0, currVal_2);

          var currVal_3 = _co.ticks.small;

          _ck(_v, 6, 0, currVal_3);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.rotate;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_GaugeAxisComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-gauge-axis", ""]], null, null, null, View_GaugeAxisComponent_0, RenderType_GaugeAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeAxisComponent"], [], null, null)], null, null);
      }

      var GaugeAxisComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-gauge-axis]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeAxisComponent"], View_GaugeAxisComponent_Host_0, {
        bigSegments: "bigSegments",
        smallSegments: "smallSegments",
        min: "min",
        max: "max",
        angleSpan: "angleSpan",
        startAngle: "startAngle",
        radius: "radius",
        valueScale: "valueScale",
        tickFormatting: "tickFormatting"
      }, {}, []);

      var styles_GaugeComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".gauge .background-arc path{fill:rgba(0,0,0,.05)}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{fill:#666;font-size:12px;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}"];

      var RenderType_GaugeComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_GaugeComponent,
        data: {}
      });

      function View_GaugeComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-gauge-arc", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_GaugeArcComponent_0, RenderType_GaugeArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeArcComponent"], [], {
          backgroundArc: [0, "backgroundArc"],
          valueArc: [1, "valueArc"],
          cornerRadius: [2, "cornerRadius"],
          colors: [3, "colors"],
          isActive: [4, "isActive"],
          tooltipDisabled: [5, "tooltipDisabled"],
          valueFormatting: [6, "valueFormatting"],
          tooltipTemplate: [7, "tooltipTemplate"],
          animations: [8, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _v.context.$implicit.backgroundArc;
          var currVal_2 = _v.context.$implicit.valueArc;
          var currVal_3 = _co.cornerRadius;
          var currVal_4 = _co.colors;

          var currVal_5 = _co.isActive(_v.context.$implicit.valueArc.data);

          var currVal_6 = _co.tooltipDisabled;
          var currVal_7 = _co.valueFormatting;
          var currVal_8 = _co.tooltipTemplate;
          var currVal_9 = _co.animations;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.rotation;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_GaugeComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-gauge-axis", ""]], null, null, null, View_GaugeAxisComponent_0, RenderType_GaugeAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeAxisComponent"], [], {
          bigSegments: [0, "bigSegments"],
          smallSegments: [1, "smallSegments"],
          min: [2, "min"],
          max: [3, "max"],
          angleSpan: [4, "angleSpan"],
          startAngle: [5, "startAngle"],
          radius: [6, "radius"],
          valueScale: [7, "valueScale"],
          tickFormatting: [8, "tickFormatting"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.bigSegments;
          var currVal_1 = _co.smallSegments;
          var currVal_2 = _co.min;
          var currVal_3 = _co.max;
          var currVal_4 = _co.angleSpan;
          var currVal_5 = _co.startAngle;
          var currVal_6 = _co.outerRadius;
          var currVal_7 = _co.valueScale;
          var currVal_8 = _co.axisTickFormatting;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_GaugeComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, [[1, 0], ["textEl", 1]], null, 4, ":svg:text", [["alignment-baseline", "central"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:tspan", [["dy", "0"], ["x", "0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:tspan", [["dy", "1.2em"], ["x", "0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, ["", ""]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "middle";
          var currVal_1 = _co.textTransform;

          _ck(_v, 0, 0, currVal_0, currVal_1);

          var currVal_2 = _co.displayValue;

          _ck(_v, 2, 0, currVal_2);

          var currVal_3 = _co.units;

          _ck(_v, 4, 0, currVal_3);
        });
      }

      function View_GaugeComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          textEl: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](4, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, 0, 6, ":svg:g", [["class", "gauge chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 4, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.arcs;
          var currVal_7 = _co.trackBy;

          _ck(_v, 7, 0, currVal_6, currVal_7);

          var currVal_8 = _co.showAxis;

          _ck(_v, 9, 0, currVal_8);

          var currVal_9 = _co.showText;

          _ck(_v, 11, 0, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 5, 0, currVal_5);
        });
      }

      function View_GaugeComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-gauge", [], null, null, null, View_GaugeComponent_0, RenderType_GaugeComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var GaugeComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-gauge", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeComponent"], View_GaugeComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        min: "min",
        max: "max",
        textValue: "textValue",
        units: "units",
        bigSegments: "bigSegments",
        smallSegments: "smallSegments",
        showAxis: "showAxis",
        startAngle: "startAngle",
        angleSpan: "angleSpan",
        activeEntries: "activeEntries",
        axisTickFormatting: "axisTickFormatting",
        tooltipDisabled: "tooltipDisabled",
        valueFormatting: "valueFormatting",
        showText: "showText",
        margin: "margin"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_LinearGaugeComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:rgba(0,0,0,.05)}.linear-gauge .units{fill:#666}"];

      var RenderType_LinearGaugeComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_LinearGaugeComponent,
        data: {}
      });

      function View_LinearGaugeComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["x1", "0"], ["x2", "0"], ["y1", "5"], ["y2", "15"]], [[1, "transform", 0], [1, "stroke", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.transformLine;

          var currVal_1 = _co.colors.getColor(_co.units);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_LinearGaugeComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["x1", "0"], ["x2", "0"], ["y1", "-5"], ["y2", "-15"]], [[1, "transform", 0], [1, "stroke", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.transformLine;

          var currVal_1 = _co.colors.getColor(_co.units);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_LinearGaugeComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          valueTextEl: 0
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 2, {
          unitsTextEl: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 19, "ngx-charts-chart", [], null, [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.onClick() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          animations: [2, "animations"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](5, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, 0, 15, ":svg:g", [["class", "linear-gauge chart"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 1, ":svg:g", [["class", "background-bar"], ["ngx-charts-bar", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseenter" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseEnter() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseLeave() !== false;
            ad = pd_1 && ad;
          }

          return ad;
        }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          data: [0, "data"],
          width: [1, "width"],
          height: [2, "height"],
          x: [3, "x"],
          y: [4, "y"],
          orientation: [5, "orientation"],
          roundEdges: [6, "roundEdges"],
          animations: [7, "animations"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:g", [["ngx-charts-bar", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseenter" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 10).onMouseEnter() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 10).onMouseLeave() !== false;
            ad = pd_1 && ad;
          }

          return ad;
        }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          data: [1, "data"],
          width: [2, "width"],
          height: [3, "height"],
          x: [4, "x"],
          y: [5, "y"],
          orientation: [6, "orientation"],
          roundEdges: [7, "roundEdges"],
          animations: [8, "animations"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LinearGaugeComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LinearGaugeComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](15, 0, null, null, 6, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](16, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](17, 0, [[1, 0], ["valueTextEl", 1]], null, 1, ":svg:text", [["alignment-baseline", "after-edge"], ["class", "value"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](18, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](19, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](20, 0, [[2, 0], ["unitsTextEl", 1]], null, 1, ":svg:text", [["alignment-baseline", "before-edge"], ["class", "units"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](21, null, [" ", " "]))], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 5, 0, _co.width, _co.height);

          var currVal_1 = false;
          var currVal_2 = _co.animations;

          _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2);

          var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵEMPTY_MAP"];
          var currVal_4 = _co.dims.width;
          var currVal_5 = 3;
          var currVal_6 = _co.margin[3];
          var currVal_7 = _co.dims.height / 2 + _co.margin[0] - 2;
          var currVal_8 = "horizontal";
          var currVal_9 = true;
          var currVal_10 = _co.animations;

          _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

          var currVal_11 = _co.colors.getColor(_co.units);

          var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵEMPTY_MAP"];

          var currVal_13 = _co.valueScale(_co.value);

          var currVal_14 = 3;
          var currVal_15 = _co.margin[3];
          var currVal_16 = _co.dims.height / 2 + _co.margin[0] - 2;
          var currVal_17 = "horizontal";
          var currVal_18 = true;
          var currVal_19 = _co.animations;

          _ck(_v, 10, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19);

          var currVal_20 = _co.hasPreviousValue;

          _ck(_v, 12, 0, currVal_20);

          var currVal_21 = _co.hasPreviousValue;

          _ck(_v, 14, 0, currVal_21);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_22 = _co.transform;

          _ck(_v, 15, 0, currVal_22);

          var currVal_23 = _co.valueTranslate;

          _ck(_v, 16, 0, currVal_23);

          var currVal_24 = "middle";
          var currVal_25 = _co.valueTextTransform;

          _ck(_v, 17, 0, currVal_24, currVal_25);

          var currVal_26 = _co.displayValue;

          _ck(_v, 18, 0, currVal_26);

          var currVal_27 = _co.unitsTranslate;

          _ck(_v, 19, 0, currVal_27);

          var currVal_28 = "middle";
          var currVal_29 = _co.unitsTextTransform;

          _ck(_v, 20, 0, currVal_28, currVal_29);

          var currVal_30 = _co.units;

          _ck(_v, 21, 0, currVal_30);
        });
      }

      function View_LinearGaugeComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-linear-gauge", [], null, null, null, View_LinearGaugeComponent_0, RenderType_LinearGaugeComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LinearGaugeComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
      }

      var LinearGaugeComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-linear-gauge", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LinearGaugeComponent"], View_LinearGaugeComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        min: "min",
        max: "max",
        value: "value",
        units: "units",
        previousValue: "previousValue",
        valueFormatting: "valueFormatting"
      }, {
        select: "select"
      }, []);

      var styles_HeatMapComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_HeatMapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_HeatMapComponent,
        data: {}
      });

      function View_HeatMapComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"],
          ticks: [8, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showXAxisLabel;
          var currVal_7 = _co.xAxisLabel;
          var currVal_8 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_HeatMapComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showYAxisLabel;
          var currVal_7 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
        }, null);
      }

      function View_HeatMapComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [], [[1, "x", 0], [1, "y", 0], [1, "rx", 0], [1, "width", 0], [1, "height", 0], [1, "fill", 0]], null, null, null, null))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.x;
          var currVal_1 = _v.context.$implicit.y;
          var currVal_2 = _v.context.$implicit.rx;
          var currVal_3 = _v.context.$implicit.width;
          var currVal_4 = _v.context.$implicit.height;
          var currVal_5 = _v.context.$implicit.fill;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
        });
      }

      function View_HeatMapComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 12, "ngx-charts-chart", [], null, [[null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          animations: [3, "animations"]
        }, {
          legendLabelClick: "legendLabelClick"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 8, ":svg:g", [["class", "heat-map chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](11, 0, null, null, 1, ":svg:g", [["ngx-charts-heat-map-cell-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, undefined) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, undefined) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_HeatCellSeriesComponent_0, RenderType_HeatCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatCellSeriesComponent"], [], {
          data: [0, "data"],
          colors: [1, "colors"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          gradient: [4, "gradient"],
          tooltipDisabled: [5, "tooltipDisabled"],
          tooltipText: [6, "tooltipText"],
          tooltipTemplate: [7, "tooltipTemplate"],
          animations: [8, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3);

          var currVal_5 = _co.xAxis;

          _ck(_v, 6, 0, currVal_5);

          var currVal_6 = _co.yAxis;

          _ck(_v, 8, 0, currVal_6);

          var currVal_7 = _co.rects;

          _ck(_v, 10, 0, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.colors;
          var currVal_10 = _co.xScale;
          var currVal_11 = _co.yScale;
          var currVal_12 = _co.gradient;
          var currVal_13 = _co.tooltipDisabled;
          var currVal_14 = _co.tooltipText;
          var currVal_15 = _co.tooltipTemplate;
          var currVal_16 = _co.animations;

          _ck(_v, 12, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_4 = _co.transform;

          _ck(_v, 4, 0, currVal_4);
        });
      }

      function View_HeatMapComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-heat-map", [], null, null, null, View_HeatMapComponent_0, RenderType_HeatMapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var HeatMapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-heat-map", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapComponent"], View_HeatMapComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        gradient: "gradient",
        innerPadding: "innerPadding",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        tooltipDisabled: "tooltipDisabled",
        tooltipText: "tooltipText",
        min: "min",
        max: "max",
        activeEntries: "activeEntries"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_HeatMapCellComponent = [];

      var RenderType_HeatMapCellComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_HeatMapCellComponent,
        data: {}
      });

      function View_HeatMapCellComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
          orientation: [0, "orientation"],
          name: [1, "name"],
          stops: [2, "stops"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "vertical";
          var currVal_1 = _co.gradientId;
          var currVal_2 = _co.gradientStops;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
        }, null);
      }

      function View_HeatMapCellComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, ":svg:g", [["class", "cell"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapCellComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":svg:rect", [["class", "cell"], ["rx", "3"], ["style", "cursor: pointer"]], [[1, "fill", 0], [1, "width", 0], [1, "height", 0]], [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.onClick() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.gradient;

          _ck(_v, 2, 0, currVal_1);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.transform;

          _ck(_v, 0, 0, currVal_0);

          var currVal_2 = _co.gradient ? _co.gradientUrl : _co.fill;
          var currVal_3 = _co.width;
          var currVal_4 = _co.height;

          _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4);
        });
      }

      function View_HeatMapCellComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-heat-map-cell", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseenter" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_0 && ad;
          }

          if ("mouseleave" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
            ad = pd_1 && ad;
          }

          return ad;
        }, View_HeatMapCellComponent_0, RenderType_HeatMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var HeatMapCellComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-heat-map-cell]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapCellComponent"], View_HeatMapCellComponent_Host_0, {
        fill: "fill",
        x: "x",
        y: "y",
        width: "width",
        height: "height",
        data: "data",
        label: "label",
        gradient: "gradient",
        animations: "animations"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_HeatCellSeriesComponent = [];

      var RenderType_HeatCellSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_HeatCellSeriesComponent,
        data: {}
      });

      function View_HeatCellSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 3, ":svg:g", [["ngx-charts-heat-map-cell", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("mouseenter" === en) {
            var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseEnter() !== false;
            ad = pd_5 && ad;
          }

          if ("mouseleave" === en) {
            var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseLeave() !== false;
            ad = pd_6 && ad;
          }

          if ("select" === en) {
            var pd_7 = _co.onClick(_v.context.$implicit.cell) !== false;
            ad = pd_7 && ad;
          }

          if ("activate" === en) {
            var pd_8 = _co.activate.emit(_v.context.$implicit.cell) !== false;
            ad = pd_8 && ad;
          }

          if ("deactivate" === en) {
            var pd_9 = _co.deactivate.emit(_v.context.$implicit.cell) !== false;
            ad = pd_9 && ad;
          }

          return ad;
        }, View_HeatMapCellComponent_0, RenderType_HeatMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](2, {
          series: 0,
          name: 1,
          value: 2
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          x: [1, "x"],
          y: [2, "y"],
          width: [3, "width"],
          height: [4, "height"],
          data: [5, "data"],
          gradient: [6, "gradient"],
          animations: [7, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.tooltipTemplate ? undefined : _co.tooltipText(_v.context.$implicit);
          var currVal_1 = _co.tooltipDisabled;
          var currVal_2 = "top";
          var currVal_3 = "tooltip";
          var currVal_4 = _co.tooltipTemplate;

          var currVal_5 = _ck(_v, 2, 0, _v.context.$implicit.series, _v.context.$implicit.label, _v.context.$implicit.data);

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);

          var currVal_6 = _v.context.$implicit.fill;
          var currVal_7 = _v.context.$implicit.x;
          var currVal_8 = _v.context.$implicit.y;
          var currVal_9 = _v.context.$implicit.width;
          var currVal_10 = _v.context.$implicit.height;
          var currVal_11 = _v.context.$implicit.data;
          var currVal_12 = _co.gradient;
          var currVal_13 = _co.animations;

          _ck(_v, 3, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13);
        }, null);
      }

      function View_HeatCellSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatCellSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.cells;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_HeatCellSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-heat-map-cell-series", ""]], null, null, null, View_HeatCellSeriesComponent_0, RenderType_HeatCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatCellSeriesComponent"], [], null, null)], function (_ck, _v) {
          _ck(_v, 1, 0);
        }, null);
      }

      var HeatCellSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-heat-map-cell-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatCellSeriesComponent"], View_HeatCellSeriesComponent_Host_0, {
        data: "data",
        colors: "colors",
        xScale: "xScale",
        yScale: "yScale",
        gradient: "gradient",
        tooltipDisabled: "tooltipDisabled",
        tooltipText: "tooltipText",
        tooltipTemplate: "tooltipTemplate",
        animations: "animations"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_LineChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

      var RenderType_LineChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_LineChartComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_LineChartComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateXAxisHeight($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
          xScale: [0, "xScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          rotateTicks: [3, "rotateTicks"],
          maxTickLength: [4, "maxTickLength"],
          tickFormatting: [5, "tickFormatting"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          ticks: [9, "ticks"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.xScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimXAxisTicks;
          var currVal_3 = _co.rotateXAxisTicks;
          var currVal_4 = _co.maxXAxisTickLength;
          var currVal_5 = _co.xAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showXAxisLabel;
          var currVal_8 = _co.xAxisLabel;
          var currVal_9 = _co.xAxisTicks;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_LineChartComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          ticks: [5, "ticks"],
          showGridLines: [6, "showGridLines"],
          showLabel: [7, "showLabel"],
          labelText: [8, "labelText"],
          referenceLines: [9, "referenceLines"],
          showRefLines: [10, "showRefLines"],
          showRefLabels: [11, "showRefLabels"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.yScale;
          var currVal_1 = _co.dims;
          var currVal_2 = _co.trimYAxisTicks;
          var currVal_3 = _co.maxYAxisTickLength;
          var currVal_4 = _co.yAxisTickFormatting;
          var currVal_5 = _co.yAxisTicks;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;
          var currVal_9 = _co.referenceLines;
          var currVal_10 = _co.showRefLines;
          var currVal_11 = _co.showRefLabels;

          _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]);
        }, null);
      }

      function View_LineChartComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-line-series", ""]], null, null, null, View_LineSeriesComponent_0, RenderType_LineSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          curve: [5, "curve"],
          activeEntries: [6, "activeEntries"],
          rangeFillOpacity: [7, "rangeFillOpacity"],
          hasRange: [8, "hasRange"],
          animations: [9, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _v.context.$implicit;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.colors;
          var currVal_5 = _co.scaleType;
          var currVal_6 = _co.curve;
          var currVal_7 = _co.activeEntries;
          var currVal_8 = _co.rangeFillOpacity;
          var currVal_9 = _co.hasRange;
          var currVal_10 = _co.animations;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);
        }, function (_ck, _v) {
          var currVal_0 = "active";

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_LineChartComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          visibleValue: [5, "visibleValue"],
          activeEntries: [6, "activeEntries"],
          tooltipDisabled: [7, "tooltipDisabled"],
          tooltipTemplate: [8, "tooltipTemplate"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.xScale;
          var currVal_2 = _co.yScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = _co.hoveredVertical;
          var currVal_6 = _co.activeEntries;
          var currVal_7 = _co.tooltipDisabled;
          var currVal_8 = _co.tooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_LineChartComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("mouseleave" === en) {
            var pd_0 = _co.hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("hover" === en) {
            var pd_0 = _co.updateHoveredVertical($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
          dims: [0, "dims"],
          xSet: [1, "xSet"],
          xScale: [2, "xScale"],
          yScale: [3, "yScale"],
          results: [4, "results"],
          colors: [5, "colors"],
          tooltipDisabled: [6, "tooltipDisabled"],
          tooltipTemplate: [7, "tooltipTemplate"]
        }, {
          hover: "hover"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.dims;
          var currVal_1 = _co.xSet;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.results;
          var currVal_5 = _co.colors;
          var currVal_6 = _co.tooltipDisabled;
          var currVal_7 = _co.seriesTooltipTemplate;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;

          _ck(_v, 4, 0, currVal_8);
        }, null);
      }

      function View_LineChartComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-line-series", ""]], null, null, null, View_LineSeriesComponent_0, RenderType_LineSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          curve: [5, "curve"],
          hasRange: [6, "hasRange"],
          animations: [7, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.timelineXScale;
          var currVal_2 = _co.timelineYScale;
          var currVal_3 = _co.colors;
          var currVal_4 = _co.scaleType;
          var currVal_5 = _co.curve;
          var currVal_6 = _co.hasRange;
          var currVal_7 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
        }, null);
      }

      function View_LineChartComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("onDomainChange" === en) {
            var pd_0 = _co.updateDomain($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
          view: [0, "view"],
          results: [1, "results"],
          scheme: [2, "scheme"],
          customColors: [3, "customColors"],
          legend: [4, "legend"],
          scaleType: [5, "scaleType"],
          height: [6, "height"]
        }, {
          onDomainChange: "onDomainChange"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_LineChartComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

          var currVal_2 = _co.results;
          var currVal_3 = _co.scheme;
          var currVal_4 = _co.customColors;
          var currVal_5 = _co.legend;
          var currVal_6 = _co.scaleType;
          var currVal_7 = _co.timelineHeight;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.results;
          var currVal_9 = _co.trackBy;

          _ck(_v, 4, 0, currVal_8, currVal_9);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.timelineTransform;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_LineChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "line-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_LineChartComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_10 = _co.xAxis;

          _ck(_v, 9, 0, currVal_10);

          var currVal_11 = _co.yAxis;

          _ck(_v, 11, 0, currVal_11);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 14, 0, currVal_13, currVal_14);

          var currVal_15 = !_co.tooltipDisabled;

          _ck(_v, 16, 0, currVal_15);

          var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

          _ck(_v, 18, 0, currVal_16);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.clipPathId;

          _ck(_v, 5, 0, currVal_5);

          var currVal_6 = _co.dims.width + 10;
          var currVal_7 = _co.dims.height + 10;
          var currVal_8 = "translate(-5, -5)";

          _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

          var currVal_9 = _co.transform;

          _ck(_v, 7, 0, currVal_9);

          var currVal_12 = _co.clipPath;

          _ck(_v, 12, 0, currVal_12);
        });
      }

      function View_LineChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-line-chart", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;

          if ("mouseleave" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_LineChartComponent_0, RenderType_LineChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
          seriesTooltipTemplate: 0
        })], null, null);
      }

      var LineChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-line-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartComponent"], View_LineChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        autoScale: "autoScale",
        timeline: "timeline",
        gradient: "gradient",
        showGridLines: "showGridLines",
        curve: "curve",
        activeEntries: "activeEntries",
        rangeFillOpacity: "rangeFillOpacity",
        trimXAxisTicks: "trimXAxisTicks",
        trimYAxisTicks: "trimYAxisTicks",
        rotateXAxisTicks: "rotateXAxisTicks",
        maxXAxisTickLength: "maxXAxisTickLength",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        xAxisTicks: "xAxisTicks",
        yAxisTicks: "yAxisTicks",
        roundDomains: "roundDomains",
        tooltipDisabled: "tooltipDisabled",
        showRefLines: "showRefLines",
        referenceLines: "referenceLines",
        showRefLabels: "showRefLabels",
        xScaleMin: "xScaleMin",
        xScaleMax: "xScaleMax",
        yScaleMin: "yScaleMin",
        yScaleMax: "yScaleMax"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_LineComponent = [];

      var RenderType_LineComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_LineComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":enter",
              animation: [{
                type: 6,
                styles: {
                  strokeDasharray: 2000,
                  strokeDashoffset: 2000
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    strokeDashoffset: 0
                  },
                  offset: null
                },
                timings: 1000
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_LineComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:path", [["class", "line"], ["stroke-width", "1.5px"]], [[24, "@animationState", 0], [1, "d", 0], [1, "fill", 0], [1, "stroke", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "active";
          var currVal_1 = _co.initialPath;
          var currVal_2 = _co.fill;
          var currVal_3 = _co.stroke;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);
        });
      }

      function View_LineComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-line", ""]], null, null, null, View_LineComponent_0, RenderType_LineComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var LineComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-line]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], View_LineComponent_Host_0, {
        path: "path",
        stroke: "stroke",
        data: "data",
        fill: "fill",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_LineSeriesComponent = [];

      var RenderType_LineSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_LineSeriesComponent,
        data: {}
      });

      function View_LineSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
          orientation: [0, "orientation"],
          name: [1, "name"],
          stops: [2, "stops"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "vertical";
          var currVal_1 = _co.gradientId;
          var currVal_2 = _co.gradientStops;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2);
        }, null);
      }

      function View_LineSeriesComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "line-series-range"], ["ngx-charts-area", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          data: [0, "data"],
          path: [1, "path"],
          fill: [2, "fill"],
          opacity: [3, "opacity"],
          animations: [4, "animations"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_2 = _co.data;
          var currVal_3 = _co.outerPath;
          var currVal_4 = _co.hasGradient ? _co.gradientUrl : _co.colors.getColor(_co.data.name);
          var currVal_5 = _co.rangeFillOpacity;
          var currVal_6 = _co.animations;

          _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.isActive(_co.data);

          var currVal_1 = _co.isInactive(_co.data);

          _ck(_v, 0, 0, currVal_0, currVal_1);
        });
      }

      function View_LineSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 9, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 1, ":svg:g", [["class", "line-highlight"], ["ngx-charts-area", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          data: [0, "data"],
          path: [1, "path"],
          fill: [2, "fill"],
          opacity: [3, "opacity"],
          startOpacity: [4, "startOpacity"],
          gradient: [5, "gradient"],
          stops: [6, "stops"],
          animations: [7, "animations"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 1, ":svg:g", [["class", "line-series"], ["ngx-charts-line", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_LineComponent_0, RenderType_LineComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          path: [0, "path"],
          stroke: [1, "stroke"],
          data: [2, "data"],
          animations: [3, "animations"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.hasGradient;

          _ck(_v, 3, 0, currVal_0);

          var currVal_3 = _co.data;
          var currVal_4 = _co.areaPath;
          var currVal_5 = _co.hasGradient ? _co.gradientUrl : _co.colors.getColor(_co.data.name);
          var currVal_6 = 0.25;
          var currVal_7 = 0;
          var currVal_8 = true;
          var currVal_9 = _co.areaGradientStops;
          var currVal_10 = _co.animations;

          _ck(_v, 5, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

          var currVal_13 = _co.path;
          var currVal_14 = _co.stroke;
          var currVal_15 = _co.data;
          var currVal_16 = _co.animations;

          _ck(_v, 7, 0, currVal_13, currVal_14, currVal_15, currVal_16);

          var currVal_17 = _co.hasRange;

          _ck(_v, 9, 0, currVal_17);
        }, function (_ck, _v) {
          var _co = _v.component;

          var currVal_1 = _co.isActive(_co.data);

          var currVal_2 = _co.isInactive(_co.data);

          _ck(_v, 4, 0, currVal_1, currVal_2);

          var currVal_11 = _co.isActive(_co.data);

          var currVal_12 = _co.isInactive(_co.data);

          _ck(_v, 6, 0, currVal_11, currVal_12);
        });
      }

      function View_LineSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-line-series", ""]], null, null, null, View_LineSeriesComponent_0, RenderType_LineSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], [], null, null)], null, null);
      }

      var LineSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-line-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], View_LineSeriesComponent_Host_0, {
        data: "data",
        xScale: "xScale",
        yScale: "yScale",
        colors: "colors",
        scaleType: "scaleType",
        curve: "curve",
        activeEntries: "activeEntries",
        rangeFillOpacity: "rangeFillOpacity",
        hasRange: "hasRange",
        animations: "animations"
      }, {}, []);

      var styles_NumberCardComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", "ngx-charts-number-card .cell .trimmed-label{font-size:12px;line-height:1em;overflow:hidden;pointer-events:none;text-align:left}ngx-charts-number-card .cell .trimmed-label p{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}"];

      var RenderType_NumberCardComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_NumberCardComponent,
        data: {}
      });

      function View_NumberCardComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          animations: [2, "animations"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "number-card chart"]], [[1, "transform", 0], [2, "clickable", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-card-series", ""]], null, [[null, "select"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_CardSeriesComponent_0, RenderType_CardSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardSeriesComponent"], [], {
          data: [0, "data"],
          dims: [1, "dims"],
          colors: [2, "colors"],
          innerPadding: [3, "innerPadding"],
          cardColor: [4, "cardColor"],
          bandColor: [5, "bandColor"],
          emptyColor: [6, "emptyColor"],
          textColor: [7, "textColor"],
          valueFormatting: [8, "valueFormatting"],
          labelFormatting: [9, "labelFormatting"],
          animations: [10, "animations"]
        }, {
          select: "select"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = false;
          var currVal_2 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

          var currVal_5 = _co.data;
          var currVal_6 = _co.dims;
          var currVal_7 = _co.colors;
          var currVal_8 = _co.innerPadding;
          var currVal_9 = _co.cardColor;
          var currVal_10 = _co.bandColor;
          var currVal_11 = _co.emptyColor;
          var currVal_12 = _co.textColor;
          var currVal_13 = _co.valueFormatting;
          var currVal_14 = _co.labelFormatting;
          var currVal_15 = _co.animations;

          _ck(_v, 6, 1, [currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_3 = _co.transform;
          var currVal_4 = _co.clickable;

          _ck(_v, 4, 0, currVal_3, currVal_4);
        });
      }

      function View_NumberCardComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-number-card", [], null, null, null, View_NumberCardComponent_0, RenderType_NumberCardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
      }

      var NumberCardComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-number-card", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardComponent"], View_NumberCardComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        cardColor: "cardColor",
        bandColor: "bandColor",
        emptyColor: "emptyColor",
        innerPadding: "innerPadding",
        textColor: "textColor",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        designatedTotal: "designatedTotal"
      }, {
        select: "select"
      }, []);

      var styles_CardComponent = [];

      var RenderType_CardComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_CardComponent,
        data: {}
      });

      function View_CardComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:path", [["class", "card-band"], ["stroke", "none"]], [[1, "fill", 0], [1, "transform", 0], [1, "d", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.bandColor;
          var currVal_1 = _co.transformBand;
          var currVal_2 = _co.bandPath;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
        });
      }

      function View_CardComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
          textEl: 0
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 9, ":svg:g", [["class", "cell"]], [[1, "transform", 0]], [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.onClick() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:rect", [["class", "card"], ["rx", "3"], ["ry", "3"]], [[4, "fill", null], [1, "width", 0], [1, "height", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CardComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](6, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 1, ":svg:foreignObject", [["alignment-baseline", "hanging"], ["class", "trimmed-label"], ["x", "5"]], [[1, "x", 0], [1, "y", 0], [1, "width", 0], [1, "height", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](8, 0, null, null, 0, ":xhtml:p", [], [[4, "color", null], [4, "fontSize", "px"], [4, "lineHeight", "px"], [8, "innerHTML", 1]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, [[1, 0], ["textEl", 1]], null, 1, ":svg:text", [["alignment-baseline", "hanging"], ["class", "value-text"], ["text-anchor", "start"]], [[1, "x", 0], [1, "y", 0], [4, "fill", null], [4, "font-size", "pt"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](10, null, [" ", " "]))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_4 = _co.bandColor && _co.bandColor !== _co.color;

          _ck(_v, 4, 0, currVal_4);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.transform;

          _ck(_v, 1, 0, currVal_0);

          var currVal_1 = _co.color;
          var currVal_2 = _co.cardWidth;
          var currVal_3 = _co.cardHeight;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);

          var currVal_5 = _co.label;

          _ck(_v, 6, 0, currVal_5);

          var currVal_6 = _co.textPadding[3];
          var currVal_7 = _co.cardHeight - _co.textPadding[2];
          var currVal_8 = _co.textWidth;
          var currVal_9 = _co.labelFontSize + _co.textPadding[2];

          _ck(_v, 7, 0, currVal_6, currVal_7, currVal_8, currVal_9);

          var currVal_10 = _co.textColor;
          var currVal_11 = _co.labelFontSize;
          var currVal_12 = _co.labelFontSize;
          var currVal_13 = _co.formattedLabel;

          _ck(_v, 8, 0, currVal_10, currVal_11, currVal_12, currVal_13);

          var currVal_14 = _co.textPadding[3];
          var currVal_15 = _co.textPadding[0];
          var currVal_16 = _co.textColor;
          var currVal_17 = _co.textFontSize;

          _ck(_v, 9, 0, currVal_14, currVal_15, currVal_16, currVal_17);

          var currVal_18 = _co.value;

          _ck(_v, 10, 0, currVal_18);
        });
      }

      function View_CardComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-card", ""]], null, null, null, View_CardComponent_0, RenderType_CardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 704512, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]], null, null)], null, null);
      }

      var CardComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-card]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardComponent"], View_CardComponent_Host_0, {
        color: "color",
        bandColor: "bandColor",
        textColor: "textColor",
        x: "x",
        y: "y",
        width: "width",
        height: "height",
        label: "label",
        data: "data",
        medianSize: "medianSize",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_CardSeriesComponent = [];

      var RenderType_CardSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_CardSeriesComponent,
        data: {}
      });

      function View_CardSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [["class", "card-empty"], ["rx", "3"], ["ry", "3"]], [[1, "x", 0], [1, "y", 0], [4, "fill", null], [1, "width", 0], [1, "height", 0]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit.x;
          var currVal_1 = _v.context.$implicit.y;
          var currVal_2 = _co.emptyColor;
          var currVal_3 = _v.context.$implicit.width;
          var currVal_4 = _v.context.$implicit.height;

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        });
      }

      function View_CardSeriesComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-card", ""]], null, [[null, "select"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_CardComponent_0, RenderType_CardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 704512, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]], {
          color: [0, "color"],
          bandColor: [1, "bandColor"],
          textColor: [2, "textColor"],
          x: [3, "x"],
          y: [4, "y"],
          width: [5, "width"],
          height: [6, "height"],
          label: [7, "label"],
          data: [8, "data"],
          medianSize: [9, "medianSize"],
          valueFormatting: [10, "valueFormatting"],
          labelFormatting: [11, "labelFormatting"],
          animations: [12, "animations"]
        }, {
          select: "select"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit.color;
          var currVal_1 = _v.context.$implicit.bandColor;
          var currVal_2 = _v.context.$implicit.textColor;
          var currVal_3 = _v.context.$implicit.x;
          var currVal_4 = _v.context.$implicit.y;
          var currVal_5 = _v.context.$implicit.width;
          var currVal_6 = _v.context.$implicit.height;
          var currVal_7 = _v.context.$implicit.label;
          var currVal_8 = _v.context.$implicit.data;
          var currVal_9 = _co.medianSize;
          var currVal_10 = _co.valueFormatting;
          var currVal_11 = _co.labelFormatting;
          var currVal_12 = _co.animations;

          _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12]);
        }, null);
      }

      function View_CardSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CardSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CardSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.emptySlots;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);

          var currVal_2 = _co.cards;
          var currVal_3 = _co.trackBy;

          _ck(_v, 3, 0, currVal_2, currVal_3);
        }, null);
      }

      function View_CardSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-card-series", ""]], null, null, null, View_CardSeriesComponent_0, RenderType_CardSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardSeriesComponent"], [], null, null)], null, null);
      }

      var CardSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-card-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardSeriesComponent"], View_CardSeriesComponent_Host_0, {
        data: "data",
        slots: "slots",
        dims: "dims",
        colors: "colors",
        innerPadding: "innerPadding",
        cardColor: "cardColor",
        bandColor: "bandColor",
        emptyColor: "emptyColor",
        textColor: "textColor",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_AdvancedPieChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".advanced-pie{float:left}.advanced-pie,.advanced-pie-legend-wrapper{display:inline-block}"];

      var RenderType_AdvancedPieChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_AdvancedPieChartComponent,
        data: {}
      });

      function View_AdvancedPieChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 11, "div", [], [[4, "width", "px"], [4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 7, "div", [["class", "advanced-pie chart"]], [[4, "width", "px"], [4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          animations: [2, "animations"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](5, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, 0, 2, ":svg:g", [["class", "pie chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_PieSeriesComponent_0, RenderType_PieSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], [], {
          colors: [0, "colors"],
          series: [1, "series"],
          innerRadius: [2, "innerRadius"],
          outerRadius: [3, "outerRadius"],
          gradient: [4, "gradient"],
          activeEntries: [5, "activeEntries"],
          tooltipText: [6, "tooltipText"],
          tooltipDisabled: [7, "tooltipDisabled"],
          tooltipTemplate: [8, "tooltipTemplate"],
          animations: [9, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 2, "div", [["class", "advanced-pie-legend-wrapper"]], [[4, "width", "px"], [4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](10, 0, null, null, 1, "ngx-charts-advanced-legend", [], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event, true) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event, true) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_AdvancedLegendComponent_0, RenderType_AdvancedLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedLegendComponent"], [], {
          width: [0, "width"],
          data: [1, "data"],
          colors: [2, "colors"],
          label: [3, "label"],
          animations: [4, "animations"],
          valueFormatting: [5, "valueFormatting"],
          labelFormatting: [6, "labelFormatting"],
          percentageFormatting: [7, "percentageFormatting"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_4 = _ck(_v, 5, 0, _co.width, _co.height);

          var currVal_5 = false;
          var currVal_6 = _co.animations;

          _ck(_v, 4, 0, currVal_4, currVal_5, currVal_6);

          var currVal_8 = _co.colors;
          var currVal_9 = _co.results;
          var currVal_10 = _co.innerRadius;
          var currVal_11 = _co.outerRadius;
          var currVal_12 = _co.gradient;
          var currVal_13 = _co.activeEntries;
          var currVal_14 = _co.tooltipText;
          var currVal_15 = _co.tooltipDisabled;
          var currVal_16 = _co.tooltipTemplate;
          var currVal_17 = _co.animations;

          _ck(_v, 8, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17);

          var currVal_20 = _co.width - _co.dims.width - _co.margin[1];
          var currVal_21 = _co.results;
          var currVal_22 = _co.colors;
          var currVal_23 = _co.label;
          var currVal_24 = _co.animations;
          var currVal_25 = _co.valueFormatting;
          var currVal_26 = _co.nameFormatting;
          var currVal_27 = _co.percentageFormatting;

          _ck(_v, 11, 0, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.width;
          var currVal_1 = _co.height;

          _ck(_v, 0, 0, currVal_0, currVal_1);

          var currVal_2 = _co.dims.width;
          var currVal_3 = _co.dims.height;

          _ck(_v, 1, 0, currVal_2, currVal_3);

          var currVal_7 = _co.transform;

          _ck(_v, 6, 0, currVal_7);

          var currVal_18 = _co.width - _co.dims.width;
          var currVal_19 = _co.height;

          _ck(_v, 9, 0, currVal_18, currVal_19);
        });
      }

      function View_AdvancedPieChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-advanced-pie-chart", [], null, null, null, View_AdvancedPieChartComponent_0, RenderType_AdvancedPieChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedPieChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var AdvancedPieChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-advanced-pie-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedPieChartComponent"], View_AdvancedPieChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        gradient: "gradient",
        activeEntries: "activeEntries",
        tooltipDisabled: "tooltipDisabled",
        tooltipText: "tooltipText",
        label: "label",
        valueFormatting: "valueFormatting",
        nameFormatting: "nameFormatting",
        percentageFormatting: "percentageFormatting"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_PieChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}"];

      var RenderType_PieChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PieChartComponent,
        data: {}
      });

      function View_PieChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelActivate" === en) {
            var pd_0 = _co.onActivate($event, true) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_1 = _co.onDeactivate($event, true) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelClick" === en) {
            var pd_2 = _co.onClick($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "pie-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-series", ""]], null, [[null, "dblclick"], [null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dblclick" === en) {
            var pd_0 = _co.dblclick.emit($event) !== false;
            ad = pd_0 && ad;
          }

          if ("select" === en) {
            var pd_1 = _co.onClick($event) !== false;
            ad = pd_1 && ad;
          }

          if ("activate" === en) {
            var pd_2 = _co.onActivate($event) !== false;
            ad = pd_2 && ad;
          }

          if ("deactivate" === en) {
            var pd_3 = _co.onDeactivate($event) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, View_PieSeriesComponent_0, RenderType_PieSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], [], {
          colors: [0, "colors"],
          series: [1, "series"],
          innerRadius: [2, "innerRadius"],
          outerRadius: [3, "outerRadius"],
          explodeSlices: [4, "explodeSlices"],
          showLabels: [5, "showLabels"],
          gradient: [6, "gradient"],
          activeEntries: [7, "activeEntries"],
          labelFormatting: [8, "labelFormatting"],
          trimLabels: [9, "trimLabels"],
          maxLabelLength: [10, "maxLabelLength"],
          tooltipText: [11, "tooltipText"],
          tooltipDisabled: [12, "tooltipDisabled"],
          tooltipTemplate: [13, "tooltipTemplate"],
          animations: [14, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dblclick: "dblclick"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_6 = _co.colors;
          var currVal_7 = _co.data;
          var currVal_8 = _co.innerRadius;
          var currVal_9 = _co.outerRadius;
          var currVal_10 = _co.explodeSlices;
          var currVal_11 = _co.labels;
          var currVal_12 = _co.gradient;
          var currVal_13 = _co.activeEntries;
          var currVal_14 = _co.labelFormatting;
          var currVal_15 = _co.trimLabels;
          var currVal_16 = _co.maxLabelLength;
          var currVal_17 = _co.tooltipText;
          var currVal_18 = _co.tooltipDisabled;
          var currVal_19 = _co.tooltipTemplate;
          var currVal_20 = _co.animations;

          _ck(_v, 6, 1, [currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20]);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.translation;

          _ck(_v, 4, 0, currVal_5);
        });
      }

      function View_PieChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-pie-chart", [], null, null, null, View_PieChartComponent_0, RenderType_PieChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var PieChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-pie-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartComponent"], View_PieChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        labels: "labels",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        explodeSlices: "explodeSlices",
        doughnut: "doughnut",
        arcWidth: "arcWidth",
        gradient: "gradient",
        activeEntries: "activeEntries",
        tooltipDisabled: "tooltipDisabled",
        labelFormatting: "labelFormatting",
        trimLabels: "trimLabels",
        maxLabelLength: "maxLabelLength",
        tooltipText: "tooltipText",
        margins: "margins"
      }, {
        select: "select",
        dblclick: "dblclick",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_PieArcComponent = [];

      var RenderType_PieArcComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PieArcComponent,
        data: {}
      });

      function View_PieArcComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-radial-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgRadialGradientComponent_0, RenderType_SvgRadialGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], [], {
          color: [0, "color"],
          name: [1, "name"],
          startOpacity: [2, "startOpacity"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.fill;
          var currVal_1 = _co.radialGradientId;
          var currVal_2 = _co.startOpacity;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
        }, null);
      }

      function View_PieArcComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, ":svg:g", [["class", "arc-group"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieArcComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":svg:path", [["class", "arc"]], [[1, "d", 0], [2, "active", null], [1, "fill", 0], [4, "pointer-events", null]], [[null, "click"], [null, "dblclick"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.onClick() !== false;
            ad = pd_0 && ad;
          }

          if ("dblclick" === en) {
            var pd_1 = _co.onDblClick($event) !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _co.activate.emit(_co.data) !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _co.deactivate.emit(_co.data) !== false;
            ad = pd_3 && ad;
          }

          return ad;
        }, null, null))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.gradient;

          _ck(_v, 2, 0, currVal_0);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.path;
          var currVal_2 = _co.isActive;

          var currVal_3 = _co.getGradient();

          var currVal_4 = _co.getPointerEvents();

          _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4);
        });
      }

      function View_PieArcComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-arc", ""]], null, null, null, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var PieArcComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-arc]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], View_PieArcComponent_Host_0, {
        fill: "fill",
        startAngle: "startAngle",
        endAngle: "endAngle",
        innerRadius: "innerRadius",
        outerRadius: "outerRadius",
        cornerRadius: "cornerRadius",
        value: "value",
        max: "max",
        data: "data",
        explodeSlices: "explodeSlices",
        gradient: "gradient",
        animate: "animate",
        pointerEvents: "pointerEvents",
        isActive: "isActive"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dblclick: "dblclick"
      }, []);

      var styles_PieGridComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}"];

      var RenderType_PieGridComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PieGridComponent,
        data: {}
      });

      function View_PieGridComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label percent-label"], ["dy", "-0.5em"], ["ngx-charts-count-up", ""], ["text-anchor", "middle"], ["x", "0"], ["y", "5"]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          countSuffix: [0, "countSuffix"],
          countTo: [1, "countTo"]
        }, null)], function (_ck, _v) {
          var currVal_0 = "%";
          var currVal_1 = _v.parent.context.$implicit.percent;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_PieGridComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label percent-label"], ["dy", "-0.5em"], ["text-anchor", "middle"], ["x", "0"], ["y", "5"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
          var currVal_0 = _v.parent.context.$implicit.percent.toLocaleString();

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_PieGridComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label"], ["dy", "1.23em"], ["ngx-charts-count-up", ""], ["text-anchor", "middle"], ["x", "0"]], [[1, "y", 0]], null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          countPrefix: [0, "countPrefix"],
          countTo: [1, "countTo"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.label + ": ";
          var currVal_2 = _v.parent.context.$implicit.total;

          _ck(_v, 1, 0, currVal_1, currVal_2);
        }, function (_ck, _v) {
          var currVal_0 = _v.parent.context.$implicit.outerRadius;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_PieGridComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label"], ["dy", "1.23em"], ["text-anchor", "middle"], ["x", "0"]], [[1, "y", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", ": ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.parent.context.$implicit.outerRadius;

          _ck(_v, 0, 0, currVal_0);

          var currVal_1 = _co.label;

          var currVal_2 = _v.parent.context.$implicit.total.toLocaleString();

          _ck(_v, 1, 0, currVal_1, currVal_2);
        });
      }

      function View_PieGridComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 14, ":svg:g", [["class", "pie-grid-item"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 16777216, null, null, 3, ":svg:g", [["ngx-charts-pie-grid-series", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("select" === en) {
            var pd_5 = _co.onClick($event) !== false;
            ad = pd_5 && ad;
          }

          if ("activate" === en) {
            var pd_6 = _co.onActivate($event) !== false;
            ad = pd_6 && ad;
          }

          if ("deactivate" === en) {
            var pd_7 = _co.onDeactivate($event) !== false;
            ad = pd_7 && ad;
          }

          return ad;
        }, View_PieGridSeriesComponent_0, RenderType_PieGridSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](3, {
          data: 0
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridSeriesComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          colors: [0, "colors"],
          data: [1, "data"],
          innerRadius: [2, "innerRadius"],
          outerRadius: [3, "outerRadius"],
          animations: [4, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:text", [["class", "label"], ["dy", "0.5em"], ["text-anchor", "middle"], ["x", "0"], ["y", "5"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](10, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.tooltipTemplate ? undefined : _co.tooltipText(_ck(_v, 3, 0, _v.context.$implicit));
          var currVal_2 = _co.tooltipDisabled;
          var currVal_3 = "top";
          var currVal_4 = "tooltip";
          var currVal_5 = _co.tooltipTemplate;
          var currVal_6 = _v.context.$implicit.data[0].data;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

          var currVal_7 = _v.context.$implicit.colors;
          var currVal_8 = _v.context.$implicit.data;
          var currVal_9 = _v.context.$implicit.innerRadius;
          var currVal_10 = _v.context.$implicit.outerRadius;
          var currVal_11 = _co.animations;

          _ck(_v, 4, 0, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11);

          var currVal_12 = _co.animations;

          _ck(_v, 6, 0, currVal_12);

          var currVal_13 = !_co.animations;

          _ck(_v, 8, 0, currVal_13);

          var currVal_15 = _co.animations;

          _ck(_v, 12, 0, currVal_15);

          var currVal_16 = !_co.animations;

          _ck(_v, 14, 0, currVal_16);
        }, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit.transform;

          _ck(_v, 0, 0, currVal_0);

          var currVal_14 = _v.context.$implicit.label;

          _ck(_v, 10, 0, currVal_14);
        });
      }

      function View_PieGridComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          animations: [2, "animations"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "pie-grid chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = false;
          var currVal_2 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

          var currVal_4 = _co.series;

          _ck(_v, 6, 0, currVal_4);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_3 = _co.transform;

          _ck(_v, 4, 0, currVal_3);
        });
      }

      function View_PieGridComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-pie-grid", [], null, null, null, View_PieGridComponent_0, RenderType_PieGridComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var PieGridComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-pie-grid", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridComponent"], View_PieGridComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        designatedTotal: "designatedTotal",
        tooltipDisabled: "tooltipDisabled",
        tooltipText: "tooltipText",
        label: "label",
        minWidth: "minWidth",
        activeEntries: "activeEntries"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_PieGridSeriesComponent = [];

      var RenderType_PieGridSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PieGridSeriesComponent,
        data: {}
      });

      function View_PieGridSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-arc", ""]], [[1, "class", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.activate.emit($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.deactivate.emit($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          startAngle: [1, "startAngle"],
          endAngle: [2, "endAngle"],
          innerRadius: [3, "innerRadius"],
          outerRadius: [4, "outerRadius"],
          value: [5, "value"],
          data: [6, "data"],
          gradient: [7, "gradient"],
          animate: [8, "animate"],
          pointerEvents: [9, "pointerEvents"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_1 = _co.color(_v.context.$implicit);

          var currVal_2 = _v.context.$implicit.startAngle;
          var currVal_3 = _v.context.$implicit.endAngle;
          var currVal_4 = _co.innerRadius;
          var currVal_5 = _co.outerRadius;
          var currVal_6 = _v.context.$implicit.data.value;
          var currVal_7 = _v.context.$implicit.data;
          var currVal_8 = false;
          var currVal_9 = _v.context.$implicit.animate;
          var currVal_10 = _v.context.$implicit.pointerEvents;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);
        }, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit["class"];

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_PieGridSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [["class", "pie-grid-arcs"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.arcs;
          var currVal_1 = _co.trackBy;

          _ck(_v, 2, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_PieGridSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-grid-series", ""]], null, null, null, View_PieGridSeriesComponent_0, RenderType_PieGridSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridSeriesComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var PieGridSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-grid-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridSeriesComponent"], View_PieGridSeriesComponent_Host_0, {
        colors: "colors",
        data: "data",
        innerRadius: "innerRadius",
        outerRadius: "outerRadius",
        animations: "animations"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_PieSeriesComponent = [];

      var RenderType_PieSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PieSeriesComponent,
        data: {}
      });

      function View_PieSeriesComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-label", ""]], null, null, null, View_PieLabelComponent_0, RenderType_PieLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], [], {
          data: [0, "data"],
          radius: [1, "radius"],
          label: [2, "label"],
          color: [3, "color"],
          max: [4, "max"],
          value: [5, "value"],
          explodeSlices: [6, "explodeSlices"],
          animations: [7, "animations"],
          labelTrim: [8, "labelTrim"],
          labelTrimSize: [9, "labelTrimSize"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.parent.context.$implicit;
          var currVal_1 = _co.outerRadius;

          var currVal_2 = _co.labelText(_v.parent.context.$implicit);

          var currVal_3 = _co.color(_v.parent.context.$implicit);

          var currVal_4 = _co.max;
          var currVal_5 = _v.parent.context.$implicit.value;
          var currVal_6 = _co.explodeSlices;
          var currVal_7 = _co.animations;
          var currVal_8 = _co.trimLabels;
          var currVal_9 = _co.maxLabelLength;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
        }, null);
      }

      function View_PieSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 5, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 16777216, null, null, 2, ":svg:g", [["ngx-charts-pie-arc", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dblclick"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("select" === en) {
            var pd_5 = _co.onClick($event) !== false;
            ad = pd_5 && ad;
          }

          if ("activate" === en) {
            var pd_6 = _co.activate.emit($event) !== false;
            ad = pd_6 && ad;
          }

          if ("deactivate" === en) {
            var pd_7 = _co.deactivate.emit($event) !== false;
            ad = pd_7 && ad;
          }

          if ("dblclick" === en) {
            var pd_8 = _co.dblclick.emit($event) !== false;
            ad = pd_8 && ad;
          }

          return ad;
        }, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          fill: [0, "fill"],
          startAngle: [1, "startAngle"],
          endAngle: [2, "endAngle"],
          innerRadius: [3, "innerRadius"],
          outerRadius: [4, "outerRadius"],
          value: [5, "value"],
          max: [6, "max"],
          data: [7, "data"],
          explodeSlices: [8, "explodeSlices"],
          gradient: [9, "gradient"],
          animate: [10, "animate"],
          isActive: [11, "isActive"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate",
          dblclick: "dblclick"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _co.labelVisible(_v.context.$implicit);

          _ck(_v, 2, 0, currVal_0);

          var currVal_1 = _co.getTooltipTitle(_v.context.$implicit);

          var currVal_2 = _co.tooltipDisabled;
          var currVal_3 = "top";
          var currVal_4 = "tooltip";
          var currVal_5 = _co.tooltipTemplate;
          var currVal_6 = _v.context.$implicit.data;

          _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

          var currVal_7 = _co.color(_v.context.$implicit);

          var currVal_8 = _v.context.$implicit.startAngle;
          var currVal_9 = _v.context.$implicit.endAngle;
          var currVal_10 = _co.innerRadius;
          var currVal_11 = _co.outerRadius;
          var currVal_12 = _v.context.$implicit.data.value;
          var currVal_13 = _co.max;
          var currVal_14 = _v.context.$implicit.data;
          var currVal_15 = _co.explodeSlices;
          var currVal_16 = _co.gradient;
          var currVal_17 = _co.animations;

          var currVal_18 = _co.isActive(_v.context.$implicit.data);

          _ck(_v, 5, 1, [currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18]);
        }, null);
      }

      function View_PieSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.data;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_PieSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-series", ""]], null, null, null, View_PieSeriesComponent_0, RenderType_PieSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], [], null, null)], null, null);
      }

      var PieSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], View_PieSeriesComponent_Host_0, {
        colors: "colors",
        series: "series",
        dims: "dims",
        innerRadius: "innerRadius",
        outerRadius: "outerRadius",
        explodeSlices: "explodeSlices",
        showLabels: "showLabels",
        gradient: "gradient",
        activeEntries: "activeEntries",
        labelFormatting: "labelFormatting",
        trimLabels: "trimLabels",
        maxLabelLength: "maxLabelLength",
        tooltipText: "tooltipText",
        tooltipDisabled: "tooltipDisabled",
        tooltipTemplate: "tooltipTemplate",
        animations: "animations"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dblclick: "dblclick"
      }, []);

      var styles_PieLabelComponent = [];

      var RenderType_PieLabelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PieLabelComponent,
        data: {}
      });

      function View_PieLabelComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0], [4, "transform", null], [4, "transition", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["class", "pie-label"], ["dy", ".35em"]], [[2, "animation", null], [4, "textAnchor", null], [4, "shapeRendering", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 0, ":svg:path", [["class", "pie-label-line line"], ["fill", "none"]], [[1, "d", 0], [1, "stroke", 0], [2, "animation", null]], null, null, null, null))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.label;

          _ck(_v, 1, 0, currVal_0);

          var currVal_1 = _co.attrTransform;
          var currVal_2 = _co.styleTransform;
          var currVal_3 = _co.textTransition;

          _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);

          var currVal_4 = _co.animations;

          var currVal_5 = _co.textAnchor();

          var currVal_6 = "crispEdges";

          _ck(_v, 3, 0, currVal_4, currVal_5, currVal_6);

          var currVal_7 = _co.labelTrim ? _co.trimLabel(_co.label, _co.labelTrimSize) : _co.label;

          _ck(_v, 4, 0, currVal_7);

          var currVal_8 = _co.line;
          var currVal_9 = _co.color;
          var currVal_10 = _co.animations;

          _ck(_v, 5, 0, currVal_8, currVal_9, currVal_10);
        });
      }

      function View_PieLabelComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-label", ""]], null, null, null, View_PieLabelComponent_0, RenderType_PieLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], [], null, null)], null, null);
      }

      var PieLabelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-label]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], View_PieLabelComponent_Host_0, {
        data: "data",
        radius: "radius",
        label: "label",
        color: "color",
        max: "max",
        value: "value",
        explodeSlices: "explodeSlices",
        animations: "animations",
        labelTrim: "labelTrim",
        labelTrimSize: "labelTrimSize"
      }, {}, []);

      var styles_PolarChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}", ".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{fill:none;stroke-dasharray:10 10}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}"];

      var RenderType_PolarChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PolarChartComponent,
        data: {
          "animation": [{
            type: 7,
            name: "animationState",
            definitions: [{
              type: 1,
              expr: ":leave",
              animation: [{
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              }, {
                type: 4,
                styles: {
                  type: 6,
                  styles: {
                    opacity: 0
                  },
                  offset: null
                },
                timings: 500
              }],
              options: null
            }],
            options: {}
          }]
        }
      });

      function View_PolarChartComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:circle", [["class", "gridline-path radial-gridline-path"], ["cx", "0"], ["cy", "0"]], [[1, "r", 0]], null, null, null, null))], null, function (_ck, _v) {
          var currVal_0 = _v.context.$implicit;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_PolarChartComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.radiusTicks;

          _ck(_v, 2, 0, currVal_0);
        }, null);
      }

      function View_PolarChartComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-label", ""]], null, null, null, View_PieLabelComponent_0, RenderType_PieLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], [], {
          data: [0, "data"],
          radius: [1, "radius"],
          label: [2, "label"],
          max: [3, "max"],
          value: [4, "value"],
          explodeSlices: [5, "explodeSlices"],
          animations: [6, "animations"],
          labelTrim: [7, "labelTrim"],
          labelTrimSize: [8, "labelTrimSize"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _v.context.$implicit;
          var currVal_1 = _co.outerRadius;
          var currVal_2 = _v.context.$implicit.label;
          var currVal_3 = _co.outerRadius;
          var currVal_4 = _co.showGridLines ? 1 : _co.outerRadius;
          var currVal_5 = true;
          var currVal_6 = _co.animations;
          var currVal_7 = _co.labelTrim;
          var currVal_8 = _co.labelTrimSize;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, null);
      }

      function View_PolarChartComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.thetaTicks;

          _ck(_v, 2, 0, currVal_0);
        }, null);
      }

      function View_PolarChartComponent_5(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], [[1, "transform", 0]], [[null, "dimensionsChanged"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("dimensionsChanged" === en) {
            var pd_0 = _co.updateYAxisWidth($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
          yScale: [0, "yScale"],
          dims: [1, "dims"],
          trimTicks: [2, "trimTicks"],
          maxTickLength: [3, "maxTickLength"],
          tickFormatting: [4, "tickFormatting"],
          showGridLines: [5, "showGridLines"],
          showLabel: [6, "showLabel"],
          labelText: [7, "labelText"]
        }, {
          dimensionsChanged: "dimensionsChanged"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.yAxisScale;
          var currVal_2 = _co.yAxisDims;
          var currVal_3 = _co.trimYAxisTicks;
          var currVal_4 = _co.maxYAxisTickLength;
          var currVal_5 = _co.yAxisTickFormatting;
          var currVal_6 = _co.showGridLines;
          var currVal_7 = _co.showYAxisLabel;
          var currVal_8 = _co.yAxisLabel;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.transformYAxis;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_PolarChartComponent_6(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          orient: [0, "orient"],
          label: [1, "label"],
          offset: [2, "offset"],
          width: [3, "width"],
          height: [4, "height"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "bottom";
          var currVal_1 = _co.xAxisLabel;
          var currVal_2 = _co.labelOffset;
          var currVal_3 = _co.dims.width;
          var currVal_4 = _co.dims.height;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        }, null);
      }

      function View_PolarChartComponent_7(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-polar-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("activate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("deactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_PolarSeriesComponent_0, RenderType_PolarSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarSeriesComponent"], [], {
          data: [0, "data"],
          xScale: [1, "xScale"],
          yScale: [2, "yScale"],
          colors: [3, "colors"],
          scaleType: [4, "scaleType"],
          curve: [5, "curve"],
          activeEntries: [6, "activeEntries"],
          rangeFillOpacity: [7, "rangeFillOpacity"],
          tooltipDisabled: [8, "tooltipDisabled"],
          gradient: [9, "gradient"],
          tooltipTemplate: [10, "tooltipTemplate"],
          animations: [11, "animations"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        })], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _v.context.$implicit;
          var currVal_2 = _co.xScale;
          var currVal_3 = _co.yScale;
          var currVal_4 = _co.colors;
          var currVal_5 = _co.scaleType;
          var currVal_6 = _co.curve;
          var currVal_7 = _co.activeEntries;
          var currVal_8 = _co.rangeFillOpacity;
          var currVal_9 = _co.tooltipDisabled;
          var currVal_10 = _co.gradient;
          var currVal_11 = _co.tooltipTemplate;
          var currVal_12 = _co.animations;

          _ck(_v, 2, 1, [currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12]);
        }, function (_ck, _v) {
          var currVal_0 = "active";

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_PolarChartComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 17, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("legendLabelClick" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          if ("legendLabelActivate" === en) {
            var pd_1 = _co.onActivate($event) !== false;
            ad = pd_1 && ad;
          }

          if ("legendLabelDeactivate" === en) {
            var pd_2 = _co.onDeactivate($event) !== false;
            ad = pd_2 && ad;
          }

          return ad;
        }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          legendOptions: [2, "legendOptions"],
          activeEntries: [3, "activeEntries"],
          animations: [4, "animations"]
        }, {
          legendLabelClick: "legendLabelClick",
          legendLabelActivate: "legendLabelActivate",
          legendLabelDeactivate: "legendLabelDeactivate"
        }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 13, ":svg:g", [["class", "polar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 5, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:circle", [["class", "polar-chart-background"], ["cx", "0"], ["cy", "0"]], [[1, "r", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](15, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](17, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = _co.legend;
          var currVal_2 = _co.legendOptions;
          var currVal_3 = _co.activeEntries;
          var currVal_4 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_8 = _co.showGridLines;

          _ck(_v, 8, 0, currVal_8);

          var currVal_9 = _co.xAxis;

          _ck(_v, 10, 0, currVal_9);

          var currVal_10 = _co.yAxis;

          _ck(_v, 12, 0, currVal_10);

          var currVal_11 = _co.xAxis && _co.showXAxisLabel;

          _ck(_v, 14, 0, currVal_11);

          var currVal_13 = _co.results;
          var currVal_14 = _co.trackBy;

          _ck(_v, 17, 0, currVal_13, currVal_14);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_5 = _co.transform;

          _ck(_v, 4, 0, currVal_5);

          var currVal_6 = _co.transformPlot;

          _ck(_v, 5, 0, currVal_6);

          var currVal_7 = _co.outerRadius;

          _ck(_v, 6, 0, currVal_7);

          var currVal_12 = _co.transformPlot;

          _ck(_v, 15, 0, currVal_12);
        });
      }

      function View_PolarChartComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-polar-chart", [], null, null, null, View_PolarChartComponent_0, RenderType_PolarChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var PolarChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-polar-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartComponent"], View_PolarChartComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        legend: "legend",
        legendTitle: "legendTitle",
        legendPosition: "legendPosition",
        xAxis: "xAxis",
        yAxis: "yAxis",
        showXAxisLabel: "showXAxisLabel",
        showYAxisLabel: "showYAxisLabel",
        xAxisLabel: "xAxisLabel",
        yAxisLabel: "yAxisLabel",
        autoScale: "autoScale",
        showGridLines: "showGridLines",
        curve: "curve",
        activeEntries: "activeEntries",
        rangeFillOpacity: "rangeFillOpacity",
        trimYAxisTicks: "trimYAxisTicks",
        maxYAxisTickLength: "maxYAxisTickLength",
        xAxisTickFormatting: "xAxisTickFormatting",
        yAxisTickFormatting: "yAxisTickFormatting",
        roundDomains: "roundDomains",
        tooltipDisabled: "tooltipDisabled",
        showSeriesOnHover: "showSeriesOnHover",
        gradient: "gradient",
        yAxisMinScale: "yAxisMinScale",
        labelTrim: "labelTrim",
        labelTrimSize: "labelTrimSize"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_PolarSeriesComponent = [];

      var RenderType_PolarSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_PolarSeriesComponent,
        data: {}
      });

      function View_PolarSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-radial-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgRadialGradientComponent_0, RenderType_SvgRadialGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], [], {
          color: [0, "color"],
          name: [1, "name"],
          startOpacity: [2, "startOpacity"],
          endOpacity: [3, "endOpacity"],
          stops: [4, "stops"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.seriesColor;
          var currVal_1 = _co.gradientId;
          var currVal_2 = 0.25;
          var currVal_3 = 1;
          var currVal_4 = _co.gradientStops;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
        }, null);
      }

      function View_PolarSeriesComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["class", "circle"], ["ngx-charts-circle", ""], ["ngx-tooltip", ""], ["tooltipType", "tooltip"]], [[4, "opacity", null]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("click" === en) {
            var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onClick() !== false;
            ad = pd_5 && ad;
          }

          if ("mouseenter" === en) {
            var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
            ad = pd_6 && ad;
          }

          if ("mouseleave" === en) {
            var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
            ad = pd_7 && ad;
          }

          if ("select" === en) {
            var pd_8 = _co.select.emit(_v.context.$implicit.data) !== false;
            ad = pd_8 && ad;
          }

          if ("activate" === en) {
            var pd_9 = _co.activate.emit({
              name: _v.context.$implicit.data.series
            }) !== false;
            ad = pd_9 && ad;
          }

          if ("deactivate" === en) {
            var pd_10 = _co.deactivate.emit({
              name: _v.context.$implicit.data.series
            }) !== false;
            ad = pd_10 && ad;
          }

          return ad;
        }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], {
          cx: [0, "cx"],
          cy: [1, "cy"],
          r: [2, "r"],
          fill: [3, "fill"]
        }, {
          select: "select",
          activate: "activate",
          deactivate: "deactivate"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.tooltipTemplate ? undefined : _co.tooltipText(_v.context.$implicit);
          var currVal_2 = _co.tooltipDisabled;
          var currVal_3 = "top";
          var currVal_4 = "tooltip";
          var currVal_5 = _co.tooltipTemplate;
          var currVal_6 = _v.context.$implicit.data;

          _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

          var currVal_7 = _v.context.$implicit.cx;
          var currVal_8 = _v.context.$implicit.cy;
          var currVal_9 = _co.circleRadius;
          var currVal_10 = _v.context.$implicit.color;

          _ck(_v, 2, 0, currVal_7, currVal_8, currVal_9, currVal_10);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.inactive ? 0.2 : 1;

          _ck(_v, 0, 0, currVal_0);
        });
      }

      function View_PolarSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, ":svg:g", [["class", "polar-charts-series"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 1, ":svg:g", [["class", "polar-series-path"], ["ngx-charts-line", ""]], [[2, "active", null], [2, "inactive", null], [1, "fill-opacity", 0]], null, null, View_LineComponent_0, RenderType_LineComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          path: [0, "path"],
          stroke: [1, "stroke"],
          fill: [2, "fill"],
          animations: [3, "animations"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.hasGradient;

          _ck(_v, 3, 0, currVal_0);

          var currVal_4 = _co.path;
          var currVal_5 = _co.hasGradient ? _co.gradientUrl : _co.seriesColor;
          var currVal_6 = _co.hasGradient ? _co.gradientUrl : _co.seriesColor;
          var currVal_7 = _co.animations;

          _ck(_v, 5, 0, currVal_4, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.circles;

          _ck(_v, 7, 0, currVal_8);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.active;
          var currVal_2 = _co.inactive;
          var currVal_3 = _co.rangeFillOpacity;

          _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3);
        });
      }

      function View_PolarSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-polar-series", ""]], null, null, null, View_PolarSeriesComponent_0, RenderType_PolarSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarSeriesComponent"], [], null, null)], null, null);
      }

      var PolarSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-polar-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarSeriesComponent"], View_PolarSeriesComponent_Host_0, {
        name: "name",
        data: "data",
        xScale: "xScale",
        yScale: "yScale",
        colors: "colors",
        scaleType: "scaleType",
        curve: "curve",
        activeEntries: "activeEntries",
        rangeFillOpacity: "rangeFillOpacity",
        tooltipDisabled: "tooltipDisabled",
        tooltipText: "tooltipText",
        gradient: "gradient",
        tooltipTemplate: "tooltipTemplate",
        animations: "animations"
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }, []);

      var styles_TreeMapComponent = [".tree-map .treemap-val{display:inline-block;font-size:1.3em;padding-top:5px}.tree-map .treemap-label p{display:table-cell;line-height:1.2em;text-align:center;vertical-align:middle}"];

      var RenderType_TreeMapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_TreeMapComponent,
        data: {}
      });

      function View_TreeMapComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
          view: [0, "view"],
          showLegend: [1, "showLegend"],
          animations: [2, "animations"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "tree-map chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-tree-map-cell-series", ""]], null, [[null, "select"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("select" === en) {
            var pd_0 = _co.onClick($event) !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, View_TreeMapCellSeriesComponent_0, RenderType_TreeMapCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellSeriesComponent"], [], {
          data: [0, "data"],
          dims: [1, "dims"],
          colors: [2, "colors"],
          valueFormatting: [3, "valueFormatting"],
          labelFormatting: [4, "labelFormatting"],
          gradient: [5, "gradient"],
          tooltipDisabled: [6, "tooltipDisabled"],
          tooltipTemplate: [7, "tooltipTemplate"],
          animations: [8, "animations"]
        }, {
          select: "select"
        })], function (_ck, _v) {
          var _co = _v.component;

          var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

          var currVal_1 = false;
          var currVal_2 = _co.animations;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

          var currVal_4 = _co.data;
          var currVal_5 = _co.dims;
          var currVal_6 = _co.colors;
          var currVal_7 = _co.valueFormatting;
          var currVal_8 = _co.labelFormatting;
          var currVal_9 = _co.gradient;
          var currVal_10 = _co.tooltipDisabled;
          var currVal_11 = _co.tooltipTemplate;
          var currVal_12 = _co.animations;

          _ck(_v, 6, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_3 = _co.transform;

          _ck(_v, 4, 0, currVal_3);
        });
      }

      function View_TreeMapComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-tree-map", [], null, null, null, View_TreeMapComponent_0, RenderType_TreeMapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
          tooltipTemplate: 0
        })], null, null);
      }

      var TreeMapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-tree-map", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapComponent"], View_TreeMapComponent_Host_0, {
        results: "results",
        view: "view",
        scheme: "scheme",
        schemeType: "schemeType",
        customColors: "customColors",
        animations: "animations",
        tooltipDisabled: "tooltipDisabled",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        gradient: "gradient"
      }, {
        select: "select"
      }, []);

      var styles_TreeMapCellComponent = [];

      var RenderType_TreeMapCellComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_TreeMapCellComponent,
        data: {}
      });

      function View_TreeMapCellComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
          orientation: [0, "orientation"],
          name: [1, "name"],
          stops: [2, "stops"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = "vertical";
          var currVal_1 = _co.gradientId;
          var currVal_2 = _co.gradientStops;

          _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
        }, null);
      }

      function View_TreeMapCellComponent_3(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":xhtml:span", [["class", "treemap-val"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          valueFormatting: [0, "valueFormatting"],
          countTo: [1, "countTo"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.valueFormatting;
          var currVal_1 = _co.value;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_TreeMapCellComponent_4(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":xhtml:span", [["class", "treemap-val"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.formattedValue;

          _ck(_v, 1, 0, currVal_0);
        });
      }

      function View_TreeMapCellComponent_2(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, ":svg:foreignObject", [["class", "treemap-label"]], [[1, "x", 0], [1, "y", 0], [1, "width", 0], [1, "height", 0], [4, "pointer-events", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 6, ":xhtml:p", [], [[4, "color", null], [4, "height", null], [4, "width", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":xhtml:span", [["class", "treemap-label"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":xhtml:br", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_9 = _co.animations;

          _ck(_v, 5, 0, currVal_9);

          var currVal_10 = !_co.animations;

          _ck(_v, 7, 0, currVal_10);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.x;
          var currVal_1 = _co.y;
          var currVal_2 = _co.width;
          var currVal_3 = _co.height;
          var currVal_4 = "none";

          _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

          var currVal_5 = _co.getTextColor();

          var currVal_6 = _co.height + "px";
          var currVal_7 = _co.width + "px";

          _ck(_v, 1, 0, currVal_5, currVal_6, currVal_7);

          var currVal_8 = _co.formattedLabel;

          _ck(_v, 2, 0, currVal_8);
        });
      }

      function View_TreeMapCellComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 5, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":svg:rect", [["class", "cell"]], [[1, "fill", 0], [1, "width", 0], [1, "height", 0], [1, "x", 0], [1, "y", 0], [4, "cursor", null]], [[null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("click" === en) {
            var pd_0 = _co.onClick() !== false;
            ad = pd_0 && ad;
          }

          return ad;
        }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
          ngIf: [0, "ngIf"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.gradient;

          _ck(_v, 2, 0, currVal_0);

          var currVal_7 = _co.width >= 70 && _co.height >= 35;

          _ck(_v, 5, 0, currVal_7);
        }, function (_ck, _v) {
          var _co = _v.component;
          var currVal_1 = _co.gradient ? _co.gradientUrl : _co.fill;
          var currVal_2 = _co.width;
          var currVal_3 = _co.height;
          var currVal_4 = _co.x;
          var currVal_5 = _co.y;
          var currVal_6 = "pointer";

          _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
        });
      }

      function View_TreeMapCellComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-tree-map-cell", ""]], null, null, null, View_TreeMapCellComponent_0, RenderType_TreeMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
      }

      var TreeMapCellComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-tree-map-cell]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellComponent"], View_TreeMapCellComponent_Host_0, {
        data: "data",
        fill: "fill",
        x: "x",
        y: "y",
        width: "width",
        height: "height",
        label: "label",
        value: "value",
        valueType: "valueType",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        gradient: "gradient",
        animations: "animations"
      }, {
        select: "select"
      }, []);

      var styles_TreeMapCellSeriesComponent = [];

      var RenderType_TreeMapCellSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
        encapsulation: 2,
        styles: styles_TreeMapCellSeriesComponent,
        data: {}
      });

      function View_TreeMapCellSeriesComponent_1(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["ngx-charts-tree-map-cell", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
          var ad = true;
          var _co = _v.component;

          if ("focusin" === en) {
            var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
            ad = pd_0 && ad;
          }

          if ("blur" === en) {
            var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
            ad = pd_1 && ad;
          }

          if ("mouseenter" === en) {
            var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
            ad = pd_2 && ad;
          }

          if ("mouseleave" === en) {
            var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
            ad = pd_3 && ad;
          }

          if ("click" === en) {
            var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
            ad = pd_4 && ad;
          }

          if ("select" === en) {
            var pd_5 = _co.onClick($event) !== false;
            ad = pd_5 && ad;
          }

          return ad;
        }, View_TreeMapCellComponent_0, RenderType_TreeMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
          tooltipTitle: [0, "tooltipTitle"],
          tooltipDisabled: [1, "tooltipDisabled"],
          tooltipPlacement: [2, "tooltipPlacement"],
          tooltipType: [3, "tooltipType"],
          tooltipTemplate: [4, "tooltipTemplate"],
          tooltipContext: [5, "tooltipContext"]
        }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
          data: [0, "data"],
          fill: [1, "fill"],
          x: [2, "x"],
          y: [3, "y"],
          width: [4, "width"],
          height: [5, "height"],
          label: [6, "label"],
          value: [7, "value"],
          valueType: [8, "valueType"],
          valueFormatting: [9, "valueFormatting"],
          labelFormatting: [10, "labelFormatting"],
          gradient: [11, "gradient"],
          animations: [12, "animations"]
        }, {
          select: "select"
        }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.tooltipTemplate ? undefined : _co.getTooltipText(_v.context.$implicit);
          var currVal_1 = _co.tooltipDisabled;
          var currVal_2 = "top";
          var currVal_3 = "tooltip";
          var currVal_4 = _co.tooltipTemplate;
          var currVal_5 = _v.context.$implicit.data;

          _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);

          var currVal_6 = _v.context.$implicit.data;
          var currVal_7 = _v.context.$implicit.fill;
          var currVal_8 = _v.context.$implicit.x;
          var currVal_9 = _v.context.$implicit.y;
          var currVal_10 = _v.context.$implicit.width;
          var currVal_11 = _v.context.$implicit.height;
          var currVal_12 = _v.context.$implicit.label;
          var currVal_13 = _v.context.$implicit.value;
          var currVal_14 = _v.context.$implicit.valueType;
          var currVal_15 = _co.valueFormatting;
          var currVal_16 = _co.labelFormatting;
          var currVal_17 = _co.gradient;
          var currVal_18 = _co.animations;

          _ck(_v, 2, 1, [currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18]);
        }, null);
      }

      function View_TreeMapCellSeriesComponent_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
          ngForOf: [0, "ngForOf"],
          ngForTrackBy: [1, "ngForTrackBy"]
        }, null)], function (_ck, _v) {
          var _co = _v.component;
          var currVal_0 = _co.cells;
          var currVal_1 = _co.trackBy;

          _ck(_v, 1, 0, currVal_0, currVal_1);
        }, null);
      }

      function View_TreeMapCellSeriesComponent_Host_0(_l) {
        return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-tree-map-cell-series", ""]], null, null, null, View_TreeMapCellSeriesComponent_0, RenderType_TreeMapCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellSeriesComponent"], [], null, null)], null, null);
      }

      var TreeMapCellSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-tree-map-cell-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellSeriesComponent"], View_TreeMapCellSeriesComponent_Host_0, {
        data: "data",
        dims: "dims",
        colors: "colors",
        valueFormatting: "valueFormatting",
        labelFormatting: "labelFormatting",
        gradient: "gradient",
        tooltipDisabled: "tooltipDisabled",
        tooltipTemplate: "tooltipTemplate",
        animations: "animations"
      }, {
        select: "select"
      }, []);
      /***/

    },

    /***/
    "WmHh": function WmHh(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../creator */
      "V/Wt");
      /* harmony import */


      var _selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../selector */
      "b9Oj");

      function constantNull() {
        return null;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, before) {
        var create = typeof name === "function" ? name : Object(_creator__WEBPACK_IMPORTED_MODULE_0__["default"])(name),
            select = before == null ? constantNull : typeof before === "function" ? before : Object(_selector__WEBPACK_IMPORTED_MODULE_1__["default"])(before);
        return this.select(function () {
          return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);
        });
      };
      /***/

    },

    /***/
    "Ws9M": function Ws9M(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hclLong", function () {
        return hclLong;
      });
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./color.js */
      "sFV2");

      function hcl(hue) {
        return function (start, end) {
          var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hcl"])(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hcl"])(end)).h),
              c = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.c, end.c),
              l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
              opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
          return function (t) {
            start.h = h(t);
            start.c = c(t);
            start.l = l(t);
            start.opacity = opacity(t);
            return start + "";
          };
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__["hue"]);
      var hclLong = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
      /***/
    },

    /***/
    "WuDp": function WuDp(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sum", function () {
        return sum;
      });
      /* harmony import */


      var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./none.js */
      "qqpY");
      /* harmony default export */


      __webpack_exports__["default"] = function (series) {
        var sums = series.map(sum);
        return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).sort(function (a, b) {
          return sums[a] - sums[b];
        });
      };

      function sum(series) {
        var s = 0,
            i = -1,
            n = series.length,
            v;

        while (++i < n) {
          if (v = +series[i][1]) s += v;
        }

        return s;
      }
      /***/

    },

    /***/
    "Wv09": function Wv09(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "milliseconds", function () {
        return milliseconds;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");

      var millisecond = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function () {// noop
      }, function (date, step) {
        date.setTime(+date + step);
      }, function (start, end) {
        return end - start;
      }); // An optimized implementation for this simple case.

      millisecond.every = function (k) {
        k = Math.floor(k);
        if (!isFinite(k) || !(k > 0)) return null;
        if (!(k > 1)) return millisecond;
        return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setTime(Math.floor(date / k) * k);
        }, function (date, step) {
          date.setTime(+date + step * k);
        }, function (start, end) {
          return (end - start) / k;
        });
      };
      /* harmony default export */


      __webpack_exports__["default"] = millisecond;
      var milliseconds = millisecond.range;
      /***/
    },

    /***/
    "X486": function X486(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _brush_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./brush.js */
      "hTZz");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "brush", function () {
        return _brush_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "brushX", function () {
        return _brush_js__WEBPACK_IMPORTED_MODULE_0__["brushX"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "brushY", function () {
        return _brush_js__WEBPACK_IMPORTED_MODULE_0__["brushY"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "brushSelection", function () {
        return _brush_js__WEBPACK_IMPORTED_MODULE_0__["brushSelection"];
      });
      /***/

    },

    /***/
    "X7tT": function X7tT(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (target, type, selection) {
        this.target = target;
        this.type = type;
        this.selection = selection;
      };
      /***/

    },

    /***/
    "XKfN": function XKfN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "seconds", function () {
        return seconds;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var second = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(date - date.getMilliseconds());
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"];
      }, function (date) {
        return date.getUTCSeconds();
      });
      /* harmony default export */

      __webpack_exports__["default"] = second;
      var seconds = second.range;
      /***/
    },

    /***/
    "Xl5i": function Xl5i(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function textInterpolate(i) {
        return function (t) {
          this.textContent = i.call(this, t);
        };
      }

      function textTween(value) {
        var t0, i0;

        function tween() {
          var i = value.apply(this, arguments);
          if (i !== i0) t0 = (i0 = i) && textInterpolate(i);
          return t0;
        }

        tween._value = value;
        return tween;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        var key = "text";
        if (arguments.length < 1) return (key = this.tween(key)) && key._value;
        if (value == null) return this.tween(key, null);
        if (typeof value !== "function") throw new Error();
        return this.tween(key, textTween(value));
      };
      /***/

    },

    /***/
    "Xt/6": function Xt6(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "seconds", function () {
        return seconds;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var second = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(date - date.getMilliseconds());
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"];
      }, function (date) {
        return date.getUTCSeconds();
      });
      /* harmony default export */

      __webpack_exports__["default"] = second;
      var seconds = second.range;
      /***/
    },

    /***/
    "Y62N": function Y62N(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "extend", function () {
        return extend;
      });
      /* harmony default export */


      __webpack_exports__["default"] = function (constructor, factory, prototype) {
        constructor.prototype = factory.prototype = prototype;
        prototype.constructor = constructor;
      };

      function extend(parent, definition) {
        var prototype = Object.create(parent.prototype);

        for (var key in definition) {
          prototype[key] = definition[key];
        }

        return prototype;
      }
      /***/

    },

    /***/
    "Y7ZM": function Y7ZM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../count.js */
      "hiel");
      /* harmony import */


      var _deviation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../deviation.js */
      "CcBx");
      /* harmony default export */


      __webpack_exports__["default"] = function (values, min, max) {
        return Math.ceil((max - min) / (3.5 * Object(_deviation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values) * Math.pow(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values), -1 / 3)));
      };
      /***/

    },

    /***/
    "YJZE": function YJZE(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _sourceEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./sourceEvent */
      "T9TN");
      /* harmony import */


      var _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./point */
      "8H8W");
      /* harmony default export */


      __webpack_exports__["default"] = function (node, touches, identifier) {
        if (arguments.length < 3) identifier = touches, touches = Object(_sourceEvent__WEBPACK_IMPORTED_MODULE_0__["default"])().changedTouches;

        for (var i = 0, n = touches ? touches.length : 0, touch; i < n; ++i) {
          if ((touch = touches[i]).identifier === identifier) {
            return Object(_point__WEBPACK_IMPORTED_MODULE_1__["default"])(node, touch);
          }
        }

        return null;
      };
      /***/

    },

    /***/
    "YO/N": function YON(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sunday", function () {
        return sunday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "monday", function () {
        return monday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tuesday", function () {
        return tuesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "wednesday", function () {
        return wednesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "thursday", function () {
        return thursday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "friday", function () {
        return friday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "saturday", function () {
        return saturday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sundays", function () {
        return sundays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "mondays", function () {
        return mondays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tuesdays", function () {
        return tuesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "wednesdays", function () {
        return wednesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "thursdays", function () {
        return thursdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "fridays", function () {
        return fridays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "saturdays", function () {
        return saturdays;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      function weekday(i) {
        return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
          date.setHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setDate(date.getDate() + step * 7);
        }, function (start, end) {
          return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
        });
      }

      var sunday = weekday(0);
      var monday = weekday(1);
      var tuesday = weekday(2);
      var wednesday = weekday(3);
      var thursday = weekday(4);
      var friday = weekday(5);
      var saturday = weekday(6);
      var sundays = sunday.range;
      var mondays = monday.range;
      var tuesdays = tuesday.range;
      var wednesdays = wednesday.range;
      var thursdays = thursday.range;
      var fridays = friday.range;
      var saturdays = saturday.range;
      /***/
    },

    /***/
    "YbCY": function YbCY(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function textRemove() {
        this.textContent = "";
      }

      function textConstant(value) {
        return function () {
          this.textContent = value;
        };
      }

      function textFunction(value) {
        return function () {
          var v = value.apply(this, arguments);
          this.textContent = v == null ? "" : v;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        return arguments.length ? this.each(value == null ? textRemove : (typeof value === "function" ? textFunction : textConstant)(value)) : this.node().textContent;
      };
      /***/

    },

    /***/
    "Yp+Y": function YpY(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _sourceEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./sourceEvent */
      "T9TN");
      /* harmony import */


      var _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./point */
      "8H8W");
      /* harmony default export */


      __webpack_exports__["default"] = function (node, touches) {
        if (touches == null) touches = Object(_sourceEvent__WEBPACK_IMPORTED_MODULE_0__["default"])().touches;

        for (var i = 0, n = touches ? touches.length : 0, points = new Array(n); i < n; ++i) {
          points[i] = Object(_point__WEBPACK_IMPORTED_MODULE_1__["default"])(node, touches[i]);
        }

        return points;
      };
      /***/

    },

    /***/
    "YrTO": function YrTO(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _interrupt_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./interrupt.js */
      "0xxc");
      /* harmony import */


      var _transition_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./transition.js */
      "2/3s");

      d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype.interrupt = _interrupt_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype.transition = _transition_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      /***/
    },

    /***/
    "YvDT": function YvDT(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "gray", function () {
        return gray;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return lab;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Lab", function () {
        return Lab;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "lch", function () {
        return lch;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hcl", function () {
        return hcl;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Hcl", function () {
        return Hcl;
      });
      /* harmony import */


      var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./define.js */
      "Y62N");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./color.js */
      "FmoU");
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./math.js */
      "Uwo/"); // https://observablehq.com/@mbostock/lab-and-rgb


      var K = 18,
          Xn = 0.96422,
          Yn = 1,
          Zn = 0.82521,
          t0 = 4 / 29,
          t1 = 6 / 29,
          t2 = 3 * t1 * t1,
          t3 = t1 * t1 * t1;

      function labConvert(o) {
        if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
        if (o instanceof Hcl) return hcl2lab(o);
        if (!(o instanceof _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"])) o = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["rgbConvert"])(o);
        var r = rgb2lrgb(o.r),
            g = rgb2lrgb(o.g),
            b = rgb2lrgb(o.b),
            y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn),
            x,
            z;
        if (r === g && g === b) x = z = y;else {
          x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);
          z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);
        }
        return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
      }

      function gray(l, opacity) {
        return new Lab(l, 0, 0, opacity == null ? 1 : opacity);
      }

      function lab(l, a, b, opacity) {
        return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
      }

      function Lab(l, a, b, opacity) {
        this.l = +l;
        this.a = +a;
        this.b = +b;
        this.opacity = +opacity;
      }

      Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Lab, lab, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(_color_js__WEBPACK_IMPORTED_MODULE_1__["Color"], {
        brighter: function brighter(k) {
          return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
        },
        darker: function darker(k) {
          return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
        },
        rgb: function rgb() {
          var y = (this.l + 16) / 116,
              x = isNaN(this.a) ? y : y + this.a / 500,
              z = isNaN(this.b) ? y : y - this.b / 200;
          x = Xn * lab2xyz(x);
          y = Yn * lab2xyz(y);
          z = Zn * lab2xyz(z);
          return new _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"](lrgb2rgb(3.1338561 * x - 1.6168667 * y - 0.4906146 * z), lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z), lrgb2rgb(0.0719453 * x - 0.2289914 * y + 1.4052427 * z), this.opacity);
        }
      }));

      function xyz2lab(t) {
        return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;
      }

      function lab2xyz(t) {
        return t > t1 ? t * t * t : t2 * (t - t0);
      }

      function lrgb2rgb(x) {
        return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);
      }

      function rgb2lrgb(x) {
        return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
      }

      function hclConvert(o) {
        if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
        if (!(o instanceof Lab)) o = labConvert(o);
        if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);

        var h = Math.atan2(o.b, o.a) * _math_js__WEBPACK_IMPORTED_MODULE_2__["rad2deg"];

        return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
      }

      function lch(l, c, h, opacity) {
        return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
      }

      function hcl(h, c, l, opacity) {
        return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
      }

      function Hcl(h, c, l, opacity) {
        this.h = +h;
        this.c = +c;
        this.l = +l;
        this.opacity = +opacity;
      }

      function hcl2lab(o) {
        if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
        var h = o.h * _math_js__WEBPACK_IMPORTED_MODULE_2__["deg2rad"];
        return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
      }

      Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hcl, hcl, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(_color_js__WEBPACK_IMPORTED_MODULE_1__["Color"], {
        brighter: function brighter(k) {
          return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
        },
        darker: function darker(k) {
          return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
        },
        rgb: function rgb() {
          return hcl2lab(this).rgb();
        }
      }));
      /***/
    },

    /***/
    "Z5Ne": function Z5Ne(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return intersection;
      });
      /* harmony import */


      var _set_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./set.js */
      "8XJe");

      function intersection(values) {
        for (var _len10 = arguments.length, others = new Array(_len10 > 1 ? _len10 - 1 : 0), _key12 = 1; _key12 < _len10; _key12++) {
          others[_key12 - 1] = arguments[_key12];
        }

        values = new Set(values);
        others = others.map(_set_js__WEBPACK_IMPORTED_MODULE_0__["default"]);

        var _iterator96 = _createForOfIteratorHelper(values),
            _step96;

        try {
          out: for (_iterator96.s(); !(_step96 = _iterator96.n()).done;) {
            var value = _step96.value;

            var _iterator97 = _createForOfIteratorHelper(others),
                _step97;

            try {
              for (_iterator97.s(); !(_step97 = _iterator97.n()).done;) {
                var other = _step97.value;

                if (!other.has(value)) {
                  values["delete"](value);
                  continue out;
                }
              }
            } catch (err) {
              _iterator97.e(err);
            } finally {
              _iterator97.f();
            }
          }
        } catch (err) {
          _iterator96.e(err);
        } finally {
          _iterator96.f();
        }

        return values;
      }
      /***/

    },

    /***/
    "ZQwz": function ZQwz(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-path */
      "83xM");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./constant.js */
      "2K37");
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./math.js */
      "CYYh");

      function arcInnerRadius(d) {
        return d.innerRadius;
      }

      function arcOuterRadius(d) {
        return d.outerRadius;
      }

      function arcStartAngle(d) {
        return d.startAngle;
      }

      function arcEndAngle(d) {
        return d.endAngle;
      }

      function arcPadAngle(d) {
        return d && d.padAngle; // Note: optional!
      }

      function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
        var x10 = x1 - x0,
            y10 = y1 - y0,
            x32 = x3 - x2,
            y32 = y3 - y2,
            t = y32 * x10 - x32 * y10;
        if (t * t < _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) return;
        t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;
        return [x0 + t * x10, y0 + t * y10];
      } // Compute perpendicular offset line of length rc.
      // http://mathworld.wolfram.com/Circle-LineIntersection.html


      function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
        var x01 = x0 - x1,
            y01 = y0 - y1,
            lo = (cw ? rc : -rc) / Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(x01 * x01 + y01 * y01),
            ox = lo * y01,
            oy = -lo * x01,
            x11 = x0 + ox,
            y11 = y0 + oy,
            x10 = x1 + ox,
            y10 = y1 + oy,
            x00 = (x11 + x10) / 2,
            y00 = (y11 + y10) / 2,
            dx = x10 - x11,
            dy = y10 - y11,
            d2 = dx * dx + dy * dy,
            r = r1 - rc,
            D = x11 * y10 - x10 * y11,
            d = (dy < 0 ? -1 : 1) * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["max"])(0, r * r * d2 - D * D)),
            cx0 = (D * dy - dx * d) / d2,
            cy0 = (-D * dx - dy * d) / d2,
            cx1 = (D * dy + dx * d) / d2,
            cy1 = (-D * dx + dy * d) / d2,
            dx0 = cx0 - x00,
            dy0 = cy0 - y00,
            dx1 = cx1 - x00,
            dy1 = cy1 - y00; // Pick the closer of the two intersection points.
        // TODO Is there a faster way to determine which intersection to use?

        if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;
        return {
          cx: cx0,
          cy: cy0,
          x01: -ox,
          y01: -oy,
          x11: cx0 * (r1 / r - 1),
          y11: cy0 * (r1 / r - 1)
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var innerRadius = arcInnerRadius,
            outerRadius = arcOuterRadius,
            cornerRadius = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0),
            padRadius = null,
            startAngle = arcStartAngle,
            endAngle = arcEndAngle,
            padAngle = arcPadAngle,
            context = null;

        function arc() {
          var buffer,
              r,
              r0 = +innerRadius.apply(this, arguments),
              r1 = +outerRadius.apply(this, arguments),
              a0 = startAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_2__["halfPi"],
              a1 = endAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_2__["halfPi"],
              da = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["abs"])(a1 - a0),
              cw = a1 > a0;

          if (!context) context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])(); // Ensure that the outer radius is always larger than the inner radius.

          if (r1 < r0) r = r1, r1 = r0, r0 = r; // Is it a point?

          if (!(r1 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"])) context.moveTo(0, 0); // Or is it a circle or annulus?
          else if (da > _math_js__WEBPACK_IMPORTED_MODULE_2__["tau"] - _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
            context.moveTo(r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a0), r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a0));
            context.arc(0, 0, r1, a0, a1, !cw);

            if (r0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
              context.moveTo(r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a1), r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a1));
              context.arc(0, 0, r0, a1, a0, cw);
            }
          } // Or is it a circular or annular sector?
          else {
            var a01 = a0,
                a11 = a1,
                a00 = a0,
                a10 = a1,
                da0 = da,
                da1 = da,
                ap = padAngle.apply(this, arguments) / 2,
                rp = ap > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"] && (padRadius ? +padRadius.apply(this, arguments) : Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(r0 * r0 + r1 * r1)),
                rc = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["min"])(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["abs"])(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),
                rc0 = rc,
                rc1 = rc,
                t0,
                t1; // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.

            if (rp > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
              var p0 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["asin"])(rp / r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(ap)),
                  p1 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["asin"])(rp / r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(ap));
              if ((da0 -= p0 * 2) > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) p0 *= cw ? 1 : -1, a00 += p0, a10 -= p0;else da0 = 0, a00 = a10 = (a0 + a1) / 2;
              if ((da1 -= p1 * 2) > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) p1 *= cw ? 1 : -1, a01 += p1, a11 -= p1;else da1 = 0, a01 = a11 = (a0 + a1) / 2;
            }

            var x01 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a01),
                y01 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a01),
                x10 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a10),
                y10 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a10); // Apply rounded corners?

            if (rc > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
              var x11 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a11),
                  y11 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a11),
                  x00 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a00),
                  y00 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a00),
                  oc; // Restrict the corner radius according to the sector angle.

              if (da < _math_js__WEBPACK_IMPORTED_MODULE_2__["pi"] && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {
                var ax = x01 - oc[0],
                    ay = y01 - oc[1],
                    bx = x11 - oc[0],
                    by = y11 - oc[1],
                    kc = 1 / Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["acos"])((ax * bx + ay * by) / (Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(ax * ax + ay * ay) * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(bx * bx + by * by))) / 2),
                    lc = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(oc[0] * oc[0] + oc[1] * oc[1]);
                rc0 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["min"])(rc, (r0 - lc) / (kc - 1));
                rc1 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["min"])(rc, (r1 - lc) / (kc + 1));
              }
            } // Is the sector collapsed to a line?


            if (!(da1 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"])) context.moveTo(x01, y01); // Does the sector’s outer ring have rounded corners?
            else if (rc1 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
              t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);
              t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);
              context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01); // Have the corners merged?

              if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw); // Otherwise, draw the two corners and the ring.
              else {
                context.arc(t0.cx, t0.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y11, t0.x11), !cw);
                context.arc(0, 0, r1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.cy + t0.y11, t0.cx + t0.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.cy + t1.y11, t1.cx + t1.x11), !cw);
                context.arc(t1.cx, t1.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y11, t1.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw);
              }
            } // Or is the outer ring just a circular arc?
            else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw); // Is there no inner ring, and it’s a circular sector?
            // Or perhaps it’s an annular sector collapsed due to padding?

            if (!(r0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) || !(da0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"])) context.lineTo(x10, y10); // Does the sector’s inner ring (or point) have rounded corners?
            else if (rc0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
              t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);
              t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);
              context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01); // Have the corners merged?

              if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw); // Otherwise, draw the two corners and the ring.
              else {
                context.arc(t0.cx, t0.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y11, t0.x11), !cw);
                context.arc(0, 0, r0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.cy + t0.y11, t0.cx + t0.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.cy + t1.y11, t1.cx + t1.x11), cw);
                context.arc(t1.cx, t1.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y11, t1.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw);
              }
            } // Or is the inner ring just a circular arc?
            else context.arc(0, 0, r0, a10, a00, cw);
          }
          context.closePath();
          if (buffer) return context = null, buffer + "" || null;
        }

        arc.centroid = function () {
          var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,
              a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - _math_js__WEBPACK_IMPORTED_MODULE_2__["pi"] / 2;
          return [Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a) * r, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a) * r];
        };

        arc.innerRadius = function (_) {
          return arguments.length ? (innerRadius = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : innerRadius;
        };

        arc.outerRadius = function (_) {
          return arguments.length ? (outerRadius = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : outerRadius;
        };

        arc.cornerRadius = function (_) {
          return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : cornerRadius;
        };

        arc.padRadius = function (_) {
          return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : padRadius;
        };

        arc.startAngle = function (_) {
          return arguments.length ? (startAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : startAngle;
        };

        arc.endAngle = function (_) {
          return arguments.length ? (endAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : endAngle;
        };

        arc.padAngle = function (_) {
          return arguments.length ? (padAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : padAngle;
        };

        arc.context = function (_) {
          return arguments.length ? (context = _ == null ? null : _, arc) : context;
        };

        return arc;
      };
      /***/

    },

    /***/
    "ZRP+": function ZRP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "linear", function () {
        return linear;
      });

      function linear(t) {
        return +t;
      }
      /***/

    },

    /***/
    "ZzDG": function ZzDG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "genericArray", function () {
        return genericArray;
      });
      /* harmony import */


      var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./value.js */
      "6h3Y");
      /* harmony import */


      var _numberArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./numberArray.js */
      "Ud7J");
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        return (Object(_numberArray_js__WEBPACK_IMPORTED_MODULE_1__["isNumberArray"])(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_1__["default"] : genericArray)(a, b);
      };

      function genericArray(a, b) {
        var nb = b ? b.length : 0,
            na = a ? Math.min(nb, a.length) : 0,
            x = new Array(na),
            c = new Array(nb),
            i;

        for (i = 0; i < na; ++i) {
          x[i] = Object(_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[i], b[i]);
        }

        for (; i < nb; ++i) {
          c[i] = b[i];
        }

        return function (t) {
          for (i = 0; i < na; ++i) {
            c[i] = x[i](t);
          }

          return c;
        };
      }
      /***/

    },

    /***/
    "a8tM": function a8tM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return hierarchy;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "computeHeight", function () {
        return computeHeight;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Node", function () {
        return Node;
      });
      /* harmony import */


      var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./count.js */
      "3pBD");
      /* harmony import */


      var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./each.js */
      "6x6I");
      /* harmony import */


      var _eachBefore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./eachBefore.js */
      "PYcf");
      /* harmony import */


      var _eachAfter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./eachAfter.js */
      "njJa");
      /* harmony import */


      var _sum_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./sum.js */
      "bJAQ");
      /* harmony import */


      var _sort_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./sort.js */
      "umZI");
      /* harmony import */


      var _path_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./path.js */
      "J27/");
      /* harmony import */


      var _ancestors_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./ancestors.js */
      "S/r+");
      /* harmony import */


      var _descendants_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./descendants.js */
      "+Tjx");
      /* harmony import */


      var _leaves_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./leaves.js */
      "v/rI");
      /* harmony import */


      var _links_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./links.js */
      "SgsU");

      function hierarchy(data, children) {
        var root = new Node(data),
            valued = +data.value && (root.value = data.value),
            node,
            nodes = [root],
            child,
            childs,
            i,
            n;
        if (children == null) children = defaultChildren;

        while (node = nodes.pop()) {
          if (valued) node.value = +node.data.value;

          if ((childs = children(node.data)) && (n = childs.length)) {
            node.children = new Array(n);

            for (i = n - 1; i >= 0; --i) {
              nodes.push(child = node.children[i] = new Node(childs[i]));
              child.parent = node;
              child.depth = node.depth + 1;
            }
          }
        }

        return root.eachBefore(computeHeight);
      }

      function node_copy() {
        return hierarchy(this).eachBefore(copyData);
      }

      function defaultChildren(d) {
        return d.children;
      }

      function copyData(node) {
        node.data = node.data.data;
      }

      function computeHeight(node) {
        var height = 0;

        do {
          node.height = height;
        } while ((node = node.parent) && node.height < ++height);
      }

      function Node(data) {
        this.data = data;
        this.depth = this.height = 0;
        this.parent = null;
      }

      Node.prototype = hierarchy.prototype = {
        constructor: Node,
        count: _count_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        each: _each_js__WEBPACK_IMPORTED_MODULE_1__["default"],
        eachAfter: _eachAfter_js__WEBPACK_IMPORTED_MODULE_3__["default"],
        eachBefore: _eachBefore_js__WEBPACK_IMPORTED_MODULE_2__["default"],
        sum: _sum_js__WEBPACK_IMPORTED_MODULE_4__["default"],
        sort: _sort_js__WEBPACK_IMPORTED_MODULE_5__["default"],
        path: _path_js__WEBPACK_IMPORTED_MODULE_6__["default"],
        ancestors: _ancestors_js__WEBPACK_IMPORTED_MODULE_7__["default"],
        descendants: _descendants_js__WEBPACK_IMPORTED_MODULE_8__["default"],
        leaves: _leaves_js__WEBPACK_IMPORTED_MODULE_9__["default"],
        links: _links_js__WEBPACK_IMPORTED_MODULE_10__["default"],
        copy: node_copy
      };
      /***/
    },

    /***/
    "aNk7": function aNk7(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");

      function start(name) {
        return (name + "").trim().split(/^|\s+/).every(function (t) {
          var i = t.indexOf(".");
          if (i >= 0) t = t.slice(0, i);
          return !t || t === "start";
        });
      }

      function onFunction(id, name, listener) {
        var on0,
            on1,
            sit = start(name) ? _schedule_js__WEBPACK_IMPORTED_MODULE_0__["init"] : _schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"];
        return function () {
          var schedule = sit(this, id),
              on = schedule.on; // If this node shared a dispatch with the previous node,
          // just assign the updated shared dispatch and we’re done!
          // Otherwise, copy-on-write.

          if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);
          schedule.on = on1;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, listener) {
        var id = this._id;
        return arguments.length < 2 ? Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).on.on(name) : this.each(onFunction(id, name, listener));
      };
      /***/

    },

    /***/
    "aY1w": function aY1w(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (update) {
        return new Array(update.length);
      };
      /***/

    },

    /***/
    "aw+z": function awZ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return threshold;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function threshold() {
        var domain = [0.5],
            range = [0, 1],
            unknown,
            n = 1;

        function scale(x) {
          return x != null && x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
        }

        scale.domain = function (_) {
          return arguments.length ? (domain = Array.from(_), n = Math.min(domain.length, range.length - 1), scale) : domain.slice();
        };

        scale.range = function (_) {
          return arguments.length ? (range = Array.from(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice();
        };

        scale.invertExtent = function (y) {
          var i = range.indexOf(y);
          return [domain[i - 1], domain[i]];
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        scale.copy = function () {
          return threshold().domain(domain).range(range).unknown(unknown);
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(scale, arguments);
      }
      /***/

    },

    /***/
    "b9Oj": function b9Oj(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function none() {}
      /* harmony default export */


      __webpack_exports__["default"] = function (selector) {
        return selector == null ? none : function () {
          return this.querySelector(selector);
        };
      };
      /***/

    },

    /***/
    "bJAQ": function bJAQ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        return this.eachAfter(function (node) {
          var sum = +value(node.data) || 0,
              children = node.children,
              i = children && children.length;

          while (--i >= 0) {
            sum += children[i].value;
          }

          node.value = sum;
        });
      };
      /***/

    },

    /***/
    "bNSl": function bNSl(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _namespaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./namespaces */
      "4xGt");
      /* harmony default export */


      __webpack_exports__["default"] = function (name) {
        var prefix = name += "",
            i = prefix.indexOf(":");
        if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1);
        return _namespaces__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProperty(prefix) ? {
          space: _namespaces__WEBPACK_IMPORTED_MODULE_0__["default"][prefix],
          local: name
        } : name;
      };
      /***/

    },

    /***/
    "bcaG": function bcaG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return nice;
      });

      function nice(domain, interval) {
        domain = domain.slice();
        var i0 = 0,
            i1 = domain.length - 1,
            x0 = domain[i0],
            x1 = domain[i1],
            t;

        if (x1 < x0) {
          t = i0, i0 = i1, i1 = t;
          t = x0, x0 = x1, x1 = t;
        }

        domain[i0] = interval.floor(x0);
        domain[i1] = interval.ceil(x1);
        return domain;
      }
      /***/

    },

    /***/
    "brLB": function brLB(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcDays", function () {
        return utcDays;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var utcDay = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCDate(date.getUTCDate() + step);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
      }, function (date) {
        return date.getUTCDate() - 1;
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcDay;
      var utcDays = utcDay.range;
      /***/
    },

    /***/
    "cKk/": function cKk(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");

      var Selection = d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype.constructor;
      /* harmony default export */

      __webpack_exports__["default"] = function () {
        return new Selection(this._groups, this._parents);
      };
      /***/

    },

    /***/
    "cNgm": function cNgm(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hslLong", function () {
        return hslLong;
      });
      /* harmony import */


      var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-color */
      "SC+/");
      /* harmony import */


      var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./color.js */
      "sFV2");

      function hsl(hue) {
        return function (start, end) {
          var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hsl"])(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hsl"])(end)).h),
              s = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s),
              l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
              opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
          return function (t) {
            start.h = h(t);
            start.s = s(t);
            start.l = l(t);
            start.opacity = opacity(t);
            return start + "";
          };
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__["hue"]);
      var hslLong = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
      /***/
    },

    /***/
    "cOGN": function cOGN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./defaultLocale.js */
      "TCOF");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFormatDefaultLocale", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFormat", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["timeFormat"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeParse", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["timeParse"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcFormat", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["utcFormat"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcParse", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["utcParse"];
      });
      /* harmony import */


      var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./locale.js */
      "pZEX");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFormatLocale", function () {
        return _locale_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./isoFormat.js */
      "v7Le");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "isoFormat", function () {
        return _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _isoParse_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./isoParse.js */
      "oMw+");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "isoParse", function () {
        return _isoParse_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /***/

    },

    /***/
    "cb2h": function cb2h(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./value.js */
      "6h3Y");
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        var i = {},
            c = {},
            k;
        if (a === null || typeof a !== "object") a = {};
        if (b === null || typeof b !== "object") b = {};

        for (k in b) {
          if (k in a) {
            i[k] = Object(_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[k], b[k]);
          } else {
            c[k] = b[k];
          }
        }

        return function (t) {
          for (k in i) {
            c[k] = i[k](t);
          }

          return c;
        };
      };
      /***/

    },

    /***/
    "cdIC": function cdIC(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "nopropagation", function () {
        return nopropagation;
      });
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");

      function nopropagation() {
        d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].preventDefault();
        d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
      };
      /***/

    },

    /***/
    "cexm": function cexm(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcDays", function () {
        return utcDays;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var utcDay = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCDate(date.getUTCDate() + step);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
      }, function (date) {
        return date.getUTCDate() - 1;
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcDay;
      var utcDays = utcDay.range;
      /***/
    },

    /***/
    "cmp4": function cmp4(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return quantile;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function quantile() {
        var domain = [],
            range = [],
            thresholds = [],
            unknown;

        function rescale() {
          var i = 0,
              n = Math.max(1, range.length);
          thresholds = new Array(n - 1);

          while (++i < n) {
            thresholds[i - 1] = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["quantileSorted"])(domain, i / n);
          }

          return scale;
        }

        function scale(x) {
          return x == null || isNaN(x = +x) ? unknown : range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(thresholds, x)];
        }

        scale.invertExtent = function (y) {
          var i = range.indexOf(y);
          return i < 0 ? [NaN, NaN] : [i > 0 ? thresholds[i - 1] : domain[0], i < thresholds.length ? thresholds[i] : domain[domain.length - 1]];
        };

        scale.domain = function (_) {
          if (!arguments.length) return domain.slice();
          domain = [];

          var _iterator98 = _createForOfIteratorHelper(_),
              _step98;

          try {
            for (_iterator98.s(); !(_step98 = _iterator98.n()).done;) {
              var d = _step98.value;
              if (d != null && !isNaN(d = +d)) domain.push(d);
            }
          } catch (err) {
            _iterator98.e(err);
          } finally {
            _iterator98.f();
          }

          domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_0__["ascending"]);
          return rescale();
        };

        scale.range = function (_) {
          return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        scale.quantiles = function () {
          return thresholds.slice();
        };

        scale.copy = function () {
          return quantile().domain(domain).range(range).unknown(unknown);
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(scale, arguments);
      }
      /***/

    },

    /***/
    "cpNG": function cpNG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hours", function () {
        return hours;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var hour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"] - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
      }, function (date) {
        return date.getHours();
      });
      /* harmony default export */

      __webpack_exports__["default"] = hour;
      var hours = hour.range;
      /***/
    },

    /***/
    "cvkC": function cvkC(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return maxIndex;
      });

      function maxIndex(values, valueof) {
        var max;
        var maxIndex = -1;
        var index = -1;

        if (valueof === undefined) {
          var _iterator99 = _createForOfIteratorHelper(values),
              _step99;

          try {
            for (_iterator99.s(); !(_step99 = _iterator99.n()).done;) {
              var value = _step99.value;
              ++index;

              if (value != null && (max < value || max === undefined && value >= value)) {
                max = value, maxIndex = index;
              }
            }
          } catch (err) {
            _iterator99.e(err);
          } finally {
            _iterator99.f();
          }
        } else {
          var _iterator100 = _createForOfIteratorHelper(values),
              _step100;

          try {
            for (_iterator100.s(); !(_step100 = _iterator100.n()).done;) {
              var _value7 = _step100.value;

              if ((_value7 = valueof(_value7, ++index, values)) != null && (max < _value7 || max === undefined && _value7 >= _value7)) {
                max = _value7, maxIndex = index;
              }
            }
          } catch (err) {
            _iterator100.e(err);
          } finally {
            _iterator100.f();
          }
        }

        return maxIndex;
      }
      /***/

    },

    /***/
    "cyYV": function cyYV(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./min.js */
      "mrVq");
      /* harmony default export */


      __webpack_exports__["default"] = function (matrix) {
        if (!(n = matrix.length)) return [];

        for (var i = -1, m = Object(_min_js__WEBPACK_IMPORTED_MODULE_0__["default"])(matrix, length), transpose = new Array(m); ++i < m;) {
          for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {
            row[j] = matrix[j][i];
          }
        }

        return transpose;
      };

      function length(d) {
        return d.length;
      }
      /***/

    },

    /***/
    "d4SJ": function d4SJ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./basis.js */
      "jICm");

      function Bundle(context, beta) {
        this._basis = new _basis_js__WEBPACK_IMPORTED_MODULE_0__["Basis"](context);
        this._beta = beta;
      }

      Bundle.prototype = {
        lineStart: function lineStart() {
          this._x = [];
          this._y = [];

          this._basis.lineStart();
        },
        lineEnd: function lineEnd() {
          var x = this._x,
              y = this._y,
              j = x.length - 1;

          if (j > 0) {
            var x0 = x[0],
                y0 = y[0],
                dx = x[j] - x0,
                dy = y[j] - y0,
                i = -1,
                t;

            while (++i <= j) {
              t = i / j;

              this._basis.point(this._beta * x[i] + (1 - this._beta) * (x0 + t * dx), this._beta * y[i] + (1 - this._beta) * (y0 + t * dy));
            }
          }

          this._x = this._y = null;

          this._basis.lineEnd();
        },
        point: function point(x, y) {
          this._x.push(+x);

          this._y.push(+y);
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(beta) {
        function bundle(context) {
          return beta === 1 ? new _basis_js__WEBPACK_IMPORTED_MODULE_0__["Basis"](context) : new Bundle(context, beta);
        }

        bundle.beta = function (beta) {
          return custom(+beta);
        };

        return bundle;
      }(0.85);
      /***/

    },

    /***/
    "d5JU": function d5JU(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "point", function () {
        return _point2;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Cardinal", function () {
        return Cardinal;
      });

      function _point2(that, x, y) {
        that._context.bezierCurveTo(that._x1 + that._k * (that._x2 - that._x0), that._y1 + that._k * (that._y2 - that._y0), that._x2 + that._k * (that._x1 - x), that._y2 + that._k * (that._y1 - y), that._x2, that._y2);
      }

      function Cardinal(context, tension) {
        this._context = context;
        this._k = (1 - tension) / 6;
      }

      Cardinal.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 2:
              this._context.lineTo(this._x2, this._y2);

              break;

            case 3:
              _point2(this, this._x1, this._y1);

              break;
          }

          if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
              break;

            case 1:
              this._point = 2;
              this._x1 = x, this._y1 = y;
              break;

            case 2:
              this._point = 3;
            // proceed

            default:
              _point2(this, x, y);

              break;
          }

          this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
          this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(tension) {
        function cardinal(context) {
          return new Cardinal(context, tension);
        }

        cardinal.tension = function (tension) {
          return custom(+tension);
        };

        return cardinal;
      }(0);
      /***/

    },

    /***/
    "d65L": function d65L(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcYears", function () {
        return utcYears;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");

      var utcYear = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCMonth(0, 1);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCFullYear(date.getUTCFullYear() + step);
      }, function (start, end) {
        return end.getUTCFullYear() - start.getUTCFullYear();
      }, function (date) {
        return date.getUTCFullYear();
      }); // An optimized implementation for this simple case.

      utcYear.every = function (k) {
        return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
          date.setUTCMonth(0, 1);
          date.setUTCHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setUTCFullYear(date.getUTCFullYear() + step * k);
        });
      };
      /* harmony default export */


      __webpack_exports__["default"] = utcYear;
      var utcYears = utcYear.range;
      /***/
    },

    /***/
    "dCyY": function dCyY(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "days", function () {
        return days;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var day = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setDate(date.getDate() + step);
      }, function (start, end) {
        return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
      }, function (date) {
        return date.getDate() - 1;
      });
      /* harmony default export */

      __webpack_exports__["default"] = day;
      var days = day.range;
      /***/
    },

    /***/
    "dPRQ": function dPRQ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "now", function () {
        return now;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Timer", function () {
        return Timer;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "timer", function () {
        return timer;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "timerFlush", function () {
        return timerFlush;
      });

      var frame = 0,
          // is an animation frame pending?
      timeout = 0,
          // is a timeout pending?
      interval = 0,
          // are any timers active?
      pokeDelay = 1000,
          // how frequently we check for clock skew
      taskHead,
          taskTail,
          clockLast = 0,
          clockNow = 0,
          clockSkew = 0,
          clock = typeof performance === "object" && performance.now ? performance : Date,
          setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f) {
        setTimeout(f, 17);
      };

      function now() {
        return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);
      }

      function clearNow() {
        clockNow = 0;
      }

      function Timer() {
        this._call = this._time = this._next = null;
      }

      Timer.prototype = timer.prototype = {
        constructor: Timer,
        restart: function restart(callback, delay, time) {
          if (typeof callback !== "function") throw new TypeError("callback is not a function");
          time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);

          if (!this._next && taskTail !== this) {
            if (taskTail) taskTail._next = this;else taskHead = this;
            taskTail = this;
          }

          this._call = callback;
          this._time = time;
          sleep();
        },
        stop: function stop() {
          if (this._call) {
            this._call = null;
            this._time = Infinity;
            sleep();
          }
        }
      };

      function timer(callback, delay, time) {
        var t = new Timer();
        t.restart(callback, delay, time);
        return t;
      }

      function timerFlush() {
        now(); // Get the current time, if not already set.

        ++frame; // Pretend we’ve set an alarm, if we haven’t already.

        var t = taskHead,
            e;

        while (t) {
          if ((e = clockNow - t._time) >= 0) t._call.call(null, e);
          t = t._next;
        }

        --frame;
      }

      function wake() {
        clockNow = (clockLast = clock.now()) + clockSkew;
        frame = timeout = 0;

        try {
          timerFlush();
        } finally {
          frame = 0;
          nap();
          clockNow = 0;
        }
      }

      function poke() {
        var now = clock.now(),
            delay = now - clockLast;
        if (delay > pokeDelay) clockSkew -= delay, clockLast = now;
      }

      function nap() {
        var t0,
            t1 = taskHead,
            t2,
            time = Infinity;

        while (t1) {
          if (t1._call) {
            if (time > t1._time) time = t1._time;
            t0 = t1, t1 = t1._next;
          } else {
            t2 = t1._next, t1._next = null;
            t1 = t0 ? t0._next = t2 : taskHead = t2;
          }
        }

        taskTail = t0;
        sleep(time);
      }

      function sleep(time) {
        if (frame) return; // Soonest alarm already set, or will be.

        if (timeout) timeout = clearTimeout(timeout);
        var delay = time - clockNow; // Strictly less than if we recomputed clockNow.

        if (delay > 24) {
          if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);
          if (interval) interval = clearInterval(interval);
        } else {
          if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);
          frame = 1, setFrame(wake);
        }
      }
      /***/

    },

    /***/
    "dW/k": function dWK(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./transition/schedule.js */
      "rtYu");
      /* harmony default export */


      __webpack_exports__["default"] = function (node, name) {
        var schedules = node.__transition,
            schedule,
            active,
            empty = true,
            i;
        if (!schedules) return;
        name = name == null ? null : name + "";

        for (i in schedules) {
          if ((schedule = schedules[i]).name !== name) {
            empty = false;
            continue;
          }

          active = schedule.state > _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__["STARTING"] && schedule.state < _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__["ENDING"];
          schedule.state = _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__["ENDED"];
          schedule.timer.stop();
          schedule.on.call(active ? "interrupt" : "cancel", node, node.__data__, schedule.index, schedule.group);
          delete schedules[i];
        }

        if (empty) delete node.__transition;
      };
      /***/

    },

    /***/
    "e9ab": function e9ab(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "stepBefore", function () {
        return stepBefore;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "stepAfter", function () {
        return stepAfter;
      });

      function Step(context, t) {
        this._context = context;
        this._t = t;
      }

      Step.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x = this._y = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);
          if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
          if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
              break;

            case 1:
              this._point = 2;
            // proceed

            default:
              {
                if (this._t <= 0) {
                  this._context.lineTo(this._x, y);

                  this._context.lineTo(x, y);
                } else {
                  var x1 = this._x * (1 - this._t) + x * this._t;

                  this._context.lineTo(x1, this._y);

                  this._context.lineTo(x1, y);
                }

                break;
              }
          }

          this._x = x, this._y = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (context) {
        return new Step(context, 0.5);
      };

      function stepBefore(context) {
        return new Step(context, 0);
      }

      function stepAfter(context) {
        return new Step(context, 1);
      }
      /***/

    },

    /***/
    "eFZf": function eFZf(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "minutes", function () {
        return minutes;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var minute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
      }, function (date) {
        return date.getMinutes();
      });
      /* harmony default export */

      __webpack_exports__["default"] = minute;
      var minutes = minute.range;
      /***/
    },

    /***/
    "eJvb": function eJvb(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "powish", function () {
        return powish;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return pow;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sqrt", function () {
        return sqrt;
      });
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function transformPow(exponent) {
        return function (x) {
          return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent);
        };
      }

      function transformSqrt(x) {
        return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x);
      }

      function transformSquare(x) {
        return x < 0 ? -x * x : x * x;
      }

      function powish(transform) {
        var scale = transform(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"], _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]),
            exponent = 1;

        function rescale() {
          return exponent === 1 ? transform(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"], _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]) : exponent === 0.5 ? transform(transformSqrt, transformSquare) : transform(transformPow(exponent), transformPow(1 / exponent));
        }

        scale.exponent = function (_) {
          return arguments.length ? (exponent = +_, rescale()) : exponent;
        };

        return Object(_linear_js__WEBPACK_IMPORTED_MODULE_0__["linearish"])(scale);
      }

      function pow() {
        var scale = powish(Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["transformer"])());

        scale.copy = function () {
          return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["copy"])(scale, pow()).exponent(scale.exponent());
        };

        _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(scale, arguments);

        return scale;
      }

      function sqrt() {
        return pow.apply(null, arguments).exponent(0.5);
      }
      /***/

    },

    /***/
    "f4CH": function f4CH(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return quantize;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function quantize() {
        var x0 = 0,
            x1 = 1,
            n = 1,
            domain = [0.5],
            range = [0, 1],
            unknown;

        function scale(x) {
          return x != null && x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
        }

        function rescale() {
          var i = -1;
          domain = new Array(n);

          while (++i < n) {
            domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1);
          }

          return scale;
        }

        scale.domain = function (_) {
          var _ref61, _ref62;

          return arguments.length ? ((_ref61 = _, _ref62 = _slicedToArray(_ref61, 2), x0 = _ref62[0], x1 = _ref62[1], _ref61), x0 = +x0, x1 = +x1, rescale()) : [x0, x1];
        };

        scale.range = function (_) {
          return arguments.length ? (n = (range = Array.from(_)).length - 1, rescale()) : range.slice();
        };

        scale.invertExtent = function (y) {
          var i = range.indexOf(y);
          return i < 0 ? [NaN, NaN] : i < 1 ? [x0, domain[0]] : i >= n ? [domain[n - 1], x1] : [domain[i - 1], domain[i]];
        };

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : scale;
        };

        scale.thresholds = function () {
          return domain.slice();
        };

        scale.copy = function () {
          return quantize().domain([x0, x1]).range(range).unknown(unknown);
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(Object(_linear_js__WEBPACK_IMPORTED_MODULE_1__["linearish"])(scale), arguments);
      }
      /***/

    },

    /***/
    "fAVw": function fAVw(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return union;
      });

      function union() {
        var set = new Set();

        for (var _len11 = arguments.length, others = new Array(_len11), _key13 = 0; _key13 < _len11; _key13++) {
          others[_key13] = arguments[_key13];
        }

        for (var _i4 = 0, _others2 = others; _i4 < _others2.length; _i4++) {
          var other = _others2[_i4];

          var _iterator101 = _createForOfIteratorHelper(other),
              _step101;

          try {
            for (_iterator101.s(); !(_step101 = _iterator101.n()).done;) {
              var o = _step101.value;
              set.add(o);
            }
          } catch (err) {
            _iterator101.e(err);
          } finally {
            _iterator101.f();
          }
        }

        return set;
      }
      /***/

    },

    /***/
    "gj+k": function gjK(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return max;
      });

      function max(values, valueof) {
        var max;

        if (valueof === undefined) {
          var _iterator102 = _createForOfIteratorHelper(values),
              _step102;

          try {
            for (_iterator102.s(); !(_step102 = _iterator102.n()).done;) {
              var value = _step102.value;

              if (value != null && (max < value || max === undefined && value >= value)) {
                max = value;
              }
            }
          } catch (err) {
            _iterator102.e(err);
          } finally {
            _iterator102.f();
          }
        } else {
          var index = -1;

          var _iterator103 = _createForOfIteratorHelper(values),
              _step103;

          try {
            for (_iterator103.s(); !(_step103 = _iterator103.n()).done;) {
              var _value8 = _step103.value;

              if ((_value8 = valueof(_value8, ++index, values)) != null && (max < _value8 || max === undefined && _value8 >= _value8)) {
                max = _value8;
              }
            }
          } catch (err) {
            _iterator103.e(err);
          } finally {
            _iterator103.f();
          }
        }

        return max;
      }
      /***/

    },

    /***/
    "gqw6": function gqw6(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "slice", function () {
        return slice;
      });

      var slice = Array.prototype.slice;
      /***/
    },

    /***/
    "gwhR": function gwhR(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
        return utcMonths;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");

      var utcMonth = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCDate(1);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCMonth(date.getUTCMonth() + step);
      }, function (start, end) {
        return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
      }, function (date) {
        return date.getUTCMonth();
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcMonth;
      var utcMonths = utcMonth.range;
      /***/
    },

    /***/
    "h8nK": function h8nK(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "bisectRight", function () {
        return bisectRight;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "bisectLeft", function () {
        return bisectLeft;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "bisectCenter", function () {
        return bisectCenter;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony import */


      var _bisector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./bisector.js */
      "Ki0a");
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./number.js */
      "CiDq");

      var ascendingBisect = Object(_bisector_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
      var bisectRight = ascendingBisect.right;
      var bisectLeft = ascendingBisect.left;
      var bisectCenter = Object(_bisector_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_number_js__WEBPACK_IMPORTED_MODULE_2__["default"]).center;
      /* harmony default export */

      __webpack_exports__["default"] = bisectRight;
      /***/
    },

    /***/
    "hTZz": function hTZz(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "brushSelection", function () {
        return brushSelection;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "brushX", function () {
        return brushX;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "brushY", function () {
        return brushY;
      });
      /* harmony import */


      var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-dispatch */
      "30U6");
      /* harmony import */


      var d3_drag__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-drag */
      "q+nN");
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var d3_transition__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! d3-transition */
      "sQjb");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./constant.js */
      "qKDy");
      /* harmony import */


      var _event_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./event.js */
      "X7tT");
      /* harmony import */


      var _noevent_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./noevent.js */
      "oZiN");

      var MODE_DRAG = {
        name: "drag"
      },
          MODE_SPACE = {
        name: "space"
      },
          MODE_HANDLE = {
        name: "handle"
      },
          MODE_CENTER = {
        name: "center"
      };

      function number1(e) {
        return [+e[0], +e[1]];
      }

      function number2(e) {
        return [number1(e[0]), number1(e[1])];
      }

      function toucher(identifier) {
        return function (target) {
          return Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["touch"])(target, d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches, identifier);
        };
      }

      var X = {
        name: "x",
        handles: ["w", "e"].map(type),
        input: function input(x, e) {
          return x == null ? null : [[+x[0], e[0][1]], [+x[1], e[1][1]]];
        },
        output: function output(xy) {
          return xy && [xy[0][0], xy[1][0]];
        }
      };
      var Y = {
        name: "y",
        handles: ["n", "s"].map(type),
        input: function input(y, e) {
          return y == null ? null : [[e[0][0], +y[0]], [e[1][0], +y[1]]];
        },
        output: function output(xy) {
          return xy && [xy[0][1], xy[1][1]];
        }
      };
      var XY = {
        name: "xy",
        handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(type),
        input: function input(xy) {
          return xy == null ? null : number2(xy);
        },
        output: function output(xy) {
          return xy;
        }
      };
      var cursors = {
        overlay: "crosshair",
        selection: "move",
        n: "ns-resize",
        e: "ew-resize",
        s: "ns-resize",
        w: "ew-resize",
        nw: "nwse-resize",
        ne: "nesw-resize",
        se: "nwse-resize",
        sw: "nesw-resize"
      };
      var flipX = {
        e: "w",
        w: "e",
        nw: "ne",
        ne: "nw",
        se: "sw",
        sw: "se"
      };
      var flipY = {
        n: "s",
        s: "n",
        nw: "sw",
        ne: "se",
        se: "ne",
        sw: "nw"
      };
      var signsX = {
        overlay: +1,
        selection: +1,
        n: null,
        e: +1,
        s: null,
        w: -1,
        nw: -1,
        ne: +1,
        se: +1,
        sw: -1
      };
      var signsY = {
        overlay: +1,
        selection: +1,
        n: -1,
        e: null,
        s: +1,
        w: null,
        nw: -1,
        ne: -1,
        se: +1,
        sw: +1
      };

      function type(t) {
        return {
          type: t
        };
      } // Ignore right-click, since that should open the context menu.


      function defaultFilter() {
        return !d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].ctrlKey && !d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].button;
      }

      function defaultExtent() {
        var svg = this.ownerSVGElement || this;

        if (svg.hasAttribute("viewBox")) {
          svg = svg.viewBox.baseVal;
          return [[svg.x, svg.y], [svg.x + svg.width, svg.y + svg.height]];
        }

        return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]];
      }

      function defaultTouchable() {
        return navigator.maxTouchPoints || "ontouchstart" in this;
      } // Like d3.local, but with the name “__brush” rather than auto-generated.


      function local(node) {
        while (!node.__brush) {
          if (!(node = node.parentNode)) return;
        }

        return node.__brush;
      }

      function empty(extent) {
        return extent[0][0] === extent[1][0] || extent[0][1] === extent[1][1];
      }

      function brushSelection(node) {
        var state = node.__brush;
        return state ? state.dim.output(state.selection) : null;
      }

      function brushX() {
        return brush(X);
      }

      function brushY() {
        return brush(Y);
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return brush(XY);
      };

      function brush(dim) {
        var extent = defaultExtent,
            filter = defaultFilter,
            touchable = defaultTouchable,
            keys = true,
            listeners = Object(d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["dispatch"])("start", "brush", "end"),
            handleSize = 6,
            touchending;

        function brush(group) {
          var overlay = group.property("__brush", initialize).selectAll(".overlay").data([type("overlay")]);
          overlay.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", cursors.overlay).merge(overlay).each(function () {
            var extent = local(this).extent;
            Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(this).attr("x", extent[0][0]).attr("y", extent[0][1]).attr("width", extent[1][0] - extent[0][0]).attr("height", extent[1][1] - extent[0][1]);
          });
          group.selectAll(".selection").data([type("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", cursors.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
          var handle = group.selectAll(".handle").data(dim.handles, function (d) {
            return d.type;
          });
          handle.exit().remove();
          handle.enter().append("rect").attr("class", function (d) {
            return "handle handle--" + d.type;
          }).attr("cursor", function (d) {
            return cursors[d.type];
          });
          group.each(redraw).attr("fill", "none").attr("pointer-events", "all").on("mousedown.brush", started).filter(touchable).on("touchstart.brush", started).on("touchmove.brush", touchmoved).on("touchend.brush touchcancel.brush", touchended).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
        }

        brush.move = function (group, selection) {
          if (group.selection) {
            group.on("start.brush", function () {
              emitter(this, arguments).beforestart().start();
            }).on("interrupt.brush end.brush", function () {
              emitter(this, arguments).end();
            }).tween("brush", function () {
              var that = this,
                  state = that.__brush,
                  emit = emitter(that, arguments),
                  selection0 = state.selection,
                  selection1 = dim.input(typeof selection === "function" ? selection.apply(this, arguments) : selection, state.extent),
                  i = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["interpolate"])(selection0, selection1);

              function tween(t) {
                state.selection = t === 1 && selection1 === null ? null : i(t);
                redraw.call(that);
                emit.brush();
              }

              return selection0 !== null && selection1 !== null ? tween : tween(1);
            });
          } else {
            group.each(function () {
              var that = this,
                  args = arguments,
                  state = that.__brush,
                  selection1 = dim.input(typeof selection === "function" ? selection.apply(that, args) : selection, state.extent),
                  emit = emitter(that, args).beforestart();
              Object(d3_transition__WEBPACK_IMPORTED_MODULE_4__["interrupt"])(that);
              state.selection = selection1 === null ? null : selection1;
              redraw.call(that);
              emit.start().brush().end();
            });
          }
        };

        brush.clear = function (group) {
          brush.move(group, null);
        };

        function redraw() {
          var group = Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(this),
              selection = local(this).selection;

          if (selection) {
            group.selectAll(".selection").style("display", null).attr("x", selection[0][0]).attr("y", selection[0][1]).attr("width", selection[1][0] - selection[0][0]).attr("height", selection[1][1] - selection[0][1]);
            group.selectAll(".handle").style("display", null).attr("x", function (d) {
              return d.type[d.type.length - 1] === "e" ? selection[1][0] - handleSize / 2 : selection[0][0] - handleSize / 2;
            }).attr("y", function (d) {
              return d.type[0] === "s" ? selection[1][1] - handleSize / 2 : selection[0][1] - handleSize / 2;
            }).attr("width", function (d) {
              return d.type === "n" || d.type === "s" ? selection[1][0] - selection[0][0] + handleSize : handleSize;
            }).attr("height", function (d) {
              return d.type === "e" || d.type === "w" ? selection[1][1] - selection[0][1] + handleSize : handleSize;
            });
          } else {
            group.selectAll(".selection,.handle").style("display", "none").attr("x", null).attr("y", null).attr("width", null).attr("height", null);
          }
        }

        function emitter(that, args, clean) {
          var emit = that.__brush.emitter;
          return emit && (!clean || !emit.clean) ? emit : new Emitter(that, args, clean);
        }

        function Emitter(that, args, clean) {
          this.that = that;
          this.args = args;
          this.state = that.__brush;
          this.active = 0;
          this.clean = clean;
        }

        Emitter.prototype = {
          beforestart: function beforestart() {
            if (++this.active === 1) this.state.emitter = this, this.starting = true;
            return this;
          },
          start: function start() {
            if (this.starting) this.starting = false, this.emit("start");else this.emit("brush");
            return this;
          },
          brush: function brush() {
            this.emit("brush");
            return this;
          },
          end: function end() {
            if (--this.active === 0) delete this.state.emitter, this.emit("end");
            return this;
          },
          emit: function emit(type) {
            Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["customEvent"])(new _event_js__WEBPACK_IMPORTED_MODULE_6__["default"](brush, type, dim.output(this.state.selection)), listeners.apply, listeners, [type, this.that, this.args]);
          }
        };

        function started() {
          if (touchending && !d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches) return;
          if (!filter.apply(this, arguments)) return;
          var that = this,
              type = d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].target.__data__.type,
              mode = (keys && d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].metaKey ? type = "overlay" : type) === "selection" ? MODE_DRAG : keys && d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].altKey ? MODE_CENTER : MODE_HANDLE,
              signX = dim === Y ? null : signsX[type],
              signY = dim === X ? null : signsY[type],
              state = local(that),
              extent = state.extent,
              selection = state.selection,
              W = extent[0][0],
              w0,
              w1,
              N = extent[0][1],
              n0,
              n1,
              E = extent[1][0],
              e0,
              e1,
              S = extent[1][1],
              s0,
              s1,
              dx = 0,
              dy = 0,
              moving,
              shifting = signX && signY && keys && d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].shiftKey,
              lockX,
              lockY,
              pointer = d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches ? toucher(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].changedTouches[0].identifier) : d3_selection__WEBPACK_IMPORTED_MODULE_3__["mouse"],
              point0 = pointer(that),
              point = point0,
              emit = emitter(that, arguments, true).beforestart();

          if (type === "overlay") {
            if (selection) moving = true;
            state.selection = selection = [[w0 = dim === Y ? W : point0[0], n0 = dim === X ? N : point0[1]], [e0 = dim === Y ? E : w0, s0 = dim === X ? S : n0]];
          } else {
            w0 = selection[0][0];
            n0 = selection[0][1];
            e0 = selection[1][0];
            s0 = selection[1][1];
          }

          w1 = w0;
          n1 = n0;
          e1 = e0;
          s1 = s0;
          var group = Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(that).attr("pointer-events", "none");
          var overlay = group.selectAll(".overlay").attr("cursor", cursors[type]);

          if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches) {
            emit.moved = moved;
            emit.ended = ended;
          } else {
            var view = Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].view).on("mousemove.brush", moved, true).on("mouseup.brush", ended, true);
            if (keys) view.on("keydown.brush", keydowned, true).on("keyup.brush", keyupped, true);
            Object(d3_drag__WEBPACK_IMPORTED_MODULE_1__["dragDisable"])(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].view);
          }

          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["nopropagation"])();
          Object(d3_transition__WEBPACK_IMPORTED_MODULE_4__["interrupt"])(that);
          redraw.call(that);
          emit.start();

          function moved() {
            var point1 = pointer(that);

            if (shifting && !lockX && !lockY) {
              if (Math.abs(point1[0] - point[0]) > Math.abs(point1[1] - point[1])) lockY = true;else lockX = true;
            }

            point = point1;
            moving = true;
            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
            move();
          }

          function move() {
            var t;
            dx = point[0] - point0[0];
            dy = point[1] - point0[1];

            switch (mode) {
              case MODE_SPACE:
              case MODE_DRAG:
                {
                  if (signX) dx = Math.max(W - w0, Math.min(E - e0, dx)), w1 = w0 + dx, e1 = e0 + dx;
                  if (signY) dy = Math.max(N - n0, Math.min(S - s0, dy)), n1 = n0 + dy, s1 = s0 + dy;
                  break;
                }

              case MODE_HANDLE:
                {
                  if (signX < 0) dx = Math.max(W - w0, Math.min(E - w0, dx)), w1 = w0 + dx, e1 = e0;else if (signX > 0) dx = Math.max(W - e0, Math.min(E - e0, dx)), w1 = w0, e1 = e0 + dx;
                  if (signY < 0) dy = Math.max(N - n0, Math.min(S - n0, dy)), n1 = n0 + dy, s1 = s0;else if (signY > 0) dy = Math.max(N - s0, Math.min(S - s0, dy)), n1 = n0, s1 = s0 + dy;
                  break;
                }

              case MODE_CENTER:
                {
                  if (signX) w1 = Math.max(W, Math.min(E, w0 - dx * signX)), e1 = Math.max(W, Math.min(E, e0 + dx * signX));
                  if (signY) n1 = Math.max(N, Math.min(S, n0 - dy * signY)), s1 = Math.max(N, Math.min(S, s0 + dy * signY));
                  break;
                }
            }

            if (e1 < w1) {
              signX *= -1;
              t = w0, w0 = e0, e0 = t;
              t = w1, w1 = e1, e1 = t;
              if (type in flipX) overlay.attr("cursor", cursors[type = flipX[type]]);
            }

            if (s1 < n1) {
              signY *= -1;
              t = n0, n0 = s0, s0 = t;
              t = n1, n1 = s1, s1 = t;
              if (type in flipY) overlay.attr("cursor", cursors[type = flipY[type]]);
            }

            if (state.selection) selection = state.selection; // May be set by brush.move!

            if (lockX) w1 = selection[0][0], e1 = selection[1][0];
            if (lockY) n1 = selection[0][1], s1 = selection[1][1];

            if (selection[0][0] !== w1 || selection[0][1] !== n1 || selection[1][0] !== e1 || selection[1][1] !== s1) {
              state.selection = [[w1, n1], [e1, s1]];
              redraw.call(that);
              emit.brush();
            }
          }

          function ended() {
            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["nopropagation"])();

            if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches) {
              if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches.length) return;
              if (touchending) clearTimeout(touchending);
              touchending = setTimeout(function () {
                touchending = null;
              }, 500); // Ghost clicks are delayed!
            } else {
              Object(d3_drag__WEBPACK_IMPORTED_MODULE_1__["dragEnable"])(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].view, moving);
              view.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
            }

            group.attr("pointer-events", "all");
            overlay.attr("cursor", cursors.overlay);
            if (state.selection) selection = state.selection; // May be set by brush.move (on start)!

            if (empty(selection)) state.selection = null, redraw.call(that);
            emit.end();
          }

          function keydowned() {
            switch (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].keyCode) {
              case 16:
                {
                  // SHIFT
                  shifting = signX && signY;
                  break;
                }

              case 18:
                {
                  // ALT
                  if (mode === MODE_HANDLE) {
                    if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;
                    if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;
                    mode = MODE_CENTER;
                    move();
                  }

                  break;
                }

              case 32:
                {
                  // SPACE; takes priority over ALT
                  if (mode === MODE_HANDLE || mode === MODE_CENTER) {
                    if (signX < 0) e0 = e1 - dx;else if (signX > 0) w0 = w1 - dx;
                    if (signY < 0) s0 = s1 - dy;else if (signY > 0) n0 = n1 - dy;
                    mode = MODE_SPACE;
                    overlay.attr("cursor", cursors.selection);
                    move();
                  }

                  break;
                }

              default:
                return;
            }

            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
          }

          function keyupped() {
            switch (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].keyCode) {
              case 16:
                {
                  // SHIFT
                  if (shifting) {
                    lockX = lockY = shifting = false;
                    move();
                  }

                  break;
                }

              case 18:
                {
                  // ALT
                  if (mode === MODE_CENTER) {
                    if (signX < 0) e0 = e1;else if (signX > 0) w0 = w1;
                    if (signY < 0) s0 = s1;else if (signY > 0) n0 = n1;
                    mode = MODE_HANDLE;
                    move();
                  }

                  break;
                }

              case 32:
                {
                  // SPACE
                  if (mode === MODE_SPACE) {
                    if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].altKey) {
                      if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;
                      if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;
                      mode = MODE_CENTER;
                    } else {
                      if (signX < 0) e0 = e1;else if (signX > 0) w0 = w1;
                      if (signY < 0) s0 = s1;else if (signY > 0) n0 = n1;
                      mode = MODE_HANDLE;
                    }

                    overlay.attr("cursor", cursors[type]);
                    move();
                  }

                  break;
                }

              default:
                return;
            }

            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
          }
        }

        function touchmoved() {
          emitter(this, arguments).moved();
        }

        function touchended() {
          emitter(this, arguments).ended();
        }

        function initialize() {
          var state = this.__brush || {
            selection: null
          };
          state.extent = number2(extent.apply(this, arguments));
          state.dim = dim;
          return state;
        }

        brush.extent = function (_) {
          return arguments.length ? (extent = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_5__["default"])(number2(_)), brush) : extent;
        };

        brush.filter = function (_) {
          return arguments.length ? (filter = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_5__["default"])(!!_), brush) : filter;
        };

        brush.touchable = function (_) {
          return arguments.length ? (touchable = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_5__["default"])(!!_), brush) : touchable;
        };

        brush.handleSize = function (_) {
          return arguments.length ? (handleSize = +_, brush) : handleSize;
        };

        brush.keyModifiers = function (_) {
          return arguments.length ? (keys = !!_, brush) : keys;
        };

        brush.on = function () {
          var value = listeners.on.apply(listeners, arguments);
          return value === listeners ? brush : value;
        };

        return brush;
      }
      /***/

    },

    /***/
    "hiel": function hiel(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return count;
      });

      function count(values, valueof) {
        var count = 0;

        if (valueof === undefined) {
          var _iterator104 = _createForOfIteratorHelper(values),
              _step104;

          try {
            for (_iterator104.s(); !(_step104 = _iterator104.n()).done;) {
              var value = _step104.value;

              if (value != null && (value = +value) >= value) {
                ++count;
              }
            }
          } catch (err) {
            _iterator104.e(err);
          } finally {
            _iterator104.f();
          }
        } else {
          var index = -1;

          var _iterator105 = _createForOfIteratorHelper(values),
              _step105;

          try {
            for (_iterator105.s(); !(_step105 = _iterator105.n()).done;) {
              var _value9 = _step105.value;

              if ((_value9 = valueof(_value9, ++index, values)) != null && (_value9 = +_value9) >= _value9) {
                ++count;
              }
            }
          } catch (err) {
            _iterator105.e(err);
          } finally {
            _iterator105.f();
          }
        }

        return count;
      }
      /***/

    },

    /***/
    "hl/D": function hlD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");

      function delayFunction(id, value) {
        return function () {
          Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["init"])(this, id).delay = +value.apply(this, arguments);
        };
      }

      function delayConstant(id, value) {
        return value = +value, function () {
          Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["init"])(this, id).delay = value;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        var id = this._id;
        return arguments.length ? this.each((typeof value === "function" ? delayFunction : delayConstant)(id, value)) : Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).delay;
      };
      /***/

    },

    /***/
    "i202": function i202(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return x;
      };
      /***/

    },

    /***/
    "i3vF": function i3vF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony default export */


      __webpack_exports__["default"] = function (selection) {
        for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
          for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
            if (node = group0[i] || group1[i]) {
              merge[i] = node;
            }
          }
        }

        for (; j < m0; ++j) {
          merges[j] = groups0[j];
        }

        return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](merges, this._parents);
      };
      /***/

    },

    /***/
    "iEdP": function iEdP(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
      };
      /***/

    },

    /***/
    "iPFw": function iPFw(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./constant.js */
      "2K37");
      /* harmony import */


      var _descending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./descending.js */
      "iEdP");
      /* harmony import */


      var _identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./identity.js */
      "GQZn");
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./math.js */
      "CYYh");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var value = _identity_js__WEBPACK_IMPORTED_MODULE_2__["default"],
            sortValues = _descending_js__WEBPACK_IMPORTED_MODULE_1__["default"],
            sort = null,
            startAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0),
            endAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_math_js__WEBPACK_IMPORTED_MODULE_3__["tau"]),
            padAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0);

        function pie(data) {
          var i,
              n = data.length,
              j,
              k,
              sum = 0,
              index = new Array(n),
              arcs = new Array(n),
              a0 = +startAngle.apply(this, arguments),
              da = Math.min(_math_js__WEBPACK_IMPORTED_MODULE_3__["tau"], Math.max(-_math_js__WEBPACK_IMPORTED_MODULE_3__["tau"], endAngle.apply(this, arguments) - a0)),
              a1,
              p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),
              pa = p * (da < 0 ? -1 : 1),
              v;

          for (i = 0; i < n; ++i) {
            if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {
              sum += v;
            }
          } // Optionally sort the arcs by previously-computed values or by data.


          if (sortValues != null) index.sort(function (i, j) {
            return sortValues(arcs[i], arcs[j]);
          });else if (sort != null) index.sort(function (i, j) {
            return sort(data[i], data[j]);
          }); // Compute the arcs! They are stored in the original data's order.

          for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {
            j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {
              data: data[j],
              index: i,
              value: v,
              startAngle: a0,
              endAngle: a1,
              padAngle: p
            };
          }

          return arcs;
        }

        pie.value = function (_) {
          return arguments.length ? (value = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : value;
        };

        pie.sortValues = function (_) {
          return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;
        };

        pie.sort = function (_) {
          return arguments.length ? (sort = _, sortValues = null, pie) : sort;
        };

        pie.startAngle = function (_) {
          return arguments.length ? (startAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : startAngle;
        };

        pie.endAngle = function (_) {
          return arguments.length ? (endAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : endAngle;
        };

        pie.padAngle = function (_) {
          return arguments.length ? (padAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : padAngle;
        };

        return pie;
      };
      /***/

    },

    /***/
    "iSFD": function iSFD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "cubicIn", function () {
        return cubicIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "cubicOut", function () {
        return cubicOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "cubicInOut", function () {
        return cubicInOut;
      });

      function cubicIn(t) {
        return t * t * t;
      }

      function cubicOut(t) {
        return --t * t * t + 1;
      }

      function cubicInOut(t) {
        return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
      }
      /***/

    },

    /***/
    "iUY2": function iUY2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "backIn", function () {
        return backIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "backOut", function () {
        return backOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "backInOut", function () {
        return backInOut;
      });

      var overshoot = 1.70158;

      var backIn = function custom(s) {
        s = +s;

        function backIn(t) {
          return (t = +t) * t * (s * (t - 1) + t);
        }

        backIn.overshoot = custom;
        return backIn;
      }(overshoot);

      var backOut = function custom(s) {
        s = +s;

        function backOut(t) {
          return --t * t * ((t + 1) * s + t) + 1;
        }

        backOut.overshoot = custom;
        return backOut;
      }(overshoot);

      var backInOut = function custom(s) {
        s = +s;

        function backInOut(t) {
          return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;
        }

        backInOut.overshoot = custom;
        return backInOut;
      }(overshoot);
      /***/

    },

    /***/
    "ivMv": function ivMv(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
        var nodes = parent.children,
            i,
            n = nodes.length,
            sum,
            sums = new Array(n + 1);

        for (sums[0] = sum = i = 0; i < n; ++i) {
          sums[i + 1] = sum += nodes[i].value;
        }

        partition(0, n, parent.value, x0, y0, x1, y1);

        function partition(i, j, value, x0, y0, x1, y1) {
          if (i >= j - 1) {
            var node = nodes[i];
            node.x0 = x0, node.y0 = y0;
            node.x1 = x1, node.y1 = y1;
            return;
          }

          var valueOffset = sums[i],
              valueTarget = value / 2 + valueOffset,
              k = i + 1,
              hi = j - 1;

          while (k < hi) {
            var mid = k + hi >>> 1;
            if (sums[mid] < valueTarget) k = mid + 1;else hi = mid;
          }

          if (valueTarget - sums[k - 1] < sums[k] - valueTarget && i + 1 < k) --k;
          var valueLeft = sums[k] - valueOffset,
              valueRight = value - valueLeft;

          if (x1 - x0 > y1 - y0) {
            var xk = (x0 * valueRight + x1 * valueLeft) / value;
            partition(i, k, valueLeft, x0, y0, xk, y1);
            partition(k, j, valueRight, xk, y0, x1, y1);
          } else {
            var yk = (y0 * valueRight + y1 * valueLeft) / value;
            partition(i, k, valueLeft, x0, y0, x1, yk);
            partition(k, j, valueRight, x0, yk, x1, y1);
          }
        }
      };
      /***/

    },

    /***/
    "j1BO": function j1BO(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "slice", function () {
        return slice;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "shuffle", function () {
        return shuffle;
      });

      var slice = Array.prototype.slice;

      function shuffle(array) {
        var m = array.length,
            t,
            i;

        while (m) {
          i = Math.random() * m-- | 0;
          t = array[m];
          array[m] = array[i];
          array[i] = t;
        }

        return array;
      }
      /***/

    },

    /***/
    "jICm": function jICm(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "point", function () {
        return _point3;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Basis", function () {
        return Basis;
      });

      function _point3(that, x, y) {
        that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6);
      }

      function Basis(context) {
        this._context = context;
      }

      Basis.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._y0 = this._y1 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 3:
              _point3(this, this._x1, this._y1);

            // proceed

            case 2:
              this._context.lineTo(this._x1, this._y1);

              break;
          }

          if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
              break;

            case 1:
              this._point = 2;
              break;

            case 2:
              this._point = 3;

              this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);

            // proceed

            default:
              _point3(this, x, y);

              break;
          }

          this._x0 = this._x1, this._x1 = x;
          this._y0 = this._y1, this._y1 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (context) {
        return new Basis(context);
      };
      /***/

    },

    /***/
    "jIxI": function jIxI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return subset;
      });
      /* harmony import */


      var _superset_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./superset.js */
      "3O/B");

      function subset(values, other) {
        return Object(_superset_js__WEBPACK_IMPORTED_MODULE_0__["default"])(other, values);
      }
      /***/

    },

    /***/
    "kO9b": function kO9b(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./number.js */
      "4xfg");

      var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
          reB = new RegExp(reA.source, "g");

      function zero(b) {
        return function () {
          return b;
        };
      }

      function one(b) {
        return function (t) {
          return b(t) + "";
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (a, b) {
        var bi = reA.lastIndex = reB.lastIndex = 0,
            // scan index for next number in b
        am,
            // current match in a
        bm,
            // current match in b
        bs,
            // string preceding current number in b, if any
        i = -1,
            // index in s
        s = [],
            // string constants and placeholders
        q = []; // number interpolators
        // Coerce inputs to strings.

        a = a + "", b = b + ""; // Interpolate pairs of numbers in a & b.

        while ((am = reA.exec(a)) && (bm = reB.exec(b))) {
          if ((bs = bm.index) > bi) {
            // a string precedes the next number in b
            bs = b.slice(bi, bs);
            if (s[i]) s[i] += bs; // coalesce with previous string
            else s[++i] = bs;
          }

          if ((am = am[0]) === (bm = bm[0])) {
            // numbers in a & b match
            if (s[i]) s[i] += bm; // coalesce with previous string
            else s[++i] = bm;
          } else {
            // interpolate non-matching numbers
            s[++i] = null;
            q.push({
              i: i,
              x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(am, bm)
            });
          }

          bi = reB.lastIndex;
        } // Add remains of b.


        if (bi < b.length) {
          bs = b.slice(bi);
          if (s[i]) s[i] += bs; // coalesce with previous string
          else s[++i] = bs;
        } // Special optimization for only a single match.
        // Otherwise, interpolate each of the numbers and rejoin the string.


        return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function (t) {
          for (var i = 0, o; i < b; ++i) {
            s[(o = q[i]).i] = o.x(t);
          }

          return s.join("");
        });
      };
      /***/

    },

    /***/
    "kVCJ": function kVCJ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "symbols", function () {
        return symbols;
      });
      /* harmony import */


      var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-path */
      "83xM");
      /* harmony import */


      var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./symbol/circle.js */
      "GvAG");
      /* harmony import */


      var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./symbol/cross.js */
      "oKyY");
      /* harmony import */


      var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./symbol/diamond.js */
      "ms7Z");
      /* harmony import */


      var _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./symbol/star.js */
      "CAOx");
      /* harmony import */


      var _symbol_square_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./symbol/square.js */
      "1afE");
      /* harmony import */


      var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./symbol/triangle.js */
      "rkAg");
      /* harmony import */


      var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./symbol/wye.js */
      "xJQu");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./constant.js */
      "2K37");

      var symbols = [_symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__["default"], _symbol_cross_js__WEBPACK_IMPORTED_MODULE_2__["default"], _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_3__["default"], _symbol_square_js__WEBPACK_IMPORTED_MODULE_5__["default"], _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__["default"], _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_6__["default"], _symbol_wye_js__WEBPACK_IMPORTED_MODULE_7__["default"]];
      /* harmony default export */

      __webpack_exports__["default"] = function () {
        var type = Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
            size = Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(64),
            context = null;

        function symbol() {
          var buffer;
          if (!context) context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])();
          type.apply(this, arguments).draw(context, +size.apply(this, arguments));
          if (buffer) return context = null, buffer + "" || null;
        }

        symbol.type = function (_) {
          return arguments.length ? (type = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_), symbol) : type;
        };

        symbol.size = function (_) {
          return arguments.length ? (size = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(+_), symbol) : size;
        };

        symbol.context = function (_) {
          return arguments.length ? (context = _ == null ? null : _, symbol) : context;
        };

        return symbol;
      };
      /***/

    },

    /***/
    "kds9": function kds9(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__); // Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.

      /* harmony default export */


      __webpack_exports__["default"] = function (s) {
        out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {
          switch (s[i]) {
            case ".":
              i0 = i1 = i;
              break;

            case "0":
              if (i0 === 0) i0 = i;
              i1 = i;
              break;

            default:
              if (!+s[i]) break out;
              if (i0 > 0) i0 = 0;
              break;
          }
        }

        return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
      };
      /***/

    },

    /***/
    "lgMH": function lgMH(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "months", function () {
        return months;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");

      var month = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setDate(1);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setMonth(date.getMonth() + step);
      }, function (start, end) {
        return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
      }, function (date) {
        return date.getMonth();
      });
      /* harmony default export */

      __webpack_exports__["default"] = month;
      var months = month.range;
      /***/
    },

    /***/
    "luAU": function luAU(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
          for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {
            var node = group[i];
            if (node) return node;
          }
        }

        return null;
      };
      /***/

    },

    /***/
    "mHFb": function mHFb(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (grouping, thousands) {
        return function (value, width) {
          var i = value.length,
              t = [],
              j = 0,
              g = grouping[0],
              length = 0;

          while (i > 0 && g > 0) {
            if (length + g + 1 > width) g = Math.max(1, width - length);
            t.push(value.substring(i -= g, i + g));
            if ((length += g + 1) > width) break;
            g = grouping[j = (j + 1) % grouping.length];
          }

          return t.reverse().join(thousands);
        };
      };
      /***/

    },

    /***/
    "mKzq": function mKzq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var on0,
            on1,
            that = this,
            id = that._id,
            size = that.size();
        return new Promise(function (resolve, reject) {
          var cancel = {
            value: reject
          },
              end = {
            value: function value() {
              if (--size === 0) resolve();
            }
          };
          that.each(function () {
            var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id),
                on = schedule.on; // If this node shared a dispatch with the previous node,
            // just assign the updated shared dispatch and we’re done!
            // Otherwise, copy-on-write.

            if (on !== on0) {
              on1 = (on0 = on).copy();

              on1._.cancel.push(cancel);

              on1._.interrupt.push(cancel);

              on1._.end.push(end);
            }

            schedule.on = on1;
          });
        });
      };
      /***/

    },

    /***/
    "mrS5": function mrS5(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var size = 0;
        this.each(function () {
          ++size;
        });
        return size;
      };
      /***/

    },

    /***/
    "mrVq": function mrVq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return min;
      });

      function min(values, valueof) {
        var min;

        if (valueof === undefined) {
          var _iterator106 = _createForOfIteratorHelper(values),
              _step106;

          try {
            for (_iterator106.s(); !(_step106 = _iterator106.n()).done;) {
              var value = _step106.value;

              if (value != null && (min > value || min === undefined && value >= value)) {
                min = value;
              }
            }
          } catch (err) {
            _iterator106.e(err);
          } finally {
            _iterator106.f();
          }
        } else {
          var index = -1;

          var _iterator107 = _createForOfIteratorHelper(values),
              _step107;

          try {
            for (_iterator107.s(); !(_step107 = _iterator107.n()).done;) {
              var _value10 = _step107.value;

              if ((_value10 = valueof(_value10, ++index, values)) != null && (min > _value10 || min === undefined && _value10 >= _value10)) {
                min = _value10;
              }
            }
          } catch (err) {
            _iterator107.e(err);
          } finally {
            _iterator107.f();
          }
        }

        return min;
      }
      /***/

    },

    /***/
    "ms7Z": function ms7Z(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      var tan30 = Math.sqrt(1 / 3),
          tan30_2 = tan30 * 2;
      /* harmony default export */

      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var y = Math.sqrt(size / tan30_2),
              x = y * tan30;
          context.moveTo(0, -y);
          context.lineTo(x, 0);
          context.lineTo(0, y);
          context.lineTo(-x, 0);
          context.closePath();
        }
      };
      /***/
    },

    /***/
    "muaG": function muaG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../noop.js */
      "0K5P");
      /* harmony import */


      var _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./basis.js */
      "jICm");

      function BasisClosed(context) {
        this._context = context;
      }

      BasisClosed.prototype = {
        areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 1:
              {
                this._context.moveTo(this._x2, this._y2);

                this._context.closePath();

                break;
              }

            case 2:
              {
                this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);

                this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);

                this._context.closePath();

                break;
              }

            case 3:
              {
                this.point(this._x2, this._y2);
                this.point(this._x3, this._y3);
                this.point(this._x4, this._y4);
                break;
              }
          }
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              this._x2 = x, this._y2 = y;
              break;

            case 1:
              this._point = 2;
              this._x3 = x, this._y3 = y;
              break;

            case 2:
              this._point = 3;
              this._x4 = x, this._y4 = y;

              this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6);

              break;

            default:
              Object(_basis_js__WEBPACK_IMPORTED_MODULE_1__["point"])(this, x, y);
              break;
          }

          this._x0 = this._x1, this._x1 = x;
          this._y0 = this._y1, this._y1 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (context) {
        return new BasisClosed(context);
      };
      /***/

    },

    /***/
    "mwYI": function mwYI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var nodes = new Array(this.size()),
            i = -1;
        this.each(function () {
          nodes[++i] = this;
        });
        return nodes;
      };
      /***/

    },

    /***/
    "n0hd": function n0hd(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "loggish", function () {
        return loggish;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return log;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-format */
      "rWgG");
      /* harmony import */


      var _nice_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./nice.js */
      "bcaG");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function transformLog(x) {
        return Math.log(x);
      }

      function transformExp(x) {
        return Math.exp(x);
      }

      function transformLogn(x) {
        return -Math.log(-x);
      }

      function transformExpn(x) {
        return -Math.exp(-x);
      }

      function pow10(x) {
        return isFinite(x) ? +("1e" + x) : x < 0 ? 0 : x;
      }

      function powp(base) {
        return base === 10 ? pow10 : base === Math.E ? Math.exp : function (x) {
          return Math.pow(base, x);
        };
      }

      function logp(base) {
        return base === Math.E ? Math.log : base === 10 && Math.log10 || base === 2 && Math.log2 || (base = Math.log(base), function (x) {
          return Math.log(x) / base;
        });
      }

      function reflect(f) {
        return function (x) {
          return -f(-x);
        };
      }

      function loggish(transform) {
        var scale = transform(transformLog, transformExp),
            domain = scale.domain,
            base = 10,
            logs,
            pows;

        function rescale() {
          logs = logp(base), pows = powp(base);

          if (domain()[0] < 0) {
            logs = reflect(logs), pows = reflect(pows);
            transform(transformLogn, transformExpn);
          } else {
            transform(transformLog, transformExp);
          }

          return scale;
        }

        scale.base = function (_) {
          return arguments.length ? (base = +_, rescale()) : base;
        };

        scale.domain = function (_) {
          return arguments.length ? (domain(_), rescale()) : domain();
        };

        scale.ticks = function (count) {
          var d = domain(),
              u = d[0],
              v = d[d.length - 1],
              r;
          if (r = v < u) i = u, u = v, v = i;
          var i = logs(u),
              j = logs(v),
              p,
              k,
              t,
              n = count == null ? 10 : +count,
              z = [];

          if (!(base % 1) && j - i < n) {
            i = Math.floor(i), j = Math.ceil(j);
            if (u > 0) for (; i <= j; ++i) {
              for (k = 1, p = pows(i); k < base; ++k) {
                t = p * k;
                if (t < u) continue;
                if (t > v) break;
                z.push(t);
              }
            } else for (; i <= j; ++i) {
              for (k = base - 1, p = pows(i); k >= 1; --k) {
                t = p * k;
                if (t < u) continue;
                if (t > v) break;
                z.push(t);
              }
            }
            if (z.length * 2 < n) z = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["ticks"])(u, v, n);
          } else {
            z = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["ticks"])(i, j, Math.min(j - i, n)).map(pows);
          }

          return r ? z.reverse() : z;
        };

        scale.tickFormat = function (count, specifier) {
          if (specifier == null) specifier = base === 10 ? ".0e" : ",";
          if (typeof specifier !== "function") specifier = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["format"])(specifier);
          if (count === Infinity) return specifier;
          if (count == null) count = 10;
          var k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?

          return function (d) {
            var i = d / pows(Math.round(logs(d)));
            if (i * base < base - 0.5) i *= base;
            return i <= k ? specifier(d) : "";
          };
        };

        scale.nice = function () {
          return domain(Object(_nice_js__WEBPACK_IMPORTED_MODULE_2__["default"])(domain(), {
            floor: function floor(x) {
              return pows(Math.floor(logs(x)));
            },
            ceil: function ceil(x) {
              return pows(Math.ceil(logs(x)));
            }
          }));
        };

        return scale;
      }

      function log() {
        var scale = loggish(Object(_continuous_js__WEBPACK_IMPORTED_MODULE_3__["transformer"])()).domain([1, 10]);

        scale.copy = function () {
          return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_3__["copy"])(scale, log()).base(scale.base());
        };

        _init_js__WEBPACK_IMPORTED_MODULE_4__["initRange"].apply(scale, arguments);

        return scale;
      }
      /***/

    },

    /***/
    "njJa": function njJa(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (callback) {
        var node = this,
            nodes = [node],
            next = [],
            children,
            i,
            n;

        while (node = nodes.pop()) {
          next.push(node), children = node.children;
          if (children) for (i = 0, n = children.length; i < n; ++i) {
            nodes.push(children[i]);
          }
        }

        while (node = next.pop()) {
          callback(node);
        }

        return this;
      };
      /***/

    },

    /***/
    "oKyY": function oKyY(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var r = Math.sqrt(size / 5) / 2;
          context.moveTo(-3 * r, -r);
          context.lineTo(-r, -r);
          context.lineTo(-r, -3 * r);
          context.lineTo(r, -3 * r);
          context.lineTo(r, -r);
          context.lineTo(3 * r, -r);
          context.lineTo(3 * r, r);
          context.lineTo(r, r);
          context.lineTo(r, 3 * r);
          context.lineTo(-r, 3 * r);
          context.lineTo(-r, r);
          context.lineTo(-3 * r, r);
          context.closePath();
        }
      };
      /***/
    },

    /***/
    "oMw+": function oMw(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _isoFormat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./isoFormat.js */
      "v7Le");
      /* harmony import */


      var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./defaultLocale.js */
      "TCOF");

      function parseIsoNative(string) {
        var date = new Date(string);
        return isNaN(date) ? null : date;
      }

      var parseIso = +new Date("2000-01-01T00:00:00.000Z") ? parseIsoNative : Object(_defaultLocale_js__WEBPACK_IMPORTED_MODULE_1__["utcParse"])(_isoFormat_js__WEBPACK_IMPORTED_MODULE_0__["isoSpecifier"]);
      /* harmony default export */

      __webpack_exports__["default"] = parseIso;
      /***/
    },

    /***/
    "oUm1": function oUm1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {
          for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {
            if (node = group[i]) {
              if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);
              next = node;
            }
          }
        }

        return this;
      };
      /***/

    },

    /***/
    "oVo9": function oVo9(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "years", function () {
        return years;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");

      var year = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setMonth(0, 1);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setFullYear(date.getFullYear() + step);
      }, function (start, end) {
        return end.getFullYear() - start.getFullYear();
      }, function (date) {
        return date.getFullYear();
      }); // An optimized implementation for this simple case.

      year.every = function (k) {
        return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setFullYear(Math.floor(date.getFullYear() / k) * k);
          date.setMonth(0, 1);
          date.setHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setFullYear(date.getFullYear() + step * k);
        });
      };
      /* harmony default export */


      __webpack_exports__["default"] = year;
      var years = year.range;
      /***/
    },

    /***/
    "oZiN": function oZiN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "nopropagation", function () {
        return nopropagation;
      });
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");

      function nopropagation() {
        d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].preventDefault();
        d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
      };
      /***/

    },

    /***/
    "oxeV": function oxeV(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (node) {
        return node.ownerDocument && node.ownerDocument.defaultView || node.document && node // node is a Window
        || node.defaultView; // node is a Document
      };
      /***/

    },

    /***/
    "p/1U": function p1U(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./formatDecimal.js */
      "qnQu");
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return x = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(Math.abs(x)), x ? x[1] : NaN;
      };
      /***/

    },

    /***/
    "pD2Y": function pD2Y(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./value.js */
      "6h3Y");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolate", function () {
        return _value_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./array.js */
      "ZzDG");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateArray", function () {
        return _array_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _basis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./basis.js */
      "yEp2");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateBasis", function () {
        return _basis_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./basisClosed.js */
      "S83q");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateBasisClosed", function () {
        return _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _date_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./date.js */
      "G21l");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateDate", function () {
        return _date_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _discrete_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./discrete.js */
      "UGGt");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateDiscrete", function () {
        return _discrete_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony import */


      var _hue_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./hue.js */
      "U6M7");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateHue", function () {
        return _hue_js__WEBPACK_IMPORTED_MODULE_6__["default"];
      });
      /* harmony import */


      var _number_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./number.js */
      "4xfg");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateNumber", function () {
        return _number_js__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony import */


      var _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./numberArray.js */
      "Ud7J");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateNumberArray", function () {
        return _numberArray_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony import */


      var _object_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./object.js */
      "cb2h");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateObject", function () {
        return _object_js__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony import */


      var _round_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./round.js */
      "WFeF");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateRound", function () {
        return _round_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony import */


      var _string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./string.js */
      "kO9b");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateString", function () {
        return _string_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony import */


      var _transform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./transform/index.js */
      "S3lI");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function () {
        return _transform_index_js__WEBPACK_IMPORTED_MODULE_12__["interpolateTransformCss"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function () {
        return _transform_index_js__WEBPACK_IMPORTED_MODULE_12__["interpolateTransformSvg"];
      });
      /* harmony import */


      var _zoom_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./zoom.js */
      "znUM");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateZoom", function () {
        return _zoom_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony import */


      var _rgb_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./rgb.js */
      "42CK");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateRgb", function () {
        return _rgb_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateRgbBasis", function () {
        return _rgb_js__WEBPACK_IMPORTED_MODULE_14__["rgbBasis"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateRgbBasisClosed", function () {
        return _rgb_js__WEBPACK_IMPORTED_MODULE_14__["rgbBasisClosed"];
      });
      /* harmony import */


      var _hsl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./hsl.js */
      "cNgm");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateHsl", function () {
        return _hsl_js__WEBPACK_IMPORTED_MODULE_15__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateHslLong", function () {
        return _hsl_js__WEBPACK_IMPORTED_MODULE_15__["hslLong"];
      });
      /* harmony import */


      var _lab_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./lab.js */
      "El5h");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateLab", function () {
        return _lab_js__WEBPACK_IMPORTED_MODULE_16__["default"];
      });
      /* harmony import */


      var _hcl_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./hcl.js */
      "Ws9M");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateHcl", function () {
        return _hcl_js__WEBPACK_IMPORTED_MODULE_17__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateHclLong", function () {
        return _hcl_js__WEBPACK_IMPORTED_MODULE_17__["hclLong"];
      });
      /* harmony import */


      var _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
      /*! ./cubehelix.js */
      "OHKE");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateCubehelix", function () {
        return _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interpolateCubehelixLong", function () {
        return _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__["cubehelixLong"];
      });
      /* harmony import */


      var _piecewise_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
      /*! ./piecewise.js */
      "rAw/");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "piecewise", function () {
        return _piecewise_js__WEBPACK_IMPORTED_MODULE_19__["default"];
      });
      /* harmony import */


      var _quantize_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
      /*! ./quantize.js */
      "Gvn4");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "quantize", function () {
        return _quantize_js__WEBPACK_IMPORTED_MODULE_20__["default"];
      });
      /***/

    },

    /***/
    "pL0w": function pL0w(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "monotoneX", function () {
        return monotoneX;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "monotoneY", function () {
        return monotoneY;
      });

      function sign(x) {
        return x < 0 ? -1 : 1;
      } // Calculate the slopes of the tangents (Hermite-type interpolation) based on
      // the following paper: Steffen, M. 1990. A Simple Method for Monotonic
      // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
      // NOV(II), P. 443, 1990.


      function slope3(that, x2, y2) {
        var h0 = that._x1 - that._x0,
            h1 = x2 - that._x1,
            s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
            s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
            p = (s0 * h1 + s1 * h0) / (h0 + h1);
        return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
      } // Calculate a one-sided slope.


      function slope2(that, t) {
        var h = that._x1 - that._x0;
        return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
      } // According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations
      // "you can express cubic Hermite interpolation in terms of cubic Bézier curves
      // with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1".


      function _point4(that, t0, t1) {
        var x0 = that._x0,
            y0 = that._y0,
            x1 = that._x1,
            y1 = that._y1,
            dx = (x1 - x0) / 3;

        that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
      }

      function MonotoneX(context) {
        this._context = context;
      }

      MonotoneX.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          switch (this._point) {
            case 2:
              this._context.lineTo(this._x1, this._y1);

              break;

            case 3:
              _point4(this, this._t0, slope2(this, this._t0));

              break;
          }

          if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          var t1 = NaN;
          x = +x, y = +y;
          if (x === this._x1 && y === this._y1) return; // Ignore coincident points.

          switch (this._point) {
            case 0:
              this._point = 1;
              this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
              break;

            case 1:
              this._point = 2;
              break;

            case 2:
              this._point = 3;

              _point4(this, slope2(this, t1 = slope3(this, x, y)), t1);

              break;

            default:
              _point4(this, this._t0, t1 = slope3(this, x, y));

              break;
          }

          this._x0 = this._x1, this._x1 = x;
          this._y0 = this._y1, this._y1 = y;
          this._t0 = t1;
        }
      };

      function MonotoneY(context) {
        this._context = new ReflectContext(context);
      }

      (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function (x, y) {
        MonotoneX.prototype.point.call(this, y, x);
      };

      function ReflectContext(context) {
        this._context = context;
      }

      ReflectContext.prototype = {
        moveTo: function moveTo(x, y) {
          this._context.moveTo(y, x);
        },
        closePath: function closePath() {
          this._context.closePath();
        },
        lineTo: function lineTo(x, y) {
          this._context.lineTo(y, x);
        },
        bezierCurveTo: function bezierCurveTo(x1, y1, x2, y2, x, y) {
          this._context.bezierCurveTo(y1, x1, y2, x2, y, x);
        }
      };

      function monotoneX(context) {
        return new MonotoneX(context);
      }

      function monotoneY(context) {
        return new MonotoneY(context);
      }
      /***/

    },

    /***/
    "pZEX": function pZEX(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return formatLocale;
      });
      /* harmony import */


      var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-time */
      "tgfz");

      function localDate(d) {
        if (0 <= d.y && d.y < 100) {
          var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
          date.setFullYear(d.y);
          return date;
        }

        return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
      }

      function utcDate(d) {
        if (0 <= d.y && d.y < 100) {
          var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
          date.setUTCFullYear(d.y);
          return date;
        }

        return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
      }

      function newDate(y, m, d) {
        return {
          y: y,
          m: m,
          d: d,
          H: 0,
          M: 0,
          S: 0,
          L: 0
        };
      }

      function formatLocale(locale) {
        var locale_dateTime = locale.dateTime,
            locale_date = locale.date,
            locale_time = locale.time,
            locale_periods = locale.periods,
            locale_weekdays = locale.days,
            locale_shortWeekdays = locale.shortDays,
            locale_months = locale.months,
            locale_shortMonths = locale.shortMonths;
        var periodRe = formatRe(locale_periods),
            periodLookup = formatLookup(locale_periods),
            weekdayRe = formatRe(locale_weekdays),
            weekdayLookup = formatLookup(locale_weekdays),
            shortWeekdayRe = formatRe(locale_shortWeekdays),
            shortWeekdayLookup = formatLookup(locale_shortWeekdays),
            monthRe = formatRe(locale_months),
            monthLookup = formatLookup(locale_months),
            shortMonthRe = formatRe(locale_shortMonths),
            shortMonthLookup = formatLookup(locale_shortMonths);
        var formats = {
          "a": formatShortWeekday,
          "A": formatWeekday,
          "b": formatShortMonth,
          "B": formatMonth,
          "c": null,
          "d": formatDayOfMonth,
          "e": formatDayOfMonth,
          "f": formatMicroseconds,
          "g": formatYearISO,
          "G": formatFullYearISO,
          "H": formatHour24,
          "I": formatHour12,
          "j": formatDayOfYear,
          "L": formatMilliseconds,
          "m": formatMonthNumber,
          "M": formatMinutes,
          "p": formatPeriod,
          "q": formatQuarter,
          "Q": formatUnixTimestamp,
          "s": formatUnixTimestampSeconds,
          "S": formatSeconds,
          "u": formatWeekdayNumberMonday,
          "U": formatWeekNumberSunday,
          "V": formatWeekNumberISO,
          "w": formatWeekdayNumberSunday,
          "W": formatWeekNumberMonday,
          "x": null,
          "X": null,
          "y": formatYear,
          "Y": formatFullYear,
          "Z": formatZone,
          "%": formatLiteralPercent
        };
        var utcFormats = {
          "a": formatUTCShortWeekday,
          "A": formatUTCWeekday,
          "b": formatUTCShortMonth,
          "B": formatUTCMonth,
          "c": null,
          "d": formatUTCDayOfMonth,
          "e": formatUTCDayOfMonth,
          "f": formatUTCMicroseconds,
          "g": formatUTCYearISO,
          "G": formatUTCFullYearISO,
          "H": formatUTCHour24,
          "I": formatUTCHour12,
          "j": formatUTCDayOfYear,
          "L": formatUTCMilliseconds,
          "m": formatUTCMonthNumber,
          "M": formatUTCMinutes,
          "p": formatUTCPeriod,
          "q": formatUTCQuarter,
          "Q": formatUnixTimestamp,
          "s": formatUnixTimestampSeconds,
          "S": formatUTCSeconds,
          "u": formatUTCWeekdayNumberMonday,
          "U": formatUTCWeekNumberSunday,
          "V": formatUTCWeekNumberISO,
          "w": formatUTCWeekdayNumberSunday,
          "W": formatUTCWeekNumberMonday,
          "x": null,
          "X": null,
          "y": formatUTCYear,
          "Y": formatUTCFullYear,
          "Z": formatUTCZone,
          "%": formatLiteralPercent
        };
        var parses = {
          "a": parseShortWeekday,
          "A": parseWeekday,
          "b": parseShortMonth,
          "B": parseMonth,
          "c": parseLocaleDateTime,
          "d": parseDayOfMonth,
          "e": parseDayOfMonth,
          "f": parseMicroseconds,
          "g": parseYear,
          "G": parseFullYear,
          "H": parseHour24,
          "I": parseHour24,
          "j": parseDayOfYear,
          "L": parseMilliseconds,
          "m": parseMonthNumber,
          "M": parseMinutes,
          "p": parsePeriod,
          "q": parseQuarter,
          "Q": parseUnixTimestamp,
          "s": parseUnixTimestampSeconds,
          "S": parseSeconds,
          "u": parseWeekdayNumberMonday,
          "U": parseWeekNumberSunday,
          "V": parseWeekNumberISO,
          "w": parseWeekdayNumberSunday,
          "W": parseWeekNumberMonday,
          "x": parseLocaleDate,
          "X": parseLocaleTime,
          "y": parseYear,
          "Y": parseFullYear,
          "Z": parseZone,
          "%": parseLiteralPercent
        }; // These recursive directive definitions must be deferred.

        formats.x = newFormat(locale_date, formats);
        formats.X = newFormat(locale_time, formats);
        formats.c = newFormat(locale_dateTime, formats);
        utcFormats.x = newFormat(locale_date, utcFormats);
        utcFormats.X = newFormat(locale_time, utcFormats);
        utcFormats.c = newFormat(locale_dateTime, utcFormats);

        function newFormat(specifier, formats) {
          return function (date) {
            var string = [],
                i = -1,
                j = 0,
                n = specifier.length,
                c,
                pad,
                format;
            if (!(date instanceof Date)) date = new Date(+date);

            while (++i < n) {
              if (specifier.charCodeAt(i) === 37) {
                string.push(specifier.slice(j, i));
                if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);else pad = c === "e" ? " " : "0";
                if (format = formats[c]) c = format(date, pad);
                string.push(c);
                j = i + 1;
              }
            }

            string.push(specifier.slice(j, i));
            return string.join("");
          };
        }

        function newParse(specifier, Z) {
          return function (string) {
            var d = newDate(1900, undefined, 1),
                i = parseSpecifier(d, specifier, string += "", 0),
                week,
                day;
            if (i != string.length) return null; // If a UNIX timestamp is specified, return it.

            if ("Q" in d) return new Date(d.Q);
            if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0)); // If this is utcParse, never use the local timezone.

            if (Z && !("Z" in d)) d.Z = 0; // The am-pm flag is 0 for AM, and 1 for PM.

            if ("p" in d) d.H = d.H % 12 + d.p * 12; // If the month was not specified, inherit from the quarter.

            if (d.m === undefined) d.m = "q" in d ? d.q : 0; // Convert day-of-week and week-of-year to day-of-year.

            if ("V" in d) {
              if (d.V < 1 || d.V > 53) return null;
              if (!("w" in d)) d.w = 1;

              if ("Z" in d) {
                week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
                week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonday"].ceil(week) : Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonday"])(week);
                week = d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"].offset(week, (d.V - 1) * 7);
                d.y = week.getUTCFullYear();
                d.m = week.getUTCMonth();
                d.d = week.getUTCDate() + (d.w + 6) % 7;
              } else {
                week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
                week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonday"].ceil(week) : Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonday"])(week);
                week = d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"].offset(week, (d.V - 1) * 7);
                d.y = week.getFullYear();
                d.m = week.getMonth();
                d.d = week.getDate() + (d.w + 6) % 7;
              }
            } else if ("W" in d || "U" in d) {
              if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
              day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
              d.m = 0;
              d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
            } // If a time zone is specified, all fields are interpreted as UTC and then
            // offset according to the specified time zone.


            if ("Z" in d) {
              d.H += d.Z / 100 | 0;
              d.M += d.Z % 100;
              return utcDate(d);
            } // Otherwise, all fields are in local time.


            return localDate(d);
          };
        }

        function parseSpecifier(d, specifier, string, j) {
          var i = 0,
              n = specifier.length,
              m = string.length,
              c,
              parse;

          while (i < n) {
            if (j >= m) return -1;
            c = specifier.charCodeAt(i++);

            if (c === 37) {
              c = specifier.charAt(i++);
              parse = parses[c in pads ? specifier.charAt(i++) : c];
              if (!parse || (j = parse(d, string, j)) < 0) return -1;
            } else if (c != string.charCodeAt(j++)) {
              return -1;
            }
          }

          return j;
        }

        function parsePeriod(d, string, i) {
          var n = periodRe.exec(string.slice(i));
          return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1;
        }

        function parseShortWeekday(d, string, i) {
          var n = shortWeekdayRe.exec(string.slice(i));
          return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;
        }

        function parseWeekday(d, string, i) {
          var n = weekdayRe.exec(string.slice(i));
          return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;
        }

        function parseShortMonth(d, string, i) {
          var n = shortMonthRe.exec(string.slice(i));
          return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1;
        }

        function parseMonth(d, string, i) {
          var n = monthRe.exec(string.slice(i));
          return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1;
        }

        function parseLocaleDateTime(d, string, i) {
          return parseSpecifier(d, locale_dateTime, string, i);
        }

        function parseLocaleDate(d, string, i) {
          return parseSpecifier(d, locale_date, string, i);
        }

        function parseLocaleTime(d, string, i) {
          return parseSpecifier(d, locale_time, string, i);
        }

        function formatShortWeekday(d) {
          return locale_shortWeekdays[d.getDay()];
        }

        function formatWeekday(d) {
          return locale_weekdays[d.getDay()];
        }

        function formatShortMonth(d) {
          return locale_shortMonths[d.getMonth()];
        }

        function formatMonth(d) {
          return locale_months[d.getMonth()];
        }

        function formatPeriod(d) {
          return locale_periods[+(d.getHours() >= 12)];
        }

        function formatQuarter(d) {
          return 1 + ~~(d.getMonth() / 3);
        }

        function formatUTCShortWeekday(d) {
          return locale_shortWeekdays[d.getUTCDay()];
        }

        function formatUTCWeekday(d) {
          return locale_weekdays[d.getUTCDay()];
        }

        function formatUTCShortMonth(d) {
          return locale_shortMonths[d.getUTCMonth()];
        }

        function formatUTCMonth(d) {
          return locale_months[d.getUTCMonth()];
        }

        function formatUTCPeriod(d) {
          return locale_periods[+(d.getUTCHours() >= 12)];
        }

        function formatUTCQuarter(d) {
          return 1 + ~~(d.getUTCMonth() / 3);
        }

        return {
          format: function format(specifier) {
            var f = newFormat(specifier += "", formats);

            f.toString = function () {
              return specifier;
            };

            return f;
          },
          parse: function parse(specifier) {
            var p = newParse(specifier += "", false);

            p.toString = function () {
              return specifier;
            };

            return p;
          },
          utcFormat: function utcFormat(specifier) {
            var f = newFormat(specifier += "", utcFormats);

            f.toString = function () {
              return specifier;
            };

            return f;
          },
          utcParse: function utcParse(specifier) {
            var p = newParse(specifier += "", true);

            p.toString = function () {
              return specifier;
            };

            return p;
          }
        };
      }

      var pads = {
        "-": "",
        "_": " ",
        "0": "0"
      },
          numberRe = /^\s*\d+/,
          // note: ignores next directive
      percentRe = /^%/,
          requoteRe = /[\\^$*+?|[\]().{}]/g;

      function pad(value, fill, width) {
        var sign = value < 0 ? "-" : "",
            string = (sign ? -value : value) + "",
            length = string.length;
        return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
      }

      function requote(s) {
        return s.replace(requoteRe, "\\$&");
      }

      function formatRe(names) {
        return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
      }

      function formatLookup(names) {
        var map = {},
            i = -1,
            n = names.length;

        while (++i < n) {
          map[names[i].toLowerCase()] = i;
        }

        return map;
      }

      function parseWeekdayNumberSunday(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 1));
        return n ? (d.w = +n[0], i + n[0].length) : -1;
      }

      function parseWeekdayNumberMonday(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 1));
        return n ? (d.u = +n[0], i + n[0].length) : -1;
      }

      function parseWeekNumberSunday(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.U = +n[0], i + n[0].length) : -1;
      }

      function parseWeekNumberISO(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.V = +n[0], i + n[0].length) : -1;
      }

      function parseWeekNumberMonday(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.W = +n[0], i + n[0].length) : -1;
      }

      function parseFullYear(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 4));
        return n ? (d.y = +n[0], i + n[0].length) : -1;
      }

      function parseYear(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;
      }

      function parseZone(d, string, i) {
        var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
        return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
      }

      function parseQuarter(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 1));
        return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
      }

      function parseMonthNumber(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
      }

      function parseDayOfMonth(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.d = +n[0], i + n[0].length) : -1;
      }

      function parseDayOfYear(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 3));
        return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
      }

      function parseHour24(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.H = +n[0], i + n[0].length) : -1;
      }

      function parseMinutes(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.M = +n[0], i + n[0].length) : -1;
      }

      function parseSeconds(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 2));
        return n ? (d.S = +n[0], i + n[0].length) : -1;
      }

      function parseMilliseconds(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 3));
        return n ? (d.L = +n[0], i + n[0].length) : -1;
      }

      function parseMicroseconds(d, string, i) {
        var n = numberRe.exec(string.slice(i, i + 6));
        return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
      }

      function parseLiteralPercent(d, string, i) {
        var n = percentRe.exec(string.slice(i, i + 1));
        return n ? i + n[0].length : -1;
      }

      function parseUnixTimestamp(d, string, i) {
        var n = numberRe.exec(string.slice(i));
        return n ? (d.Q = +n[0], i + n[0].length) : -1;
      }

      function parseUnixTimestampSeconds(d, string, i) {
        var n = numberRe.exec(string.slice(i));
        return n ? (d.s = +n[0], i + n[0].length) : -1;
      }

      function formatDayOfMonth(d, p) {
        return pad(d.getDate(), p, 2);
      }

      function formatHour24(d, p) {
        return pad(d.getHours(), p, 2);
      }

      function formatHour12(d, p) {
        return pad(d.getHours() % 12 || 12, p, 2);
      }

      function formatDayOfYear(d, p) {
        return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d), d), p, 3);
      }

      function formatMilliseconds(d, p) {
        return pad(d.getMilliseconds(), p, 3);
      }

      function formatMicroseconds(d, p) {
        return formatMilliseconds(d, p) + "000";
      }

      function formatMonthNumber(d, p) {
        return pad(d.getMonth() + 1, p, 2);
      }

      function formatMinutes(d, p) {
        return pad(d.getMinutes(), p, 2);
      }

      function formatSeconds(d, p) {
        return pad(d.getSeconds(), p, 2);
      }

      function formatWeekdayNumberMonday(d) {
        var day = d.getDay();
        return day === 0 ? 7 : day;
      }

      function formatWeekNumberSunday(d, p) {
        return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeSunday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d) - 1, d), p, 2);
      }

      function dISO(d) {
        var day = d.getDay();
        return day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"].ceil(d);
      }

      function formatWeekNumberISO(d, p) {
        d = dISO(d);
        return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d), d) + (Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d).getDay() === 4), p, 2);
      }

      function formatWeekdayNumberSunday(d) {
        return d.getDay();
      }

      function formatWeekNumberMonday(d, p) {
        return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d) - 1, d), p, 2);
      }

      function formatYear(d, p) {
        return pad(d.getFullYear() % 100, p, 2);
      }

      function formatYearISO(d, p) {
        d = dISO(d);
        return pad(d.getFullYear() % 100, p, 2);
      }

      function formatFullYear(d, p) {
        return pad(d.getFullYear() % 10000, p, 4);
      }

      function formatFullYearISO(d, p) {
        var day = d.getDay();
        d = day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"].ceil(d);
        return pad(d.getFullYear() % 10000, p, 4);
      }

      function formatZone(d) {
        var z = d.getTimezoneOffset();
        return (z > 0 ? "-" : (z *= -1, "+")) + pad(z / 60 | 0, "0", 2) + pad(z % 60, "0", 2);
      }

      function formatUTCDayOfMonth(d, p) {
        return pad(d.getUTCDate(), p, 2);
      }

      function formatUTCHour24(d, p) {
        return pad(d.getUTCHours(), p, 2);
      }

      function formatUTCHour12(d, p) {
        return pad(d.getUTCHours() % 12 || 12, p, 2);
      }

      function formatUTCDayOfYear(d, p) {
        return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d), d), p, 3);
      }

      function formatUTCMilliseconds(d, p) {
        return pad(d.getUTCMilliseconds(), p, 3);
      }

      function formatUTCMicroseconds(d, p) {
        return formatUTCMilliseconds(d, p) + "000";
      }

      function formatUTCMonthNumber(d, p) {
        return pad(d.getUTCMonth() + 1, p, 2);
      }

      function formatUTCMinutes(d, p) {
        return pad(d.getUTCMinutes(), p, 2);
      }

      function formatUTCSeconds(d, p) {
        return pad(d.getUTCSeconds(), p, 2);
      }

      function formatUTCWeekdayNumberMonday(d) {
        var dow = d.getUTCDay();
        return dow === 0 ? 7 : dow;
      }

      function formatUTCWeekNumberSunday(d, p) {
        return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcSunday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d) - 1, d), p, 2);
      }

      function UTCdISO(d) {
        var day = d.getUTCDay();
        return day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"].ceil(d);
      }

      function formatUTCWeekNumberISO(d, p) {
        d = UTCdISO(d);
        return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d), d) + (Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d).getUTCDay() === 4), p, 2);
      }

      function formatUTCWeekdayNumberSunday(d) {
        return d.getUTCDay();
      }

      function formatUTCWeekNumberMonday(d, p) {
        return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d) - 1, d), p, 2);
      }

      function formatUTCYear(d, p) {
        return pad(d.getUTCFullYear() % 100, p, 2);
      }

      function formatUTCYearISO(d, p) {
        d = UTCdISO(d);
        return pad(d.getUTCFullYear() % 100, p, 2);
      }

      function formatUTCFullYear(d, p) {
        return pad(d.getUTCFullYear() % 10000, p, 4);
      }

      function formatUTCFullYearISO(d, p) {
        var day = d.getUTCDay();
        d = day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"].ceil(d);
        return pad(d.getUTCFullYear() % 10000, p, 4);
      }

      function formatUTCZone() {
        return "+0000";
      }

      function formatLiteralPercent() {
        return "%";
      }

      function formatUnixTimestamp(d) {
        return +d;
      }

      function formatUnixTimestampSeconds(d) {
        return Math.floor(+d / 1000);
      }
      /***/

    },

    /***/
    "q+nN": function qNN(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _drag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./drag.js */
      "AJ/N");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "drag", function () {
        return _drag_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _nodrag_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./nodrag.js */
      "tU+D");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "dragDisable", function () {
        return _nodrag_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "dragEnable", function () {
        return _nodrag_js__WEBPACK_IMPORTED_MODULE_1__["yesdrag"];
      });
      /***/

    },

    /***/
    "qE0H": function qE0H(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function Natural(context) {
        this._context = context;
      }

      Natural.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x = [];
          this._y = [];
        },
        lineEnd: function lineEnd() {
          var x = this._x,
              y = this._y,
              n = x.length;

          if (n) {
            this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);

            if (n === 2) {
              this._context.lineTo(x[1], y[1]);
            } else {
              var px = controlPoints(x),
                  py = controlPoints(y);

              for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {
                this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);
              }
            }
          }

          if (this._line || this._line !== 0 && n === 1) this._context.closePath();
          this._line = 1 - this._line;
          this._x = this._y = null;
        },
        point: function point(x, y) {
          this._x.push(+x);

          this._y.push(+y);
        }
      }; // See https://www.particleincell.com/2012/bezier-splines/ for derivation.

      function controlPoints(x) {
        var i,
            n = x.length - 1,
            m,
            a = new Array(n),
            b = new Array(n),
            r = new Array(n);
        a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];

        for (i = 1; i < n - 1; ++i) {
          a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];
        }

        a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];

        for (i = 1; i < n; ++i) {
          m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];
        }

        a[n - 1] = r[n - 1] / b[n - 1];

        for (i = n - 2; i >= 0; --i) {
          a[i] = (r[i] - a[i + 1]) / b[i];
        }

        b[n - 1] = (x[n] + a[n - 1]) / 2;

        for (i = 0; i < n - 1; ++i) {
          b[i] = 2 * x[i + 1] - a[i + 1];
        }

        return [a, b];
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (context) {
        return new Natural(context);
      };
      /***/

    },

    /***/
    "qKDy": function qKDy(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function () {
          return x;
        };
      };
      /***/

    },

    /***/
    "qLhn": function qLhn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./creator */
      "V/Wt");
      /* harmony import */


      var _select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./select */
      "AKWm");
      /* harmony default export */


      __webpack_exports__["default"] = function (name) {
        return Object(_select__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(_creator__WEBPACK_IMPORTED_MODULE_0__["default"])(name).call(document.documentElement));
      };
      /***/

    },

    /***/
    "qR3b": function qR3b(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index.js */
      "0W9s");
      /* harmony default export */


      __webpack_exports__["default"] = function (transition) {
        if (transition._id !== this._id) throw new Error();

        for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
          for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
            if (node = group0[i] || group1[i]) {
              merge[i] = node;
            }
          }
        }

        for (; j < m0; ++j) {
          merges[j] = groups0[j];
        }

        return new _index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"](merges, this._parents, this._name, this._id);
      };
      /***/

    },

    /***/
    "qnQu": function qnQu(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "formatDecimalParts", function () {
        return formatDecimalParts;
      });
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return Math.abs(x = Math.round(x)) >= 1e21 ? x.toLocaleString("en").replace(/,/g, "") : x.toString(10);
      }; // Computes the decimal coefficient and exponent of the specified number x with
      // significant digits p, where x is positive and p is in [1, 21] or undefined.
      // For example, formatDecimalParts(1.23) returns ["123", 0].


      function formatDecimalParts(x, p) {
        if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity

        var i,
            coefficient = x.slice(0, i); // The string returned by toExponential either has the form \d\.\d+e[-+]\d+
        // (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3).

        return [coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, +x.slice(i + 1)];
      }
      /***/

    },

    /***/
    "qo2l": function qo2l(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcHours", function () {
        return utcHours;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "G+rV");

      var utcHour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCMinutes(0, 0, 0);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
      }, function (date) {
        return date.getUTCHours();
      });
      /* harmony default export */

      __webpack_exports__["default"] = utcHour;
      var utcHours = utcHour.range;
      /***/
    },

    /***/
    "qqpY": function qqpY(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (series) {
        var n = series.length,
            o = new Array(n);

        while (--n >= 0) {
          o[n] = n;
        }

        return o;
      };
      /***/

    },

    /***/
    "r5Py": function r5Py(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./index.js */
      "0W9s");
      /* harmony import */


      var _schedule_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./schedule.js */
      "rtYu");
      /* harmony default export */


      __webpack_exports__["default"] = function (select) {
        var name = this._name,
            id = this._id;
        if (typeof select !== "function") select = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["selector"])(select);

        for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
            if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
              if ("__data__" in node) subnode.__data__ = node.__data__;
              subgroup[i] = subnode;
              Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["default"])(subgroup[i], name, id, i, subgroup, Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["get"])(node, id));
            }
          }
        }

        return new _index_js__WEBPACK_IMPORTED_MODULE_1__["Transition"](subgroups, this._parents, name, id);
      };
      /***/

    },

    /***/
    "rAw/": function rAw(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return piecewise;
      });

      function piecewise(interpolate, values) {
        var i = 0,
            n = values.length - 1,
            v = values[0],
            I = new Array(n < 0 ? 0 : n);

        while (i < n) {
          I[i] = interpolate(v, v = values[++i]);
        }

        return function (t) {
          var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));
          return I[i](t - i);
        };
      }
      /***/

    },

    /***/
    "rWgG": function rWgG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./defaultLocale.js */
      "EjHT");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "formatDefaultLocale", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "format", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["format"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "formatPrefix", function () {
        return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["formatPrefix"];
      });
      /* harmony import */


      var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./locale.js */
      "sXBl");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "formatLocale", function () {
        return _locale_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./formatSpecifier.js */
      "CbjS");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "formatSpecifier", function () {
        return _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "FormatSpecifier", function () {
        return _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__["FormatSpecifier"];
      });
      /* harmony import */


      var _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./precisionFixed.js */
      "2tFh");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "precisionFixed", function () {
        return _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./precisionPrefix.js */
      "2TPD");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "precisionPrefix", function () {
        return _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./precisionRound.js */
      "2Ynt");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "precisionRound", function () {
        return _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /***/

    },

    /***/
    "rkAg": function rkAg(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      var sqrt3 = Math.sqrt(3);
      /* harmony default export */

      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var y = -Math.sqrt(size / (sqrt3 * 3));
          context.moveTo(0, y * 2);
          context.lineTo(-sqrt3 * y, -y);
          context.lineTo(sqrt3 * y, -y);
          context.closePath();
        }
      };
      /***/
    },

    /***/
    "rtYu": function rtYu(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CREATED", function () {
        return CREATED;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "SCHEDULED", function () {
        return SCHEDULED;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "STARTING", function () {
        return STARTING;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "STARTED", function () {
        return STARTED;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "RUNNING", function () {
        return RUNNING;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ENDING", function () {
        return ENDING;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "ENDED", function () {
        return ENDED;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "init", function () {
        return init;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "set", function () {
        return set;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "get", function () {
        return get;
      });
      /* harmony import */


      var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-dispatch */
      "30U6");
      /* harmony import */


      var d3_timer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-timer */
      "ta7q");

      var emptyOn = Object(d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["dispatch"])("start", "end", "cancel", "interrupt");
      var emptyTween = [];
      var CREATED = 0;
      var SCHEDULED = 1;
      var STARTING = 2;
      var STARTED = 3;
      var RUNNING = 4;
      var ENDING = 5;
      var ENDED = 6;
      /* harmony default export */

      __webpack_exports__["default"] = function (node, name, id, index, group, timing) {
        var schedules = node.__transition;
        if (!schedules) node.__transition = {};else if (id in schedules) return;
        create(node, id, {
          name: name,
          index: index,
          // For context during callback.
          group: group,
          // For context during callback.
          on: emptyOn,
          tween: emptyTween,
          time: timing.time,
          delay: timing.delay,
          duration: timing.duration,
          ease: timing.ease,
          timer: null,
          state: CREATED
        });
      };

      function init(node, id) {
        var schedule = get(node, id);
        if (schedule.state > CREATED) throw new Error("too late; already scheduled");
        return schedule;
      }

      function set(node, id) {
        var schedule = get(node, id);
        if (schedule.state > STARTED) throw new Error("too late; already running");
        return schedule;
      }

      function get(node, id) {
        var schedule = node.__transition;
        if (!schedule || !(schedule = schedule[id])) throw new Error("transition not found");
        return schedule;
      }

      function create(node, id, self) {
        var schedules = node.__transition,
            tween; // Initialize the self timer when the transition is created.
        // Note the actual delay is not known until the first callback!

        schedules[id] = self;
        self.timer = Object(d3_timer__WEBPACK_IMPORTED_MODULE_1__["timer"])(schedule, 0, self.time);

        function schedule(elapsed) {
          self.state = SCHEDULED;
          self.timer.restart(start, self.delay, self.time); // If the elapsed delay is less than our first sleep, start immediately.

          if (self.delay <= elapsed) start(elapsed - self.delay);
        }

        function start(elapsed) {
          var i, j, n, o; // If the state is not SCHEDULED, then we previously errored on start.

          if (self.state !== SCHEDULED) return stop();

          for (i in schedules) {
            o = schedules[i];
            if (o.name !== self.name) continue; // While this element already has a starting transition during this frame,
            // defer starting an interrupting transition until that transition has a
            // chance to tick (and possibly end); see d3/d3-transition#54!

            if (o.state === STARTED) return Object(d3_timer__WEBPACK_IMPORTED_MODULE_1__["timeout"])(start); // Interrupt the active transition, if any.

            if (o.state === RUNNING) {
              o.state = ENDED;
              o.timer.stop();
              o.on.call("interrupt", node, node.__data__, o.index, o.group);
              delete schedules[i];
            } // Cancel any pre-empted transitions.
            else if (+i < id) {
              o.state = ENDED;
              o.timer.stop();
              o.on.call("cancel", node, node.__data__, o.index, o.group);
              delete schedules[i];
            }
          } // Defer the first tick to end of the current frame; see d3/d3#1576.
          // Note the transition may be canceled after start and before the first tick!
          // Note this must be scheduled before the start event; see d3/d3-transition#16!
          // Assuming this is successful, subsequent callbacks go straight to tick.


          Object(d3_timer__WEBPACK_IMPORTED_MODULE_1__["timeout"])(function () {
            if (self.state === STARTED) {
              self.state = RUNNING;
              self.timer.restart(tick, self.delay, self.time);
              tick(elapsed);
            }
          }); // Dispatch the start event.
          // Note this must be done before the tween are initialized.

          self.state = STARTING;
          self.on.call("start", node, node.__data__, self.index, self.group);
          if (self.state !== STARTING) return; // interrupted

          self.state = STARTED; // Initialize the tween, deleting null tween.

          tween = new Array(n = self.tween.length);

          for (i = 0, j = -1; i < n; ++i) {
            if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {
              tween[++j] = o;
            }
          }

          tween.length = j + 1;
        }

        function tick(elapsed) {
          var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),
              i = -1,
              n = tween.length;

          while (++i < n) {
            tween[i].call(node, t);
          } // Dispatch the end event.


          if (self.state === ENDING) {
            self.on.call("end", node, node.__data__, self.index, self.group);
            stop();
          }
        }

        function stop() {
          self.state = ENDED;
          self.timer.stop();
          delete schedules[id];

          for (var i in schedules) {
            return;
          } // eslint-disable-line no-unused-vars


          delete node.__transition;
        }
      }
      /***/

    },

    /***/
    "s8O9": function s8O9(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hours", function () {
        return hours;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      var hour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"] - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
      }, function (date, step) {
        date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
      }, function (date) {
        return date.getHours();
      });
      /* harmony default export */

      __webpack_exports__["default"] = hour;
      var hours = hour.range;
      /***/
    },

    /***/
    "sCaM": function sCaM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return band;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "point", function () {
        return point;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");
      /* harmony import */


      var _ordinal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./ordinal.js */
      "3xmg");

      function band() {
        var scale = Object(_ordinal_js__WEBPACK_IMPORTED_MODULE_2__["default"])().unknown(undefined),
            domain = scale.domain,
            ordinalRange = scale.range,
            r0 = 0,
            r1 = 1,
            step,
            bandwidth,
            round = false,
            paddingInner = 0,
            paddingOuter = 0,
            align = 0.5;
        delete scale.unknown;

        function rescale() {
          var n = domain().length,
              reverse = r1 < r0,
              start = reverse ? r1 : r0,
              stop = reverse ? r0 : r1;
          step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);
          if (round) step = Math.floor(step);
          start += (stop - start - step * (n - paddingInner)) * align;
          bandwidth = step * (1 - paddingInner);
          if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);
          var values = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["range"])(n).map(function (i) {
            return start + step * i;
          });
          return ordinalRange(reverse ? values.reverse() : values);
        }

        scale.domain = function (_) {
          return arguments.length ? (domain(_), rescale()) : domain();
        };

        scale.range = function (_) {
          var _ref63, _ref64;

          return arguments.length ? ((_ref63 = _, _ref64 = _slicedToArray(_ref63, 2), r0 = _ref64[0], r1 = _ref64[1], _ref63), r0 = +r0, r1 = +r1, rescale()) : [r0, r1];
        };

        scale.rangeRound = function (_) {
          var _ref65, _ref66;

          return (_ref65 = _, _ref66 = _slicedToArray(_ref65, 2), r0 = _ref66[0], r1 = _ref66[1], _ref65), r0 = +r0, r1 = +r1, round = true, rescale();
        };

        scale.bandwidth = function () {
          return bandwidth;
        };

        scale.step = function () {
          return step;
        };

        scale.round = function (_) {
          return arguments.length ? (round = !!_, rescale()) : round;
        };

        scale.padding = function (_) {
          return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner;
        };

        scale.paddingInner = function (_) {
          return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner;
        };

        scale.paddingOuter = function (_) {
          return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter;
        };

        scale.align = function (_) {
          return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;
        };

        scale.copy = function () {
          return band(domain(), [r0, r1]).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align);
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(rescale(), arguments);
      }

      function pointish(scale) {
        var copy = scale.copy;
        scale.padding = scale.paddingOuter;
        delete scale.paddingInner;
        delete scale.paddingOuter;

        scale.copy = function () {
          return pointish(copy());
        };

        return scale;
      }

      function point() {
        return pointish(band.apply(null, arguments).paddingInner(1));
      }
      /***/

    },

    /***/
    "sFV2": function sFV2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "hue", function () {
        return hue;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "gamma", function () {
        return gamma;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return nogamma;
      });
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./constant.js */
      "xpj1");

      function linear(a, d) {
        return function (t) {
          return a + t * d;
        };
      }

      function exponential(a, b, y) {
        return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function (t) {
          return Math.pow(a + t * b, y);
        };
      }

      function hue(a, b) {
        var d = b - a;
        return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
      }

      function gamma(y) {
        return (y = +y) === 1 ? nogamma : function (a, b) {
          return b - a ? exponential(a, b, y) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
        };
      }

      function nogamma(a, b) {
        var d = b - a;
        return d ? linear(a, d) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
      }
      /***/

    },

    /***/
    "sK06": function sK06(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "CardinalOpen", function () {
        return CardinalOpen;
      });
      /* harmony import */


      var _cardinal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./cardinal.js */
      "d5JU");

      function CardinalOpen(context, tension) {
        this._context = context;
        this._k = (1 - tension) / 6;
      }

      CardinalOpen.prototype = {
        areaStart: function areaStart() {
          this._line = 0;
        },
        areaEnd: function areaEnd() {
          this._line = NaN;
        },
        lineStart: function lineStart() {
          this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
          this._line = 1 - this._line;
        },
        point: function point(x, y) {
          x = +x, y = +y;

          switch (this._point) {
            case 0:
              this._point = 1;
              break;

            case 1:
              this._point = 2;
              break;

            case 2:
              this._point = 3;
              this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
              break;

            case 3:
              this._point = 4;
            // proceed

            default:
              Object(_cardinal_js__WEBPACK_IMPORTED_MODULE_0__["point"])(this, x, y);
              break;
          }

          this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
          this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function custom(tension) {
        function cardinal(context) {
          return new CardinalOpen(context, tension);
        }

        cardinal.tension = function (tension) {
          return custom(+tension);
        };

        return cardinal;
      }(0);
      /***/

    },

    /***/
    "sQjb": function sQjb(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _selection_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./selection/index.js */
      "YrTO");
      /* harmony import */


      var _transition_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./transition/index.js */
      "0W9s");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "transition", function () {
        return _transition_index_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _active_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./active.js */
      "6nXi");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "active", function () {
        return _active_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _interrupt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./interrupt.js */
      "dW/k");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interrupt", function () {
        return _interrupt_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /***/

    },

    /***/
    "sUwa": function sUwa(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sunday", function () {
        return sunday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "monday", function () {
        return monday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tuesday", function () {
        return tuesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "wednesday", function () {
        return wednesday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "thursday", function () {
        return thursday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "friday", function () {
        return friday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "saturday", function () {
        return saturday;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sundays", function () {
        return sundays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "mondays", function () {
        return mondays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "tuesdays", function () {
        return tuesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "wednesdays", function () {
        return wednesdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "thursdays", function () {
        return thursdays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "fridays", function () {
        return fridays;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "saturdays", function () {
        return saturdays;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony import */


      var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./duration.js */
      "Fzhe");

      function weekday(i) {
        return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
          date.setHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setDate(date.getDate() + step * 7);
        }, function (start, end) {
          return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
        });
      }

      var sunday = weekday(0);
      var monday = weekday(1);
      var tuesday = weekday(2);
      var wednesday = weekday(3);
      var thursday = weekday(4);
      var friday = weekday(5);
      var saturday = weekday(6);
      var sundays = sunday.range;
      var mondays = monday.range;
      var tuesdays = tuesday.range;
      var wednesdays = wednesday.range;
      var thursdays = thursday.range;
      var fridays = friday.range;
      var saturdays = saturday.range;
      /***/
    },

    /***/
    "sXBl": function sXBl(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./exponent.js */
      "p/1U");
      /* harmony import */


      var _formatGroup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./formatGroup.js */
      "mHFb");
      /* harmony import */


      var _formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./formatNumerals.js */
      "AUoe");
      /* harmony import */


      var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./formatSpecifier.js */
      "CbjS");
      /* harmony import */


      var _formatTrim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./formatTrim.js */
      "kds9");
      /* harmony import */


      var _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./formatTypes.js */
      "tO8Z");
      /* harmony import */


      var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./formatPrefixAuto.js */
      "ze3m");
      /* harmony import */


      var _identity_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./identity.js */
      "EUnC");

      var map = Array.prototype.map,
          prefixes = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
      /* harmony default export */

      __webpack_exports__["default"] = function (locale) {
        var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_7__["default"] : Object(_formatGroup_js__WEBPACK_IMPORTED_MODULE_1__["default"])(map.call(locale.grouping, Number), locale.thousands + ""),
            currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
            currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
            decimal = locale.decimal === undefined ? "." : locale.decimal + "",
            numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_7__["default"] : Object(_formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(map.call(locale.numerals, String)),
            percent = locale.percent === undefined ? "%" : locale.percent + "",
            minus = locale.minus === undefined ? "-" : locale.minus + "",
            nan = locale.nan === undefined ? "NaN" : locale.nan + "";

        function newFormat(specifier) {
          specifier = Object(_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier);
          var fill = specifier.fill,
              align = specifier.align,
              sign = specifier.sign,
              symbol = specifier.symbol,
              zero = specifier.zero,
              width = specifier.width,
              comma = specifier.comma,
              precision = specifier.precision,
              trim = specifier.trim,
              type = specifier.type; // The "n" type is an alias for ",g".

          if (type === "n") comma = true, type = "g"; // The "" type, and any invalid type, is an alias for ".12~g".
          else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_5__["default"][type]) precision === undefined && (precision = 12), trim = true, type = "g"; // If zero fill is specified, padding goes after sign and before digits.

          if (zero || fill === "0" && align === "=") zero = true, fill = "0", align = "="; // Compute the prefix and suffix.
          // For SI-prefix, the suffix is lazily computed.

          var prefix = symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : "",
              suffix = symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : ""; // What format function should we use?
          // Is this an integer type?
          // Can this type generate exponential notation?

          var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__["default"][type],
              maybeSuffix = /[defgprs%]/.test(type); // Set the default precision if not specified,
          // or clamp the specified precision to the supported range.
          // For significant precision, it must be in [1, 21].
          // For fixed precision, it must be in [0, 20].

          precision = precision === undefined ? 6 : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision)) : Math.max(0, Math.min(20, precision));

          function format(value) {
            var valuePrefix = prefix,
                valueSuffix = suffix,
                i,
                n,
                c;

            if (type === "c") {
              valueSuffix = formatType(value) + valueSuffix;
              value = "";
            } else {
              value = +value; // Determine the sign. -0 is not less than 0, but 1 / -0 is!

              var valueNegative = value < 0 || 1 / value < 0; // Perform the initial formatting.

              value = isNaN(value) ? nan : formatType(Math.abs(value), precision); // Trim insignificant zeros.

              if (trim) value = Object(_formatTrim_js__WEBPACK_IMPORTED_MODULE_4__["default"])(value); // If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.

              if (valueNegative && +value === 0 && sign !== "+") valueNegative = false; // Compute the prefix and suffix.

              valuePrefix = (valueNegative ? sign === "(" ? sign : minus : sign === "-" || sign === "(" ? "" : sign) + valuePrefix;
              valueSuffix = (type === "s" ? prefixes[8 + _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__["prefixExponent"] / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : ""); // Break the formatted value into the integer “value” part that can be
              // grouped, and fractional or exponential “suffix” part that is not.

              if (maybeSuffix) {
                i = -1, n = value.length;

                while (++i < n) {
                  if (c = value.charCodeAt(i), 48 > c || c > 57) {
                    valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;
                    value = value.slice(0, i);
                    break;
                  }
                }
              }
            } // If the fill character is not "0", grouping is applied before padding.


            if (comma && !zero) value = group(value, Infinity); // Compute the padding.

            var length = valuePrefix.length + value.length + valueSuffix.length,
                padding = length < width ? new Array(width - length + 1).join(fill) : ""; // If the fill character is "0", grouping is applied after padding.

            if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = ""; // Reconstruct the final output based on the desired alignment.

            switch (align) {
              case "<":
                value = valuePrefix + value + valueSuffix + padding;
                break;

              case "=":
                value = valuePrefix + padding + value + valueSuffix;
                break;

              case "^":
                value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length);
                break;

              default:
                value = padding + valuePrefix + value + valueSuffix;
                break;
            }

            return numerals(value);
          }

          format.toString = function () {
            return specifier + "";
          };

          return format;
        }

        function formatPrefix(specifier, value) {
          var f = newFormat((specifier = Object(_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier), specifier.type = "f", specifier)),
              e = Math.max(-8, Math.min(8, Math.floor(Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3,
              k = Math.pow(10, -e),
              prefix = prefixes[8 + e / 3];
          return function (value) {
            return f(k * value) + prefix;
          };
        }

        return {
          format: newFormat,
          formatPrefix: formatPrefix
        };
      };
      /***/

    },

    /***/
    "skEf": function skEf(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function htmlRemove() {
        this.innerHTML = "";
      }

      function htmlConstant(value) {
        return function () {
          this.innerHTML = value;
        };
      }

      function htmlFunction(value) {
        return function () {
          var v = value.apply(this, arguments);
          this.innerHTML = v == null ? "" : v;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        return arguments.length ? this.each(value == null ? htmlRemove : (typeof value === "function" ? htmlFunction : htmlConstant)(value)) : this.node().innerHTML;
      };
      /***/

    },

    /***/
    "ssni": function ssni(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return tickFormat;
      });
      /* harmony import */


      var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-array */
      "vBe5");
      /* harmony import */


      var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! d3-format */
      "rWgG");

      function tickFormat(start, stop, count, specifier) {
        var step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start, stop, count),
            precision;
        specifier = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["formatSpecifier"])(specifier == null ? ",f" : specifier);

        switch (specifier.type) {
          case "s":
            {
              var value = Math.max(Math.abs(start), Math.abs(stop));
              if (specifier.precision == null && !isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["precisionPrefix"])(step, value))) specifier.precision = precision;
              return Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["formatPrefix"])(specifier, value);
            }

          case "":
          case "e":
          case "g":
          case "p":
          case "r":
            {
              if (specifier.precision == null && !isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["precisionRound"])(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
              break;
            }

          case "f":
          case "%":
            {
              if (specifier.precision == null && !isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["precisionFixed"])(step))) specifier.precision = precision - (specifier.type === "%") * 2;
              break;
            }
        }

        return Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["format"])(specifier);
      }
      /***/

    },

    /***/
    "tAAF": function tAAF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return least;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");

      function least(values) {
        var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
        var min;
        var defined = false;

        if (compare.length === 1) {
          var minValue;

          var _iterator108 = _createForOfIteratorHelper(values),
              _step108;

          try {
            for (_iterator108.s(); !(_step108 = _iterator108.n()).done;) {
              var element = _step108.value;
              var value = compare(element);

              if (defined ? Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, minValue) < 0 : Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, value) === 0) {
                min = element;
                minValue = value;
                defined = true;
              }
            }
          } catch (err) {
            _iterator108.e(err);
          } finally {
            _iterator108.f();
          }
        } else {
          var _iterator109 = _createForOfIteratorHelper(values),
              _step109;

          try {
            for (_iterator109.s(); !(_step109 = _iterator109.n()).done;) {
              var _value11 = _step109.value;

              if (defined ? compare(_value11, min) < 0 : compare(_value11, _value11) === 0) {
                min = _value11;
                defined = true;
              }
            }
          } catch (err) {
            _iterator109.e(err);
          } finally {
            _iterator109.f();
          }
        }

        return min;
      }
      /***/

    },

    /***/
    "tIkd": function tIkd(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "circleIn", function () {
        return circleIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "circleOut", function () {
        return circleOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "circleInOut", function () {
        return circleInOut;
      });

      function circleIn(t) {
        return 1 - Math.sqrt(1 - t * t);
      }

      function circleOut(t) {
        return Math.sqrt(1 - --t * t);
      }

      function circleInOut(t) {
        return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;
      }
      /***/

    },

    /***/
    "tLhX": function tLhX(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeInterval", function () {
        return _interval_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _millisecond_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./millisecond.js */
      "Wv09");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMillisecond", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMilliseconds", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMillisecond", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMilliseconds", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
      });
      /* harmony import */


      var _second_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./second.js */
      "XKfN");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSecond", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSeconds", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSecond", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSeconds", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
      });
      /* harmony import */


      var _minute_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./minute.js */
      "eFZf");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMinute", function () {
        return _minute_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMinutes", function () {
        return _minute_js__WEBPACK_IMPORTED_MODULE_3__["minutes"];
      });
      /* harmony import */


      var _hour_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./hour.js */
      "cpNG");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeHour", function () {
        return _hour_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeHours", function () {
        return _hour_js__WEBPACK_IMPORTED_MODULE_4__["hours"];
      });
      /* harmony import */


      var _day_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./day.js */
      "9ANq");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeDay", function () {
        return _day_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeDays", function () {
        return _day_js__WEBPACK_IMPORTED_MODULE_5__["days"];
      });
      /* harmony import */


      var _week_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./week.js */
      "YO/N");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWeek", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWeeks", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSunday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSundays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMonday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["monday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMondays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["mondays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeTuesday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeTuesdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWednesday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWednesdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeThursday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeThursdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFriday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["friday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFridays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["fridays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSaturday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSaturdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturdays"];
      });
      /* harmony import */


      var _month_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./month.js */
      "39FP");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMonth", function () {
        return _month_js__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMonths", function () {
        return _month_js__WEBPACK_IMPORTED_MODULE_7__["months"];
      });
      /* harmony import */


      var _year_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./year.js */
      "MYM+");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeYear", function () {
        return _year_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeYears", function () {
        return _year_js__WEBPACK_IMPORTED_MODULE_8__["years"];
      });
      /* harmony import */


      var _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./utcMinute.js */
      "7C4L");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMinute", function () {
        return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
        return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["utcMinutes"];
      });
      /* harmony import */


      var _utcHour_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./utcHour.js */
      "qo2l");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcHour", function () {
        return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcHours", function () {
        return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["utcHours"];
      });
      /* harmony import */


      var _utcDay_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./utcDay.js */
      "cexm");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcDay", function () {
        return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcDays", function () {
        return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["utcDays"];
      });
      /* harmony import */


      var _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./utcWeek.js */
      "Qg4V");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWeek", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWeeks", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMonday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMondays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFriday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFridays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturdays"];
      });
      /* harmony import */


      var _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./utcMonth.js */
      "gwhR");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMonth", function () {
        return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
        return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["utcMonths"];
      });
      /* harmony import */


      var _utcYear_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./utcYear.js */
      "yIB4");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcYear", function () {
        return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcYears", function () {
        return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["utcYears"];
      });
      /* harmony import */


      var _ticks_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./ticks.js */
      "NLDM");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcTicks", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["utcTicks"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcTickInterval", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["utcTickInterval"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeTicks", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["timeTicks"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeTickInterval", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["timeTickInterval"];
      });
      /***/

    },

    /***/
    "tO8Z": function tO8Z(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./formatDecimal.js */
      "qnQu");
      /* harmony import */


      var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./formatPrefixAuto.js */
      "ze3m");
      /* harmony import */


      var _formatRounded_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./formatRounded.js */
      "P3jZ");
      /* harmony default export */


      __webpack_exports__["default"] = {
        "%": function _(x, p) {
          return (x * 100).toFixed(p);
        },
        "b": function b(x) {
          return Math.round(x).toString(2);
        },
        "c": function c(x) {
          return x + "";
        },
        "d": _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        "e": function e(x, p) {
          return x.toExponential(p);
        },
        "f": function f(x, p) {
          return x.toFixed(p);
        },
        "g": function g(x, p) {
          return x.toPrecision(p);
        },
        "o": function o(x) {
          return Math.round(x).toString(8);
        },
        "p": function p(x, _p) {
          return Object(_formatRounded_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x * 100, _p);
        },
        "r": _formatRounded_js__WEBPACK_IMPORTED_MODULE_2__["default"],
        "s": _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_1__["default"],
        "X": function X(x) {
          return Math.round(x).toString(16).toUpperCase();
        },
        "x": function x(_x) {
          return Math.round(_x).toString(16);
        }
      };
      /***/
    },

    /***/
    "tU+D": function tUD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "yesdrag", function () {
        return yesdrag;
      });
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _noevent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./noevent.js */
      "cdIC");
      /* harmony default export */


      __webpack_exports__["default"] = function (view) {
        var root = view.document.documentElement,
            selection = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["select"])(view).on("dragstart.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], true);

        if ("onselectstart" in root) {
          selection.on("selectstart.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], true);
        } else {
          root.__noselect = root.style.MozUserSelect;
          root.style.MozUserSelect = "none";
        }
      };

      function yesdrag(view, noclick) {
        var root = view.document.documentElement,
            selection = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["select"])(view).on("dragstart.drag", null);

        if (noclick) {
          selection.on("click.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], true);
          setTimeout(function () {
            selection.on("click.drag", null);
          }, 0);
        }

        if ("onselectstart" in root) {
          selection.on("selectstart.drag", null);
        } else {
          root.style.MozUserSelect = root.__noselect;
          delete root.__noselect;
        }
      }
      /***/

    },

    /***/
    "ta7q": function ta7q(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./timer.js */
      "dPRQ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "now", function () {
        return _timer_js__WEBPACK_IMPORTED_MODULE_0__["now"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timer", function () {
        return _timer_js__WEBPACK_IMPORTED_MODULE_0__["timer"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timerFlush", function () {
        return _timer_js__WEBPACK_IMPORTED_MODULE_0__["timerFlush"];
      });
      /* harmony import */


      var _timeout_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./timeout.js */
      "Pgey");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeout", function () {
        return _timeout_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./interval.js */
      "1byx");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "interval", function () {
        return _interval_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /***/

    },

    /***/
    "tgfz": function tgfz(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "GOKn");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeInterval", function () {
        return _interval_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _millisecond_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./millisecond.js */
      "GAlb");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMillisecond", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMilliseconds", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMillisecond", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMilliseconds", function () {
        return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
      });
      /* harmony import */


      var _second_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./second.js */
      "Xt/6");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSecond", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSeconds", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSecond", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSeconds", function () {
        return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
      });
      /* harmony import */


      var _minute_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./minute.js */
      "LDjW");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMinute", function () {
        return _minute_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMinutes", function () {
        return _minute_js__WEBPACK_IMPORTED_MODULE_3__["minutes"];
      });
      /* harmony import */


      var _hour_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./hour.js */
      "s8O9");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeHour", function () {
        return _hour_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeHours", function () {
        return _hour_js__WEBPACK_IMPORTED_MODULE_4__["hours"];
      });
      /* harmony import */


      var _day_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./day.js */
      "dCyY");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeDay", function () {
        return _day_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeDays", function () {
        return _day_js__WEBPACK_IMPORTED_MODULE_5__["days"];
      });
      /* harmony import */


      var _week_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./week.js */
      "sUwa");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWeek", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWeeks", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSunday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSundays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMonday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["monday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMondays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["mondays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeTuesday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeTuesdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWednesday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeWednesdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeThursday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeThursdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFriday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["friday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeFridays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["fridays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSaturday", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeSaturdays", function () {
        return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturdays"];
      });
      /* harmony import */


      var _month_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./month.js */
      "lgMH");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMonth", function () {
        return _month_js__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeMonths", function () {
        return _month_js__WEBPACK_IMPORTED_MODULE_7__["months"];
      });
      /* harmony import */


      var _year_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./year.js */
      "oVo9");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeYear", function () {
        return _year_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "timeYears", function () {
        return _year_js__WEBPACK_IMPORTED_MODULE_8__["years"];
      });
      /* harmony import */


      var _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./utcMinute.js */
      "+O7D");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMinute", function () {
        return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
        return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["utcMinutes"];
      });
      /* harmony import */


      var _utcHour_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./utcHour.js */
      "9iN3");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcHour", function () {
        return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcHours", function () {
        return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["utcHours"];
      });
      /* harmony import */


      var _utcDay_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./utcDay.js */
      "brLB");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcDay", function () {
        return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcDays", function () {
        return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["utcDays"];
      });
      /* harmony import */


      var _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./utcWeek.js */
      "Jzny");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWeek", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWeeks", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMonday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMondays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursdays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFriday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFridays"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturday"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
        return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturdays"];
      });
      /* harmony import */


      var _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./utcMonth.js */
      "Vfhj");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMonth", function () {
        return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
        return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["utcMonths"];
      });
      /* harmony import */


      var _utcYear_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./utcYear.js */
      "d65L");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcYear", function () {
        return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "utcYears", function () {
        return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["utcYears"];
      });
      /***/

    },

    /***/
    "tvR+": function tvR(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _round_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./round.js */
      "DdT1");
      /* harmony import */


      var _squarify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./squarify.js */
      "I4jL");
      /* harmony import */


      var _accessors_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ../accessors.js */
      "IeU1");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ../constant.js */
      "CSvP");
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var tile = _squarify_js__WEBPACK_IMPORTED_MODULE_1__["default"],
            round = false,
            dx = 1,
            dy = 1,
            paddingStack = [0],
            paddingInner = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
            paddingTop = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
            paddingRight = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
            paddingBottom = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
            paddingLeft = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"];

        function treemap(root) {
          root.x0 = root.y0 = 0;
          root.x1 = dx;
          root.y1 = dy;
          root.eachBefore(positionNode);
          paddingStack = [0];
          if (round) root.eachBefore(_round_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
          return root;
        }

        function positionNode(node) {
          var p = paddingStack[node.depth],
              x0 = node.x0 + p,
              y0 = node.y0 + p,
              x1 = node.x1 - p,
              y1 = node.y1 - p;
          if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
          if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
          node.x0 = x0;
          node.y0 = y0;
          node.x1 = x1;
          node.y1 = y1;

          if (node.children) {
            p = paddingStack[node.depth + 1] = paddingInner(node) / 2;
            x0 += paddingLeft(node) - p;
            y0 += paddingTop(node) - p;
            x1 -= paddingRight(node) - p;
            y1 -= paddingBottom(node) - p;
            if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
            if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
            tile(node, x0, y0, x1, y1);
          }
        }

        treemap.round = function (x) {
          return arguments.length ? (round = !!x, treemap) : round;
        };

        treemap.size = function (x) {
          return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];
        };

        treemap.tile = function (x) {
          return arguments.length ? (tile = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_2__["required"])(x), treemap) : tile;
        };

        treemap.padding = function (x) {
          return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();
        };

        treemap.paddingInner = function (x) {
          return arguments.length ? (paddingInner = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingInner;
        };

        treemap.paddingOuter = function (x) {
          return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();
        };

        treemap.paddingTop = function (x) {
          return arguments.length ? (paddingTop = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingTop;
        };

        treemap.paddingRight = function (x) {
          return arguments.length ? (paddingRight = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingRight;
        };

        treemap.paddingBottom = function (x) {
          return arguments.length ? (paddingBottom = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingBottom;
        };

        treemap.paddingLeft = function (x) {
          return arguments.length ? (paddingLeft = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingLeft;
        };

        return treemap;
      };
      /***/

    },

    /***/
    "uc95": function uc95(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "elasticIn", function () {
        return elasticIn;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "elasticOut", function () {
        return elasticOut;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "elasticInOut", function () {
        return elasticInOut;
      });
      /* harmony import */


      var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./math.js */
      "6ZHU");

      var tau = 2 * Math.PI,
          amplitude = 1,
          period = 0.3;

      var elasticIn = function custom(a, p) {
        var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);

        function elasticIn(t) {
          return a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(- --t) * Math.sin((s - t) / p);
        }

        elasticIn.amplitude = function (a) {
          return custom(a, p * tau);
        };

        elasticIn.period = function (p) {
          return custom(a, p);
        };

        return elasticIn;
      }(amplitude, period);

      var elasticOut = function custom(a, p) {
        var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);

        function elasticOut(t) {
          return 1 - a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t = +t) * Math.sin((t + s) / p);
        }

        elasticOut.amplitude = function (a) {
          return custom(a, p * tau);
        };

        elasticOut.period = function (p) {
          return custom(a, p);
        };

        return elasticOut;
      }(amplitude, period);

      var elasticInOut = function custom(a, p) {
        var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);

        function elasticInOut(t) {
          return ((t = t * 2 - 1) < 0 ? a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(-t) * Math.sin((s - t) / p) : 2 - a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t) * Math.sin((s + t) / p)) / 2;
        }

        elasticInOut.amplitude = function (a) {
          return custom(a, p * tau);
        };

        elasticInOut.period = function (p) {
          return custom(a, p);
        };

        return elasticInOut;
      }(amplitude, period);
      /***/

    },

    /***/
    "umZI": function umZI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (compare) {
        return this.eachBefore(function (node) {
          if (node.children) {
            node.children.sort(compare);
          }
        });
      };
      /***/

    },

    /***/
    "uvNp": function uvNp(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony import */


      var _selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../selector */
      "b9Oj");
      /* harmony default export */


      __webpack_exports__["default"] = function (select) {
        if (typeof select !== "function") select = Object(_selector__WEBPACK_IMPORTED_MODULE_1__["default"])(select);

        for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
            if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
              if ("__data__" in node) subnode.__data__ = node.__data__;
              subgroup[i] = subnode;
            }
          }
        }

        return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](subgroups, this._parents);
      };
      /***/

    },

    /***/
    "v/rI": function vRI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var leaves = [];
        this.eachBefore(function (node) {
          if (!node.children) {
            leaves.push(node);
          }
        });
        return leaves;
      };
      /***/

    },

    /***/
    "v7Le": function v7Le(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "isoSpecifier", function () {
        return isoSpecifier;
      });
      /* harmony import */


      var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./defaultLocale.js */
      "TCOF");

      var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";

      function formatIsoNative(date) {
        return date.toISOString();
      }

      var formatIso = Date.prototype.toISOString ? formatIsoNative : Object(_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["utcFormat"])(isoSpecifier);
      /* harmony default export */

      __webpack_exports__["default"] = formatIso;
      /***/
    },

    /***/
    "vBe5": function vBe5(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _bisect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./bisect.js */
      "h8nK");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "bisect", function () {
        return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "bisectRight", function () {
        return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["bisectRight"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "bisectLeft", function () {
        return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["bisectLeft"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "bisectCenter", function () {
        return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["bisectCenter"];
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "ascending", function () {
        return _ascending_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _bisector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./bisector.js */
      "Ki0a");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "bisector", function () {
        return _bisector_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _count_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./count.js */
      "hiel");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "count", function () {
        return _count_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _cross_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./cross.js */
      "9j6y");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "cross", function () {
        return _cross_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _cumsum_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./cumsum.js */
      "UPWK");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "cumsum", function () {
        return _cumsum_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony import */


      var _descending_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./descending.js */
      "0sQp");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "descending", function () {
        return _descending_js__WEBPACK_IMPORTED_MODULE_6__["default"];
      });
      /* harmony import */


      var _deviation_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./deviation.js */
      "CcBx");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "deviation", function () {
        return _deviation_js__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony import */


      var _extent_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./extent.js */
      "wz8V");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "extent", function () {
        return _extent_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony import */


      var _fsum_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./fsum.js */
      "xOP2");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "Adder", function () {
        return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["Adder"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "fsum", function () {
        return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["fsum"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "fcumsum", function () {
        return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["fcumsum"];
      });
      /* harmony import */


      var _group_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./group.js */
      "4TqM");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "group", function () {
        return _group_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "groups", function () {
        return _group_js__WEBPACK_IMPORTED_MODULE_10__["groups"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "index", function () {
        return _group_js__WEBPACK_IMPORTED_MODULE_10__["index"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "indexes", function () {
        return _group_js__WEBPACK_IMPORTED_MODULE_10__["indexes"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "rollup", function () {
        return _group_js__WEBPACK_IMPORTED_MODULE_10__["rollup"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "rollups", function () {
        return _group_js__WEBPACK_IMPORTED_MODULE_10__["rollups"];
      });
      /* harmony import */


      var _groupSort_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./groupSort.js */
      "CXbD");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "groupSort", function () {
        return _groupSort_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony import */


      var _bin_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./bin.js */
      "PuQ0");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "bin", function () {
        return _bin_js__WEBPACK_IMPORTED_MODULE_12__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "histogram", function () {
        return _bin_js__WEBPACK_IMPORTED_MODULE_12__["default"];
      });
      /* harmony import */


      var _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./threshold/freedmanDiaconis.js */
      "wjRQ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "thresholdFreedmanDiaconis", function () {
        return _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony import */


      var _threshold_scott_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./threshold/scott.js */
      "Y7ZM");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "thresholdScott", function () {
        return _threshold_scott_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony import */


      var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./threshold/sturges.js */
      "Nl5w");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "thresholdSturges", function () {
        return _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_15__["default"];
      });
      /* harmony import */


      var _max_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./max.js */
      "gj+k");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "max", function () {
        return _max_js__WEBPACK_IMPORTED_MODULE_16__["default"];
      });
      /* harmony import */


      var _maxIndex_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./maxIndex.js */
      "cvkC");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "maxIndex", function () {
        return _maxIndex_js__WEBPACK_IMPORTED_MODULE_17__["default"];
      });
      /* harmony import */


      var _mean_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
      /*! ./mean.js */
      "V183");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "mean", function () {
        return _mean_js__WEBPACK_IMPORTED_MODULE_18__["default"];
      });
      /* harmony import */


      var _median_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
      /*! ./median.js */
      "wKoq");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "median", function () {
        return _median_js__WEBPACK_IMPORTED_MODULE_19__["default"];
      });
      /* harmony import */


      var _merge_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
      /*! ./merge.js */
      "FTmn");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "merge", function () {
        return _merge_js__WEBPACK_IMPORTED_MODULE_20__["default"];
      });
      /* harmony import */


      var _min_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
      /*! ./min.js */
      "mrVq");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "min", function () {
        return _min_js__WEBPACK_IMPORTED_MODULE_21__["default"];
      });
      /* harmony import */


      var _minIndex_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
      /*! ./minIndex.js */
      "JQqb");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "minIndex", function () {
        return _minIndex_js__WEBPACK_IMPORTED_MODULE_22__["default"];
      });
      /* harmony import */


      var _nice_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
      /*! ./nice.js */
      "GWx9");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "nice", function () {
        return _nice_js__WEBPACK_IMPORTED_MODULE_23__["default"];
      });
      /* harmony import */


      var _pairs_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
      /*! ./pairs.js */
      "R9CD");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "pairs", function () {
        return _pairs_js__WEBPACK_IMPORTED_MODULE_24__["default"];
      });
      /* harmony import */


      var _permute_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
      /*! ./permute.js */
      "MiBC");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "permute", function () {
        return _permute_js__WEBPACK_IMPORTED_MODULE_25__["default"];
      });
      /* harmony import */


      var _quantile_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
      /*! ./quantile.js */
      "GHWt");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "quantile", function () {
        return _quantile_js__WEBPACK_IMPORTED_MODULE_26__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "quantileSorted", function () {
        return _quantile_js__WEBPACK_IMPORTED_MODULE_26__["quantileSorted"];
      });
      /* harmony import */


      var _quickselect_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
      /*! ./quickselect.js */
      "WHjf");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "quickselect", function () {
        return _quickselect_js__WEBPACK_IMPORTED_MODULE_27__["default"];
      });
      /* harmony import */


      var _range_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
      /*! ./range.js */
      "NltA");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "range", function () {
        return _range_js__WEBPACK_IMPORTED_MODULE_28__["default"];
      });
      /* harmony import */


      var _least_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
      /*! ./least.js */
      "tAAF");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "least", function () {
        return _least_js__WEBPACK_IMPORTED_MODULE_29__["default"];
      });
      /* harmony import */


      var _leastIndex_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
      /*! ./leastIndex.js */
      "/CzE");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "leastIndex", function () {
        return _leastIndex_js__WEBPACK_IMPORTED_MODULE_30__["default"];
      });
      /* harmony import */


      var _greatest_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
      /*! ./greatest.js */
      "1SON");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "greatest", function () {
        return _greatest_js__WEBPACK_IMPORTED_MODULE_31__["default"];
      });
      /* harmony import */


      var _greatestIndex_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
      /*! ./greatestIndex.js */
      "yb6d");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "greatestIndex", function () {
        return _greatestIndex_js__WEBPACK_IMPORTED_MODULE_32__["default"];
      });
      /* harmony import */


      var _scan_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
      /*! ./scan.js */
      "Ok6N");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scan", function () {
        return _scan_js__WEBPACK_IMPORTED_MODULE_33__["default"];
      });
      /* harmony import */


      var _shuffle_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
      /*! ./shuffle.js */
      "QK7T");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "shuffle", function () {
        return _shuffle_js__WEBPACK_IMPORTED_MODULE_34__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "shuffler", function () {
        return _shuffle_js__WEBPACK_IMPORTED_MODULE_34__["shuffler"];
      });
      /* harmony import */


      var _sum_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
      /*! ./sum.js */
      "OWWo");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "sum", function () {
        return _sum_js__WEBPACK_IMPORTED_MODULE_35__["default"];
      });
      /* harmony import */


      var _ticks_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
      /*! ./ticks.js */
      "7ssf");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "ticks", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "tickIncrement", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["tickIncrement"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "tickStep", function () {
        return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["tickStep"];
      });
      /* harmony import */


      var _transpose_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
      /*! ./transpose.js */
      "cyYV");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "transpose", function () {
        return _transpose_js__WEBPACK_IMPORTED_MODULE_37__["default"];
      });
      /* harmony import */


      var _variance_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(
      /*! ./variance.js */
      "7sdT");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "variance", function () {
        return _variance_js__WEBPACK_IMPORTED_MODULE_38__["default"];
      });
      /* harmony import */


      var _zip_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(
      /*! ./zip.js */
      "+y6k");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "zip", function () {
        return _zip_js__WEBPACK_IMPORTED_MODULE_39__["default"];
      });
      /* harmony import */


      var _every_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(
      /*! ./every.js */
      "JYaH");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "every", function () {
        return _every_js__WEBPACK_IMPORTED_MODULE_40__["default"];
      });
      /* harmony import */


      var _some_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(
      /*! ./some.js */
      "SSHS");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "some", function () {
        return _some_js__WEBPACK_IMPORTED_MODULE_41__["default"];
      });
      /* harmony import */


      var _filter_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(
      /*! ./filter.js */
      "AgzO");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "filter", function () {
        return _filter_js__WEBPACK_IMPORTED_MODULE_42__["default"];
      });
      /* harmony import */


      var _map_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(
      /*! ./map.js */
      "J0SQ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "map", function () {
        return _map_js__WEBPACK_IMPORTED_MODULE_43__["default"];
      });
      /* harmony import */


      var _reduce_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(
      /*! ./reduce.js */
      "3Ryo");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "reduce", function () {
        return _reduce_js__WEBPACK_IMPORTED_MODULE_44__["default"];
      });
      /* harmony import */


      var _reverse_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(
      /*! ./reverse.js */
      "LXyZ");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "reverse", function () {
        return _reverse_js__WEBPACK_IMPORTED_MODULE_45__["default"];
      });
      /* harmony import */


      var _sort_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(
      /*! ./sort.js */
      "Exv/");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "sort", function () {
        return _sort_js__WEBPACK_IMPORTED_MODULE_46__["default"];
      });
      /* harmony import */


      var _difference_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(
      /*! ./difference.js */
      "3oVi");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "difference", function () {
        return _difference_js__WEBPACK_IMPORTED_MODULE_47__["default"];
      });
      /* harmony import */


      var _disjoint_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(
      /*! ./disjoint.js */
      "xtnD");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "disjoint", function () {
        return _disjoint_js__WEBPACK_IMPORTED_MODULE_48__["default"];
      });
      /* harmony import */


      var _intersection_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(
      /*! ./intersection.js */
      "Z5Ne");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "intersection", function () {
        return _intersection_js__WEBPACK_IMPORTED_MODULE_49__["default"];
      });
      /* harmony import */


      var _subset_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(
      /*! ./subset.js */
      "jIxI");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "subset", function () {
        return _subset_js__WEBPACK_IMPORTED_MODULE_50__["default"];
      });
      /* harmony import */


      var _superset_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(
      /*! ./superset.js */
      "3O/B");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "superset", function () {
        return _superset_js__WEBPACK_IMPORTED_MODULE_51__["default"];
      });
      /* harmony import */


      var _union_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(
      /*! ./union.js */
      "fAVw");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "union", function () {
        return _union_js__WEBPACK_IMPORTED_MODULE_52__["default"];
      });
      /* harmony import */


      var internmap__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(
      /*! internmap */
      "vobT");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "InternMap", function () {
        return internmap__WEBPACK_IMPORTED_MODULE_53__["InternMap"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "InternSet", function () {
        return internmap__WEBPACK_IMPORTED_MODULE_53__["InternSet"];
      }); // Deprecated; use bin.
      // Deprecated; use leastIndex.

      /***/

    },

    /***/
    "vobT": function vobT(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "InternMap", function () {
        return InternMap;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "InternSet", function () {
        return InternSet;
      });

      var InternMap = /*#__PURE__*/function (_Map) {
        _inherits(InternMap, _Map);

        var _super24 = _createSuper(InternMap);

        function InternMap(entries) {
          var _this84;

          var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : keyof;

          _classCallCheck(this, InternMap);

          _this84 = _super24.call(this);
          Object.defineProperties(_assertThisInitialized(_this84), {
            _intern: {
              value: new Map()
            },
            _key: {
              value: key
            }
          });

          if (entries != null) {
            var _iterator110 = _createForOfIteratorHelper(entries),
                _step110;

            try {
              for (_iterator110.s(); !(_step110 = _iterator110.n()).done;) {
                var _step110$value = _slicedToArray(_step110.value, 2),
                    _key14 = _step110$value[0],
                    value = _step110$value[1];

                _this84.set(_key14, value);
              }
            } catch (err) {
              _iterator110.e(err);
            } finally {
              _iterator110.f();
            }
          }

          return _this84;
        }

        _createClass(InternMap, [{
          key: "get",
          value: function get(key) {
            return _get(_getPrototypeOf(InternMap.prototype), "get", this).call(this, intern_get(this, key));
          }
        }, {
          key: "has",
          value: function has(key) {
            return _get(_getPrototypeOf(InternMap.prototype), "has", this).call(this, intern_get(this, key));
          }
        }, {
          key: "set",
          value: function set(key, value) {
            return _get(_getPrototypeOf(InternMap.prototype), "set", this).call(this, intern_set(this, key), value);
          }
        }, {
          key: "delete",
          value: function _delete(key) {
            return _get(_getPrototypeOf(InternMap.prototype), "delete", this).call(this, intern_delete(this, key));
          }
        }]);

        return InternMap;
      }( /*#__PURE__*/_wrapNativeSuper(Map));

      var InternSet = /*#__PURE__*/function (_Set) {
        _inherits(InternSet, _Set);

        var _super25 = _createSuper(InternSet);

        function InternSet(values) {
          var _this85;

          var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : keyof;

          _classCallCheck(this, InternSet);

          _this85 = _super25.call(this);
          Object.defineProperties(_assertThisInitialized(_this85), {
            _intern: {
              value: new Map()
            },
            _key: {
              value: key
            }
          });

          if (values != null) {
            var _iterator111 = _createForOfIteratorHelper(values),
                _step111;

            try {
              for (_iterator111.s(); !(_step111 = _iterator111.n()).done;) {
                var value = _step111.value;

                _this85.add(value);
              }
            } catch (err) {
              _iterator111.e(err);
            } finally {
              _iterator111.f();
            }
          }

          return _this85;
        }

        _createClass(InternSet, [{
          key: "has",
          value: function has(value) {
            return _get(_getPrototypeOf(InternSet.prototype), "has", this).call(this, intern_get(this, value));
          }
        }, {
          key: "add",
          value: function add(value) {
            return _get(_getPrototypeOf(InternSet.prototype), "add", this).call(this, intern_set(this, value));
          }
        }, {
          key: "delete",
          value: function _delete(value) {
            return _get(_getPrototypeOf(InternSet.prototype), "delete", this).call(this, intern_delete(this, value));
          }
        }]);

        return InternSet;
      }( /*#__PURE__*/_wrapNativeSuper(Set));

      function intern_get(_ref67, value) {
        var _intern = _ref67._intern,
            _key = _ref67._key;

        var key = _key(value);

        return _intern.has(key) ? _intern.get(key) : value;
      }

      function intern_set(_ref68, value) {
        var _intern = _ref68._intern,
            _key = _ref68._key;

        var key = _key(value);

        if (_intern.has(key)) return _intern.get(key);

        _intern.set(key, value);

        return value;
      }

      function intern_delete(_ref69, value) {
        var _intern = _ref69._intern,
            _key = _ref69._key;

        var key = _key(value);

        if (_intern.has(key)) {
          value = _intern.get(value);

          _intern["delete"](key);
        }

        return value;
      }

      function keyof(value) {
        return value !== null && typeof value === "object" ? value.valueOf() : value;
      }
      /***/

    },

    /***/
    "wC0G": function wC0G(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "symlogish", function () {
        return symlogish;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return symlog;
      });
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");

      function transformSymlog(c) {
        return function (x) {
          return Math.sign(x) * Math.log1p(Math.abs(x / c));
        };
      }

      function transformSymexp(c) {
        return function (x) {
          return Math.sign(x) * Math.expm1(Math.abs(x)) * c;
        };
      }

      function symlogish(transform) {
        var c = 1,
            scale = transform(transformSymlog(c), transformSymexp(c));

        scale.constant = function (_) {
          return arguments.length ? transform(transformSymlog(c = +_), transformSymexp(c)) : c;
        };

        return Object(_linear_js__WEBPACK_IMPORTED_MODULE_0__["linearish"])(scale);
      }

      function symlog() {
        var scale = symlogish(Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["transformer"])());

        scale.copy = function () {
          return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["copy"])(scale, symlog()).constant(scale.constant());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(scale, arguments);
      }
      /***/

    },

    /***/
    "wIsI": function wIsI(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./array.js */
      "gqw6");
      /* harmony import */


      var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./constant.js */
      "2K37");
      /* harmony import */


      var _offset_none_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./offset/none.js */
      "0T5i");
      /* harmony import */


      var _order_none_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./order/none.js */
      "qqpY");

      function stackValue(d, key) {
        return d[key];
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var keys = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])([]),
            order = _order_none_js__WEBPACK_IMPORTED_MODULE_3__["default"],
            offset = _offset_none_js__WEBPACK_IMPORTED_MODULE_2__["default"],
            value = stackValue;

        function stack(data) {
          var kz = keys.apply(this, arguments),
              i,
              m = data.length,
              n = kz.length,
              sz = new Array(n),
              oz;

          for (i = 0; i < n; ++i) {
            for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {
              si[j] = sij = [0, +value(data[j], ki, j, data)];
              sij.data = data[j];
            }

            si.key = ki;
          }

          for (i = 0, oz = order(sz); i < n; ++i) {
            sz[oz[i]].index = i;
          }

          offset(sz, oz);
          return sz;
        }

        stack.keys = function (_) {
          return arguments.length ? (keys = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(_)), stack) : keys;
        };

        stack.value = function (_) {
          return arguments.length ? (value = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), stack) : value;
        };

        stack.order = function (_) {
          return arguments.length ? (order = _ == null ? _order_none_js__WEBPACK_IMPORTED_MODULE_3__["default"] : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(_)), stack) : order;
        };

        stack.offset = function (_) {
          return arguments.length ? (offset = _ == null ? _offset_none_js__WEBPACK_IMPORTED_MODULE_2__["default"] : _, stack) : offset;
        };

        return stack;
      };
      /***/

    },

    /***/
    "wKoq": function wKoq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _quantile_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./quantile.js */
      "GHWt");
      /* harmony default export */


      __webpack_exports__["default"] = function (values, valueof) {
        return Object(_quantile_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, 0.5, valueof);
      };
      /***/

    },

    /***/
    "wMLG": function wMLG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "slice", function () {
        return slice;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "map", function () {
        return map;
      });

      var array = Array.prototype;
      var slice = array.slice;
      var map = array.map;
      /***/
    },

    /***/
    "wjRQ": function wjRQ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../count.js */
      "hiel");
      /* harmony import */


      var _quantile_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ../quantile.js */
      "GHWt");
      /* harmony default export */


      __webpack_exports__["default"] = function (values, min, max) {
        return Math.ceil((max - min) / (2 * (Object(_quantile_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, 0.75) - Object(_quantile_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, 0.25)) * Math.pow(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values), -1 / 3)));
      };
      /***/

    },

    /***/
    "wz8V": function wz8V(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (values, valueof) {
        var min;
        var max;

        if (valueof === undefined) {
          var _iterator112 = _createForOfIteratorHelper(values),
              _step112;

          try {
            for (_iterator112.s(); !(_step112 = _iterator112.n()).done;) {
              var value = _step112.value;

              if (value != null) {
                if (min === undefined) {
                  if (value >= value) min = max = value;
                } else {
                  if (min > value) min = value;
                  if (max < value) max = value;
                }
              }
            }
          } catch (err) {
            _iterator112.e(err);
          } finally {
            _iterator112.f();
          }
        } else {
          var index = -1;

          var _iterator113 = _createForOfIteratorHelper(values),
              _step113;

          try {
            for (_iterator113.s(); !(_step113 = _iterator113.n()).done;) {
              var _value12 = _step113.value;

              if ((_value12 = valueof(_value12, ++index, values)) != null) {
                if (min === undefined) {
                  if (_value12 >= _value12) min = max = _value12;
                } else {
                  if (min > _value12) min = _value12;
                  if (max < _value12) max = _value12;
                }
              }
            }
          } catch (err) {
            _iterator113.e(err);
          } finally {
            _iterator113.f();
          }
        }

        return [min, max];
      };
      /***/

    },

    /***/
    "xJQu": function xJQu(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      var c = -0.5,
          s = Math.sqrt(3) / 2,
          k = 1 / Math.sqrt(12),
          a = (k / 2 + 1) * 3;
      /* harmony default export */

      __webpack_exports__["default"] = {
        draw: function draw(context, size) {
          var r = Math.sqrt(size / a),
              x0 = r / 2,
              y0 = r * k,
              x1 = x0,
              y1 = r * k + r,
              x2 = -x1,
              y2 = y1;
          context.moveTo(x0, y0);
          context.lineTo(x1, y1);
          context.lineTo(x2, y2);
          context.lineTo(c * x0 - s * y0, s * x0 + c * y0);
          context.lineTo(c * x1 - s * y1, s * x1 + c * y1);
          context.lineTo(c * x2 - s * y2, s * x2 + c * y2);
          context.lineTo(c * x0 + s * y0, c * y0 - s * x0);
          context.lineTo(c * x1 + s * y1, c * y1 - s * x1);
          context.lineTo(c * x2 + s * y2, c * y2 - s * x2);
          context.closePath();
        }
      };
      /***/
    },

    /***/
    "xOP2": function xOP2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "Adder", function () {
        return Adder;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "fsum", function () {
        return fsum;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "fcumsum", function () {
        return fcumsum;
      }); // https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423


      var Adder = /*#__PURE__*/function () {
        function Adder() {
          _classCallCheck(this, Adder);

          this._partials = new Float64Array(32);
          this._n = 0;
        }

        _createClass(Adder, [{
          key: "add",
          value: function add(x) {
            var p = this._partials;
            var i = 0;

            for (var j = 0; j < this._n && j < 32; j++) {
              var y = p[j],
                  hi = x + y,
                  lo = Math.abs(x) < Math.abs(y) ? x - (hi - y) : y - (hi - x);
              if (lo) p[i++] = lo;
              x = hi;
            }

            p[i] = x;
            this._n = i + 1;
            return this;
          }
        }, {
          key: "valueOf",
          value: function valueOf() {
            var p = this._partials;
            var n = this._n,
                x,
                y,
                lo,
                hi = 0;

            if (n > 0) {
              hi = p[--n];

              while (n > 0) {
                x = hi;
                y = p[--n];
                hi = x + y;
                lo = y - (hi - x);
                if (lo) break;
              }

              if (n > 0 && (lo < 0 && p[n - 1] < 0 || lo > 0 && p[n - 1] > 0)) {
                y = lo * 2;
                x = hi + y;
                if (y == x - hi) hi = x;
              }
            }

            return hi;
          }
        }]);

        return Adder;
      }();

      function fsum(values, valueof) {
        var adder = new Adder();

        if (valueof === undefined) {
          var _iterator114 = _createForOfIteratorHelper(values),
              _step114;

          try {
            for (_iterator114.s(); !(_step114 = _iterator114.n()).done;) {
              var value = _step114.value;

              if (value = +value) {
                adder.add(value);
              }
            }
          } catch (err) {
            _iterator114.e(err);
          } finally {
            _iterator114.f();
          }
        } else {
          var index = -1;

          var _iterator115 = _createForOfIteratorHelper(values),
              _step115;

          try {
            for (_iterator115.s(); !(_step115 = _iterator115.n()).done;) {
              var _value13 = _step115.value;

              if (_value13 = +valueof(_value13, ++index, values)) {
                adder.add(_value13);
              }
            }
          } catch (err) {
            _iterator115.e(err);
          } finally {
            _iterator115.f();
          }
        }

        return +adder;
      }

      function fcumsum(values, valueof) {
        var adder = new Adder();
        var index = -1;
        return Float64Array.from(values, valueof === undefined ? function (v) {
          return adder.add(+v || 0);
        } : function (v) {
          return adder.add(+valueof(v, ++index, values) || 0);
        });
      }
      /***/

    },

    /***/
    "xZDV": function xZDV(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return newInterval;
      });

      var t0 = new Date(),
          t1 = new Date();

      function newInterval(floori, offseti, count, field) {
        function interval(date) {
          return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date;
        }

        interval.floor = function (date) {
          return floori(date = new Date(+date)), date;
        };

        interval.ceil = function (date) {
          return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
        };

        interval.round = function (date) {
          var d0 = interval(date),
              d1 = interval.ceil(date);
          return date - d0 < d1 - date ? d0 : d1;
        };

        interval.offset = function (date, step) {
          return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
        };

        interval.range = function (start, stop, step) {
          var range = [],
              previous;
          start = interval.ceil(start);
          step = step == null ? 1 : Math.floor(step);
          if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date

          do {
            range.push(previous = new Date(+start)), offseti(start, step), floori(start);
          } while (previous < start && start < stop);

          return range;
        };

        interval.filter = function (test) {
          return newInterval(function (date) {
            if (date >= date) while (floori(date), !test(date)) {
              date.setTime(date - 1);
            }
          }, function (date, step) {
            if (date >= date) {
              if (step < 0) while (++step <= 0) {
                while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty

              } else while (--step >= 0) {
                while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty

              }
            }
          });
        };

        if (count) {
          interval.count = function (start, end) {
            t0.setTime(+start), t1.setTime(+end);
            floori(t0), floori(t1);
            return Math.floor(count(t0, t1));
          };

          interval.every = function (step) {
            step = Math.floor(step);
            return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval : interval.filter(field ? function (d) {
              return field(d) % step === 0;
            } : function (d) {
              return interval.count(0, d) % step === 0;
            });
          };
        }

        return interval;
      }
      /***/

    },

    /***/
    "xo8x": function xo8x(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      var noop = {
        value: function value() {}
      };

      function dispatch() {
        for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {
          if (!(t = arguments[i] + "") || t in _ || /[\s.]/.test(t)) throw new Error("illegal type: " + t);
          _[t] = [];
        }

        return new Dispatch(_);
      }

      function Dispatch(_) {
        this._ = _;
      }

      function parseTypenames(typenames, types) {
        return typenames.trim().split(/^|\s+/).map(function (t) {
          var name = "",
              i = t.indexOf(".");
          if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
          if (t && !types.hasOwnProperty(t)) throw new Error("unknown type: " + t);
          return {
            type: t,
            name: name
          };
        });
      }

      Dispatch.prototype = dispatch.prototype = {
        constructor: Dispatch,
        on: function on(typename, callback) {
          var _ = this._,
              T = parseTypenames(typename + "", _),
              t,
              i = -1,
              n = T.length; // If no callback was specified, return the callback of the given type and name.

          if (arguments.length < 2) {
            while (++i < n) {
              if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t;
            }

            return;
          } // If a type was specified, set the callback for the given type and name.
          // Otherwise, if a null callback was specified, remove callbacks of the given name.


          if (callback != null && typeof callback !== "function") throw new Error("invalid callback: " + callback);

          while (++i < n) {
            if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback);else if (callback == null) for (t in _) {
              _[t] = set(_[t], typename.name, null);
            }
          }

          return this;
        },
        copy: function copy() {
          var copy = {},
              _ = this._;

          for (var t in _) {
            copy[t] = _[t].slice();
          }

          return new Dispatch(copy);
        },
        call: function call(type, that) {
          if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) {
            args[i] = arguments[i + 2];
          }
          if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);

          for (t = this._[type], i = 0, n = t.length; i < n; ++i) {
            t[i].value.apply(that, args);
          }
        },
        apply: function apply(type, that, args) {
          if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);

          for (var t = this._[type], i = 0, n = t.length; i < n; ++i) {
            t[i].value.apply(that, args);
          }
        }
      };

      function get(type, name) {
        for (var i = 0, n = type.length, c; i < n; ++i) {
          if ((c = type[i]).name === name) {
            return c.value;
          }
        }
      }

      function set(type, name, callback) {
        for (var i = 0, n = type.length; i < n; ++i) {
          if (type[i].name === name) {
            type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));
            break;
          }
        }

        if (callback != null) type.push({
          name: name,
          value: callback
        });
        return type;
      }
      /* harmony default export */


      __webpack_exports__["default"] = dispatch;
      /***/
    },

    /***/
    "xpj1": function xpj1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (x) {
        return function () {
          return x;
        };
      };
      /***/

    },

    /***/
    "xtnD": function xtnD(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return disjoint;
      });

      function disjoint(values, other) {
        var iterator = other[Symbol.iterator](),
            set = new Set();

        var _iterator116 = _createForOfIteratorHelper(values),
            _step116;

        try {
          for (_iterator116.s(); !(_step116 = _iterator116.n()).done;) {
            var v = _step116.value;
            if (set.has(v)) return false;
            var value = void 0,
                done = void 0;

            while (_iterator$next4 = iterator.next(), value = _iterator$next4.value, done = _iterator$next4.done, _iterator$next4) {
              var _iterator$next4;

              if (done) break;
              if (Object.is(v, value)) return false;
              set.add(value);
            }
          }
        } catch (err) {
          _iterator116.e(err);
        } finally {
          _iterator116.f();
        }

        return true;
      }
      /***/

    },

    /***/
    "yAGa": function yAGa(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (value) {
        return arguments.length ? this.property("__data__", value) : this.node().__data__;
      };
      /***/

    },

    /***/
    "yEp2": function yEp2(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "basis", function () {
        return basis;
      });

      function basis(t1, v0, v1, v2, v3) {
        var t2 = t1 * t1,
            t3 = t2 * t1;
        return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (values) {
        var n = values.length - 1;
        return function (t) {
          var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),
              v1 = values[i],
              v2 = values[i + 1],
              v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,
              v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;
          return basis((t - i / n) * n, v0, v1, v2, v3);
        };
      };
      /***/

    },

    /***/
    "yIB4": function yIB4(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "utcYears", function () {
        return utcYears;
      });
      /* harmony import */


      var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./interval.js */
      "xZDV");

      var utcYear = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCMonth(0, 1);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCFullYear(date.getUTCFullYear() + step);
      }, function (start, end) {
        return end.getUTCFullYear() - start.getUTCFullYear();
      }, function (date) {
        return date.getUTCFullYear();
      }); // An optimized implementation for this simple case.

      utcYear.every = function (k) {
        return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
          date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
          date.setUTCMonth(0, 1);
          date.setUTCHours(0, 0, 0, 0);
        }, function (date, step) {
          date.setUTCFullYear(date.getUTCFullYear() + step * k);
        });
      };
      /* harmony default export */


      __webpack_exports__["default"] = utcYear;
      var utcYears = utcYear.range;
      /***/
    },

    /***/
    "yUfG": function yUfG(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _cluster_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./cluster.js */
      "zpdH");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "cluster", function () {
        return _cluster_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony import */


      var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./hierarchy/index.js */
      "a8tM");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "hierarchy", function () {
        return _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _pack_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./pack/index.js */
      "I3Nq");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "pack", function () {
        return _pack_index_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _pack_siblings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./pack/siblings.js */
      "W+J7");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "packSiblings", function () {
        return _pack_siblings_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _pack_enclose_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./pack/enclose.js */
      "7Mu7");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "packEnclose", function () {
        return _pack_enclose_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _partition_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./partition.js */
      "+Nd1");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "partition", function () {
        return _partition_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony import */


      var _stratify_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./stratify.js */
      "NU5n");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "stratify", function () {
        return _stratify_js__WEBPACK_IMPORTED_MODULE_6__["default"];
      });
      /* harmony import */


      var _tree_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./tree.js */
      "UHDu");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "tree", function () {
        return _tree_js__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony import */


      var _treemap_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./treemap/index.js */
      "tvR+");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemap", function () {
        return _treemap_index_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony import */


      var _treemap_binary_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./treemap/binary.js */
      "ivMv");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemapBinary", function () {
        return _treemap_binary_js__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony import */


      var _treemap_dice_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./treemap/dice.js */
      "FPPI");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemapDice", function () {
        return _treemap_dice_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony import */


      var _treemap_slice_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./treemap/slice.js */
      "7IPS");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemapSlice", function () {
        return _treemap_slice_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony import */


      var _treemap_sliceDice_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./treemap/sliceDice.js */
      "CDC2");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemapSliceDice", function () {
        return _treemap_sliceDice_js__WEBPACK_IMPORTED_MODULE_12__["default"];
      });
      /* harmony import */


      var _treemap_squarify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./treemap/squarify.js */
      "I4jL");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemapSquarify", function () {
        return _treemap_squarify_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony import */


      var _treemap_resquarify_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./treemap/resquarify.js */
      "1Cbu");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "treemapResquarify", function () {
        return _treemap_resquarify_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /***/

    },

    /***/
    "yb6d": function yb6d(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return greatestIndex;
      });
      /* harmony import */


      var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./ascending.js */
      "APuy");
      /* harmony import */


      var _maxIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./maxIndex.js */
      "cvkC");

      function greatestIndex(values) {
        var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
        if (compare.length === 1) return Object(_maxIndex_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, compare);
        var maxValue;
        var max = -1;
        var index = -1;

        var _iterator117 = _createForOfIteratorHelper(values),
            _step117;

        try {
          for (_iterator117.s(); !(_step117 = _iterator117.n()).done;) {
            var value = _step117.value;
            ++index;

            if (max < 0 ? compare(value, value) === 0 : compare(value, maxValue) > 0) {
              maxValue = value;
              max = index;
            }
          }
        } catch (err) {
          _iterator117.e(err);
        } finally {
          _iterator117.f();
        }

        return max;
      }
      /***/

    },

    /***/
    "yhWi": function yhWi(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        return !this.node();
      };
      /***/

    },

    /***/
    "yp+X": function ypX(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./index */
      "5Iso");
      /* harmony default export */


      __webpack_exports__["default"] = function (compare) {
        if (!compare) compare = ascending;

        function compareNode(a, b) {
          return a && b ? compare(a.__data__, b.__data__) : !a - !b;
        }

        for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {
            if (node = group[i]) {
              sortgroup[i] = node;
            }
          }

          sortgroup.sort(compareNode);
        }

        return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](sortgroups, this._parents).order();
      };

      function ascending(a, b) {
        return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
      }
      /***/

    },

    /***/
    "zD5G": function zD5G(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ../noop.js */
      "0K5P");

      function LinearClosed(context) {
        this._context = context;
      }

      LinearClosed.prototype = {
        areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
        lineStart: function lineStart() {
          this._point = 0;
        },
        lineEnd: function lineEnd() {
          if (this._point) this._context.closePath();
        },
        point: function point(x, y) {
          x = +x, y = +y;
          if (this._point) this._context.lineTo(x, y);else this._point = 1, this._context.moveTo(x, y);
        }
      };
      /* harmony default export */

      __webpack_exports__["default"] = function (context) {
        return new LinearClosed(context);
      };
      /***/

    },

    /***/
    "zcMM": function zcMM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function propertyRemove(name) {
        return function () {
          delete this[name];
        };
      }

      function propertyConstant(name, value) {
        return function () {
          this[name] = value;
        };
      }

      function propertyFunction(name, value) {
        return function () {
          var v = value.apply(this, arguments);
          if (v == null) delete this[name];else this[name] = v;
        };
      }
      /* harmony default export */


      __webpack_exports__["default"] = function (name, value) {
        return arguments.length > 1 ? this.each((value == null ? propertyRemove : typeof value === "function" ? propertyFunction : propertyConstant)(name, value)) : this.node()[name];
      };
      /***/

    },

    /***/
    "ze3m": function ze3m(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "prefixExponent", function () {
        return prefixExponent;
      });
      /* harmony import */


      var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./formatDecimal.js */
      "qnQu");

      var prefixExponent;
      /* harmony default export */

      __webpack_exports__["default"] = function (x, p) {
        var d = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(x, p);
        if (!d) return x + "";
        var coefficient = d[0],
            exponent = d[1],
            i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,
            n = coefficient.length;
        return i === n ? coefficient : i > n ? coefficient + new Array(i - n + 1).join("0") : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) : "0." + new Array(1 - i).join("0") + Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(x, Math.max(0, p + i - 1))[0]; // less than 1y!
      };
      /***/

    },

    /***/
    "ziQ1": function ziQ1(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! ./band.js */
      "sCaM");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleBand", function () {
        return _band_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scalePoint", function () {
        return _band_js__WEBPACK_IMPORTED_MODULE_0__["point"];
      });
      /* harmony import */


      var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./identity.js */
      "1OKp");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleIdentity", function () {
        return _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"];
      });
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleLinear", function () {
        return _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"];
      });
      /* harmony import */


      var _log_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./log.js */
      "n0hd");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleLog", function () {
        return _log_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      });
      /* harmony import */


      var _symlog_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./symlog.js */
      "wC0G");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSymlog", function () {
        return _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      });
      /* harmony import */


      var _ordinal_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./ordinal.js */
      "3xmg");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleOrdinal", function () {
        return _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleImplicit", function () {
        return _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["implicit"];
      });
      /* harmony import */


      var _pow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./pow.js */
      "eJvb");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scalePow", function () {
        return _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSqrt", function () {
        return _pow_js__WEBPACK_IMPORTED_MODULE_6__["sqrt"];
      });
      /* harmony import */


      var _radial_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./radial.js */
      "OrLo");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleRadial", function () {
        return _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"];
      });
      /* harmony import */


      var _quantile_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./quantile.js */
      "cmp4");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleQuantile", function () {
        return _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"];
      });
      /* harmony import */


      var _quantize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./quantize.js */
      "f4CH");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleQuantize", function () {
        return _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"];
      });
      /* harmony import */


      var _threshold_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./threshold.js */
      "aw+z");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleThreshold", function () {
        return _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"];
      });
      /* harmony import */


      var _time_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./time.js */
      "R0i0");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleTime", function () {
        return _time_js__WEBPACK_IMPORTED_MODULE_11__["default"];
      });
      /* harmony import */


      var _utcTime_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./utcTime.js */
      "O0DV");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleUtc", function () {
        return _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"];
      });
      /* harmony import */


      var _sequential_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./sequential.js */
      "zmsm");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSequential", function () {
        return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSequentialLog", function () {
        return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialLog"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSequentialPow", function () {
        return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialPow"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSequentialSqrt", function () {
        return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialSqrt"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSequentialSymlog", function () {
        return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialSymlog"];
      });
      /* harmony import */


      var _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./sequentialQuantile.js */
      "B/+g");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleSequentialQuantile", function () {
        return _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"];
      });
      /* harmony import */


      var _diverging_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./diverging.js */
      "OP1V");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleDiverging", function () {
        return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleDivergingLog", function () {
        return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingLog"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleDivergingPow", function () {
        return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingPow"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleDivergingSqrt", function () {
        return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingSqrt"];
      });
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "scaleDivergingSymlog", function () {
        return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingSymlog"];
      });
      /* harmony import */


      var _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./tickFormat.js */
      "ssni");
      /* harmony reexport (safe) */


      __webpack_require__.d(__webpack_exports__, "tickFormat", function () {
        return _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"];
      });
      /***/

    },

    /***/
    "zmsm": function zmsm(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "copy", function () {
        return copy;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "default", function () {
        return sequential;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sequentialLog", function () {
        return sequentialLog;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sequentialSymlog", function () {
        return sequentialSymlog;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sequentialPow", function () {
        return sequentialPow;
      });
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "sequentialSqrt", function () {
        return sequentialSqrt;
      });
      /* harmony import */


      var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-interpolate */
      "pD2Y");
      /* harmony import */


      var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./continuous.js */
      "6YF4");
      /* harmony import */


      var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./init.js */
      "1Ix/");
      /* harmony import */


      var _linear_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./linear.js */
      "VIqg");
      /* harmony import */


      var _log_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./log.js */
      "n0hd");
      /* harmony import */


      var _symlog_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./symlog.js */
      "wC0G");
      /* harmony import */


      var _pow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./pow.js */
      "eJvb");

      function transformer() {
        var x0 = 0,
            x1 = 1,
            t0,
            t1,
            k10,
            transform,
            interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"],
            clamp = false,
            unknown;

        function scale(x) {
          return x == null || isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x));
        }

        scale.domain = function (_) {
          var _ref70, _ref71;

          return arguments.length ? ((_ref70 = _, _ref71 = _slicedToArray(_ref70, 2), x0 = _ref71[0], x1 = _ref71[1], _ref70), t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0), scale) : [x0, x1];
        };

        scale.clamp = function (_) {
          return arguments.length ? (clamp = !!_, scale) : clamp;
        };

        scale.interpolator = function (_) {
          return arguments.length ? (interpolator = _, scale) : interpolator;
        };

        function range(interpolate) {
          return function (_) {
            var _ref72, _ref73;

            var r0, r1;
            return arguments.length ? ((_ref72 = _, _ref73 = _slicedToArray(_ref72, 2), r0 = _ref73[0], r1 = _ref73[1], _ref72), interpolator = interpolate(r0, r1), scale) : [interpolator(0), interpolator(1)];
          };
        }

        scale.range = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolate"]);
        scale.rangeRound = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateRound"]);

        scale.unknown = function (_) {
          return arguments.length ? (unknown = _, scale) : unknown;
        };

        return function (t) {
          transform = t, t0 = t(x0), t1 = t(x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0);
          return scale;
        };
      }

      function copy(source, target) {
        return target.domain(source.domain()).interpolator(source.interpolator()).clamp(source.clamp()).unknown(source.unknown());
      }

      function sequential() {
        var scale = Object(_linear_js__WEBPACK_IMPORTED_MODULE_3__["linearish"])(transformer()(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]));

        scale.copy = function () {
          return copy(scale, sequential());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function sequentialLog() {
        var scale = Object(_log_js__WEBPACK_IMPORTED_MODULE_4__["loggish"])(transformer()).domain([1, 10]);

        scale.copy = function () {
          return copy(scale, sequentialLog()).base(scale.base());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function sequentialSymlog() {
        var scale = Object(_symlog_js__WEBPACK_IMPORTED_MODULE_5__["symlogish"])(transformer());

        scale.copy = function () {
          return copy(scale, sequentialSymlog()).constant(scale.constant());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function sequentialPow() {
        var scale = Object(_pow_js__WEBPACK_IMPORTED_MODULE_6__["powish"])(transformer());

        scale.copy = function () {
          return copy(scale, sequentialPow()).exponent(scale.exponent());
        };

        return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
      }

      function sequentialSqrt() {
        return sequentialPow.apply(null, arguments).exponent(0.5);
      }
      /***/

    },

    /***/
    "znUM": function znUM(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      var rho = Math.SQRT2,
          rho2 = 2,
          rho4 = 4,
          epsilon2 = 1e-12;

      function cosh(x) {
        return ((x = Math.exp(x)) + 1 / x) / 2;
      }

      function sinh(x) {
        return ((x = Math.exp(x)) - 1 / x) / 2;
      }

      function tanh(x) {
        return ((x = Math.exp(2 * x)) - 1) / (x + 1);
      } // p0 = [ux0, uy0, w0]
      // p1 = [ux1, uy1, w1]

      /* harmony default export */


      __webpack_exports__["default"] = function (p0, p1) {
        var ux0 = p0[0],
            uy0 = p0[1],
            w0 = p0[2],
            ux1 = p1[0],
            uy1 = p1[1],
            w1 = p1[2],
            dx = ux1 - ux0,
            dy = uy1 - uy0,
            d2 = dx * dx + dy * dy,
            i,
            S; // Special case for u0 ≅ u1.

        if (d2 < epsilon2) {
          S = Math.log(w1 / w0) / rho;

          i = function i(t) {
            return [ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(rho * t * S)];
          };
        } // General case.
        else {
          var d1 = Math.sqrt(d2),
              b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),
              b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),
              r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),
              r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);
          S = (r1 - r0) / rho;

          i = function i(t) {
            var s = t * S,
                coshr0 = cosh(r0),
                u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));
            return [ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / cosh(rho * s + r0)];
          };
        }

        i.duration = S * 1000;
        return i;
      };
      /***/

    },

    /***/
    "zpdH": function zpdH(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);

      function defaultSeparation(a, b) {
        return a.parent === b.parent ? 1 : 2;
      }

      function meanX(children) {
        return children.reduce(meanXReduce, 0) / children.length;
      }

      function meanXReduce(x, c) {
        return x + c.x;
      }

      function maxY(children) {
        return 1 + children.reduce(maxYReduce, 0);
      }

      function maxYReduce(y, c) {
        return Math.max(y, c.y);
      }

      function leafLeft(node) {
        var children;

        while (children = node.children) {
          node = children[0];
        }

        return node;
      }

      function leafRight(node) {
        var children;

        while (children = node.children) {
          node = children[children.length - 1];
        }

        return node;
      }
      /* harmony default export */


      __webpack_exports__["default"] = function () {
        var separation = defaultSeparation,
            dx = 1,
            dy = 1,
            nodeSize = false;

        function cluster(root) {
          var previousNode,
              x = 0; // First walk, computing the initial x & y values.

          root.eachAfter(function (node) {
            var children = node.children;

            if (children) {
              node.x = meanX(children);
              node.y = maxY(children);
            } else {
              node.x = previousNode ? x += separation(node, previousNode) : 0;
              node.y = 0;
              previousNode = node;
            }
          });
          var left = leafLeft(root),
              right = leafRight(root),
              x0 = left.x - separation(left, right) / 2,
              x1 = right.x + separation(right, left) / 2; // Second walk, normalizing x & y to the desired size.

          return root.eachAfter(nodeSize ? function (node) {
            node.x = (node.x - root.x) * dx;
            node.y = (root.y - node.y) * dy;
          } : function (node) {
            node.x = (node.x - x0) / (x1 - x0) * dx;
            node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;
          });
        }

        cluster.separation = function (x) {
          return arguments.length ? (separation = x, cluster) : separation;
        };

        cluster.size = function (x) {
          return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : nodeSize ? null : [dx, dy];
        };

        cluster.nodeSize = function (x) {
          return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : nodeSize ? [dx, dy] : null;
        };

        return cluster;
      };
      /***/

    },

    /***/
    "zv5K": function zv5K(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = function (callback) {
        for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
          for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
            if (node = group[i]) callback.call(node, node.__data__, i, group);
          }
        }

        return this;
      };
      /***/

    },

    /***/
    "zyLn": function zyLn(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony import */


      var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! d3-selection */
      "/TIM");
      /* harmony import */


      var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./index.js */
      "0W9s");
      /* harmony default export */


      __webpack_exports__["default"] = function (match) {
        if (typeof match !== "function") match = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["matcher"])(match);

        for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
          for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
            if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
              subgroup.push(node);
            }
          }
        }

        return new _index_js__WEBPACK_IMPORTED_MODULE_1__["Transition"](subgroups, this._parents, this._name, this._id);
      };
      /***/

    }
  }]);
})();
//# sourceMappingURL=default~dashboards-analytics-analytics-module-ngfactory~dashboards-project-project-module-ngfactory~~e78aef06-es5.0955108cab886cab9b30.js.map