@carbon/charts-vue 0.40.12 → 0.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -146,31 +146,6 @@ module.exports = function (input, PREFERRED_STRING) {
146
146
  };
147
147
 
148
148
 
149
- /***/ }),
150
-
151
- /***/ "09b2":
152
- /***/ (function(module, exports) {
153
-
154
- /** Used for built-in method references. */
155
- var objectProto = Object.prototype;
156
-
157
- /**
158
- * Checks if `value` is likely a prototype object.
159
- *
160
- * @private
161
- * @param {*} value The value to check.
162
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
163
- */
164
- function isPrototype(value) {
165
- var Ctor = value && value.constructor,
166
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
167
-
168
- return value === proto;
169
- }
170
-
171
- module.exports = isPrototype;
172
-
173
-
174
149
  /***/ }),
175
150
 
176
151
  /***/ "0c47":
@@ -186,66 +161,6 @@ module.exports = Object.keys || function keys(O) {
186
161
  };
187
162
 
188
163
 
189
- /***/ }),
190
-
191
- /***/ "0e19":
192
- /***/ (function(module, exports, __webpack_require__) {
193
-
194
- var Symbol = __webpack_require__("4b2c"),
195
- getRawTag = __webpack_require__("2822"),
196
- objectToString = __webpack_require__("907a");
197
-
198
- /** `Object#toString` result references. */
199
- var nullTag = '[object Null]',
200
- undefinedTag = '[object Undefined]';
201
-
202
- /** Built-in value references. */
203
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
204
-
205
- /**
206
- * The base implementation of `getTag` without fallbacks for buggy environments.
207
- *
208
- * @private
209
- * @param {*} value The value to query.
210
- * @returns {string} Returns the `toStringTag`.
211
- */
212
- function baseGetTag(value) {
213
- if (value == null) {
214
- return value === undefined ? undefinedTag : nullTag;
215
- }
216
- return (symToStringTag && symToStringTag in Object(value))
217
- ? getRawTag(value)
218
- : objectToString(value);
219
- }
220
-
221
- module.exports = baseGetTag;
222
-
223
-
224
- /***/ }),
225
-
226
- /***/ "0e30":
227
- /***/ (function(module, exports) {
228
-
229
- /**
230
- * This method returns `false`.
231
- *
232
- * @static
233
- * @memberOf _
234
- * @since 4.13.0
235
- * @category Util
236
- * @returns {boolean} Returns `false`.
237
- * @example
238
- *
239
- * _.times(2, _.stubFalse);
240
- * // => [false, false]
241
- */
242
- function stubFalse() {
243
- return false;
244
- }
245
-
246
- module.exports = stubFalse;
247
-
248
-
249
164
  /***/ }),
250
165
 
251
166
  /***/ "0e39":
@@ -383,6 +298,7 @@ __webpack_require__.d(events_namespaceObject, "Bar", function() { return events_
383
298
  __webpack_require__.d(events_namespaceObject, "Scatter", function() { return events_Scatter; });
384
299
  __webpack_require__.d(events_namespaceObject, "Line", function() { return events_Line; });
385
300
  __webpack_require__.d(events_namespaceObject, "Radar", function() { return events_Radar; });
301
+ __webpack_require__.d(events_namespaceObject, "Treemap", function() { return events_Treemap; });
386
302
  __webpack_require__.d(events_namespaceObject, "Tooltip", function() { return events_Tooltip; });
387
303
  __webpack_require__.d(events_namespaceObject, "Threshold", function() { return events_Threshold; });
388
304
  __webpack_require__.d(events_namespaceObject, "Legend", function() { return events_Legend; });
@@ -581,6 +497,16 @@ var events_Radar;
581
497
  Radar["X_AXIS_CLICK"] = "radar-x-axis-click";
582
498
  Radar["X_AXIS_MOUSEOUT"] = "radar-x-axis-mouseout";
583
499
  })(events_Radar || (events_Radar = {}));
500
+ /**
501
+ * enum of all treemap graph events
502
+ */
503
+ var events_Treemap;
504
+ (function (Treemap) {
505
+ Treemap["LEAF_MOUSEOVER"] = "leaf-mouseover";
506
+ Treemap["LEAF_MOUSEMOVE"] = "leaf-mousemove";
507
+ Treemap["LEAF_CLICK"] = "leaf-click";
508
+ Treemap["LEAF_MOUSEOUT"] = "leaf-mouseout";
509
+ })(events_Treemap || (events_Treemap = {}));
584
510
  /**
585
511
  * enum of all tooltip events
586
512
  */
@@ -4960,6 +4886,85 @@ function clamp_clamp(number, lower, upper) {
4960
4886
 
4961
4887
  /* harmony default export */ var lodash_es_clamp = (clamp_clamp);
4962
4888
 
4889
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/lodash-es/isEmpty.js
4890
+
4891
+
4892
+
4893
+
4894
+
4895
+
4896
+
4897
+
4898
+
4899
+ /** `Object#toString` result references. */
4900
+ var isEmpty_mapTag = '[object Map]',
4901
+ isEmpty_setTag = '[object Set]';
4902
+
4903
+ /** Used for built-in method references. */
4904
+ var isEmpty_objectProto = Object.prototype;
4905
+
4906
+ /** Used to check objects for own properties. */
4907
+ var isEmpty_hasOwnProperty = isEmpty_objectProto.hasOwnProperty;
4908
+
4909
+ /**
4910
+ * Checks if `value` is an empty object, collection, map, or set.
4911
+ *
4912
+ * Objects are considered empty if they have no own enumerable string keyed
4913
+ * properties.
4914
+ *
4915
+ * Array-like values such as `arguments` objects, arrays, buffers, strings, or
4916
+ * jQuery-like collections are considered empty if they have a `length` of `0`.
4917
+ * Similarly, maps and sets are considered empty if they have a `size` of `0`.
4918
+ *
4919
+ * @static
4920
+ * @memberOf _
4921
+ * @since 0.1.0
4922
+ * @category Lang
4923
+ * @param {*} value The value to check.
4924
+ * @returns {boolean} Returns `true` if `value` is empty, else `false`.
4925
+ * @example
4926
+ *
4927
+ * _.isEmpty(null);
4928
+ * // => true
4929
+ *
4930
+ * _.isEmpty(true);
4931
+ * // => true
4932
+ *
4933
+ * _.isEmpty(1);
4934
+ * // => true
4935
+ *
4936
+ * _.isEmpty([1, 2, 3]);
4937
+ * // => false
4938
+ *
4939
+ * _.isEmpty({ 'a': 1 });
4940
+ * // => false
4941
+ */
4942
+ function isEmpty(value) {
4943
+ if (value == null) {
4944
+ return true;
4945
+ }
4946
+ if (lodash_es_isArrayLike(value) &&
4947
+ (lodash_es_isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
4948
+ Object(isBuffer["a" /* default */])(value) || lodash_es_isTypedArray(value) || lodash_es_isArguments(value))) {
4949
+ return !value.length;
4950
+ }
4951
+ var tag = _getTag(value);
4952
+ if (tag == isEmpty_mapTag || tag == isEmpty_setTag) {
4953
+ return !value.size;
4954
+ }
4955
+ if (_isPrototype(value)) {
4956
+ return !_baseKeys(value).length;
4957
+ }
4958
+ for (var key in value) {
4959
+ if (isEmpty_hasOwnProperty.call(value, key)) {
4960
+ return false;
4961
+ }
4962
+ }
4963
+ return true;
4964
+ }
4965
+
4966
+ /* harmony default export */ var lodash_es_isEmpty = (isEmpty);
4967
+
4963
4968
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/lodash-es/_arraySome.js
4964
4969
  /**
4965
4970
  * A specialized version of `_.some` for arrays without support for iteratee
@@ -7058,6 +7063,7 @@ var tools_Tools;
7058
7063
  Tools.merge = lodash_es_merge;
7059
7064
  Tools.removeArrayDuplicates = lodash_es_uniq;
7060
7065
  Tools.clamp = lodash_es_clamp;
7066
+ Tools.isEmpty = lodash_es_isEmpty;
7061
7067
  Tools.isEqual = lodash_es_isEqual;
7062
7068
  Tools.flatMapDeep = lodash_es_flatMapDeep;
7063
7069
  Tools.kebabCase = lodash_es_kebabCase;
@@ -7783,7 +7789,8 @@ var gaugeChart = tools_Tools.merge({}, chart, {
7783
7789
  return number.toFixed(2) % 1 !== 0
7784
7790
  ? number.toFixed(2).toLocaleString()
7785
7791
  : number.toFixed().toLocaleString();
7786
- }
7792
+ },
7793
+ alignment: Alignments.LEFT
7787
7794
  }
7788
7795
  });
7789
7796
  /**
@@ -7835,6 +7842,14 @@ var radarChart = tools_Tools.merge({}, chart, {
7835
7842
  }
7836
7843
  }
7837
7844
  });
7845
+ /**
7846
+ * options specific to treemap charts
7847
+ */
7848
+ var treemapChart = tools_Tools.merge({}, chart, {
7849
+ data: tools_Tools.merge(chart.data, {
7850
+ groupMapsTo: "name"
7851
+ })
7852
+ });
7838
7853
  var configuration_options = {
7839
7854
  chart: chart,
7840
7855
  axisChart: axisChart,
@@ -7850,7 +7865,8 @@ var configuration_options = {
7850
7865
  donutChart: donutChart,
7851
7866
  meterChart: meterChart,
7852
7867
  radarChart: radarChart,
7853
- gaugeChart: gaugeChart
7868
+ gaugeChart: gaugeChart,
7869
+ treemapChart: treemapChart
7854
7870
  };
7855
7871
 
7856
7872
  //# sourceMappingURL=../src/configuration.js.map
@@ -9179,7 +9195,7 @@ define(Rgb, color_rgb, extend(Color, {
9179
9195
  }));
9180
9196
 
9181
9197
  function rgb_formatHex() {
9182
- return "#" + hex(this.r) + hex(this.g) + hex(this.b);
9198
+ return "#" + color_hex(this.r) + color_hex(this.g) + color_hex(this.b);
9183
9199
  }
9184
9200
 
9185
9201
  function rgb_formatRgb() {
@@ -9191,7 +9207,7 @@ function rgb_formatRgb() {
9191
9207
  + (a === 1 ? ")" : ", " + a + ")");
9192
9208
  }
9193
9209
 
9194
- function hex(value) {
9210
+ function color_hex(value) {
9195
9211
  value = Math.max(0, Math.min(255, Math.round(value) || 0));
9196
9212
  return (value < 16 ? "0" : "") + value.toString(16);
9197
9213
  }
@@ -12648,37 +12664,8 @@ var model_ChartModel = /** @class */ (function () {
12648
12664
  }
12649
12665
  return data;
12650
12666
  };
12651
- ChartModel.prototype.sanitizeDateValues = function (data) {
12652
- var options = this.getOptions();
12653
- if (!options.axes) {
12654
- return data;
12655
- }
12656
- var keysToCheck = [];
12657
- Object.keys(AxisPositions).forEach(function (axisPositionKey) {
12658
- var axisPosition = AxisPositions[axisPositionKey];
12659
- var axisOptions = options.axes[axisPosition];
12660
- if (axisOptions && axisOptions.scaleType === ScaleTypes.TIME) {
12661
- var axisMapsTo = axisOptions.mapsTo;
12662
- if (axisMapsTo !== null || axisMapsTo !== undefined) {
12663
- keysToCheck.push(axisMapsTo);
12664
- }
12665
- }
12666
- });
12667
- if (keysToCheck.length > 0) {
12668
- // Check all datapoints and sanitize dates
12669
- data.forEach(function (datum) {
12670
- keysToCheck.forEach(function (key) {
12671
- if (datum[key].getTime === undefined) {
12672
- datum[key] = new Date(datum[key]);
12673
- }
12674
- });
12675
- });
12676
- }
12677
- return data;
12678
- };
12679
12667
  ChartModel.prototype.sanitize = function (data) {
12680
12668
  data = this.getTabularData(data);
12681
- data = this.sanitizeDateValues(data);
12682
12669
  return data;
12683
12670
  };
12684
12671
  /*
@@ -13752,6 +13739,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
13752
13739
 
13753
13740
  // MISC
13754
13741
 
13742
+ var CSS_VERIFIER_ELEMENT_CLASSNAME = "DONT_STYLE_ME_css_styles_verifier";
13755
13743
  var dom_utils_DOMUtils = /** @class */ (function (_super) {
13756
13744
  __extends(DOMUtils, _super);
13757
13745
  function DOMUtils() {
@@ -13879,6 +13867,7 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
13879
13867
  this.styleHolderElement();
13880
13868
  // Add main SVG
13881
13869
  this.addSVGElement();
13870
+ this.verifyCSSStylesBeingApplied();
13882
13871
  if (this.model.getOptions().resizable) {
13883
13872
  this.addResizeListener();
13884
13873
  }
@@ -13917,8 +13906,25 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
13917
13906
  .classed(js_settings.prefix + "--" + chartsprefix + "--chart-svg", true)
13918
13907
  .attr("height", "100%")
13919
13908
  .attr("width", "100%");
13909
+ svg.append("g").attr("class", CSS_VERIFIER_ELEMENT_CLASSNAME);
13920
13910
  this.svg = svg.node();
13921
13911
  };
13912
+ DOMUtils.prototype.verifyCSSStylesBeingApplied = function () {
13913
+ var _this = this;
13914
+ // setTimeout is needed here since in `addSVGElement()` we're appending the
13915
+ // CSS verifier element, and need to allow some time for it to become available
13916
+ // in the DOM
13917
+ setTimeout(function () {
13918
+ var cssVerifierElement = src_select(_this.svg)
13919
+ .select("g." + CSS_VERIFIER_ELEMENT_CLASSNAME)
13920
+ .node();
13921
+ var computedStyles = getComputedStyle(cssVerifierElement);
13922
+ if (computedStyles.getPropertyValue("overflow") !== "hidden" ||
13923
+ computedStyles.getPropertyValue("opacity") !== "0") {
13924
+ console.error("Missing CSS styles for Carbon Charts. Please read the Carbon Charts getting started guide.");
13925
+ }
13926
+ });
13927
+ };
13922
13928
  DOMUtils.prototype.setSVGMaxHeight = function () {
13923
13929
  // if there is a set height on the holder, leave the chart svg height at 100%
13924
13930
  if (!this.model.getOptions().height) {
@@ -18588,6 +18594,7 @@ var legend_Legend = /** @class */ (function (_super) {
18588
18594
  // Configs
18589
18595
  var checkboxRadius = legend.checkbox.radius;
18590
18596
  var hoveredItem = src_select(this);
18597
+ hoveredItem.select("rect.checkbox").classed("hovered", true);
18591
18598
  hoveredItem
18592
18599
  .append("rect")
18593
18600
  .classed("hover-stroke", true)
@@ -18620,6 +18627,7 @@ var legend_Legend = /** @class */ (function (_super) {
18620
18627
  .on("mouseout", function () {
18621
18628
  var hoveredItem = src_select(this);
18622
18629
  hoveredItem.select("rect.hover-stroke").remove();
18630
+ hoveredItem.select("rect.checkbox").classed("hovered", false);
18623
18631
  self.services.events.dispatchEvent(Events.Tooltip.HIDE);
18624
18632
  self.services.events.dispatchEvent(Events.Legend.ITEM_MOUSEOUT, {
18625
18633
  hoveredElement: hoveredItem
@@ -21862,7 +21870,9 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
21862
21870
  // only applies to discrete type
21863
21871
  if (truncationType !== TruncationTypes.NONE) {
21864
21872
  return items.map(function (item) {
21865
- item.value = _this.valueFormatter(item.value);
21873
+ item.value = item.value
21874
+ ? _this.valueFormatter(item.value)
21875
+ : item.value;
21866
21876
  if (item.label && item.label.length > truncationThreshold) {
21867
21877
  item.label = tools_Tools.truncateLabel(item.label, truncationType, truncationNumCharacter);
21868
21878
  }
@@ -21882,16 +21892,17 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
21882
21892
  else {
21883
21893
  var items = this.getItems(e);
21884
21894
  var formattedItems = this.formatItems(items);
21885
- var useColor_1 = this.model.isUserProvidedColorScaleValid();
21895
+ var isUserProvidedColorScaleValid_1 = this.model.isUserProvidedColorScaleValid();
21886
21896
  defaultHTML =
21887
21897
  "<ul class='multi-tooltip'>" +
21888
21898
  formattedItems
21889
21899
  .map(function (item) {
21890
- return "<li>\n\t\t\t\t\t\t\t<div class=\"datapoint-tooltip " + (item.bold ? "bold" : "") + "\">\n\t\t\t\t\t\t\t\t" + (item.class && !useColor_1 ? "<a class=\"tooltip-color " + item.class + "\"></a>" : "") + "\n\t\t\t\t\t\t\t\t" + (item.color && useColor_1
21900
+ var useColor = item.color || isUserProvidedColorScaleValid_1;
21901
+ return "<li>\n\t\t\t\t\t\t\t<div class=\"datapoint-tooltip " + (item.bold ? "bold" : "") + "\">\n\t\t\t\t\t\t\t\t" + (item.class && !useColor ? "<a class=\"tooltip-color " + item.class + "\"></a>" : "") + "\n\t\t\t\t\t\t\t\t" + (item.color && useColor
21891
21902
  ? '<a style="background-color: ' +
21892
21903
  item.color +
21893
21904
  '" class="tooltip-color"></a>'
21894
- : "") + "\n\t\t\t\t\t\t\t\t<p class=\"label\">" + item.label + "</p>\n\t\t\t\t\t\t\t\t<p class=\"value\">" + item.value + "</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</li>";
21905
+ : "") + "\n\t\t\t\t\t\t\t\t<p class=\"label\">" + (item.label || "") + "</p>\n\t\t\t\t\t\t\t\t<p class=\"value\">" + (item.value || "") + "</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</li>";
21895
21906
  })
21896
21907
  .join("") +
21897
21908
  "</ul>";
@@ -23088,6 +23099,7 @@ var bar_grouped_GroupedBar = /** @class */ (function (_super) {
23088
23099
  .selectAll("path.bar")
23089
23100
  .on("mouseover", function (datum) {
23090
23101
  var hoveredElement = src_select(this);
23102
+ hoveredElement.classed("hovered", true);
23091
23103
  hoveredElement.transition(self.services.transitions.getTransition("graph_element_mouseover_fill_update"));
23092
23104
  // Dispatch mouse event
23093
23105
  self.services.events.dispatchEvent(Events.Bar.BAR_MOUSEOVER, {
@@ -23336,6 +23348,7 @@ var bar_stacked_StackedBar = /** @class */ (function (_super) {
23336
23348
  .on("mouseover", function (datum) {
23337
23349
  var _a;
23338
23350
  var hoveredElement = src_select(this);
23351
+ hoveredElement.classed("hovered", true);
23339
23352
  hoveredElement.transition(self.services.transitions.getTransition("graph_element_mouseover_fill_update"));
23340
23353
  // Dispatch mouse event
23341
23354
  self.services.events.dispatchEvent(Events.Bar.BAR_MOUSEOVER, {
@@ -24914,7 +24927,6 @@ var gauge_Gauge = /** @class */ (function (_super) {
24914
24927
  }
24915
24928
  };
24916
24929
  Gauge.prototype.render = function (animate) {
24917
- var _this = this;
24918
24930
  if (animate === void 0) { animate = true; }
24919
24931
  var self = this;
24920
24932
  var svg = this.getContainerSVG();
@@ -24948,29 +24960,37 @@ var gauge_Gauge = /** @class */ (function (_super) {
24948
24960
  .attr("role", Roles.GROUP);
24949
24961
  // Add data arc
24950
24962
  var arcValue = svg.selectAll("path.arc-foreground").data([value]);
24951
- arcValue
24952
- .enter()
24953
- .append("path")
24954
- .attr("class", function (d) {
24955
- return _this.model.getColorClassName({
24956
- classNameTypes: [ColorClassNameTypes.FILL],
24957
- dataGroupName: d[groupMapsTo],
24958
- originalClassName: "arc-foreground"
24959
- });
24960
- })
24961
- .attr("fill", function (d) { return self.model.getFillColor(d[groupMapsTo]); })
24963
+ var arcEnter = arcValue.enter().append("path");
24964
+ arcEnter
24962
24965
  .merge(arcValue)
24966
+ .attr("class", this.model.getColorClassName({
24967
+ classNameTypes: [ColorClassNameTypes.FILL],
24968
+ dataGroupName: "value",
24969
+ originalClassName: "arc-foreground"
24970
+ }))
24971
+ .attr("fill", function (d) { return self.model.getFillColor(d[groupMapsTo]); })
24963
24972
  .attr("d", this.arc)
24964
24973
  // a11y
24965
24974
  .attr("role", Roles.GRAPHICS_SYMBOL)
24966
24975
  .attr("aria-roledescription", "value")
24967
24976
  .attr("aria-label", function (d) { return d.value; });
24968
- // Position Arc
24969
- svg.attr("transform", "translate(" + radius + ", " + radius + ")");
24970
24977
  // draw the value and delta to the center
24971
24978
  this.drawValueNumber();
24972
24979
  this.drawDelta();
24973
24980
  arcValue.exit().remove();
24981
+ var alignment = tools_Tools.getProperty(options, "gauge", "alignment");
24982
+ var width = dom_utils_DOMUtils.getSVGElementSize(this.getParent(), {
24983
+ useAttr: true
24984
+ }).width;
24985
+ // Position gauge
24986
+ var gaugeTranslateX = radius;
24987
+ if (alignment === Alignments.CENTER) {
24988
+ gaugeTranslateX = width / 2;
24989
+ }
24990
+ else if (alignment === Alignments.RIGHT) {
24991
+ gaugeTranslateX = width - radius;
24992
+ }
24993
+ svg.attr("transform", "translate(" + gaugeTranslateX + ", " + radius + ")");
24974
24994
  // Add event listeners
24975
24995
  this.addEventListeners();
24976
24996
  };
@@ -25093,7 +25113,7 @@ var gauge_Gauge = /** @class */ (function (_super) {
25093
25113
  Gauge.prototype.addEventListeners = function () {
25094
25114
  var self = this;
25095
25115
  this.parent
25096
- .selectAll("path.arc")
25116
+ .selectAll("path.arc-foreground")
25097
25117
  .on("mouseover", function (datum) {
25098
25118
  // Dispatch mouse event
25099
25119
  self.services.events.dispatchEvent(Events.Gauge.ARC_MOUSEOVER, {
@@ -25592,43 +25612,6 @@ var skeleton_lines_SkeletonLines = /** @class */ (function (_super) {
25592
25612
  }(skeleton_Skeleton));
25593
25613
 
25594
25614
  //# sourceMappingURL=../../../src/components/graphs/skeleton-lines.js.map
25595
- // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/layout/spacer.js
25596
- var spacer_extends = (undefined && undefined.__extends) || (function () {
25597
- var extendStatics = function (d, b) {
25598
- extendStatics = Object.setPrototypeOf ||
25599
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
25600
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
25601
- return extendStatics(d, b);
25602
- };
25603
- return function (d, b) {
25604
- extendStatics(d, b);
25605
- function __() { this.constructor = d; }
25606
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
25607
- };
25608
- })();
25609
- // Internal Imports
25610
-
25611
-
25612
-
25613
- var spacer_Spacer = /** @class */ (function (_super) {
25614
- spacer_extends(Spacer, _super);
25615
- function Spacer() {
25616
- var _this = _super !== null && _super.apply(this, arguments) || this;
25617
- _this.type = "spacer";
25618
- return _this;
25619
- }
25620
- Spacer.prototype.render = function () {
25621
- dom_utils_DOMUtils.appendOrSelect(this.getContainerSVG(), "rect")
25622
- .attr("x", 0)
25623
- .attr("y", 0)
25624
- .attr("width", this.configs.size || spacers.default.size)
25625
- .attr("height", this.configs.size || spacers.default.size)
25626
- .attr("opacity", 0);
25627
- };
25628
- return Spacer;
25629
- }(component_Component));
25630
-
25631
- //# sourceMappingURL=../../../src/components/layout/spacer.js.map
25632
25615
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/hierarchy/count.js
25633
25616
  function count_count(node) {
25634
25617
  var sum = 0,
@@ -25790,7 +25773,7 @@ function leastCommonAncestor(a, b) {
25790
25773
 
25791
25774
 
25792
25775
 
25793
- function hierarchy(data, children) {
25776
+ function hierarchy_hierarchy(data, children) {
25794
25777
  var root = new Node(data),
25795
25778
  valued = +data.value && (root.value = data.value),
25796
25779
  node,
@@ -25818,7 +25801,7 @@ function hierarchy(data, children) {
25818
25801
  }
25819
25802
 
25820
25803
  function node_copy() {
25821
- return hierarchy(this).eachBefore(copyData);
25804
+ return hierarchy_hierarchy(this).eachBefore(copyData);
25822
25805
  }
25823
25806
 
25824
25807
  function defaultChildren(d) {
@@ -25842,7 +25825,7 @@ function Node(data) {
25842
25825
  this.parent = null;
25843
25826
  }
25844
25827
 
25845
- Node.prototype = hierarchy.prototype = {
25828
+ Node.prototype = hierarchy_hierarchy.prototype = {
25846
25829
  constructor: Node,
25847
25830
  count: hierarchy_count,
25848
25831
  each: hierarchy_each,
@@ -25858,6 +25841,14 @@ Node.prototype = hierarchy.prototype = {
25858
25841
  copy: node_copy
25859
25842
  };
25860
25843
 
25844
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/round.js
25845
+ /* harmony default export */ var treemap_round = (function(node) {
25846
+ node.x0 = Math.round(node.x0);
25847
+ node.y0 = Math.round(node.y0);
25848
+ node.x1 = Math.round(node.x1);
25849
+ node.y1 = Math.round(node.y1);
25850
+ });
25851
+
25861
25852
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/dice.js
25862
25853
  /* harmony default export */ var dice = (function(parent, x0, y0, x1, y1) {
25863
25854
  var nodes = parent.children,
@@ -25886,14 +25877,6 @@ Node.prototype = hierarchy.prototype = {
25886
25877
  }
25887
25878
  });
25888
25879
 
25889
- // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/round.js
25890
- /* harmony default export */ var treemap_round = (function(node) {
25891
- node.x0 = Math.round(node.x0);
25892
- node.y0 = Math.round(node.y0);
25893
- node.x1 = Math.round(node.x1);
25894
- node.y1 = Math.round(node.y1);
25895
- });
25896
-
25897
25880
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/squarify.js
25898
25881
 
25899
25882
 
@@ -26079,6 +26062,627 @@ function constantZero() {
26079
26062
  return treemap;
26080
26063
  });
26081
26064
 
26065
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/@carbon/colors/es/index.js
26066
+ /**
26067
+ * Copyright IBM Corp. 2018, 2018
26068
+ *
26069
+ * This source code is licensed under the Apache-2.0 license found in the
26070
+ * LICENSE file in the root directory of this source tree.
26071
+ */
26072
+ var black = '#000000';
26073
+ var black100 = black;
26074
+ var white = '#ffffff';
26075
+ var white0 = white;
26076
+ var yellow = '#f1c21b';
26077
+ var yellow30 = yellow;
26078
+ var orange = '#ff832b';
26079
+ var orange40 = orange;
26080
+ var red10 = '#fff1f1';
26081
+ var red20 = '#ffd7d9';
26082
+ var red30 = '#ffb3b8';
26083
+ var red40 = '#ff8389';
26084
+ var red50 = '#fa4d56';
26085
+ var red60 = '#da1e28';
26086
+ var red70 = '#a2191f';
26087
+ var red80 = '#750e13';
26088
+ var red90 = '#520408';
26089
+ var red100 = '#2d0709';
26090
+ var red = {
26091
+ 10: red10,
26092
+ 20: red20,
26093
+ 30: red30,
26094
+ 40: red40,
26095
+ 50: red50,
26096
+ 60: red60,
26097
+ 70: red70,
26098
+ 80: red80,
26099
+ 90: red90,
26100
+ 100: red100
26101
+ };
26102
+ var magenta10 = '#fff0f7';
26103
+ var magenta20 = '#ffd6e8';
26104
+ var magenta30 = '#ffafd2';
26105
+ var magenta40 = '#ff7eb6';
26106
+ var magenta50 = '#ee5396';
26107
+ var magenta60 = '#d12771';
26108
+ var magenta70 = '#9f1853';
26109
+ var magenta80 = '#740937';
26110
+ var magenta90 = '#510224';
26111
+ var magenta100 = '#2a0a18';
26112
+ var magenta = {
26113
+ 10: magenta10,
26114
+ 20: magenta20,
26115
+ 30: magenta30,
26116
+ 40: magenta40,
26117
+ 50: magenta50,
26118
+ 60: magenta60,
26119
+ 70: magenta70,
26120
+ 80: magenta80,
26121
+ 90: magenta90,
26122
+ 100: magenta100
26123
+ };
26124
+ var purple10 = '#f6f2ff';
26125
+ var purple20 = '#e8daff';
26126
+ var purple30 = '#d4bbff';
26127
+ var purple40 = '#be95ff';
26128
+ var purple50 = '#a56eff';
26129
+ var purple60 = '#8a3ffc';
26130
+ var purple70 = '#6929c4';
26131
+ var purple80 = '#491d8b';
26132
+ var purple90 = '#31135e';
26133
+ var purple100 = '#1c0f30';
26134
+ var purple = {
26135
+ 10: purple10,
26136
+ 20: purple20,
26137
+ 30: purple30,
26138
+ 40: purple40,
26139
+ 50: purple50,
26140
+ 60: purple60,
26141
+ 70: purple70,
26142
+ 80: purple80,
26143
+ 90: purple90,
26144
+ 100: purple100
26145
+ };
26146
+ var blue10 = '#edf5ff';
26147
+ var blue20 = '#d0e2ff';
26148
+ var blue30 = '#a6c8ff';
26149
+ var blue40 = '#78a9ff';
26150
+ var blue50 = '#4589ff';
26151
+ var blue60 = '#0f62fe';
26152
+ var blue70 = '#0043ce';
26153
+ var blue80 = '#002d9c';
26154
+ var blue90 = '#001d6c';
26155
+ var blue100 = '#001141';
26156
+ var blue = {
26157
+ 10: blue10,
26158
+ 20: blue20,
26159
+ 30: blue30,
26160
+ 40: blue40,
26161
+ 50: blue50,
26162
+ 60: blue60,
26163
+ 70: blue70,
26164
+ 80: blue80,
26165
+ 90: blue90,
26166
+ 100: blue100
26167
+ };
26168
+ var cyan10 = '#e5f6ff';
26169
+ var cyan20 = '#bae6ff';
26170
+ var cyan30 = '#82cfff';
26171
+ var cyan40 = '#33b1ff';
26172
+ var cyan50 = '#1192e8';
26173
+ var cyan60 = '#0072c3';
26174
+ var cyan70 = '#00539a';
26175
+ var cyan80 = '#003a6d';
26176
+ var cyan90 = '#012749';
26177
+ var cyan100 = '#061727';
26178
+ var cyan = {
26179
+ 10: cyan10,
26180
+ 20: cyan20,
26181
+ 30: cyan30,
26182
+ 40: cyan40,
26183
+ 50: cyan50,
26184
+ 60: cyan60,
26185
+ 70: cyan70,
26186
+ 80: cyan80,
26187
+ 90: cyan90,
26188
+ 100: cyan100
26189
+ };
26190
+ var teal10 = '#d9fbfb';
26191
+ var teal20 = '#9ef0f0';
26192
+ var teal30 = '#3ddbd9';
26193
+ var teal40 = '#08bdba';
26194
+ var teal50 = '#009d9a';
26195
+ var teal60 = '#007d79';
26196
+ var teal70 = '#005d5d';
26197
+ var teal80 = '#004144';
26198
+ var teal90 = '#022b30';
26199
+ var teal100 = '#081a1c';
26200
+ var teal = {
26201
+ 10: teal10,
26202
+ 20: teal20,
26203
+ 30: teal30,
26204
+ 40: teal40,
26205
+ 50: teal50,
26206
+ 60: teal60,
26207
+ 70: teal70,
26208
+ 80: teal80,
26209
+ 90: teal90,
26210
+ 100: teal100
26211
+ };
26212
+ var green10 = '#defbe6';
26213
+ var green20 = '#a7f0ba';
26214
+ var green30 = '#6fdc8c';
26215
+ var green40 = '#42be65';
26216
+ var green50 = '#24a148';
26217
+ var green60 = '#198038';
26218
+ var green70 = '#0e6027';
26219
+ var green80 = '#044317';
26220
+ var green90 = '#022d0d';
26221
+ var green100 = '#071908';
26222
+ var green = {
26223
+ 10: green10,
26224
+ 20: green20,
26225
+ 30: green30,
26226
+ 40: green40,
26227
+ 50: green50,
26228
+ 60: green60,
26229
+ 70: green70,
26230
+ 80: green80,
26231
+ 90: green90,
26232
+ 100: green100
26233
+ };
26234
+ var coolGray10 = '#f2f4f8';
26235
+ var coolGray20 = '#dde1e6';
26236
+ var coolGray30 = '#c1c7cd';
26237
+ var coolGray40 = '#a2a9b0';
26238
+ var coolGray50 = '#878d96';
26239
+ var coolGray60 = '#697077';
26240
+ var coolGray70 = '#4d5358';
26241
+ var coolGray80 = '#343a3f';
26242
+ var coolGray90 = '#21272a';
26243
+ var coolGray100 = '#121619';
26244
+ var coolGray = {
26245
+ 10: coolGray10,
26246
+ 20: coolGray20,
26247
+ 30: coolGray30,
26248
+ 40: coolGray40,
26249
+ 50: coolGray50,
26250
+ 60: coolGray60,
26251
+ 70: coolGray70,
26252
+ 80: coolGray80,
26253
+ 90: coolGray90,
26254
+ 100: coolGray100
26255
+ };
26256
+ var gray10 = '#f4f4f4';
26257
+ var gray20 = '#e0e0e0';
26258
+ var gray30 = '#c6c6c6';
26259
+ var gray40 = '#a8a8a8';
26260
+ var gray50 = '#8d8d8d';
26261
+ var gray60 = '#6f6f6f';
26262
+ var gray70 = '#525252';
26263
+ var gray80 = '#393939';
26264
+ var gray90 = '#262626';
26265
+ var gray100 = '#161616';
26266
+ var gray = {
26267
+ 10: gray10,
26268
+ 20: gray20,
26269
+ 30: gray30,
26270
+ 40: gray40,
26271
+ 50: gray50,
26272
+ 60: gray60,
26273
+ 70: gray70,
26274
+ 80: gray80,
26275
+ 90: gray90,
26276
+ 100: gray100
26277
+ };
26278
+ var warmGray10 = '#f7f3f2';
26279
+ var warmGray20 = '#e5e0df';
26280
+ var warmGray30 = '#cac5c4';
26281
+ var warmGray40 = '#ada8a8';
26282
+ var warmGray50 = '#8f8b8b';
26283
+ var warmGray60 = '#736f6f';
26284
+ var warmGray70 = '#565151';
26285
+ var warmGray80 = '#3c3838';
26286
+ var warmGray90 = '#272525';
26287
+ var warmGray100 = '#171414';
26288
+ var warmGray = {
26289
+ 10: warmGray10,
26290
+ 20: warmGray20,
26291
+ 30: warmGray30,
26292
+ 40: warmGray40,
26293
+ 50: warmGray50,
26294
+ 60: warmGray60,
26295
+ 70: warmGray70,
26296
+ 80: warmGray80,
26297
+ 90: warmGray90,
26298
+ 100: warmGray100
26299
+ }; // Deprecated ☠️
26300
+
26301
+ var yellow20 = '#fdd13a';
26302
+ var es_colors = {
26303
+ black: {
26304
+ 100: black
26305
+ },
26306
+ blue: blue,
26307
+ coolGray: coolGray,
26308
+ cyan: cyan,
26309
+ gray: gray,
26310
+ green: green,
26311
+ magenta: magenta,
26312
+ orange: {
26313
+ 40: orange40
26314
+ },
26315
+ purple: purple,
26316
+ red: red,
26317
+ teal: teal,
26318
+ warmGray: warmGray,
26319
+ white: {
26320
+ 0: white
26321
+ },
26322
+ yellow: {
26323
+ 20: yellow20,
26324
+ 30: yellow30
26325
+ }
26326
+ };
26327
+
26328
+ /**
26329
+ * Copyright IBM Corp. 2018, 2018
26330
+ *
26331
+ * This source code is licensed under the Apache-2.0 license found in the
26332
+ * LICENSE file in the root directory of this source tree.
26333
+ */
26334
+
26335
+ /**
26336
+ * Parse a given hexcode string into an rgba statement with the given opacity
26337
+ * @param {string} hexcode
26338
+ * @param {number} opacity
26339
+ * @returns {string}
26340
+ */
26341
+ function es_rgba(hexcode, opacity) {
26342
+ var values = [hexcode.substring(1, 3), hexcode.substring(3, 5), hexcode.substring(5, 7)].map(function (string) {
26343
+ return parseInt(string, 16);
26344
+ });
26345
+ return "rgba(".concat(values[0], ", ").concat(values[1], ", ").concat(values[2], ", ").concat(opacity, ")");
26346
+ }
26347
+
26348
+ /**
26349
+ * Copyright IBM Corp. 2018, 2018
26350
+ *
26351
+ * This source code is licensed under the Apache-2.0 license found in the
26352
+ * LICENSE file in the root directory of this source tree.
26353
+ */
26354
+
26355
+
26356
+
26357
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/graphs/treemap.js
26358
+ var treemap_extends = (undefined && undefined.__extends) || (function () {
26359
+ var extendStatics = function (d, b) {
26360
+ extendStatics = Object.setPrototypeOf ||
26361
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26362
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
26363
+ return extendStatics(d, b);
26364
+ };
26365
+ return function (d, b) {
26366
+ extendStatics(d, b);
26367
+ function __() { this.constructor = d; }
26368
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
26369
+ };
26370
+ })();
26371
+ // Internal Imports
26372
+
26373
+
26374
+
26375
+
26376
+ // D3 Imports
26377
+
26378
+
26379
+
26380
+
26381
+ // Carbon colors
26382
+
26383
+ var findColorShade = function (hex) {
26384
+ if (!hex) {
26385
+ return null;
26386
+ }
26387
+ for (var _i = 0, _a = Object.keys(es_colors); _i < _a.length; _i++) {
26388
+ var colorName = _a[_i];
26389
+ var colorShades = es_colors[colorName];
26390
+ for (var _b = 0, _c = Object.keys(colorShades); _b < _c.length; _b++) {
26391
+ var colorShadeLevel = _c[_b];
26392
+ var colorShade = colorShades[colorShadeLevel];
26393
+ if (colorShade === hex) {
26394
+ return colorShadeLevel;
26395
+ }
26396
+ }
26397
+ }
26398
+ return null;
26399
+ };
26400
+ var textFillColor = function () {
26401
+ var correspondingLeaf = src_select(this.parentNode).select("rect.leaf");
26402
+ var correspondingLeafFill = getComputedStyle(correspondingLeaf.node(), null).getPropertyValue("fill");
26403
+ var cl = color_color(correspondingLeafFill);
26404
+ var colorShade;
26405
+ if (cl) {
26406
+ colorShade = findColorShade(cl ? cl.hex() : null);
26407
+ }
26408
+ if (colorShade === null || colorShade === undefined) {
26409
+ var lightness = hsl(cl).l;
26410
+ colorShade = Math.abs(lightness * 100 - 100);
26411
+ }
26412
+ return colorShade > 50 ? "white" : "black";
26413
+ };
26414
+ var uidCounter = 0;
26415
+ var treemap_Treemap = /** @class */ (function (_super) {
26416
+ treemap_extends(Treemap, _super);
26417
+ function Treemap() {
26418
+ var _this = _super !== null && _super.apply(this, arguments) || this;
26419
+ _this.type = "treemap";
26420
+ _this.handleLegendOnHover = function (event) {
26421
+ var hoveredElement = event.detail.hoveredElement;
26422
+ _this.parent
26423
+ .selectAll("g[data-name='leaf']")
26424
+ .transition(_this.services.transitions.getTransition("legend-hover-treemap"))
26425
+ .attr("opacity", function (d) {
26426
+ return d.parent.data.name === hoveredElement.datum()["name"] ? 1 : 0.3;
26427
+ });
26428
+ };
26429
+ _this.handleLegendMouseOut = function (event) {
26430
+ _this.parent
26431
+ .selectAll("g[data-name='leaf']")
26432
+ .transition(_this.services.transitions.getTransition("legend-mouseout-treemap"))
26433
+ .attr("opacity", 1);
26434
+ };
26435
+ return _this;
26436
+ }
26437
+ Treemap.prototype.init = function () {
26438
+ var events = this.services.events;
26439
+ // Highlight correct circle on legend item hovers
26440
+ events.addEventListener(Events.Legend.ITEM_HOVER, this.handleLegendOnHover);
26441
+ // Un-highlight circles on legend item mouseouts
26442
+ events.addEventListener(Events.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
26443
+ };
26444
+ Treemap.prototype.render = function (animate) {
26445
+ var _this = this;
26446
+ if (animate === void 0) { animate = true; }
26447
+ var svg = this.getContainerSVG();
26448
+ var allData = this.model.getData();
26449
+ var displayData = this.model.getDisplayData();
26450
+ var options = this.model.getOptions();
26451
+ var windowLocation = tools_Tools.getProperty(window, "location");
26452
+ var _a = dom_utils_DOMUtils.getSVGElementSize(this.parent, {
26453
+ useAttrs: true
26454
+ }), width = _a.width, height = _a.height;
26455
+ var hierarchy = hierarchy_hierarchy({
26456
+ name: options.title || "Treemap",
26457
+ children: displayData
26458
+ })
26459
+ .sum(function (d) { return d.value; })
26460
+ .sort(function (a, b) { return b.value - a.value; });
26461
+ var total = src_sum(allData, function (d) {
26462
+ return src_sum(d.children, function (child) { return child.value; });
26463
+ });
26464
+ var root = src_treemap()
26465
+ .size([width, height])
26466
+ .paddingInner(1)
26467
+ .paddingOuter(0)
26468
+ .round(true)(hierarchy);
26469
+ var transitions = this.services.transitions;
26470
+ var leafGroups = svg
26471
+ .selectAll("g[data-name='leaf']")
26472
+ .data(root.leaves(), function (leaf) { return leaf.data.name; });
26473
+ // Remove leaf groups that need to be removed
26474
+ leafGroups.exit().attr("opacity", 0).remove();
26475
+ // Add the leaf groups that need to be introduced
26476
+ var enteringLeafGroups = leafGroups
26477
+ .enter()
26478
+ .append("g")
26479
+ .attr("data-name", "leaf")
26480
+ .attr("data-uid", function () { return uidCounter++; });
26481
+ var allLeafGroups = enteringLeafGroups.merge(leafGroups);
26482
+ allLeafGroups
26483
+ .attr("data-name", "leaf")
26484
+ .transition(transitions.getTransition("treemap-group-update", animate))
26485
+ .attr("transform", function (d) { return "translate(" + d.x0 + "," + d.y0 + ")"; });
26486
+ var rects = allLeafGroups.selectAll("rect.leaf").data(function (d) { return [d]; });
26487
+ rects.exit().attr("width", 0).attr("height", 0).remove();
26488
+ var enteringRects = rects
26489
+ .enter()
26490
+ .append("rect")
26491
+ .classed("leaf", true);
26492
+ enteringRects
26493
+ .merge(rects)
26494
+ .attr("width", 0)
26495
+ .attr("height", 0)
26496
+ .attr("id", function () {
26497
+ var uid = src_select(this.parentNode).attr("data-uid");
26498
+ return options.style.prefix + "-leaf-" + uid;
26499
+ })
26500
+ .attr("class", function (d) {
26501
+ while (d.depth > 1)
26502
+ d = d.parent;
26503
+ return _this.model.getColorClassName({
26504
+ classNameTypes: [ColorClassNameTypes.FILL],
26505
+ dataGroupName: d.data.name,
26506
+ originalClassName: "leaf"
26507
+ });
26508
+ })
26509
+ .transition(this.services.transitions.getTransition("treemap-leaf-update-enter", animate))
26510
+ .attr("width", function (d) { return d.x1 - d.x0; })
26511
+ .attr("height", function (d) { return d.y1 - d.y0; });
26512
+ // Update all clip paths
26513
+ allLeafGroups
26514
+ .selectAll("clipPath")
26515
+ .data(function (d) {
26516
+ if (d.data.showLabel !== true) {
26517
+ return [];
26518
+ }
26519
+ return [1];
26520
+ }, function (d) { return d; })
26521
+ .join(function (enter) {
26522
+ enter
26523
+ .append("clipPath")
26524
+ .attr("id", function () {
26525
+ var uid = src_select(this.parentNode).attr("data-uid");
26526
+ return options.style.prefix + "-clip-" + uid;
26527
+ })
26528
+ .append("use")
26529
+ .attr("xlink:href", function () {
26530
+ var uid = src_select(this.parentNode.parentNode).attr("data-uid");
26531
+ var leafID = options.style.prefix + "-leaf-" + uid;
26532
+ return new URL("#" + leafID, windowLocation) + "";
26533
+ });
26534
+ }, function (update) { return null; }, function (exit) { return exit.remove(); });
26535
+ // Update all titles
26536
+ allLeafGroups
26537
+ .selectAll("text")
26538
+ .data(function (d) {
26539
+ if (d.data.showLabel !== true) {
26540
+ return [];
26541
+ }
26542
+ var parent = d;
26543
+ while (parent.depth > 1)
26544
+ parent = parent.parent;
26545
+ var color = hsl(_this.model.getFillColor(parent.data.name));
26546
+ return [
26547
+ {
26548
+ text: d.data.name,
26549
+ color: color.l < 0.5 ? "white" : "black"
26550
+ }
26551
+ ];
26552
+ }, function (d) { return d; })
26553
+ .join(function (enter) {
26554
+ var addedText = enter
26555
+ .append("text")
26556
+ .text(function (d) { return d.text; })
26557
+ .style("fill", textFillColor)
26558
+ .attr("x", 7)
26559
+ .attr("y", 18);
26560
+ if (windowLocation) {
26561
+ addedText.attr("clip-path", function () {
26562
+ var uid = src_select(this.parentNode).attr("data-uid");
26563
+ var clipPathID = options.style.prefix + "-clip-" + uid;
26564
+ return "url(" + (new URL("#" + clipPathID, windowLocation) + "") + ")";
26565
+ });
26566
+ }
26567
+ }, function (update) {
26568
+ return update.text(function (d) { return d.text; }).style("fill", textFillColor);
26569
+ }, function (exit) { return exit.remove(); });
26570
+ // Add event listeners to elements drawn
26571
+ this.addEventListeners();
26572
+ };
26573
+ Treemap.prototype.addEventListeners = function () {
26574
+ var self = this;
26575
+ this.parent
26576
+ .selectAll("rect.leaf")
26577
+ .on("mouseover", function (datum) {
26578
+ var hoveredElement = src_select(this);
26579
+ var fillColor = getComputedStyle(this, null).getPropertyValue("fill");
26580
+ var parent = datum;
26581
+ while (parent.depth > 1)
26582
+ parent = parent.parent;
26583
+ hoveredElement
26584
+ .transition(self.services.transitions.getTransition("graph_element_mouseover_fill_update"))
26585
+ .style("fill", function (d) {
26586
+ return color_color(fillColor).darker(0.7).toString();
26587
+ });
26588
+ // Show tooltip
26589
+ self.services.events.dispatchEvent(Events.Tooltip.SHOW, {
26590
+ hoveredElement: hoveredElement,
26591
+ items: [
26592
+ {
26593
+ color: fillColor,
26594
+ label: parent.data.name,
26595
+ bold: true
26596
+ },
26597
+ {
26598
+ label: datum.data.name,
26599
+ value: datum.data.value
26600
+ }
26601
+ ]
26602
+ });
26603
+ // Dispatch mouse event
26604
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_MOUSEOVER, {
26605
+ element: hoveredElement,
26606
+ datum: datum
26607
+ });
26608
+ })
26609
+ .on("mousemove", function (datum) {
26610
+ var hoveredElement = src_select(this);
26611
+ // Dispatch mouse event
26612
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_MOUSEMOVE, {
26613
+ element: hoveredElement,
26614
+ datum: datum
26615
+ });
26616
+ self.services.events.dispatchEvent(Events.Tooltip.MOVE);
26617
+ })
26618
+ .on("click", function (datum) {
26619
+ // Dispatch mouse event
26620
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_CLICK, {
26621
+ element: src_select(this),
26622
+ datum: datum
26623
+ });
26624
+ })
26625
+ .on("mouseout", function (datum) {
26626
+ var hoveredElement = src_select(this);
26627
+ hoveredElement.classed("hovered", false);
26628
+ var parent = datum;
26629
+ while (parent.depth > 1)
26630
+ parent = parent.parent;
26631
+ hoveredElement
26632
+ .transition(self.services.transitions.getTransition("graph_element_mouseout_fill_update"))
26633
+ .style("fill", null);
26634
+ // Dispatch mouse event
26635
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_MOUSEOUT, {
26636
+ element: hoveredElement,
26637
+ datum: datum
26638
+ });
26639
+ // Hide tooltip
26640
+ self.services.events.dispatchEvent(Events.Tooltip.HIDE, {
26641
+ hoveredElement: hoveredElement
26642
+ });
26643
+ });
26644
+ };
26645
+ return Treemap;
26646
+ }(component_Component));
26647
+
26648
+ //# sourceMappingURL=../../../src/components/graphs/treemap.js.map
26649
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/layout/spacer.js
26650
+ var spacer_extends = (undefined && undefined.__extends) || (function () {
26651
+ var extendStatics = function (d, b) {
26652
+ extendStatics = Object.setPrototypeOf ||
26653
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26654
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
26655
+ return extendStatics(d, b);
26656
+ };
26657
+ return function (d, b) {
26658
+ extendStatics(d, b);
26659
+ function __() { this.constructor = d; }
26660
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
26661
+ };
26662
+ })();
26663
+ // Internal Imports
26664
+
26665
+
26666
+
26667
+ var spacer_Spacer = /** @class */ (function (_super) {
26668
+ spacer_extends(Spacer, _super);
26669
+ function Spacer() {
26670
+ var _this = _super !== null && _super.apply(this, arguments) || this;
26671
+ _this.type = "spacer";
26672
+ return _this;
26673
+ }
26674
+ Spacer.prototype.render = function () {
26675
+ dom_utils_DOMUtils.appendOrSelect(this.getContainerSVG(), "rect")
26676
+ .attr("x", 0)
26677
+ .attr("y", 0)
26678
+ .attr("width", this.configs.size || spacers.default.size)
26679
+ .attr("height", this.configs.size || spacers.default.size)
26680
+ .attr("opacity", 0);
26681
+ };
26682
+ return Spacer;
26683
+ }(component_Component));
26684
+
26685
+ //# sourceMappingURL=../../../src/components/layout/spacer.js.map
26082
26686
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/layout/layout.js
26083
26687
  var layout_extends = (undefined && undefined.__extends) || (function () {
26084
26688
  var extendStatics = function (d, b) {
@@ -26159,7 +26763,7 @@ var layout_LayoutComponent = /** @class */ (function (_super) {
26159
26763
  var _a = dom_utils_DOMUtils.getSVGElementSize(svg, {
26160
26764
  useAttrs: true
26161
26765
  }), width = _a.width, height = _a.height;
26162
- var root = hierarchy({
26766
+ var root = hierarchy_hierarchy({
26163
26767
  children: this.children
26164
26768
  }).sum(function (d) { return d.size; });
26165
26769
  // Grab the correct treemap tile function based on direction
@@ -26236,7 +26840,7 @@ var layout_LayoutComponent = /** @class */ (function (_super) {
26236
26840
  });
26237
26841
  // Pass children data to the hierarchy layout
26238
26842
  // And calculate sum of sizes
26239
- root = hierarchy({
26843
+ root = hierarchy_hierarchy({
26240
26844
  children: this.children
26241
26845
  }).sum(function (d) { return d.size; });
26242
26846
  // Compute the position of all elements within the layout
@@ -27097,6 +27701,10 @@ var two_dimensional_axes_TwoDimensionalAxes = /** @class */ (function (_super) {
27097
27701
  offset = dom_utils_DOMUtils.getSVGElementSize(child.getTitleRef(), {
27098
27702
  useBBox: true
27099
27703
  }).height;
27704
+ if (axisPosition === AxisPositions.LEFT ||
27705
+ axisPosition === AxisPositions.RIGHT) {
27706
+ offset += 5;
27707
+ }
27100
27708
  }
27101
27709
  switch (axisPosition) {
27102
27710
  case AxisPositions.TOP:
@@ -28942,10 +29550,6 @@ var zero_line_ZeroLine = /** @class */ (function (_super) {
28942
29550
  }(component_Component));
28943
29551
 
28944
29552
  //# sourceMappingURL=../../../src/components/axes/zero-line.js.map
28945
- // EXTERNAL MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/lodash/isEmpty.js
28946
- var isEmpty = __webpack_require__("330a");
28947
- var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty);
28948
-
28949
29553
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/axes/zoom-bar.js
28950
29554
  var zoom_bar_extends = (undefined && undefined.__extends) || (function () {
28951
29555
  var extendStatics = function (d, b) {
@@ -28966,7 +29570,6 @@ var zoom_bar_extends = (undefined && undefined.__extends) || (function () {
28966
29570
 
28967
29571
 
28968
29572
 
28969
-
28970
29573
  // D3 Imports
28971
29574
 
28972
29575
 
@@ -29050,7 +29653,7 @@ var zoom_bar_ZoomBar = /** @class */ (function (_super) {
29050
29653
  var mainXScaleType = cartesianScales.getMainXScaleType();
29051
29654
  if (mainXScale && mainXScaleType === ScaleTypes.TIME) {
29052
29655
  var zoomBarData = this.services.zoom.getZoomBarData();
29053
- if (isEmpty_default()(zoomBarData)) {
29656
+ if (tools_Tools.isEmpty(zoomBarData)) {
29054
29657
  // if there's no zoom bar data we can't do anything
29055
29658
  return;
29056
29659
  }
@@ -29384,6 +29987,7 @@ var zoom_bar_ZoomBar = /** @class */ (function (_super) {
29384
29987
 
29385
29988
 
29386
29989
 
29990
+
29387
29991
  // Layout
29388
29992
 
29389
29993
 
@@ -29600,6 +30204,7 @@ var model_cartesian_charts_extends = (undefined && undefined.__extends) || (func
29600
30204
  // Internal Imports
29601
30205
 
29602
30206
 
30207
+
29603
30208
  /**
29604
30209
  * This supports adding X and Y Cartesian[2D] zoom data to a ChartModel
29605
30210
  * */
@@ -29612,7 +30217,7 @@ var model_cartesian_charts_ChartModelCartesian = /** @class */ (function (_super
29612
30217
  var data;
29613
30218
  if (newData) {
29614
30219
  data = _super.prototype.setData.call(this, newData);
29615
- if (tools_Tools.getProperty(this.getOptions(), "zoomBar")) {
30220
+ if (tools_Tools.getProperty(this.getOptions(), "zoomBar", "top", "enabled")) {
29616
30221
  // if we have zoom bar data we need to update it as well
29617
30222
  this.setZoomBarData();
29618
30223
  }
@@ -29658,6 +30263,39 @@ var model_cartesian_charts_ChartModelCartesian = /** @class */ (function (_super
29658
30263
  ChartModelCartesian.prototype.getZoomBarData = function () {
29659
30264
  return this.get("zoomBarData");
29660
30265
  };
30266
+ ChartModelCartesian.prototype.sanitizeDateValues = function (data) {
30267
+ var options = this.getOptions();
30268
+ if (!options.axes) {
30269
+ return data;
30270
+ }
30271
+ var keysToCheck = [];
30272
+ Object.keys(AxisPositions).forEach(function (axisPositionKey) {
30273
+ var axisPosition = AxisPositions[axisPositionKey];
30274
+ var axisOptions = options.axes[axisPosition];
30275
+ if (axisOptions && axisOptions.scaleType === ScaleTypes.TIME) {
30276
+ var axisMapsTo = axisOptions.mapsTo;
30277
+ if (axisMapsTo !== null || axisMapsTo !== undefined) {
30278
+ keysToCheck.push(axisMapsTo);
30279
+ }
30280
+ }
30281
+ });
30282
+ if (keysToCheck.length > 0) {
30283
+ // Check all datapoints and sanitize dates
30284
+ data.forEach(function (datum) {
30285
+ keysToCheck.forEach(function (key) {
30286
+ if (tools_Tools.getProperty(datum, key, "getTime") === null) {
30287
+ datum[key] = new Date(datum[key]);
30288
+ }
30289
+ });
30290
+ });
30291
+ }
30292
+ return data;
30293
+ };
30294
+ ChartModelCartesian.prototype.sanitize = function (data) {
30295
+ data = _super.prototype.sanitize.call(this, data);
30296
+ data = this.sanitizeDateValues(data);
30297
+ return data;
30298
+ };
29661
30299
  return ChartModelCartesian;
29662
30300
  }(model_ChartModel));
29663
30301
 
@@ -31440,6 +32078,35 @@ var radar_RadarChart = /** @class */ (function (_super) {
31440
32078
  }(chart_Chart));
31441
32079
 
31442
32080
  //# sourceMappingURL=../../src/charts/radar.js.map
32081
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/model-gauge.js
32082
+ var model_gauge_extends = (undefined && undefined.__extends) || (function () {
32083
+ var extendStatics = function (d, b) {
32084
+ extendStatics = Object.setPrototypeOf ||
32085
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32086
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
32087
+ return extendStatics(d, b);
32088
+ };
32089
+ return function (d, b) {
32090
+ extendStatics(d, b);
32091
+ function __() { this.constructor = d; }
32092
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32093
+ };
32094
+ })();
32095
+ // Internal Imports
32096
+
32097
+ /** The gauge chart model layer */
32098
+ var GaugeChartModel = /** @class */ (function (_super) {
32099
+ model_gauge_extends(GaugeChartModel, _super);
32100
+ function GaugeChartModel(services) {
32101
+ return _super.call(this, services) || this;
32102
+ }
32103
+ GaugeChartModel.prototype.getDataGroups = function () {
32104
+ return _super.prototype.getDataGroups.call(this).filter(function (item) { return item.name !== "delta"; });
32105
+ };
32106
+ return GaugeChartModel;
32107
+ }(model_ChartModel));
32108
+
32109
+ //# sourceMappingURL=../src/model-gauge.js.map
31443
32110
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/charts/gauge.js
31444
32111
  var charts_gauge_extends = (undefined && undefined.__extends) || (function () {
31445
32112
  var extendStatics = function (d, b) {
@@ -31458,12 +32125,14 @@ var charts_gauge_extends = (undefined && undefined.__extends) || (function () {
31458
32125
 
31459
32126
 
31460
32127
 
32128
+
31461
32129
  // Components
31462
32130
 
31463
32131
  var gauge_GaugeChart = /** @class */ (function (_super) {
31464
32132
  charts_gauge_extends(GaugeChart, _super);
31465
32133
  function GaugeChart(holder, chartConfigs) {
31466
32134
  var _this = _super.call(this, holder, chartConfigs) || this;
32135
+ _this.model = new GaugeChartModel(_this.services);
31467
32136
  // Merge the default options for this chart
31468
32137
  // With the user provided options
31469
32138
  _this.model.setOptions(tools_Tools.mergeDefaultChartOptions(configuration_options.gaugeChart, chartConfigs.options));
@@ -31481,6 +32150,48 @@ var gauge_GaugeChart = /** @class */ (function (_super) {
31481
32150
  }(chart_Chart));
31482
32151
 
31483
32152
  //# sourceMappingURL=../../src/charts/gauge.js.map
32153
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/charts/treemap.js
32154
+ var charts_treemap_extends = (undefined && undefined.__extends) || (function () {
32155
+ var extendStatics = function (d, b) {
32156
+ extendStatics = Object.setPrototypeOf ||
32157
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32158
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
32159
+ return extendStatics(d, b);
32160
+ };
32161
+ return function (d, b) {
32162
+ extendStatics(d, b);
32163
+ function __() { this.constructor = d; }
32164
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32165
+ };
32166
+ })();
32167
+ // Internal Imports
32168
+
32169
+
32170
+
32171
+ // Components
32172
+
32173
+ var treemap_TreemapChart = /** @class */ (function (_super) {
32174
+ charts_treemap_extends(TreemapChart, _super);
32175
+ function TreemapChart(holder, chartConfigs) {
32176
+ var _this = _super.call(this, holder, chartConfigs) || this;
32177
+ // Merge the default options for this chart
32178
+ // With the user provided options
32179
+ _this.model.setOptions(tools_Tools.mergeDefaultChartOptions(configuration_options.treemapChart, chartConfigs.options));
32180
+ // Initialize data, services, components etc.
32181
+ _this.init(holder, chartConfigs);
32182
+ return _this;
32183
+ }
32184
+ TreemapChart.prototype.getComponents = function () {
32185
+ // Specify what to render inside the graph-frame
32186
+ var graphFrameComponents = [new treemap_Treemap(this.model, this.services)];
32187
+ // get the base chart components and export with tooltip
32188
+ var components = this.getChartComponents(graphFrameComponents);
32189
+ return components;
32190
+ };
32191
+ return TreemapChart;
32192
+ }(chart_Chart));
32193
+
32194
+ //# sourceMappingURL=../../src/charts/treemap.js.map
31484
32195
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/charts/index.js
31485
32196
 
31486
32197
 
@@ -31495,6 +32206,7 @@ var gauge_GaugeChart = /** @class */ (function (_super) {
31495
32206
 
31496
32207
 
31497
32208
 
32209
+
31498
32210
  //# sourceMappingURL=../../src/charts/index.js.map
31499
32211
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/index.js
31500
32212
 
@@ -32244,6 +32956,52 @@ var ccv_radar_chart_component = normalizeComponent(
32244
32956
  )
32245
32957
 
32246
32958
  /* harmony default export */ var ccv_radar_chart = (ccv_radar_chart_component.exports);
32959
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"624081f5-vue-loader-template"}!/home/travis/build/carbon-design-system/carbon-charts/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/carbon-design-system/carbon-charts/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-treemap-chart.vue?vue&type=template&id=1bc226ef&
32960
+ var ccv_treemap_chartvue_type_template_id_1bc226ef_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-treemap-chart"})}
32961
+ var ccv_treemap_chartvue_type_template_id_1bc226ef_staticRenderFns = []
32962
+
32963
+
32964
+ // CONCATENATED MODULE: ./src/ccv-treemap-chart.vue?vue&type=template&id=1bc226ef&
32965
+
32966
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/carbon-design-system/carbon-charts/node_modules/thread-loader/dist/cjs.js!/home/travis/build/carbon-design-system/carbon-charts/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/carbon-design-system/carbon-charts/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-treemap-chart.vue?vue&type=script&lang=js&
32967
+ //
32968
+ //
32969
+ //
32970
+ //
32971
+
32972
+
32973
+ /* harmony default export */ var ccv_treemap_chartvue_type_script_lang_js_ = ({
32974
+ name: 'CcvTreemapChart',
32975
+ extends: ccv_base_chart,
32976
+ mounted: function mounted() {
32977
+ this.coreChart = new treemap_TreemapChart(this.$el, {
32978
+ data: this.data,
32979
+ options: this.options
32980
+ });
32981
+ }
32982
+ });
32983
+ // CONCATENATED MODULE: ./src/ccv-treemap-chart.vue?vue&type=script&lang=js&
32984
+ /* harmony default export */ var src_ccv_treemap_chartvue_type_script_lang_js_ = (ccv_treemap_chartvue_type_script_lang_js_);
32985
+ // CONCATENATED MODULE: ./src/ccv-treemap-chart.vue
32986
+
32987
+
32988
+
32989
+
32990
+
32991
+ /* normalize component */
32992
+
32993
+ var ccv_treemap_chart_component = normalizeComponent(
32994
+ src_ccv_treemap_chartvue_type_script_lang_js_,
32995
+ ccv_treemap_chartvue_type_template_id_1bc226ef_render,
32996
+ ccv_treemap_chartvue_type_template_id_1bc226ef_staticRenderFns,
32997
+ false,
32998
+ null,
32999
+ null,
33000
+ null
33001
+
33002
+ )
33003
+
33004
+ /* harmony default export */ var ccv_treemap_chart = (ccv_treemap_chart_component.exports);
32247
33005
  // CONCATENATED MODULE: ./src/index.js
32248
33006
 
32249
33007
 
@@ -32268,7 +33026,8 @@ var ccv_radar_chart_component = normalizeComponent(
32268
33026
 
32269
33027
 
32270
33028
 
32271
- var src_components = [ccv_area_chart, ccv_stacked_area_chart, ccv_simple_bar_chart, ccv_grouped_bar_chart, ccv_stacked_bar_chart, ccv_bubble_chart, ccv_donut_chart, ccv_gauge_chart, ccv_line_chart, ccv_pie_chart, ccv_scatter_chart, ccv_meter_chart, ccv_radar_chart];
33029
+
33030
+ var src_components = [ccv_area_chart, ccv_stacked_area_chart, ccv_simple_bar_chart, ccv_grouped_bar_chart, ccv_stacked_bar_chart, ccv_bubble_chart, ccv_donut_chart, ccv_gauge_chart, ccv_line_chart, ccv_pie_chart, ccv_scatter_chart, ccv_meter_chart, ccv_radar_chart, ccv_treemap_chart];
32272
33031
  /*
32273
33032
  Allows the module to be used as a Vue plug-in, and has an install()
32274
33033
  method (which is called when the plug-in loads) that registers all the
@@ -32358,6 +33117,7 @@ var src_components = [ccv_area_chart, ccv_stacked_area_chart, ccv_simple_bar_cha
32358
33117
  /* concated harmony reexport CcvScatterChart */__webpack_require__.d(__webpack_exports__, "CcvScatterChart", function() { return ccv_scatter_chart; });
32359
33118
  /* concated harmony reexport CcvMeterChart */__webpack_require__.d(__webpack_exports__, "CcvMeterChart", function() { return ccv_meter_chart; });
32360
33119
  /* concated harmony reexport CcvRadarChart */__webpack_require__.d(__webpack_exports__, "CcvRadarChart", function() { return ccv_radar_chart; });
33120
+ /* concated harmony reexport CcvTreemapChart */__webpack_require__.d(__webpack_exports__, "CcvTreemapChart", function() { return ccv_treemap_chart; });
32361
33121
 
32362
33122
 
32363
33123
  /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src);
@@ -32416,22 +33176,6 @@ module.exports = {
32416
33176
  };
32417
33177
 
32418
33178
 
32419
- /***/ }),
32420
-
32421
- /***/ "201b":
32422
- /***/ (function(module, exports, __webpack_require__) {
32423
-
32424
- var freeGlobal = __webpack_require__("7bdd");
32425
-
32426
- /** Detect free variable `self`. */
32427
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
32428
-
32429
- /** Used as a reference to the global object. */
32430
- var root = freeGlobal || freeSelf || Function('return this')();
32431
-
32432
- module.exports = root;
32433
-
32434
-
32435
33179
  /***/ }),
32436
33180
 
32437
33181
  /***/ "2117":
@@ -32463,20 +33207,6 @@ module.exports = function (fn, that, length) {
32463
33207
  };
32464
33208
 
32465
33209
 
32466
- /***/ }),
32467
-
32468
- /***/ "212d":
32469
- /***/ (function(module, exports, __webpack_require__) {
32470
-
32471
- var getNative = __webpack_require__("bf10"),
32472
- root = __webpack_require__("201b");
32473
-
32474
- /* Built-in method references that are verified to be native. */
32475
- var Promise = getNative(root, 'Promise');
32476
-
32477
- module.exports = Promise;
32478
-
32479
-
32480
33210
  /***/ }),
32481
33211
 
32482
33212
  /***/ "2402":
@@ -32485,59 +33215,6 @@ module.exports = Promise;
32485
33215
  exports.f = Object.getOwnPropertySymbols;
32486
33216
 
32487
33217
 
32488
- /***/ }),
32489
-
32490
- /***/ "2822":
32491
- /***/ (function(module, exports, __webpack_require__) {
32492
-
32493
- var Symbol = __webpack_require__("4b2c");
32494
-
32495
- /** Used for built-in method references. */
32496
- var objectProto = Object.prototype;
32497
-
32498
- /** Used to check objects for own properties. */
32499
- var hasOwnProperty = objectProto.hasOwnProperty;
32500
-
32501
- /**
32502
- * Used to resolve the
32503
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
32504
- * of values.
32505
- */
32506
- var nativeObjectToString = objectProto.toString;
32507
-
32508
- /** Built-in value references. */
32509
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
32510
-
32511
- /**
32512
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
32513
- *
32514
- * @private
32515
- * @param {*} value The value to query.
32516
- * @returns {string} Returns the raw `toStringTag`.
32517
- */
32518
- function getRawTag(value) {
32519
- var isOwn = hasOwnProperty.call(value, symToStringTag),
32520
- tag = value[symToStringTag];
32521
-
32522
- try {
32523
- value[symToStringTag] = undefined;
32524
- var unmasked = true;
32525
- } catch (e) {}
32526
-
32527
- var result = nativeObjectToString.call(value);
32528
- if (unmasked) {
32529
- if (isOwn) {
32530
- value[symToStringTag] = tag;
32531
- } else {
32532
- delete value[symToStringTag];
32533
- }
32534
- }
32535
- return result;
32536
- }
32537
-
32538
- module.exports = getRawTag;
32539
-
32540
-
32541
33218
  /***/ }),
32542
33219
 
32543
33220
  /***/ "2da1":
@@ -33693,90 +34370,6 @@ module.exports = function (IteratorConstructor, NAME, next) {
33693
34370
  };
33694
34371
 
33695
34372
 
33696
- /***/ }),
33697
-
33698
- /***/ "330a":
33699
- /***/ (function(module, exports, __webpack_require__) {
33700
-
33701
- var baseKeys = __webpack_require__("e2e2"),
33702
- getTag = __webpack_require__("9243"),
33703
- isArguments = __webpack_require__("6efc"),
33704
- isArray = __webpack_require__("c316"),
33705
- isArrayLike = __webpack_require__("f72d"),
33706
- isBuffer = __webpack_require__("dda8"),
33707
- isPrototype = __webpack_require__("09b2"),
33708
- isTypedArray = __webpack_require__("41dd");
33709
-
33710
- /** `Object#toString` result references. */
33711
- var mapTag = '[object Map]',
33712
- setTag = '[object Set]';
33713
-
33714
- /** Used for built-in method references. */
33715
- var objectProto = Object.prototype;
33716
-
33717
- /** Used to check objects for own properties. */
33718
- var hasOwnProperty = objectProto.hasOwnProperty;
33719
-
33720
- /**
33721
- * Checks if `value` is an empty object, collection, map, or set.
33722
- *
33723
- * Objects are considered empty if they have no own enumerable string keyed
33724
- * properties.
33725
- *
33726
- * Array-like values such as `arguments` objects, arrays, buffers, strings, or
33727
- * jQuery-like collections are considered empty if they have a `length` of `0`.
33728
- * Similarly, maps and sets are considered empty if they have a `size` of `0`.
33729
- *
33730
- * @static
33731
- * @memberOf _
33732
- * @since 0.1.0
33733
- * @category Lang
33734
- * @param {*} value The value to check.
33735
- * @returns {boolean} Returns `true` if `value` is empty, else `false`.
33736
- * @example
33737
- *
33738
- * _.isEmpty(null);
33739
- * // => true
33740
- *
33741
- * _.isEmpty(true);
33742
- * // => true
33743
- *
33744
- * _.isEmpty(1);
33745
- * // => true
33746
- *
33747
- * _.isEmpty([1, 2, 3]);
33748
- * // => false
33749
- *
33750
- * _.isEmpty({ 'a': 1 });
33751
- * // => false
33752
- */
33753
- function isEmpty(value) {
33754
- if (value == null) {
33755
- return true;
33756
- }
33757
- if (isArrayLike(value) &&
33758
- (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
33759
- isBuffer(value) || isTypedArray(value) || isArguments(value))) {
33760
- return !value.length;
33761
- }
33762
- var tag = getTag(value);
33763
- if (tag == mapTag || tag == setTag) {
33764
- return !value.size;
33765
- }
33766
- if (isPrototype(value)) {
33767
- return !baseKeys(value).length;
33768
- }
33769
- for (var key in value) {
33770
- if (hasOwnProperty.call(value, key)) {
33771
- return false;
33772
- }
33773
- }
33774
- return true;
33775
- }
33776
-
33777
- module.exports = isEmpty;
33778
-
33779
-
33780
34373
  /***/ }),
33781
34374
 
33782
34375
  /***/ "332c":
@@ -33886,20 +34479,6 @@ module.exports = function (argument) {
33886
34479
  };
33887
34480
 
33888
34481
 
33889
- /***/ }),
33890
-
33891
- /***/ "3819":
33892
- /***/ (function(module, exports, __webpack_require__) {
33893
-
33894
- var getNative = __webpack_require__("bf10"),
33895
- root = __webpack_require__("201b");
33896
-
33897
- /* Built-in method references that are verified to be native. */
33898
- var Set = getNative(root, 'Set');
33899
-
33900
- module.exports = Set;
33901
-
33902
-
33903
34482
  /***/ }),
33904
34483
 
33905
34484
  /***/ "398c":
@@ -34005,19 +34584,6 @@ var _default = locale;
34005
34584
  exports.default = _default;
34006
34585
  module.exports = exports.default;
34007
34586
 
34008
- /***/ }),
34009
-
34010
- /***/ "3ad3":
34011
- /***/ (function(module, exports, __webpack_require__) {
34012
-
34013
- var overArg = __webpack_require__("4c0b");
34014
-
34015
- /* Built-in method references for those with the same name as other `lodash` methods. */
34016
- var nativeKeys = overArg(Object.keys, Object);
34017
-
34018
- module.exports = nativeKeys;
34019
-
34020
-
34021
34587
  /***/ }),
34022
34588
 
34023
34589
  /***/ "3cec":
@@ -34082,20 +34648,6 @@ var global = __webpack_require__("f498");
34082
34648
  module.exports = global;
34083
34649
 
34084
34650
 
34085
- /***/ }),
34086
-
34087
- /***/ "405d":
34088
- /***/ (function(module, exports, __webpack_require__) {
34089
-
34090
- var getNative = __webpack_require__("bf10"),
34091
- root = __webpack_require__("201b");
34092
-
34093
- /* Built-in method references that are verified to be native. */
34094
- var DataView = getNative(root, 'DataView');
34095
-
34096
- module.exports = DataView;
34097
-
34098
-
34099
34651
  /***/ }),
34100
34652
 
34101
34653
  /***/ "4141":
@@ -34139,96 +34691,6 @@ module.exports = DataView;
34139
34691
  })(document);
34140
34692
 
34141
34693
 
34142
- /***/ }),
34143
-
34144
- /***/ "41dd":
34145
- /***/ (function(module, exports, __webpack_require__) {
34146
-
34147
- var baseIsTypedArray = __webpack_require__("eff8"),
34148
- baseUnary = __webpack_require__("494f"),
34149
- nodeUtil = __webpack_require__("4fab");
34150
-
34151
- /* Node.js helper references. */
34152
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
34153
-
34154
- /**
34155
- * Checks if `value` is classified as a typed array.
34156
- *
34157
- * @static
34158
- * @memberOf _
34159
- * @since 3.0.0
34160
- * @category Lang
34161
- * @param {*} value The value to check.
34162
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
34163
- * @example
34164
- *
34165
- * _.isTypedArray(new Uint8Array);
34166
- * // => true
34167
- *
34168
- * _.isTypedArray([]);
34169
- * // => false
34170
- */
34171
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
34172
-
34173
- module.exports = isTypedArray;
34174
-
34175
-
34176
- /***/ }),
34177
-
34178
- /***/ "494f":
34179
- /***/ (function(module, exports) {
34180
-
34181
- /**
34182
- * The base implementation of `_.unary` without support for storing metadata.
34183
- *
34184
- * @private
34185
- * @param {Function} func The function to cap arguments for.
34186
- * @returns {Function} Returns the new capped function.
34187
- */
34188
- function baseUnary(func) {
34189
- return function(value) {
34190
- return func(value);
34191
- };
34192
- }
34193
-
34194
- module.exports = baseUnary;
34195
-
34196
-
34197
- /***/ }),
34198
-
34199
- /***/ "4b2c":
34200
- /***/ (function(module, exports, __webpack_require__) {
34201
-
34202
- var root = __webpack_require__("201b");
34203
-
34204
- /** Built-in value references. */
34205
- var Symbol = root.Symbol;
34206
-
34207
- module.exports = Symbol;
34208
-
34209
-
34210
- /***/ }),
34211
-
34212
- /***/ "4c0b":
34213
- /***/ (function(module, exports) {
34214
-
34215
- /**
34216
- * Creates a unary function that invokes `func` with its argument transformed.
34217
- *
34218
- * @private
34219
- * @param {Function} func The function to wrap.
34220
- * @param {Function} transform The argument transform.
34221
- * @returns {Function} Returns the new function.
34222
- */
34223
- function overArg(func, transform) {
34224
- return function(arg) {
34225
- return func(transform(arg));
34226
- };
34227
- }
34228
-
34229
- module.exports = overArg;
34230
-
34231
-
34232
34694
  /***/ }),
34233
34695
 
34234
34696
  /***/ "4cdd":
@@ -34319,44 +34781,6 @@ var wellKnownSymbol = __webpack_require__("7d53");
34319
34781
  exports.f = wellKnownSymbol;
34320
34782
 
34321
34783
 
34322
- /***/ }),
34323
-
34324
- /***/ "4fab":
34325
- /***/ (function(module, exports, __webpack_require__) {
34326
-
34327
- /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__("7bdd");
34328
-
34329
- /** Detect free variable `exports`. */
34330
- var freeExports = true && exports && !exports.nodeType && exports;
34331
-
34332
- /** Detect free variable `module`. */
34333
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
34334
-
34335
- /** Detect the popular CommonJS extension `module.exports`. */
34336
- var moduleExports = freeModule && freeModule.exports === freeExports;
34337
-
34338
- /** Detect free variable `process` from Node.js. */
34339
- var freeProcess = moduleExports && freeGlobal.process;
34340
-
34341
- /** Used to access faster Node.js helpers. */
34342
- var nodeUtil = (function() {
34343
- try {
34344
- // Use `util.types` for Node.js 10+.
34345
- var types = freeModule && freeModule.require && freeModule.require('util').types;
34346
-
34347
- if (types) {
34348
- return types;
34349
- }
34350
-
34351
- // Legacy `process.binding('util')` for Node.js < 10.
34352
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
34353
- } catch (e) {}
34354
- }());
34355
-
34356
- module.exports = nodeUtil;
34357
-
34358
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("6984")(module)))
34359
-
34360
34784
  /***/ }),
34361
34785
 
34362
34786
  /***/ "5268":
@@ -34540,35 +34964,6 @@ var defineWellKnownSymbol = __webpack_require__("6a89");
34540
34964
  defineWellKnownSymbol('iterator');
34541
34965
 
34542
34966
 
34543
- /***/ }),
34544
-
34545
- /***/ "6984":
34546
- /***/ (function(module, exports) {
34547
-
34548
- module.exports = function(module) {
34549
- if (!module.webpackPolyfill) {
34550
- module.deprecate = function() {};
34551
- module.paths = [];
34552
- // module.parent = undefined by default
34553
- if (!module.children) module.children = [];
34554
- Object.defineProperty(module, "loaded", {
34555
- enumerable: true,
34556
- get: function() {
34557
- return module.l;
34558
- }
34559
- });
34560
- Object.defineProperty(module, "id", {
34561
- enumerable: true,
34562
- get: function() {
34563
- return module.i;
34564
- }
34565
- });
34566
- module.webpackPolyfill = 1;
34567
- }
34568
- return module;
34569
- };
34570
-
34571
-
34572
34967
  /***/ }),
34573
34968
 
34574
34969
  /***/ "6a61":
@@ -34687,49 +35082,6 @@ module.exports = function (options, source) {
34687
35082
  };
34688
35083
 
34689
35084
 
34690
- /***/ }),
34691
-
34692
- /***/ "6efc":
34693
- /***/ (function(module, exports, __webpack_require__) {
34694
-
34695
- var baseIsArguments = __webpack_require__("ff7d"),
34696
- isObjectLike = __webpack_require__("b4b4");
34697
-
34698
- /** Used for built-in method references. */
34699
- var objectProto = Object.prototype;
34700
-
34701
- /** Used to check objects for own properties. */
34702
- var hasOwnProperty = objectProto.hasOwnProperty;
34703
-
34704
- /** Built-in value references. */
34705
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
34706
-
34707
- /**
34708
- * Checks if `value` is likely an `arguments` object.
34709
- *
34710
- * @static
34711
- * @memberOf _
34712
- * @since 0.1.0
34713
- * @category Lang
34714
- * @param {*} value The value to check.
34715
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
34716
- * else `false`.
34717
- * @example
34718
- *
34719
- * _.isArguments(function() { return arguments; }());
34720
- * // => true
34721
- *
34722
- * _.isArguments([1, 2, 3]);
34723
- * // => false
34724
- */
34725
- var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
34726
- return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
34727
- !propertyIsEnumerable.call(value, 'callee');
34728
- };
34729
-
34730
- module.exports = isArguments;
34731
-
34732
-
34733
35085
  /***/ }),
34734
35086
 
34735
35087
  /***/ "7297":
@@ -34801,39 +35153,6 @@ module.exports = function(originalModule) {
34801
35153
  };
34802
35154
 
34803
35155
 
34804
- /***/ }),
34805
-
34806
- /***/ "735f":
34807
- /***/ (function(module, exports) {
34808
-
34809
- /** Used for built-in method references. */
34810
- var funcProto = Function.prototype;
34811
-
34812
- /** Used to resolve the decompiled source of functions. */
34813
- var funcToString = funcProto.toString;
34814
-
34815
- /**
34816
- * Converts `func` to its source code.
34817
- *
34818
- * @private
34819
- * @param {Function} func The function to convert.
34820
- * @returns {string} Returns the source code.
34821
- */
34822
- function toSource(func) {
34823
- if (func != null) {
34824
- try {
34825
- return funcToString.call(func);
34826
- } catch (e) {}
34827
- try {
34828
- return (func + '');
34829
- } catch (e) {}
34830
- }
34831
- return '';
34832
- }
34833
-
34834
- module.exports = toSource;
34835
-
34836
-
34837
35156
  /***/ }),
34838
35157
 
34839
35158
  /***/ "7526":
@@ -35014,18 +35333,6 @@ module.exports = exports.default;
35014
35333
 
35015
35334
  /***/ }),
35016
35335
 
35017
- /***/ "7bdd":
35018
- /***/ (function(module, exports, __webpack_require__) {
35019
-
35020
- /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
35021
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
35022
-
35023
- module.exports = freeGlobal;
35024
-
35025
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("7d15")))
35026
-
35027
- /***/ }),
35028
-
35029
35336
  /***/ "7c3f":
35030
35337
  /***/ (function(module, exports, __webpack_require__) {
35031
35338
 
@@ -35388,35 +35695,6 @@ module.exports = function (it) {
35388
35695
  };
35389
35696
 
35390
35697
 
35391
- /***/ }),
35392
-
35393
- /***/ "907a":
35394
- /***/ (function(module, exports) {
35395
-
35396
- /** Used for built-in method references. */
35397
- var objectProto = Object.prototype;
35398
-
35399
- /**
35400
- * Used to resolve the
35401
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
35402
- * of values.
35403
- */
35404
- var nativeObjectToString = objectProto.toString;
35405
-
35406
- /**
35407
- * Converts `value` to a string using `Object.prototype.toString`.
35408
- *
35409
- * @private
35410
- * @param {*} value The value to convert.
35411
- * @returns {string} Returns the converted string.
35412
- */
35413
- function objectToString(value) {
35414
- return nativeObjectToString.call(value);
35415
- }
35416
-
35417
- module.exports = objectToString;
35418
-
35419
-
35420
35698
  /***/ }),
35421
35699
 
35422
35700
  /***/ "910f":
@@ -35481,71 +35759,6 @@ for (var COLLECTION_NAME in DOMIterables) {
35481
35759
  }
35482
35760
 
35483
35761
 
35484
- /***/ }),
35485
-
35486
- /***/ "9243":
35487
- /***/ (function(module, exports, __webpack_require__) {
35488
-
35489
- var DataView = __webpack_require__("405d"),
35490
- Map = __webpack_require__("a9e0"),
35491
- Promise = __webpack_require__("212d"),
35492
- Set = __webpack_require__("3819"),
35493
- WeakMap = __webpack_require__("e3e5"),
35494
- baseGetTag = __webpack_require__("0e19"),
35495
- toSource = __webpack_require__("735f");
35496
-
35497
- /** `Object#toString` result references. */
35498
- var mapTag = '[object Map]',
35499
- objectTag = '[object Object]',
35500
- promiseTag = '[object Promise]',
35501
- setTag = '[object Set]',
35502
- weakMapTag = '[object WeakMap]';
35503
-
35504
- var dataViewTag = '[object DataView]';
35505
-
35506
- /** Used to detect maps, sets, and weakmaps. */
35507
- var dataViewCtorString = toSource(DataView),
35508
- mapCtorString = toSource(Map),
35509
- promiseCtorString = toSource(Promise),
35510
- setCtorString = toSource(Set),
35511
- weakMapCtorString = toSource(WeakMap);
35512
-
35513
- /**
35514
- * Gets the `toStringTag` of `value`.
35515
- *
35516
- * @private
35517
- * @param {*} value The value to query.
35518
- * @returns {string} Returns the `toStringTag`.
35519
- */
35520
- var getTag = baseGetTag;
35521
-
35522
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
35523
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
35524
- (Map && getTag(new Map) != mapTag) ||
35525
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
35526
- (Set && getTag(new Set) != setTag) ||
35527
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
35528
- getTag = function(value) {
35529
- var result = baseGetTag(value),
35530
- Ctor = result == objectTag ? value.constructor : undefined,
35531
- ctorString = Ctor ? toSource(Ctor) : '';
35532
-
35533
- if (ctorString) {
35534
- switch (ctorString) {
35535
- case dataViewCtorString: return dataViewTag;
35536
- case mapCtorString: return mapTag;
35537
- case promiseCtorString: return promiseTag;
35538
- case setCtorString: return setTag;
35539
- case weakMapCtorString: return weakMapTag;
35540
- }
35541
- }
35542
- return result;
35543
- };
35544
- }
35545
-
35546
- module.exports = getTag;
35547
-
35548
-
35549
35762
  /***/ }),
35550
35763
 
35551
35764
  /***/ "92ae":
@@ -35696,20 +35909,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
35696
35909
  };
35697
35910
 
35698
35911
 
35699
- /***/ }),
35700
-
35701
- /***/ "a9e0":
35702
- /***/ (function(module, exports, __webpack_require__) {
35703
-
35704
- var getNative = __webpack_require__("bf10"),
35705
- root = __webpack_require__("201b");
35706
-
35707
- /* Built-in method references that are verified to be native. */
35708
- var Map = getNative(root, 'Map');
35709
-
35710
- module.exports = Map;
35711
-
35712
-
35713
35912
  /***/ }),
35714
35913
 
35715
35914
  /***/ "abdf":
@@ -35901,80 +36100,6 @@ module.exports = function (argument) {
35901
36100
  };
35902
36101
 
35903
36102
 
35904
- /***/ }),
35905
-
35906
- /***/ "b4b4":
35907
- /***/ (function(module, exports) {
35908
-
35909
- /**
35910
- * Checks if `value` is object-like. A value is object-like if it's not `null`
35911
- * and has a `typeof` result of "object".
35912
- *
35913
- * @static
35914
- * @memberOf _
35915
- * @since 4.0.0
35916
- * @category Lang
35917
- * @param {*} value The value to check.
35918
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
35919
- * @example
35920
- *
35921
- * _.isObjectLike({});
35922
- * // => true
35923
- *
35924
- * _.isObjectLike([1, 2, 3]);
35925
- * // => true
35926
- *
35927
- * _.isObjectLike(_.noop);
35928
- * // => false
35929
- *
35930
- * _.isObjectLike(null);
35931
- * // => false
35932
- */
35933
- function isObjectLike(value) {
35934
- return value != null && typeof value == 'object';
35935
- }
35936
-
35937
- module.exports = isObjectLike;
35938
-
35939
-
35940
- /***/ }),
35941
-
35942
- /***/ "b506":
35943
- /***/ (function(module, exports) {
35944
-
35945
- /**
35946
- * Checks if `value` is the
35947
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
35948
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
35949
- *
35950
- * @static
35951
- * @memberOf _
35952
- * @since 0.1.0
35953
- * @category Lang
35954
- * @param {*} value The value to check.
35955
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
35956
- * @example
35957
- *
35958
- * _.isObject({});
35959
- * // => true
35960
- *
35961
- * _.isObject([1, 2, 3]);
35962
- * // => true
35963
- *
35964
- * _.isObject(_.noop);
35965
- * // => true
35966
- *
35967
- * _.isObject(null);
35968
- * // => false
35969
- */
35970
- function isObject(value) {
35971
- var type = typeof value;
35972
- return value != null && (type == 'object' || type == 'function');
35973
- }
35974
-
35975
- module.exports = isObject;
35976
-
35977
-
35978
36103
  /***/ }),
35979
36104
 
35980
36105
  /***/ "b634":
@@ -35996,48 +36121,6 @@ module.exports = function (target, source) {
35996
36121
  };
35997
36122
 
35998
36123
 
35999
- /***/ }),
36000
-
36001
- /***/ "b742":
36002
- /***/ (function(module, exports) {
36003
-
36004
- /** Used as references for various `Number` constants. */
36005
- var MAX_SAFE_INTEGER = 9007199254740991;
36006
-
36007
- /**
36008
- * Checks if `value` is a valid array-like length.
36009
- *
36010
- * **Note:** This method is loosely based on
36011
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
36012
- *
36013
- * @static
36014
- * @memberOf _
36015
- * @since 4.0.0
36016
- * @category Lang
36017
- * @param {*} value The value to check.
36018
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
36019
- * @example
36020
- *
36021
- * _.isLength(3);
36022
- * // => true
36023
- *
36024
- * _.isLength(Number.MIN_VALUE);
36025
- * // => false
36026
- *
36027
- * _.isLength(Infinity);
36028
- * // => false
36029
- *
36030
- * _.isLength('3');
36031
- * // => false
36032
- */
36033
- function isLength(value) {
36034
- return typeof value == 'number' &&
36035
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
36036
- }
36037
-
36038
- module.exports = isLength;
36039
-
36040
-
36041
36124
  /***/ }),
36042
36125
 
36043
36126
  /***/ "b7fb":
@@ -36136,30 +36219,6 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
36136
36219
  };
36137
36220
 
36138
36221
 
36139
- /***/ }),
36140
-
36141
- /***/ "bf10":
36142
- /***/ (function(module, exports, __webpack_require__) {
36143
-
36144
- var baseIsNative = __webpack_require__("e672"),
36145
- getValue = __webpack_require__("e29f");
36146
-
36147
- /**
36148
- * Gets the native function at `key` of `object`.
36149
- *
36150
- * @private
36151
- * @param {Object} object The object to query.
36152
- * @param {string} key The key of the method to get.
36153
- * @returns {*} Returns the function if it's native, else `undefined`.
36154
- */
36155
- function getNative(object, key) {
36156
- var value = getValue(object, key);
36157
- return baseIsNative(value) ? value : undefined;
36158
- }
36159
-
36160
- module.exports = getNative;
36161
-
36162
-
36163
36222
  /***/ }),
36164
36223
 
36165
36224
  /***/ "c1a2":
@@ -36191,39 +36250,6 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
36191
36250
  }() : undefined);
36192
36251
 
36193
36252
 
36194
- /***/ }),
36195
-
36196
- /***/ "c316":
36197
- /***/ (function(module, exports) {
36198
-
36199
- /**
36200
- * Checks if `value` is classified as an `Array` object.
36201
- *
36202
- * @static
36203
- * @memberOf _
36204
- * @since 0.1.0
36205
- * @category Lang
36206
- * @param {*} value The value to check.
36207
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
36208
- * @example
36209
- *
36210
- * _.isArray([1, 2, 3]);
36211
- * // => true
36212
- *
36213
- * _.isArray(document.body.children);
36214
- * // => false
36215
- *
36216
- * _.isArray('abc');
36217
- * // => false
36218
- *
36219
- * _.isArray(_.noop);
36220
- * // => false
36221
- */
36222
- var isArray = Array.isArray;
36223
-
36224
- module.exports = isArray;
36225
-
36226
-
36227
36253
  /***/ }),
36228
36254
 
36229
36255
  /***/ "c607":
@@ -37008,109 +37034,6 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
37008
37034
  };
37009
37035
 
37010
37036
 
37011
- /***/ }),
37012
-
37013
- /***/ "daaf":
37014
- /***/ (function(module, exports, __webpack_require__) {
37015
-
37016
- var baseGetTag = __webpack_require__("0e19"),
37017
- isObject = __webpack_require__("b506");
37018
-
37019
- /** `Object#toString` result references. */
37020
- var asyncTag = '[object AsyncFunction]',
37021
- funcTag = '[object Function]',
37022
- genTag = '[object GeneratorFunction]',
37023
- proxyTag = '[object Proxy]';
37024
-
37025
- /**
37026
- * Checks if `value` is classified as a `Function` object.
37027
- *
37028
- * @static
37029
- * @memberOf _
37030
- * @since 0.1.0
37031
- * @category Lang
37032
- * @param {*} value The value to check.
37033
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
37034
- * @example
37035
- *
37036
- * _.isFunction(_);
37037
- * // => true
37038
- *
37039
- * _.isFunction(/abc/);
37040
- * // => false
37041
- */
37042
- function isFunction(value) {
37043
- if (!isObject(value)) {
37044
- return false;
37045
- }
37046
- // The use of `Object#toString` avoids issues with the `typeof` operator
37047
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
37048
- var tag = baseGetTag(value);
37049
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
37050
- }
37051
-
37052
- module.exports = isFunction;
37053
-
37054
-
37055
- /***/ }),
37056
-
37057
- /***/ "dca0":
37058
- /***/ (function(module, exports, __webpack_require__) {
37059
-
37060
- var root = __webpack_require__("201b");
37061
-
37062
- /** Used to detect overreaching core-js shims. */
37063
- var coreJsData = root['__core-js_shared__'];
37064
-
37065
- module.exports = coreJsData;
37066
-
37067
-
37068
- /***/ }),
37069
-
37070
- /***/ "dda8":
37071
- /***/ (function(module, exports, __webpack_require__) {
37072
-
37073
- /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__("201b"),
37074
- stubFalse = __webpack_require__("0e30");
37075
-
37076
- /** Detect free variable `exports`. */
37077
- var freeExports = true && exports && !exports.nodeType && exports;
37078
-
37079
- /** Detect free variable `module`. */
37080
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
37081
-
37082
- /** Detect the popular CommonJS extension `module.exports`. */
37083
- var moduleExports = freeModule && freeModule.exports === freeExports;
37084
-
37085
- /** Built-in value references. */
37086
- var Buffer = moduleExports ? root.Buffer : undefined;
37087
-
37088
- /* Built-in method references for those with the same name as other `lodash` methods. */
37089
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
37090
-
37091
- /**
37092
- * Checks if `value` is a buffer.
37093
- *
37094
- * @static
37095
- * @memberOf _
37096
- * @since 4.3.0
37097
- * @category Lang
37098
- * @param {*} value The value to check.
37099
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
37100
- * @example
37101
- *
37102
- * _.isBuffer(new Buffer(2));
37103
- * // => true
37104
- *
37105
- * _.isBuffer(new Uint8Array(2));
37106
- * // => false
37107
- */
37108
- var isBuffer = nativeIsBuffer || stubFalse;
37109
-
37110
- module.exports = isBuffer;
37111
-
37112
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("6984")(module)))
37113
-
37114
37037
  /***/ }),
37115
37038
 
37116
37039
  /***/ "df6f":
@@ -37151,131 +37074,6 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
37151
37074
  } : nativePropertyIsEnumerable;
37152
37075
 
37153
37076
 
37154
- /***/ }),
37155
-
37156
- /***/ "e29f":
37157
- /***/ (function(module, exports) {
37158
-
37159
- /**
37160
- * Gets the value at `key` of `object`.
37161
- *
37162
- * @private
37163
- * @param {Object} [object] The object to query.
37164
- * @param {string} key The key of the property to get.
37165
- * @returns {*} Returns the property value.
37166
- */
37167
- function getValue(object, key) {
37168
- return object == null ? undefined : object[key];
37169
- }
37170
-
37171
- module.exports = getValue;
37172
-
37173
-
37174
- /***/ }),
37175
-
37176
- /***/ "e2e2":
37177
- /***/ (function(module, exports, __webpack_require__) {
37178
-
37179
- var isPrototype = __webpack_require__("09b2"),
37180
- nativeKeys = __webpack_require__("3ad3");
37181
-
37182
- /** Used for built-in method references. */
37183
- var objectProto = Object.prototype;
37184
-
37185
- /** Used to check objects for own properties. */
37186
- var hasOwnProperty = objectProto.hasOwnProperty;
37187
-
37188
- /**
37189
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
37190
- *
37191
- * @private
37192
- * @param {Object} object The object to query.
37193
- * @returns {Array} Returns the array of property names.
37194
- */
37195
- function baseKeys(object) {
37196
- if (!isPrototype(object)) {
37197
- return nativeKeys(object);
37198
- }
37199
- var result = [];
37200
- for (var key in Object(object)) {
37201
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
37202
- result.push(key);
37203
- }
37204
- }
37205
- return result;
37206
- }
37207
-
37208
- module.exports = baseKeys;
37209
-
37210
-
37211
- /***/ }),
37212
-
37213
- /***/ "e3e5":
37214
- /***/ (function(module, exports, __webpack_require__) {
37215
-
37216
- var getNative = __webpack_require__("bf10"),
37217
- root = __webpack_require__("201b");
37218
-
37219
- /* Built-in method references that are verified to be native. */
37220
- var WeakMap = getNative(root, 'WeakMap');
37221
-
37222
- module.exports = WeakMap;
37223
-
37224
-
37225
- /***/ }),
37226
-
37227
- /***/ "e672":
37228
- /***/ (function(module, exports, __webpack_require__) {
37229
-
37230
- var isFunction = __webpack_require__("daaf"),
37231
- isMasked = __webpack_require__("f6f6"),
37232
- isObject = __webpack_require__("b506"),
37233
- toSource = __webpack_require__("735f");
37234
-
37235
- /**
37236
- * Used to match `RegExp`
37237
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
37238
- */
37239
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
37240
-
37241
- /** Used to detect host constructors (Safari). */
37242
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
37243
-
37244
- /** Used for built-in method references. */
37245
- var funcProto = Function.prototype,
37246
- objectProto = Object.prototype;
37247
-
37248
- /** Used to resolve the decompiled source of functions. */
37249
- var funcToString = funcProto.toString;
37250
-
37251
- /** Used to check objects for own properties. */
37252
- var hasOwnProperty = objectProto.hasOwnProperty;
37253
-
37254
- /** Used to detect if a method is native. */
37255
- var reIsNative = RegExp('^' +
37256
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
37257
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
37258
- );
37259
-
37260
- /**
37261
- * The base implementation of `_.isNative` without bad shim checks.
37262
- *
37263
- * @private
37264
- * @param {*} value The value to check.
37265
- * @returns {boolean} Returns `true` if `value` is a native function,
37266
- * else `false`.
37267
- */
37268
- function baseIsNative(value) {
37269
- if (!isObject(value) || isMasked(value)) {
37270
- return false;
37271
- }
37272
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
37273
- return pattern.test(toSource(value));
37274
- }
37275
-
37276
- module.exports = baseIsNative;
37277
-
37278
-
37279
37077
  /***/ }),
37280
37078
 
37281
37079
  /***/ "e7a0":
@@ -37390,73 +37188,6 @@ if (!TO_STRING_TAG_SUPPORT) {
37390
37188
  }
37391
37189
 
37392
37190
 
37393
- /***/ }),
37394
-
37395
- /***/ "eff8":
37396
- /***/ (function(module, exports, __webpack_require__) {
37397
-
37398
- var baseGetTag = __webpack_require__("0e19"),
37399
- isLength = __webpack_require__("b742"),
37400
- isObjectLike = __webpack_require__("b4b4");
37401
-
37402
- /** `Object#toString` result references. */
37403
- var argsTag = '[object Arguments]',
37404
- arrayTag = '[object Array]',
37405
- boolTag = '[object Boolean]',
37406
- dateTag = '[object Date]',
37407
- errorTag = '[object Error]',
37408
- funcTag = '[object Function]',
37409
- mapTag = '[object Map]',
37410
- numberTag = '[object Number]',
37411
- objectTag = '[object Object]',
37412
- regexpTag = '[object RegExp]',
37413
- setTag = '[object Set]',
37414
- stringTag = '[object String]',
37415
- weakMapTag = '[object WeakMap]';
37416
-
37417
- var arrayBufferTag = '[object ArrayBuffer]',
37418
- dataViewTag = '[object DataView]',
37419
- float32Tag = '[object Float32Array]',
37420
- float64Tag = '[object Float64Array]',
37421
- int8Tag = '[object Int8Array]',
37422
- int16Tag = '[object Int16Array]',
37423
- int32Tag = '[object Int32Array]',
37424
- uint8Tag = '[object Uint8Array]',
37425
- uint8ClampedTag = '[object Uint8ClampedArray]',
37426
- uint16Tag = '[object Uint16Array]',
37427
- uint32Tag = '[object Uint32Array]';
37428
-
37429
- /** Used to identify `toStringTag` values of typed arrays. */
37430
- var typedArrayTags = {};
37431
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
37432
- typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
37433
- typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
37434
- typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
37435
- typedArrayTags[uint32Tag] = true;
37436
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
37437
- typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
37438
- typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
37439
- typedArrayTags[errorTag] = typedArrayTags[funcTag] =
37440
- typedArrayTags[mapTag] = typedArrayTags[numberTag] =
37441
- typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
37442
- typedArrayTags[setTag] = typedArrayTags[stringTag] =
37443
- typedArrayTags[weakMapTag] = false;
37444
-
37445
- /**
37446
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
37447
- *
37448
- * @private
37449
- * @param {*} value The value to check.
37450
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
37451
- */
37452
- function baseIsTypedArray(value) {
37453
- return isObjectLike(value) &&
37454
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
37455
- }
37456
-
37457
- module.exports = baseIsTypedArray;
37458
-
37459
-
37460
37191
  /***/ }),
37461
37192
 
37462
37193
  /***/ "f1a7":
@@ -37558,73 +37289,6 @@ module.exports =
37558
37289
 
37559
37290
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("7d15")))
37560
37291
 
37561
- /***/ }),
37562
-
37563
- /***/ "f6f6":
37564
- /***/ (function(module, exports, __webpack_require__) {
37565
-
37566
- var coreJsData = __webpack_require__("dca0");
37567
-
37568
- /** Used to detect methods masquerading as native. */
37569
- var maskSrcKey = (function() {
37570
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
37571
- return uid ? ('Symbol(src)_1.' + uid) : '';
37572
- }());
37573
-
37574
- /**
37575
- * Checks if `func` has its source masked.
37576
- *
37577
- * @private
37578
- * @param {Function} func The function to check.
37579
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
37580
- */
37581
- function isMasked(func) {
37582
- return !!maskSrcKey && (maskSrcKey in func);
37583
- }
37584
-
37585
- module.exports = isMasked;
37586
-
37587
-
37588
- /***/ }),
37589
-
37590
- /***/ "f72d":
37591
- /***/ (function(module, exports, __webpack_require__) {
37592
-
37593
- var isFunction = __webpack_require__("daaf"),
37594
- isLength = __webpack_require__("b742");
37595
-
37596
- /**
37597
- * Checks if `value` is array-like. A value is considered array-like if it's
37598
- * not a function and has a `value.length` that's an integer greater than or
37599
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
37600
- *
37601
- * @static
37602
- * @memberOf _
37603
- * @since 4.0.0
37604
- * @category Lang
37605
- * @param {*} value The value to check.
37606
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
37607
- * @example
37608
- *
37609
- * _.isArrayLike([1, 2, 3]);
37610
- * // => true
37611
- *
37612
- * _.isArrayLike(document.body.children);
37613
- * // => true
37614
- *
37615
- * _.isArrayLike('abc');
37616
- * // => true
37617
- *
37618
- * _.isArrayLike(_.noop);
37619
- * // => false
37620
- */
37621
- function isArrayLike(value) {
37622
- return value != null && isLength(value.length) && !isFunction(value);
37623
- }
37624
-
37625
- module.exports = isArrayLike;
37626
-
37627
-
37628
37292
  /***/ }),
37629
37293
 
37630
37294
  /***/ "fa46":
@@ -37643,31 +37307,6 @@ module.exports = function (it, TAG, STATIC) {
37643
37307
  };
37644
37308
 
37645
37309
 
37646
- /***/ }),
37647
-
37648
- /***/ "ff7d":
37649
- /***/ (function(module, exports, __webpack_require__) {
37650
-
37651
- var baseGetTag = __webpack_require__("0e19"),
37652
- isObjectLike = __webpack_require__("b4b4");
37653
-
37654
- /** `Object#toString` result references. */
37655
- var argsTag = '[object Arguments]';
37656
-
37657
- /**
37658
- * The base implementation of `_.isArguments`.
37659
- *
37660
- * @private
37661
- * @param {*} value The value to check.
37662
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
37663
- */
37664
- function baseIsArguments(value) {
37665
- return isObjectLike(value) && baseGetTag(value) == argsTag;
37666
- }
37667
-
37668
- module.exports = baseIsArguments;
37669
-
37670
-
37671
37310
  /***/ }),
37672
37311
 
37673
37312
  /***/ "ff89":