scratch-paint 2.2.89 → 2.2.91

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.
@@ -21560,7 +21560,7 @@ var _excluded = ["alignContent", "alignItems", "alignSelf", "basis", "children",
21560
21560
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21561
21561
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21562
21562
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21563
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
21563
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21564
21564
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21565
21565
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
21566
21566
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -29743,7 +29743,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
29743
29743
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29744
29744
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29745
29745
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29746
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
29746
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
29747
29747
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
29748
29748
 
29749
29749
  var vectorModesObj = {
@@ -30181,7 +30181,7 @@ function selection_arrayLikeToArray(arr, len) { if (len == null || len > arr.len
30181
30181
  function selection_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30182
30182
  function selection_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? selection_ownKeys(Object(t), !0).forEach(function (r) { selection_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : selection_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30183
30183
  function selection_defineProperty(obj, key, value) { key = selection_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
30184
- function selection_toPropertyKey(t) { var i = selection_toPrimitive(t, "string"); return "symbol" == selection_typeof(i) ? i : String(i); }
30184
+ function selection_toPropertyKey(t) { var i = selection_toPrimitive(t, "string"); return "symbol" == selection_typeof(i) ? i : i + ""; }
30185
30185
  function selection_toPrimitive(t, r) { if ("object" != selection_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != selection_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
30186
30186
 
30187
30187
 
@@ -32637,7 +32637,7 @@ var view_bounds_updateViewBounds = function updateViewBounds(matrix) {
32637
32637
  // CONCATENATED MODULE: ./src/reducers/zoom-levels.js
32638
32638
  function zoom_levels_typeof(o) { "@babel/helpers - typeof"; return zoom_levels_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, zoom_levels_typeof(o); }
32639
32639
  function zoom_levels_defineProperty(obj, key, value) { key = zoom_levels_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
32640
- function zoom_levels_toPropertyKey(t) { var i = zoom_levels_toPrimitive(t, "string"); return "symbol" == zoom_levels_typeof(i) ? i : String(i); }
32640
+ function zoom_levels_toPropertyKey(t) { var i = zoom_levels_toPrimitive(t, "string"); return "symbol" == zoom_levels_typeof(i) ? i : i + ""; }
32641
32641
  function zoom_levels_toPrimitive(t, r) { if ("object" != zoom_levels_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != zoom_levels_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
32642
32642
 
32643
32643
 
@@ -32691,13 +32691,13 @@ function paper_canvas_arrayLikeToArray(arr, len) { if (len == null || len > arr.
32691
32691
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
32692
32692
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, paper_canvas_toPropertyKey(descriptor.key), descriptor); } }
32693
32693
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
32694
- function paper_canvas_toPropertyKey(t) { var i = paper_canvas_toPrimitive(t, "string"); return "symbol" == paper_canvas_typeof(i) ? i : String(i); }
32694
+ function paper_canvas_toPropertyKey(t) { var i = paper_canvas_toPrimitive(t, "string"); return "symbol" == paper_canvas_typeof(i) ? i : i + ""; }
32695
32695
  function paper_canvas_toPrimitive(t, r) { if ("object" != paper_canvas_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != paper_canvas_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
32696
32696
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
32697
32697
  function _possibleConstructorReturn(self, call) { if (call && (paper_canvas_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
32698
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
32698
32699
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
32699
32700
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
32700
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
32701
32701
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32702
32702
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
32703
32703
 
@@ -32721,15 +32721,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Objec
32721
32721
 
32722
32722
 
32723
32723
  var paper_canvas_PaperCanvas = /*#__PURE__*/function (_React$Component) {
32724
- _inherits(PaperCanvas, _React$Component);
32725
32724
  function PaperCanvas(props) {
32726
32725
  var _this;
32727
32726
  _classCallCheck(this, PaperCanvas);
32728
32727
  _this = _callSuper(this, PaperCanvas, [props]);
32729
- lodash_bindall_default()(_assertThisInitialized(_this), ['clearQueuedImport', 'setCanvas', 'importSvg', 'initializeSvg', 'maybeZoomToFit', 'switchCostume', 'onViewResize', 'recalibrateSize']);
32728
+ lodash_bindall_default()(_this, ['clearQueuedImport', 'setCanvas', 'importSvg', 'initializeSvg', 'maybeZoomToFit', 'switchCostume', 'onViewResize', 'recalibrateSize']);
32730
32729
  return _this;
32731
32730
  }
32732
- _createClass(PaperCanvas, [{
32731
+ _inherits(PaperCanvas, _React$Component);
32732
+ return _createClass(PaperCanvas, [{
32733
32733
  key: "componentDidMount",
32734
32734
  value: function componentDidMount() {
32735
32735
  paper_full_default.a.setup(this.canvas);
@@ -33064,7 +33064,6 @@ var paper_canvas_PaperCanvas = /*#__PURE__*/function (_React$Component) {
33064
33064
  });
33065
33065
  }
33066
33066
  }]);
33067
- return PaperCanvas;
33068
33067
  }(external_react_default.a.Component);
33069
33068
  paper_canvas_PaperCanvas.propTypes = {
33070
33069
  canvasRef: external_prop_types_default.a.func,
@@ -33217,13 +33216,13 @@ function scrollable_canvas_typeof(o) { "@babel/helpers - typeof"; return scrolla
33217
33216
  function scrollable_canvas_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
33218
33217
  function scrollable_canvas_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, scrollable_canvas_toPropertyKey(descriptor.key), descriptor); } }
33219
33218
  function scrollable_canvas_createClass(Constructor, protoProps, staticProps) { if (protoProps) scrollable_canvas_defineProperties(Constructor.prototype, protoProps); if (staticProps) scrollable_canvas_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
33220
- function scrollable_canvas_toPropertyKey(t) { var i = scrollable_canvas_toPrimitive(t, "string"); return "symbol" == scrollable_canvas_typeof(i) ? i : String(i); }
33219
+ function scrollable_canvas_toPropertyKey(t) { var i = scrollable_canvas_toPrimitive(t, "string"); return "symbol" == scrollable_canvas_typeof(i) ? i : i + ""; }
33221
33220
  function scrollable_canvas_toPrimitive(t, r) { if ("object" != scrollable_canvas_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != scrollable_canvas_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
33222
33221
  function scrollable_canvas_callSuper(t, o, e) { return o = scrollable_canvas_getPrototypeOf(o), scrollable_canvas_possibleConstructorReturn(t, scrollable_canvas_isNativeReflectConstruct() ? Reflect.construct(o, e || [], scrollable_canvas_getPrototypeOf(t).constructor) : o.apply(t, e)); }
33223
33222
  function scrollable_canvas_possibleConstructorReturn(self, call) { if (call && (scrollable_canvas_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return scrollable_canvas_assertThisInitialized(self); }
33223
+ function scrollable_canvas_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33224
33224
  function scrollable_canvas_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (scrollable_canvas_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
33225
33225
  function scrollable_canvas_getPrototypeOf(o) { scrollable_canvas_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return scrollable_canvas_getPrototypeOf(o); }
33226
- function scrollable_canvas_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33227
33226
  function scrollable_canvas_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) scrollable_canvas_setPrototypeOf(subClass, superClass); }
33228
33227
  function scrollable_canvas_setPrototypeOf(o, p) { scrollable_canvas_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return scrollable_canvas_setPrototypeOf(o, p); }
33229
33228
 
@@ -33237,15 +33236,15 @@ function scrollable_canvas_setPrototypeOf(o, p) { scrollable_canvas_setPrototype
33237
33236
 
33238
33237
 
33239
33238
  var scrollable_canvas_ScrollableCanvas = /*#__PURE__*/function (_React$Component) {
33240
- scrollable_canvas_inherits(ScrollableCanvas, _React$Component);
33241
33239
  function ScrollableCanvas(props) {
33242
33240
  var _this;
33243
33241
  scrollable_canvas_classCallCheck(this, ScrollableCanvas);
33244
33242
  _this = scrollable_canvas_callSuper(this, ScrollableCanvas, [props]);
33245
- lodash_bindall_default()(scrollable_canvas_assertThisInitialized(_this), ['handleHorizontalScrollbarMouseDown', 'handleHorizontalScrollbarMouseMove', 'handleHorizontalScrollbarMouseUp', 'handleVerticalScrollbarMouseDown', 'handleVerticalScrollbarMouseMove', 'handleVerticalScrollbarMouseUp', 'handleWheel']);
33243
+ lodash_bindall_default()(_this, ['handleHorizontalScrollbarMouseDown', 'handleHorizontalScrollbarMouseMove', 'handleHorizontalScrollbarMouseUp', 'handleVerticalScrollbarMouseDown', 'handleVerticalScrollbarMouseMove', 'handleVerticalScrollbarMouseUp', 'handleWheel']);
33246
33244
  return _this;
33247
33245
  }
33248
- scrollable_canvas_createClass(ScrollableCanvas, [{
33246
+ scrollable_canvas_inherits(ScrollableCanvas, _React$Component);
33247
+ return scrollable_canvas_createClass(ScrollableCanvas, [{
33249
33248
  key: "componentDidMount",
33250
33249
  value: function componentDidMount() {
33251
33250
  if (this.props.canvas) {
@@ -33405,7 +33404,6 @@ var scrollable_canvas_ScrollableCanvas = /*#__PURE__*/function (_React$Component
33405
33404
  return 0.5;
33406
33405
  }
33407
33406
  }]);
33408
- return ScrollableCanvas;
33409
33407
  }(external_react_default.a.Component);
33410
33408
  scrollable_canvas_ScrollableCanvas.propTypes = {
33411
33409
  canvas: external_prop_types_default.a.instanceOf(Element),
@@ -33445,7 +33443,7 @@ function make_color_style_reducer_typeof(o) { "@babel/helpers - typeof"; return
33445
33443
  function make_color_style_reducer_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33446
33444
  function make_color_style_reducer_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? make_color_style_reducer_ownKeys(Object(t), !0).forEach(function (r) { make_color_style_reducer_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : make_color_style_reducer_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33447
33445
  function make_color_style_reducer_defineProperty(obj, key, value) { key = make_color_style_reducer_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33448
- function make_color_style_reducer_toPropertyKey(t) { var i = make_color_style_reducer_toPrimitive(t, "string"); return "symbol" == make_color_style_reducer_typeof(i) ? i : String(i); }
33446
+ function make_color_style_reducer_toPropertyKey(t) { var i = make_color_style_reducer_toPrimitive(t, "string"); return "symbol" == make_color_style_reducer_typeof(i) ? i : i + ""; }
33449
33447
  function make_color_style_reducer_toPrimitive(t, r) { if ("object" != make_color_style_reducer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != make_color_style_reducer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
33450
33448
 
33451
33449
 
@@ -34262,7 +34260,7 @@ function button_typeof(o) { "@babel/helpers - typeof"; return button_typeof = "f
34262
34260
  var _excluded = ["className", "highlighted", "onClick", "children"];
34263
34261
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
34264
34262
  function button_defineProperty(obj, key, value) { key = button_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
34265
- function button_toPropertyKey(t) { var i = button_toPrimitive(t, "string"); return "symbol" == button_typeof(i) ? i : String(i); }
34263
+ function button_toPropertyKey(t) { var i = button_toPrimitive(t, "string"); return "symbol" == button_typeof(i) ? i : i + ""; }
34266
34264
  function button_toPrimitive(t, r) { if ("object" != button_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != button_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34267
34265
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
34268
34266
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -34309,7 +34307,7 @@ var tool_select_base_default = /*#__PURE__*/__webpack_require__.n(tool_select_ba
34309
34307
  // CONCATENATED MODULE: ./src/components/tool-select-base/tool-select-base.jsx
34310
34308
  function tool_select_base_typeof(o) { "@babel/helpers - typeof"; return tool_select_base_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, tool_select_base_typeof(o); }
34311
34309
  function tool_select_base_defineProperty(obj, key, value) { key = tool_select_base_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
34312
- function tool_select_base_toPropertyKey(t) { var i = tool_select_base_toPrimitive(t, "string"); return "symbol" == tool_select_base_typeof(i) ? i : String(i); }
34310
+ function tool_select_base_toPropertyKey(t) { var i = tool_select_base_toPrimitive(t, "string"); return "symbol" == tool_select_base_typeof(i) ? i : i + ""; }
34313
34311
  function tool_select_base_toPrimitive(t, r) { if ("object" != tool_select_base_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != tool_select_base_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34314
34312
 
34315
34313
 
@@ -34417,7 +34415,7 @@ function brush_tool_typeof(o) { "@babel/helpers - typeof"; return brush_tool_typ
34417
34415
  function brush_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
34418
34416
  function brush_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, brush_tool_toPropertyKey(descriptor.key), descriptor); } }
34419
34417
  function brush_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) brush_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) brush_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
34420
- function brush_tool_toPropertyKey(t) { var i = brush_tool_toPrimitive(t, "string"); return "symbol" == brush_tool_typeof(i) ? i : String(i); }
34418
+ function brush_tool_toPropertyKey(t) { var i = brush_tool_toPrimitive(t, "string"); return "symbol" == brush_tool_typeof(i) ? i : i + ""; }
34421
34419
  function brush_tool_toPrimitive(t, r) { if ("object" != brush_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != brush_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34422
34420
  function brush_tool_callSuper(t, o, e) { return o = brush_tool_getPrototypeOf(o), brush_tool_possibleConstructorReturn(t, brush_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], brush_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
34423
34421
  function brush_tool_possibleConstructorReturn(self, call) { if (call && (brush_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return brush_tool_assertThisInitialized(self); }
@@ -34434,7 +34432,6 @@ function brush_tool_setPrototypeOf(o, p) { brush_tool_setPrototypeOf = Object.se
34434
34432
  * Tool for drawing with the bitmap brush and eraser
34435
34433
  */
34436
34434
  var brush_tool_BrushTool = /*#__PURE__*/function (_paper$Tool) {
34437
- brush_tool_inherits(BrushTool, _paper$Tool);
34438
34435
  /**
34439
34436
  * @param {!function} onUpdateImage A callback to call when the image visibly changes
34440
34437
  * @param {boolean} isEraser True if brush should erase
@@ -34458,7 +34455,8 @@ var brush_tool_BrushTool = /*#__PURE__*/function (_paper$Tool) {
34458
34455
  _this.cursorPreview = null;
34459
34456
  return _this;
34460
34457
  }
34461
- brush_tool_createClass(BrushTool, [{
34458
+ brush_tool_inherits(BrushTool, _paper$Tool);
34459
+ return brush_tool_createClass(BrushTool, [{
34462
34460
  key: "setColor",
34463
34461
  value: function setColor(color) {
34464
34462
  this.color = color;
@@ -34558,7 +34556,6 @@ var brush_tool_BrushTool = /*#__PURE__*/function (_paper$Tool) {
34558
34556
  }
34559
34557
  }
34560
34558
  }]);
34561
- return BrushTool;
34562
34559
  }(paper_full_default.a.Tool);
34563
34560
  /* harmony default export */ var brush_tool = (brush_tool_BrushTool);
34564
34561
  // CONCATENATED MODULE: ./src/containers/bit-brush-mode.jsx
@@ -34566,13 +34563,13 @@ function bit_brush_mode_typeof(o) { "@babel/helpers - typeof"; return bit_brush_
34566
34563
  function bit_brush_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
34567
34564
  function bit_brush_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_brush_mode_toPropertyKey(descriptor.key), descriptor); } }
34568
34565
  function bit_brush_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_brush_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_brush_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
34569
- function bit_brush_mode_toPropertyKey(t) { var i = bit_brush_mode_toPrimitive(t, "string"); return "symbol" == bit_brush_mode_typeof(i) ? i : String(i); }
34566
+ function bit_brush_mode_toPropertyKey(t) { var i = bit_brush_mode_toPrimitive(t, "string"); return "symbol" == bit_brush_mode_typeof(i) ? i : i + ""; }
34570
34567
  function bit_brush_mode_toPrimitive(t, r) { if ("object" != bit_brush_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_brush_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34571
34568
  function bit_brush_mode_callSuper(t, o, e) { return o = bit_brush_mode_getPrototypeOf(o), bit_brush_mode_possibleConstructorReturn(t, bit_brush_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_brush_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
34572
34569
  function bit_brush_mode_possibleConstructorReturn(self, call) { if (call && (bit_brush_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_brush_mode_assertThisInitialized(self); }
34570
+ function bit_brush_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
34573
34571
  function bit_brush_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_brush_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
34574
34572
  function bit_brush_mode_getPrototypeOf(o) { bit_brush_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_brush_mode_getPrototypeOf(o); }
34575
- function bit_brush_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
34576
34573
  function bit_brush_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_brush_mode_setPrototypeOf(subClass, superClass); }
34577
34574
  function bit_brush_mode_setPrototypeOf(o, p) { bit_brush_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_brush_mode_setPrototypeOf(o, p); }
34578
34575
 
@@ -34588,15 +34585,15 @@ function bit_brush_mode_setPrototypeOf(o, p) { bit_brush_mode_setPrototypeOf = O
34588
34585
 
34589
34586
 
34590
34587
  var bit_brush_mode_BitBrushMode = /*#__PURE__*/function (_React$Component) {
34591
- bit_brush_mode_inherits(BitBrushMode, _React$Component);
34592
34588
  function BitBrushMode(props) {
34593
34589
  var _this;
34594
34590
  bit_brush_mode_classCallCheck(this, BitBrushMode);
34595
34591
  _this = bit_brush_mode_callSuper(this, BitBrushMode, [props]);
34596
- lodash_bindall_default()(bit_brush_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
34592
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
34597
34593
  return _this;
34598
34594
  }
34599
- bit_brush_mode_createClass(BitBrushMode, [{
34595
+ bit_brush_mode_inherits(BitBrushMode, _React$Component);
34596
+ return bit_brush_mode_createClass(BitBrushMode, [{
34600
34597
  key: "componentDidMount",
34601
34598
  value: function componentDidMount() {
34602
34599
  if (this.props.isBitBrushModeActive) {
@@ -34662,7 +34659,6 @@ var bit_brush_mode_BitBrushMode = /*#__PURE__*/function (_React$Component) {
34662
34659
  });
34663
34660
  }
34664
34661
  }]);
34665
- return BitBrushMode;
34666
34662
  }(external_react_default.a.Component);
34667
34663
  bit_brush_mode_BitBrushMode.propTypes = {
34668
34664
  bitBrushSize: external_prop_types_default.a.number.isRequired,
@@ -34726,7 +34722,7 @@ function line_tool_typeof(o) { "@babel/helpers - typeof"; return line_tool_typeo
34726
34722
  function line_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
34727
34723
  function line_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, line_tool_toPropertyKey(descriptor.key), descriptor); } }
34728
34724
  function line_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) line_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) line_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
34729
- function line_tool_toPropertyKey(t) { var i = line_tool_toPrimitive(t, "string"); return "symbol" == line_tool_typeof(i) ? i : String(i); }
34725
+ function line_tool_toPropertyKey(t) { var i = line_tool_toPrimitive(t, "string"); return "symbol" == line_tool_typeof(i) ? i : i + ""; }
34730
34726
  function line_tool_toPrimitive(t, r) { if ("object" != line_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != line_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34731
34727
  function line_tool_callSuper(t, o, e) { return o = line_tool_getPrototypeOf(o), line_tool_possibleConstructorReturn(t, line_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], line_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
34732
34728
  function line_tool_possibleConstructorReturn(self, call) { if (call && (line_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return line_tool_assertThisInitialized(self); }
@@ -34744,7 +34740,6 @@ function line_tool_setPrototypeOf(o, p) { line_tool_setPrototypeOf = Object.setP
34744
34740
  * Tool for drawing lines with the bitmap brush.
34745
34741
  */
34746
34742
  var line_tool_LineTool = /*#__PURE__*/function (_paper$Tool) {
34747
- line_tool_inherits(LineTool, _paper$Tool);
34748
34743
  /**
34749
34744
  * @param {!function} onUpdateImage A callback to call when the image visibly changes
34750
34745
  */
@@ -34768,7 +34763,8 @@ var line_tool_LineTool = /*#__PURE__*/function (_paper$Tool) {
34768
34763
  _this.drawTarget = null;
34769
34764
  return _this;
34770
34765
  }
34771
- line_tool_createClass(LineTool, [{
34766
+ line_tool_inherits(LineTool, _paper$Tool);
34767
+ return line_tool_createClass(LineTool, [{
34772
34768
  key: "setColor",
34773
34769
  value: function setColor(color) {
34774
34770
  this.color = color;
@@ -34869,7 +34865,6 @@ var line_tool_LineTool = /*#__PURE__*/function (_paper$Tool) {
34869
34865
  }
34870
34866
  }
34871
34867
  }]);
34872
- return LineTool;
34873
34868
  }(paper_full_default.a.Tool);
34874
34869
  /* harmony default export */ var line_tool = (line_tool_LineTool);
34875
34870
  // CONCATENATED MODULE: ./src/containers/bit-line-mode.jsx
@@ -34877,13 +34872,13 @@ function bit_line_mode_typeof(o) { "@babel/helpers - typeof"; return bit_line_mo
34877
34872
  function bit_line_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
34878
34873
  function bit_line_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_line_mode_toPropertyKey(descriptor.key), descriptor); } }
34879
34874
  function bit_line_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_line_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_line_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
34880
- function bit_line_mode_toPropertyKey(t) { var i = bit_line_mode_toPrimitive(t, "string"); return "symbol" == bit_line_mode_typeof(i) ? i : String(i); }
34875
+ function bit_line_mode_toPropertyKey(t) { var i = bit_line_mode_toPrimitive(t, "string"); return "symbol" == bit_line_mode_typeof(i) ? i : i + ""; }
34881
34876
  function bit_line_mode_toPrimitive(t, r) { if ("object" != bit_line_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_line_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34882
34877
  function bit_line_mode_callSuper(t, o, e) { return o = bit_line_mode_getPrototypeOf(o), bit_line_mode_possibleConstructorReturn(t, bit_line_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_line_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
34883
34878
  function bit_line_mode_possibleConstructorReturn(self, call) { if (call && (bit_line_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_line_mode_assertThisInitialized(self); }
34879
+ function bit_line_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
34884
34880
  function bit_line_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_line_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
34885
34881
  function bit_line_mode_getPrototypeOf(o) { bit_line_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_line_mode_getPrototypeOf(o); }
34886
- function bit_line_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
34887
34882
  function bit_line_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_line_mode_setPrototypeOf(subClass, superClass); }
34888
34883
  function bit_line_mode_setPrototypeOf(o, p) { bit_line_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_line_mode_setPrototypeOf(o, p); }
34889
34884
 
@@ -34899,15 +34894,15 @@ function bit_line_mode_setPrototypeOf(o, p) { bit_line_mode_setPrototypeOf = Obj
34899
34894
 
34900
34895
 
34901
34896
  var bit_line_mode_BitLineMode = /*#__PURE__*/function (_React$Component) {
34902
- bit_line_mode_inherits(BitLineMode, _React$Component);
34903
34897
  function BitLineMode(props) {
34904
34898
  var _this;
34905
34899
  bit_line_mode_classCallCheck(this, BitLineMode);
34906
34900
  _this = bit_line_mode_callSuper(this, BitLineMode, [props]);
34907
- lodash_bindall_default()(bit_line_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
34901
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
34908
34902
  return _this;
34909
34903
  }
34910
- bit_line_mode_createClass(BitLineMode, [{
34904
+ bit_line_mode_inherits(BitLineMode, _React$Component);
34905
+ return bit_line_mode_createClass(BitLineMode, [{
34911
34906
  key: "componentDidMount",
34912
34907
  value: function componentDidMount() {
34913
34908
  if (this.props.isBitLineModeActive) {
@@ -34973,7 +34968,6 @@ var bit_line_mode_BitLineMode = /*#__PURE__*/function (_React$Component) {
34973
34968
  });
34974
34969
  }
34975
34970
  }]);
34976
- return BitLineMode;
34977
34971
  }(external_react_default.a.Component);
34978
34972
  bit_line_mode_BitLineMode.propTypes = {
34979
34973
  bitBrushSize: external_prop_types_default.a.number.isRequired,
@@ -35117,7 +35111,7 @@ function scale_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.le
35117
35111
  function scale_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35118
35112
  function scale_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, scale_tool_toPropertyKey(descriptor.key), descriptor); } }
35119
35113
  function scale_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) scale_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) scale_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35120
- function scale_tool_toPropertyKey(t) { var i = scale_tool_toPrimitive(t, "string"); return "symbol" == scale_tool_typeof(i) ? i : String(i); }
35114
+ function scale_tool_toPropertyKey(t) { var i = scale_tool_toPrimitive(t, "string"); return "symbol" == scale_tool_typeof(i) ? i : i + ""; }
35121
35115
  function scale_tool_toPrimitive(t, r) { if ("object" != scale_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != scale_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
35122
35116
 
35123
35117
 
@@ -35156,7 +35150,7 @@ var scale_tool_ScaleTool = /*#__PURE__*/function () {
35156
35150
  * @param {!object} boundsPath Where the boundaries of the hit item are
35157
35151
  * @param {!Array.<paper.Item>} selectedItems Set of selected paper.Items
35158
35152
  */
35159
- scale_tool_createClass(ScaleTool, [{
35153
+ return scale_tool_createClass(ScaleTool, [{
35160
35154
  key: "onMouseDown",
35161
35155
  value: function onMouseDown(hitResult, boundsPath, selectedItems) {
35162
35156
  if (this.active) return;
@@ -35357,7 +35351,6 @@ var scale_tool_ScaleTool = /*#__PURE__*/function () {
35357
35351
  }
35358
35352
  }
35359
35353
  }]);
35360
- return ScaleTool;
35361
35354
  }();
35362
35355
  /* harmony default export */ var scale_tool = (scale_tool_ScaleTool);
35363
35356
  // CONCATENATED MODULE: ./src/helper/selection-tools/rotate-tool.js
@@ -35368,7 +35361,7 @@ function rotate_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.l
35368
35361
  function rotate_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35369
35362
  function rotate_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, rotate_tool_toPropertyKey(descriptor.key), descriptor); } }
35370
35363
  function rotate_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) rotate_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) rotate_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35371
- function rotate_tool_toPropertyKey(t) { var i = rotate_tool_toPrimitive(t, "string"); return "symbol" == rotate_tool_typeof(i) ? i : String(i); }
35364
+ function rotate_tool_toPropertyKey(t) { var i = rotate_tool_toPrimitive(t, "string"); return "symbol" == rotate_tool_typeof(i) ? i : i + ""; }
35372
35365
  function rotate_tool_toPrimitive(t, r) { if ("object" != rotate_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rotate_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
35373
35366
 
35374
35367
 
@@ -35392,7 +35385,7 @@ var rotate_tool_RotateTool = /*#__PURE__*/function () {
35392
35385
  * @param {!object} boundsPath Where the boundaries of the hit item are
35393
35386
  * @param {!Array.<paper.Item>} selectedItems Set of selected paper.Items
35394
35387
  */
35395
- rotate_tool_createClass(RotateTool, [{
35388
+ return rotate_tool_createClass(RotateTool, [{
35396
35389
  key: "onMouseDown",
35397
35390
  value: function onMouseDown(hitResult, boundsPath, selectedItems) {
35398
35391
  this.rotGroupPivot = boundsPath.bounds.center;
@@ -35437,7 +35430,6 @@ var rotate_tool_RotateTool = /*#__PURE__*/function () {
35437
35430
  this.onUpdateImage();
35438
35431
  }
35439
35432
  }]);
35440
- return RotateTool;
35441
35433
  }();
35442
35434
  /* harmony default export */ var rotate_tool = (rotate_tool_RotateTool);
35443
35435
  // CONCATENATED MODULE: ./src/helper/selection-tools/move-tool.js
@@ -35448,7 +35440,7 @@ function move_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.len
35448
35440
  function move_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35449
35441
  function move_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, move_tool_toPropertyKey(descriptor.key), descriptor); } }
35450
35442
  function move_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) move_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) move_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35451
- function move_tool_toPropertyKey(t) { var i = move_tool_toPrimitive(t, "string"); return "symbol" == move_tool_typeof(i) ? i : String(i); }
35443
+ function move_tool_toPropertyKey(t) { var i = move_tool_toPrimitive(t, "string"); return "symbol" == move_tool_typeof(i) ? i : i + ""; }
35452
35444
  function move_tool_toPrimitive(t, r) { if ("object" != move_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != move_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
35453
35445
 
35454
35446
 
@@ -35496,7 +35488,7 @@ var move_tool_MoveTool = /*#__PURE__*/function () {
35496
35488
  * @param {?boolean} hitProperties.subselect True if we allow selection of subgroups, false if we should
35497
35489
  * select the whole group.
35498
35490
  */
35499
- move_tool_createClass(MoveTool, [{
35491
+ return move_tool_createClass(MoveTool, [{
35500
35492
  key: "onMouseDown",
35501
35493
  value: function onMouseDown(hitProperties) {
35502
35494
  var item = hitProperties.hitResult.item;
@@ -35688,7 +35680,6 @@ var move_tool_MoveTool = /*#__PURE__*/function () {
35688
35680
  getDragCrosshairLayer().visible = false;
35689
35681
  }
35690
35682
  }]);
35691
- return MoveTool;
35692
35683
  }();
35693
35684
  /* harmony default export */ var move_tool = (move_tool_MoveTool);
35694
35685
  // CONCATENATED MODULE: ./src/helper/selection-tools/bounding-box-tool.js
@@ -35699,7 +35690,7 @@ function bounding_box_tool_arrayLikeToArray(arr, len) { if (len == null || len >
35699
35690
  function bounding_box_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35700
35691
  function bounding_box_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bounding_box_tool_toPropertyKey(descriptor.key), descriptor); } }
35701
35692
  function bounding_box_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) bounding_box_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) bounding_box_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35702
- function bounding_box_tool_toPropertyKey(t) { var i = bounding_box_tool_toPrimitive(t, "string"); return "symbol" == bounding_box_tool_typeof(i) ? i : String(i); }
35693
+ function bounding_box_tool_toPropertyKey(t) { var i = bounding_box_tool_toPrimitive(t, "string"); return "symbol" == bounding_box_tool_typeof(i) ? i : i + ""; }
35703
35694
  function bounding_box_tool_toPrimitive(t, r) { if ("object" != bounding_box_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bounding_box_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
35704
35695
 
35705
35696
 
@@ -35755,7 +35746,7 @@ var bounding_box_tool_BoundingBoxTool = /*#__PURE__*/function () {
35755
35746
  * Should be called if the selection changes to update the bounds of the bounding box.
35756
35747
  * @param {?Array<paper.Item>} selectedItems Array of selected items.
35757
35748
  */
35758
- bounding_box_tool_createClass(BoundingBoxTool, [{
35749
+ return bounding_box_tool_createClass(BoundingBoxTool, [{
35759
35750
  key: "onSelectionChanged",
35760
35751
  value: function onSelectionChanged(selectedItems) {
35761
35752
  if (selectedItems && selectedItems.length) {
@@ -36060,7 +36051,6 @@ var bounding_box_tool_BoundingBoxTool = /*#__PURE__*/function () {
36060
36051
  }
36061
36052
  }
36062
36053
  }]);
36063
- return BoundingBoxTool;
36064
36054
  }();
36065
36055
  /* harmony default export */ var bounding_box_tool = (bounding_box_tool_BoundingBoxTool);
36066
36056
  // CONCATENATED MODULE: ./src/helper/selection-tools/nudge-tool.js
@@ -36071,7 +36061,7 @@ function nudge_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.le
36071
36061
  function nudge_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36072
36062
  function nudge_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, nudge_tool_toPropertyKey(descriptor.key), descriptor); } }
36073
36063
  function nudge_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) nudge_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) nudge_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
36074
- function nudge_tool_toPropertyKey(t) { var i = nudge_tool_toPrimitive(t, "string"); return "symbol" == nudge_tool_typeof(i) ? i : String(i); }
36064
+ function nudge_tool_toPropertyKey(t) { var i = nudge_tool_toPrimitive(t, "string"); return "symbol" == nudge_tool_typeof(i) ? i : i + ""; }
36075
36065
  function nudge_tool_toPrimitive(t, r) { if ("object" != nudge_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != nudge_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36076
36066
 
36077
36067
 
@@ -36095,7 +36085,7 @@ var nudge_tool_NudgeTool = /*#__PURE__*/function () {
36095
36085
  this.onUpdateImage = onUpdateImage;
36096
36086
  this.boundingBoxTool.isBitmap = mode in BitmapModes;
36097
36087
  }
36098
- nudge_tool_createClass(NudgeTool, [{
36088
+ return nudge_tool_createClass(NudgeTool, [{
36099
36089
  key: "onKeyDown",
36100
36090
  value: function onKeyDown(event) {
36101
36091
  if (event.event.target instanceof HTMLInputElement) {
@@ -36167,7 +36157,6 @@ var nudge_tool_NudgeTool = /*#__PURE__*/function () {
36167
36157
  }
36168
36158
  }
36169
36159
  }]);
36170
- return NudgeTool;
36171
36160
  }();
36172
36161
  /* harmony default export */ var nudge_tool = (nudge_tool_NudgeTool);
36173
36162
  // CONCATENATED MODULE: ./src/helper/bit-tools/oval-tool.js
@@ -36175,7 +36164,7 @@ function oval_tool_typeof(o) { "@babel/helpers - typeof"; return oval_tool_typeo
36175
36164
  function oval_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36176
36165
  function oval_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, oval_tool_toPropertyKey(descriptor.key), descriptor); } }
36177
36166
  function oval_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) oval_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) oval_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
36178
- function oval_tool_toPropertyKey(t) { var i = oval_tool_toPrimitive(t, "string"); return "symbol" == oval_tool_typeof(i) ? i : String(i); }
36167
+ function oval_tool_toPropertyKey(t) { var i = oval_tool_toPrimitive(t, "string"); return "symbol" == oval_tool_typeof(i) ? i : i + ""; }
36179
36168
  function oval_tool_toPrimitive(t, r) { if ("object" != oval_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != oval_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36180
36169
  function oval_tool_callSuper(t, o, e) { return o = oval_tool_getPrototypeOf(o), oval_tool_possibleConstructorReturn(t, oval_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], oval_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
36181
36170
  function oval_tool_possibleConstructorReturn(self, call) { if (call && (oval_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return oval_tool_assertThisInitialized(self); }
@@ -36198,7 +36187,6 @@ function oval_tool_setPrototypeOf(o, p) { oval_tool_setPrototypeOf = Object.setP
36198
36187
  * Tool for drawing ovals.
36199
36188
  */
36200
36189
  var oval_tool_OvalTool = /*#__PURE__*/function (_paper$Tool) {
36201
- oval_tool_inherits(OvalTool, _paper$Tool);
36202
36190
  /**
36203
36191
  * @param {function} setSelectedItems Callback to set the set of selected items in the Redux state
36204
36192
  * @param {function} clearSelectedItems Callback to clear the set of selected items in the Redux state
@@ -36228,7 +36216,8 @@ var oval_tool_OvalTool = /*#__PURE__*/function (_paper$Tool) {
36228
36216
  _this.active = false;
36229
36217
  return _this;
36230
36218
  }
36231
- oval_tool_createClass(OvalTool, [{
36219
+ oval_tool_inherits(OvalTool, _paper$Tool);
36220
+ return oval_tool_createClass(OvalTool, [{
36232
36221
  key: "getHitOptions",
36233
36222
  value: function getHitOptions() {
36234
36223
  return {
@@ -36405,7 +36394,6 @@ var oval_tool_OvalTool = /*#__PURE__*/function (_paper$Tool) {
36405
36394
  return 2;
36406
36395
  }
36407
36396
  }]);
36408
- return OvalTool;
36409
36397
  }(paper_full_default.a.Tool);
36410
36398
  /* harmony default export */ var oval_tool = (oval_tool_OvalTool);
36411
36399
  // EXTERNAL MODULE: ./src/components/bit-oval-mode/oval.svg
@@ -36436,13 +36424,13 @@ function bit_oval_mode_typeof(o) { "@babel/helpers - typeof"; return bit_oval_mo
36436
36424
  function bit_oval_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36437
36425
  function bit_oval_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_oval_mode_toPropertyKey(descriptor.key), descriptor); } }
36438
36426
  function bit_oval_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_oval_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_oval_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
36439
- function bit_oval_mode_toPropertyKey(t) { var i = bit_oval_mode_toPrimitive(t, "string"); return "symbol" == bit_oval_mode_typeof(i) ? i : String(i); }
36427
+ function bit_oval_mode_toPropertyKey(t) { var i = bit_oval_mode_toPrimitive(t, "string"); return "symbol" == bit_oval_mode_typeof(i) ? i : i + ""; }
36440
36428
  function bit_oval_mode_toPrimitive(t, r) { if ("object" != bit_oval_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_oval_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36441
36429
  function bit_oval_mode_callSuper(t, o, e) { return o = bit_oval_mode_getPrototypeOf(o), bit_oval_mode_possibleConstructorReturn(t, bit_oval_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_oval_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
36442
36430
  function bit_oval_mode_possibleConstructorReturn(self, call) { if (call && (bit_oval_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_oval_mode_assertThisInitialized(self); }
36431
+ function bit_oval_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
36443
36432
  function bit_oval_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_oval_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
36444
36433
  function bit_oval_mode_getPrototypeOf(o) { bit_oval_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_oval_mode_getPrototypeOf(o); }
36445
- function bit_oval_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
36446
36434
  function bit_oval_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_oval_mode_setPrototypeOf(subClass, superClass); }
36447
36435
  function bit_oval_mode_setPrototypeOf(o, p) { bit_oval_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_oval_mode_setPrototypeOf(o, p); }
36448
36436
 
@@ -36461,15 +36449,15 @@ function bit_oval_mode_setPrototypeOf(o, p) { bit_oval_mode_setPrototypeOf = Obj
36461
36449
 
36462
36450
 
36463
36451
  var bit_oval_mode_BitOvalMode = /*#__PURE__*/function (_React$Component) {
36464
- bit_oval_mode_inherits(BitOvalMode, _React$Component);
36465
36452
  function BitOvalMode(props) {
36466
36453
  var _this;
36467
36454
  bit_oval_mode_classCallCheck(this, BitOvalMode);
36468
36455
  _this = bit_oval_mode_callSuper(this, BitOvalMode, [props]);
36469
- lodash_bindall_default()(bit_oval_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
36456
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
36470
36457
  return _this;
36471
36458
  }
36472
- bit_oval_mode_createClass(BitOvalMode, [{
36459
+ bit_oval_mode_inherits(BitOvalMode, _React$Component);
36460
+ return bit_oval_mode_createClass(BitOvalMode, [{
36473
36461
  key: "componentDidMount",
36474
36462
  value: function componentDidMount() {
36475
36463
  if (this.props.isOvalModeActive) {
@@ -36542,7 +36530,6 @@ var bit_oval_mode_BitOvalMode = /*#__PURE__*/function (_React$Component) {
36542
36530
  });
36543
36531
  }
36544
36532
  }]);
36545
- return BitOvalMode;
36546
36533
  }(external_react_default.a.Component);
36547
36534
  bit_oval_mode_BitOvalMode.propTypes = {
36548
36535
  clearSelectedItems: external_prop_types_default.a.func.isRequired,
@@ -36593,7 +36580,7 @@ function rect_tool_typeof(o) { "@babel/helpers - typeof"; return rect_tool_typeo
36593
36580
  function rect_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36594
36581
  function rect_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, rect_tool_toPropertyKey(descriptor.key), descriptor); } }
36595
36582
  function rect_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) rect_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) rect_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
36596
- function rect_tool_toPropertyKey(t) { var i = rect_tool_toPrimitive(t, "string"); return "symbol" == rect_tool_typeof(i) ? i : String(i); }
36583
+ function rect_tool_toPropertyKey(t) { var i = rect_tool_toPrimitive(t, "string"); return "symbol" == rect_tool_typeof(i) ? i : i + ""; }
36597
36584
  function rect_tool_toPrimitive(t, r) { if ("object" != rect_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rect_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36598
36585
  function rect_tool_callSuper(t, o, e) { return o = rect_tool_getPrototypeOf(o), rect_tool_possibleConstructorReturn(t, rect_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], rect_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
36599
36586
  function rect_tool_possibleConstructorReturn(self, call) { if (call && (rect_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return rect_tool_assertThisInitialized(self); }
@@ -36616,7 +36603,6 @@ function rect_tool_setPrototypeOf(o, p) { rect_tool_setPrototypeOf = Object.setP
36616
36603
  * Tool for drawing rects.
36617
36604
  */
36618
36605
  var rect_tool_RectTool = /*#__PURE__*/function (_paper$Tool) {
36619
- rect_tool_inherits(RectTool, _paper$Tool);
36620
36606
  /**
36621
36607
  * @param {function} setSelectedItems Callback to set the set of selected items in the Redux state
36622
36608
  * @param {function} clearSelectedItems Callback to clear the set of selected items in the Redux state
@@ -36646,7 +36632,8 @@ var rect_tool_RectTool = /*#__PURE__*/function (_paper$Tool) {
36646
36632
  _this.active = false;
36647
36633
  return _this;
36648
36634
  }
36649
- rect_tool_createClass(RectTool, [{
36635
+ rect_tool_inherits(RectTool, _paper$Tool);
36636
+ return rect_tool_createClass(RectTool, [{
36650
36637
  key: "getHitOptions",
36651
36638
  value: function getHitOptions() {
36652
36639
  return {
@@ -36817,7 +36804,6 @@ var rect_tool_RectTool = /*#__PURE__*/function (_paper$Tool) {
36817
36804
  return 2;
36818
36805
  }
36819
36806
  }]);
36820
- return RectTool;
36821
36807
  }(paper_full_default.a.Tool);
36822
36808
  /* harmony default export */ var rect_tool = (rect_tool_RectTool);
36823
36809
  // EXTERNAL MODULE: ./src/components/bit-rect-mode/rectangle.svg
@@ -36848,13 +36834,13 @@ function bit_rect_mode_typeof(o) { "@babel/helpers - typeof"; return bit_rect_mo
36848
36834
  function bit_rect_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36849
36835
  function bit_rect_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_rect_mode_toPropertyKey(descriptor.key), descriptor); } }
36850
36836
  function bit_rect_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_rect_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_rect_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
36851
- function bit_rect_mode_toPropertyKey(t) { var i = bit_rect_mode_toPrimitive(t, "string"); return "symbol" == bit_rect_mode_typeof(i) ? i : String(i); }
36837
+ function bit_rect_mode_toPropertyKey(t) { var i = bit_rect_mode_toPrimitive(t, "string"); return "symbol" == bit_rect_mode_typeof(i) ? i : i + ""; }
36852
36838
  function bit_rect_mode_toPrimitive(t, r) { if ("object" != bit_rect_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_rect_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36853
36839
  function bit_rect_mode_callSuper(t, o, e) { return o = bit_rect_mode_getPrototypeOf(o), bit_rect_mode_possibleConstructorReturn(t, bit_rect_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_rect_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
36854
36840
  function bit_rect_mode_possibleConstructorReturn(self, call) { if (call && (bit_rect_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_rect_mode_assertThisInitialized(self); }
36841
+ function bit_rect_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
36855
36842
  function bit_rect_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_rect_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
36856
36843
  function bit_rect_mode_getPrototypeOf(o) { bit_rect_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_rect_mode_getPrototypeOf(o); }
36857
- function bit_rect_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
36858
36844
  function bit_rect_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_rect_mode_setPrototypeOf(subClass, superClass); }
36859
36845
  function bit_rect_mode_setPrototypeOf(o, p) { bit_rect_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_rect_mode_setPrototypeOf(o, p); }
36860
36846
 
@@ -36873,15 +36859,15 @@ function bit_rect_mode_setPrototypeOf(o, p) { bit_rect_mode_setPrototypeOf = Obj
36873
36859
 
36874
36860
 
36875
36861
  var bit_rect_mode_BitRectMode = /*#__PURE__*/function (_React$Component) {
36876
- bit_rect_mode_inherits(BitRectMode, _React$Component);
36877
36862
  function BitRectMode(props) {
36878
36863
  var _this;
36879
36864
  bit_rect_mode_classCallCheck(this, BitRectMode);
36880
36865
  _this = bit_rect_mode_callSuper(this, BitRectMode, [props]);
36881
- lodash_bindall_default()(bit_rect_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
36866
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
36882
36867
  return _this;
36883
36868
  }
36884
- bit_rect_mode_createClass(BitRectMode, [{
36869
+ bit_rect_mode_inherits(BitRectMode, _React$Component);
36870
+ return bit_rect_mode_createClass(BitRectMode, [{
36885
36871
  key: "componentDidMount",
36886
36872
  value: function componentDidMount() {
36887
36873
  if (this.props.isRectModeActive) {
@@ -36954,7 +36940,6 @@ var bit_rect_mode_BitRectMode = /*#__PURE__*/function (_React$Component) {
36954
36940
  });
36955
36941
  }
36956
36942
  }]);
36957
- return BitRectMode;
36958
36943
  }(external_react_default.a.Component);
36959
36944
  bit_rect_mode_BitRectMode.propTypes = {
36960
36945
  clearSelectedItems: external_prop_types_default.a.func.isRequired,
@@ -37059,7 +37044,7 @@ function fill_tool_typeof(o) { "@babel/helpers - typeof"; return fill_tool_typeo
37059
37044
  function fill_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37060
37045
  function fill_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, fill_tool_toPropertyKey(descriptor.key), descriptor); } }
37061
37046
  function fill_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) fill_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) fill_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37062
- function fill_tool_toPropertyKey(t) { var i = fill_tool_toPrimitive(t, "string"); return "symbol" == fill_tool_typeof(i) ? i : String(i); }
37047
+ function fill_tool_toPropertyKey(t) { var i = fill_tool_toPrimitive(t, "string"); return "symbol" == fill_tool_typeof(i) ? i : i + ""; }
37063
37048
  function fill_tool_toPrimitive(t, r) { if ("object" != fill_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fill_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37064
37049
  function fill_tool_callSuper(t, o, e) { return o = fill_tool_getPrototypeOf(o), fill_tool_possibleConstructorReturn(t, fill_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], fill_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
37065
37050
  function fill_tool_possibleConstructorReturn(self, call) { if (call && (fill_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return fill_tool_assertThisInitialized(self); }
@@ -37078,7 +37063,6 @@ var TRANSPARENT = 'rgba(0,0,0,0)';
37078
37063
  * Tool for drawing fills.
37079
37064
  */
37080
37065
  var fill_tool_FillTool = /*#__PURE__*/function (_paper$Tool) {
37081
- fill_tool_inherits(FillTool, _paper$Tool);
37082
37066
  /**
37083
37067
  * @param {!function} onUpdateImage A callback to call when the image visibly changes
37084
37068
  */
@@ -37098,7 +37082,8 @@ var fill_tool_FillTool = /*#__PURE__*/function (_paper$Tool) {
37098
37082
  _this.active = false;
37099
37083
  return _this;
37100
37084
  }
37101
- fill_tool_createClass(FillTool, [{
37085
+ fill_tool_inherits(FillTool, _paper$Tool);
37086
+ return fill_tool_createClass(FillTool, [{
37102
37087
  key: "setColor",
37103
37088
  value: function setColor(color) {
37104
37089
  this.color = color;
@@ -37186,7 +37171,6 @@ var fill_tool_FillTool = /*#__PURE__*/function (_paper$Tool) {
37186
37171
  key: "deactivateTool",
37187
37172
  value: function deactivateTool() {}
37188
37173
  }]);
37189
- return FillTool;
37190
37174
  }(paper_full_default.a.Tool);
37191
37175
  /* harmony default export */ var fill_tool = (fill_tool_FillTool);
37192
37176
  // CONCATENATED MODULE: ./src/containers/bit-fill-mode.jsx
@@ -37194,13 +37178,13 @@ function bit_fill_mode_typeof(o) { "@babel/helpers - typeof"; return bit_fill_mo
37194
37178
  function bit_fill_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37195
37179
  function bit_fill_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_fill_mode_toPropertyKey(descriptor.key), descriptor); } }
37196
37180
  function bit_fill_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_fill_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_fill_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37197
- function bit_fill_mode_toPropertyKey(t) { var i = bit_fill_mode_toPrimitive(t, "string"); return "symbol" == bit_fill_mode_typeof(i) ? i : String(i); }
37181
+ function bit_fill_mode_toPropertyKey(t) { var i = bit_fill_mode_toPrimitive(t, "string"); return "symbol" == bit_fill_mode_typeof(i) ? i : i + ""; }
37198
37182
  function bit_fill_mode_toPrimitive(t, r) { if ("object" != bit_fill_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_fill_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37199
37183
  function bit_fill_mode_callSuper(t, o, e) { return o = bit_fill_mode_getPrototypeOf(o), bit_fill_mode_possibleConstructorReturn(t, bit_fill_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_fill_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
37200
37184
  function bit_fill_mode_possibleConstructorReturn(self, call) { if (call && (bit_fill_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_fill_mode_assertThisInitialized(self); }
37185
+ function bit_fill_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37201
37186
  function bit_fill_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_fill_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
37202
37187
  function bit_fill_mode_getPrototypeOf(o) { bit_fill_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_fill_mode_getPrototypeOf(o); }
37203
- function bit_fill_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37204
37188
  function bit_fill_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_fill_mode_setPrototypeOf(subClass, superClass); }
37205
37189
  function bit_fill_mode_setPrototypeOf(o, p) { bit_fill_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_fill_mode_setPrototypeOf(o, p); }
37206
37190
 
@@ -37218,15 +37202,15 @@ function bit_fill_mode_setPrototypeOf(o, p) { bit_fill_mode_setPrototypeOf = Obj
37218
37202
 
37219
37203
 
37220
37204
  var bit_fill_mode_BitFillMode = /*#__PURE__*/function (_React$Component) {
37221
- bit_fill_mode_inherits(BitFillMode, _React$Component);
37222
37205
  function BitFillMode(props) {
37223
37206
  var _this;
37224
37207
  bit_fill_mode_classCallCheck(this, BitFillMode);
37225
37208
  _this = bit_fill_mode_callSuper(this, BitFillMode, [props]);
37226
- lodash_bindall_default()(bit_fill_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
37209
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
37227
37210
  return _this;
37228
37211
  }
37229
- bit_fill_mode_createClass(BitFillMode, [{
37212
+ bit_fill_mode_inherits(BitFillMode, _React$Component);
37213
+ return bit_fill_mode_createClass(BitFillMode, [{
37230
37214
  key: "componentDidMount",
37231
37215
  value: function componentDidMount() {
37232
37216
  if (this.props.isFillModeActive) {
@@ -37311,7 +37295,6 @@ var bit_fill_mode_BitFillMode = /*#__PURE__*/function (_React$Component) {
37311
37295
  });
37312
37296
  }
37313
37297
  }]);
37314
- return BitFillMode;
37315
37298
  }(external_react_default.a.Component);
37316
37299
  bit_fill_mode_BitFillMode.propTypes = {
37317
37300
  changeGradientType: external_prop_types_default.a.func.isRequired,
@@ -37384,13 +37367,13 @@ function bit_eraser_mode_typeof(o) { "@babel/helpers - typeof"; return bit_erase
37384
37367
  function bit_eraser_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37385
37368
  function bit_eraser_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_eraser_mode_toPropertyKey(descriptor.key), descriptor); } }
37386
37369
  function bit_eraser_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_eraser_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_eraser_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37387
- function bit_eraser_mode_toPropertyKey(t) { var i = bit_eraser_mode_toPrimitive(t, "string"); return "symbol" == bit_eraser_mode_typeof(i) ? i : String(i); }
37370
+ function bit_eraser_mode_toPropertyKey(t) { var i = bit_eraser_mode_toPrimitive(t, "string"); return "symbol" == bit_eraser_mode_typeof(i) ? i : i + ""; }
37388
37371
  function bit_eraser_mode_toPrimitive(t, r) { if ("object" != bit_eraser_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_eraser_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37389
37372
  function bit_eraser_mode_callSuper(t, o, e) { return o = bit_eraser_mode_getPrototypeOf(o), bit_eraser_mode_possibleConstructorReturn(t, bit_eraser_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_eraser_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
37390
37373
  function bit_eraser_mode_possibleConstructorReturn(self, call) { if (call && (bit_eraser_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_eraser_mode_assertThisInitialized(self); }
37374
+ function bit_eraser_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37391
37375
  function bit_eraser_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_eraser_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
37392
37376
  function bit_eraser_mode_getPrototypeOf(o) { bit_eraser_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_eraser_mode_getPrototypeOf(o); }
37393
- function bit_eraser_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37394
37377
  function bit_eraser_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_eraser_mode_setPrototypeOf(subClass, superClass); }
37395
37378
  function bit_eraser_mode_setPrototypeOf(o, p) { bit_eraser_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_eraser_mode_setPrototypeOf(o, p); }
37396
37379
 
@@ -37404,15 +37387,15 @@ function bit_eraser_mode_setPrototypeOf(o, p) { bit_eraser_mode_setPrototypeOf =
37404
37387
 
37405
37388
 
37406
37389
  var bit_eraser_mode_BitEraserMode = /*#__PURE__*/function (_React$Component) {
37407
- bit_eraser_mode_inherits(BitEraserMode, _React$Component);
37408
37390
  function BitEraserMode(props) {
37409
37391
  var _this;
37410
37392
  bit_eraser_mode_classCallCheck(this, BitEraserMode);
37411
37393
  _this = bit_eraser_mode_callSuper(this, BitEraserMode, [props]);
37412
- lodash_bindall_default()(bit_eraser_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
37394
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
37413
37395
  return _this;
37414
37396
  }
37415
- bit_eraser_mode_createClass(BitEraserMode, [{
37397
+ bit_eraser_mode_inherits(BitEraserMode, _React$Component);
37398
+ return bit_eraser_mode_createClass(BitEraserMode, [{
37416
37399
  key: "componentDidMount",
37417
37400
  value: function componentDidMount() {
37418
37401
  if (this.props.isBitEraserModeActive) {
@@ -37467,7 +37450,6 @@ var bit_eraser_mode_BitEraserMode = /*#__PURE__*/function (_React$Component) {
37467
37450
  });
37468
37451
  }
37469
37452
  }]);
37470
- return BitEraserMode;
37471
37453
  }(external_react_default.a.Component);
37472
37454
  bit_eraser_mode_BitEraserMode.propTypes = {
37473
37455
  bitEraserSize: external_prop_types_default.a.number.isRequired,
@@ -37498,7 +37480,7 @@ function selection_box_tool_typeof(o) { "@babel/helpers - typeof"; return select
37498
37480
  function selection_box_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37499
37481
  function selection_box_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, selection_box_tool_toPropertyKey(descriptor.key), descriptor); } }
37500
37482
  function selection_box_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) selection_box_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) selection_box_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37501
- function selection_box_tool_toPropertyKey(t) { var i = selection_box_tool_toPrimitive(t, "string"); return "symbol" == selection_box_tool_typeof(i) ? i : String(i); }
37483
+ function selection_box_tool_toPropertyKey(t) { var i = selection_box_tool_toPrimitive(t, "string"); return "symbol" == selection_box_tool_typeof(i) ? i : i + ""; }
37502
37484
  function selection_box_tool_toPrimitive(t, r) { if ("object" != selection_box_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != selection_box_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37503
37485
 
37504
37486
 
@@ -37524,7 +37506,7 @@ var selection_box_tool_SelectionBoxTool = /*#__PURE__*/function () {
37524
37506
  /**
37525
37507
  * @param {boolean} multiselect Whether to multiselect on mouse down (e.g. shift key held)
37526
37508
  */
37527
- selection_box_tool_createClass(SelectionBoxTool, [{
37509
+ return selection_box_tool_createClass(SelectionBoxTool, [{
37528
37510
  key: "onMouseDown",
37529
37511
  value: function onMouseDown(multiselect) {
37530
37512
  if (!multiselect) {
@@ -37589,7 +37571,6 @@ var selection_box_tool_SelectionBoxTool = /*#__PURE__*/function () {
37589
37571
  }
37590
37572
  }
37591
37573
  }]);
37592
- return SelectionBoxTool;
37593
37574
  }();
37594
37575
  /* harmony default export */ var selection_box_tool = (selection_box_tool_SelectionBoxTool);
37595
37576
  // CONCATENATED MODULE: ./src/helper/bit-tools/select-tool.js
@@ -37597,7 +37578,7 @@ function select_tool_typeof(o) { "@babel/helpers - typeof"; return select_tool_t
37597
37578
  function select_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37598
37579
  function select_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, select_tool_toPropertyKey(descriptor.key), descriptor); } }
37599
37580
  function select_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) select_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) select_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37600
- function select_tool_toPropertyKey(t) { var i = select_tool_toPrimitive(t, "string"); return "symbol" == select_tool_typeof(i) ? i : String(i); }
37581
+ function select_tool_toPropertyKey(t) { var i = select_tool_toPrimitive(t, "string"); return "symbol" == select_tool_typeof(i) ? i : i + ""; }
37601
37582
  function select_tool_toPrimitive(t, r) { if ("object" != select_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != select_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37602
37583
  function select_tool_callSuper(t, o, e) { return o = select_tool_getPrototypeOf(o), select_tool_possibleConstructorReturn(t, select_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], select_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
37603
37584
  function select_tool_possibleConstructorReturn(self, call) { if (call && (select_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return select_tool_assertThisInitialized(self); }
@@ -37622,7 +37603,6 @@ function select_tool_setPrototypeOf(o, p) { select_tool_setPrototypeOf = Object.
37622
37603
  * reshaping the selection.
37623
37604
  */
37624
37605
  var select_tool_SelectTool = /*#__PURE__*/function (_paper$Tool) {
37625
- select_tool_inherits(SelectTool, _paper$Tool);
37626
37606
  /**
37627
37607
  * @param {function} setSelectedItems Callback to set the set of selected items in the Redux state
37628
37608
  * @param {function} clearSelectedItems Callback to clear the set of selected items in the Redux state
@@ -37656,7 +37636,8 @@ var select_tool_SelectTool = /*#__PURE__*/function (_paper$Tool) {
37656
37636
  * Should be called if the selection changes to update the bounds of the bounding box.
37657
37637
  * @param {Array<paper.Item>} selectedItems Array of selected items.
37658
37638
  */
37659
- select_tool_createClass(SelectTool, [{
37639
+ select_tool_inherits(SelectTool, _paper$Tool);
37640
+ return select_tool_createClass(SelectTool, [{
37660
37641
  key: "onSelectionChanged",
37661
37642
  value: function onSelectionChanged(selectedItems) {
37662
37643
  this.boundingBoxTool.onSelectionChanged(selectedItems);
@@ -37759,7 +37740,6 @@ var select_tool_SelectTool = /*#__PURE__*/function (_paper$Tool) {
37759
37740
  return 2;
37760
37741
  }
37761
37742
  }]);
37762
- return SelectTool;
37763
37743
  }(paper_full_default.a.Tool);
37764
37744
  /* harmony default export */ var select_tool = (select_tool_SelectTool);
37765
37745
  // EXTERNAL MODULE: ./src/components/bit-select-mode/marquee.svg
@@ -37790,13 +37770,13 @@ function bit_select_mode_typeof(o) { "@babel/helpers - typeof"; return bit_selec
37790
37770
  function bit_select_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37791
37771
  function bit_select_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, bit_select_mode_toPropertyKey(descriptor.key), descriptor); } }
37792
37772
  function bit_select_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) bit_select_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) bit_select_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37793
- function bit_select_mode_toPropertyKey(t) { var i = bit_select_mode_toPrimitive(t, "string"); return "symbol" == bit_select_mode_typeof(i) ? i : String(i); }
37773
+ function bit_select_mode_toPropertyKey(t) { var i = bit_select_mode_toPrimitive(t, "string"); return "symbol" == bit_select_mode_typeof(i) ? i : i + ""; }
37794
37774
  function bit_select_mode_toPrimitive(t, r) { if ("object" != bit_select_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != bit_select_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37795
37775
  function bit_select_mode_callSuper(t, o, e) { return o = bit_select_mode_getPrototypeOf(o), bit_select_mode_possibleConstructorReturn(t, bit_select_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], bit_select_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
37796
37776
  function bit_select_mode_possibleConstructorReturn(self, call) { if (call && (bit_select_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return bit_select_mode_assertThisInitialized(self); }
37777
+ function bit_select_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37797
37778
  function bit_select_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (bit_select_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
37798
37779
  function bit_select_mode_getPrototypeOf(o) { bit_select_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return bit_select_mode_getPrototypeOf(o); }
37799
- function bit_select_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37800
37780
  function bit_select_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) bit_select_mode_setPrototypeOf(subClass, superClass); }
37801
37781
  function bit_select_mode_setPrototypeOf(o, p) { bit_select_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return bit_select_mode_setPrototypeOf(o, p); }
37802
37782
 
@@ -37813,15 +37793,15 @@ function bit_select_mode_setPrototypeOf(o, p) { bit_select_mode_setPrototypeOf =
37813
37793
 
37814
37794
 
37815
37795
  var bit_select_mode_BitSelectMode = /*#__PURE__*/function (_React$Component) {
37816
- bit_select_mode_inherits(BitSelectMode, _React$Component);
37817
37796
  function BitSelectMode(props) {
37818
37797
  var _this;
37819
37798
  bit_select_mode_classCallCheck(this, BitSelectMode);
37820
37799
  _this = bit_select_mode_callSuper(this, BitSelectMode, [props]);
37821
- lodash_bindall_default()(bit_select_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
37800
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
37822
37801
  return _this;
37823
37802
  }
37824
- bit_select_mode_createClass(BitSelectMode, [{
37803
+ bit_select_mode_inherits(BitSelectMode, _React$Component);
37804
+ return bit_select_mode_createClass(BitSelectMode, [{
37825
37805
  key: "componentDidMount",
37826
37806
  value: function componentDidMount() {
37827
37807
  if (this.props.isSelectModeActive) {
@@ -37875,7 +37855,6 @@ var bit_select_mode_BitSelectMode = /*#__PURE__*/function (_React$Component) {
37875
37855
  });
37876
37856
  }
37877
37857
  }]);
37878
- return BitSelectMode;
37879
37858
  }(external_react_default.a.Component);
37880
37859
  bit_select_mode_BitSelectMode.propTypes = {
37881
37860
  clearGradient: external_prop_types_default.a.func.isRequired,
@@ -37943,7 +37922,7 @@ function broad_brush_helper_arrayLikeToArray(arr, len) { if (len == null || len
37943
37922
  function broad_brush_helper_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37944
37923
  function broad_brush_helper_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, broad_brush_helper_toPropertyKey(descriptor.key), descriptor); } }
37945
37924
  function broad_brush_helper_createClass(Constructor, protoProps, staticProps) { if (protoProps) broad_brush_helper_defineProperties(Constructor.prototype, protoProps); if (staticProps) broad_brush_helper_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37946
- function broad_brush_helper_toPropertyKey(t) { var i = broad_brush_helper_toPrimitive(t, "string"); return "symbol" == broad_brush_helper_typeof(i) ? i : String(i); }
37925
+ function broad_brush_helper_toPropertyKey(t) { var i = broad_brush_helper_toPrimitive(t, "string"); return "symbol" == broad_brush_helper_typeof(i) ? i : i + ""; }
37947
37926
  function broad_brush_helper_toPrimitive(t, r) { if ("object" != broad_brush_helper_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != broad_brush_helper_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
37948
37927
  // Broadbrush based on http://paperjs.org/tutorials/interaction/working-with-mouse-vectors/
37949
37928
 
@@ -37978,7 +37957,7 @@ var broad_brush_helper_BroadBrushHelper = /*#__PURE__*/function () {
37978
37957
  // End caps round out corners and are not merged into the path until the end.
37979
37958
  this.endCaps = [];
37980
37959
  }
37981
- broad_brush_helper_createClass(BroadBrushHelper, [{
37960
+ return broad_brush_helper_createClass(BroadBrushHelper, [{
37982
37961
  key: "onBroadMouseDown",
37983
37962
  value: function onBroadMouseDown(event, tool, options) {
37984
37963
  this.steps = 0;
@@ -38197,7 +38176,6 @@ var broad_brush_helper_BroadBrushHelper = /*#__PURE__*/function () {
38197
38176
  return this.finalPath;
38198
38177
  }
38199
38178
  }]);
38200
- return BroadBrushHelper;
38201
38179
  }();
38202
38180
  /* harmony default export */ var broad_brush_helper = (broad_brush_helper_BroadBrushHelper);
38203
38181
  // CONCATENATED MODULE: ./src/helper/blob-tools/segment-brush-helper.js
@@ -38205,7 +38183,7 @@ function segment_brush_helper_typeof(o) { "@babel/helpers - typeof"; return segm
38205
38183
  function segment_brush_helper_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
38206
38184
  function segment_brush_helper_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, segment_brush_helper_toPropertyKey(descriptor.key), descriptor); } }
38207
38185
  function segment_brush_helper_createClass(Constructor, protoProps, staticProps) { if (protoProps) segment_brush_helper_defineProperties(Constructor.prototype, protoProps); if (staticProps) segment_brush_helper_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
38208
- function segment_brush_helper_toPropertyKey(t) { var i = segment_brush_helper_toPrimitive(t, "string"); return "symbol" == segment_brush_helper_typeof(i) ? i : String(i); }
38186
+ function segment_brush_helper_toPropertyKey(t) { var i = segment_brush_helper_toPrimitive(t, "string"); return "symbol" == segment_brush_helper_typeof(i) ? i : i + ""; }
38209
38187
  function segment_brush_helper_toPrimitive(t, r) { if ("object" != segment_brush_helper_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != segment_brush_helper_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
38210
38188
 
38211
38189
 
@@ -38230,7 +38208,7 @@ var segment_brush_helper_SegmentBrushHelper = /*#__PURE__*/function () {
38230
38208
  this.finalPath = null;
38231
38209
  this.firstCircle = null;
38232
38210
  }
38233
- segment_brush_helper_createClass(SegmentBrushHelper, [{
38211
+ return segment_brush_helper_createClass(SegmentBrushHelper, [{
38234
38212
  key: "onSegmentMouseDown",
38235
38213
  value: function onSegmentMouseDown(event, tool, options) {
38236
38214
  if (event.event.button > 0) return; // only first mouse button
@@ -38300,7 +38278,6 @@ var segment_brush_helper_SegmentBrushHelper = /*#__PURE__*/function () {
38300
38278
  return this.finalPath;
38301
38279
  }
38302
38280
  }]);
38303
- return SegmentBrushHelper;
38304
38281
  }();
38305
38282
  /* harmony default export */ var segment_brush_helper = (segment_brush_helper_SegmentBrushHelper);
38306
38283
  // CONCATENATED MODULE: ./src/helper/blob-tools/blob.js
@@ -38314,7 +38291,7 @@ function blob_defineProperty(obj, key, value) { key = blob_toPropertyKey(key); i
38314
38291
  function blob_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
38315
38292
  function blob_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, blob_toPropertyKey(descriptor.key), descriptor); } }
38316
38293
  function blob_createClass(Constructor, protoProps, staticProps) { if (protoProps) blob_defineProperties(Constructor.prototype, protoProps); if (staticProps) blob_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
38317
- function blob_toPropertyKey(t) { var i = blob_toPrimitive(t, "string"); return "symbol" == blob_typeof(i) ? i : String(i); }
38294
+ function blob_toPropertyKey(t) { var i = blob_toPrimitive(t, "string"); return "symbol" == blob_typeof(i) ? i : i + ""; }
38318
38295
  function blob_toPrimitive(t, r) { if ("object" != blob_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != blob_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
38319
38296
 
38320
38297
 
@@ -38358,7 +38335,7 @@ var blob_Blobbiness = /*#__PURE__*/function () {
38358
38335
  * @param {?string} options.strokeColor Color of the brush outline.
38359
38336
  * @param {?number} options.strokeWidth Width of the brush outline.
38360
38337
  */
38361
- blob_createClass(Blobbiness, [{
38338
+ return blob_createClass(Blobbiness, [{
38362
38339
  key: "setOptions",
38363
38340
  value: function setOptions(options) {
38364
38341
  var oldFillColor = this.options ? this.options.fillColor : 'black';
@@ -38771,7 +38748,6 @@ var blob_Blobbiness = /*#__PURE__*/function () {
38771
38748
  return 30 / paper_full_default.a.view.zoom;
38772
38749
  }
38773
38750
  }]);
38774
- return Blobbiness;
38775
38751
  }();
38776
38752
  /* harmony default export */ var blob_tools_blob = (blob_Blobbiness);
38777
38753
  // EXTERNAL MODULE: ./src/components/brush-mode/brush.svg
@@ -38805,13 +38781,13 @@ function brush_mode_defineProperty(obj, key, value) { key = brush_mode_toPropert
38805
38781
  function brush_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
38806
38782
  function brush_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, brush_mode_toPropertyKey(descriptor.key), descriptor); } }
38807
38783
  function brush_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) brush_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) brush_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
38808
- function brush_mode_toPropertyKey(t) { var i = brush_mode_toPrimitive(t, "string"); return "symbol" == brush_mode_typeof(i) ? i : String(i); }
38784
+ function brush_mode_toPropertyKey(t) { var i = brush_mode_toPrimitive(t, "string"); return "symbol" == brush_mode_typeof(i) ? i : i + ""; }
38809
38785
  function brush_mode_toPrimitive(t, r) { if ("object" != brush_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != brush_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
38810
38786
  function brush_mode_callSuper(t, o, e) { return o = brush_mode_getPrototypeOf(o), brush_mode_possibleConstructorReturn(t, brush_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], brush_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
38811
38787
  function brush_mode_possibleConstructorReturn(self, call) { if (call && (brush_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return brush_mode_assertThisInitialized(self); }
38788
+ function brush_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
38812
38789
  function brush_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (brush_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
38813
38790
  function brush_mode_getPrototypeOf(o) { brush_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return brush_mode_getPrototypeOf(o); }
38814
- function brush_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
38815
38791
  function brush_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) brush_mode_setPrototypeOf(subClass, superClass); }
38816
38792
  function brush_mode_setPrototypeOf(o, p) { brush_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return brush_mode_setPrototypeOf(o, p); }
38817
38793
 
@@ -38828,16 +38804,16 @@ function brush_mode_setPrototypeOf(o, p) { brush_mode_setPrototypeOf = Object.se
38828
38804
 
38829
38805
 
38830
38806
  var brush_mode_BrushMode = /*#__PURE__*/function (_React$Component) {
38831
- brush_mode_inherits(BrushMode, _React$Component);
38832
38807
  function BrushMode(props) {
38833
38808
  var _this;
38834
38809
  brush_mode_classCallCheck(this, BrushMode);
38835
38810
  _this = brush_mode_callSuper(this, BrushMode, [props]);
38836
- lodash_bindall_default()(brush_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
38811
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
38837
38812
  _this.blob = new blob_tools_blob(_this.props.onUpdateImage, _this.props.clearSelectedItems);
38838
38813
  return _this;
38839
38814
  }
38840
- brush_mode_createClass(BrushMode, [{
38815
+ brush_mode_inherits(BrushMode, _React$Component);
38816
+ return brush_mode_createClass(BrushMode, [{
38841
38817
  key: "componentDidMount",
38842
38818
  value: function componentDidMount() {
38843
38819
  if (this.props.isBrushModeActive) {
@@ -38906,7 +38882,6 @@ var brush_mode_BrushMode = /*#__PURE__*/function (_React$Component) {
38906
38882
  });
38907
38883
  }
38908
38884
  }]);
38909
- return BrushMode;
38910
38885
  }(external_react_default.a.Component);
38911
38886
  brush_mode_BrushMode.propTypes = {
38912
38887
  brushModeState: external_prop_types_default.a.shape({
@@ -39009,13 +38984,13 @@ function eraser_mode_defineProperty(obj, key, value) { key = eraser_mode_toPrope
39009
38984
  function eraser_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
39010
38985
  function eraser_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, eraser_mode_toPropertyKey(descriptor.key), descriptor); } }
39011
38986
  function eraser_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) eraser_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) eraser_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
39012
- function eraser_mode_toPropertyKey(t) { var i = eraser_mode_toPrimitive(t, "string"); return "symbol" == eraser_mode_typeof(i) ? i : String(i); }
38987
+ function eraser_mode_toPropertyKey(t) { var i = eraser_mode_toPrimitive(t, "string"); return "symbol" == eraser_mode_typeof(i) ? i : i + ""; }
39013
38988
  function eraser_mode_toPrimitive(t, r) { if ("object" != eraser_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != eraser_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39014
38989
  function eraser_mode_callSuper(t, o, e) { return o = eraser_mode_getPrototypeOf(o), eraser_mode_possibleConstructorReturn(t, eraser_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], eraser_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
39015
38990
  function eraser_mode_possibleConstructorReturn(self, call) { if (call && (eraser_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return eraser_mode_assertThisInitialized(self); }
38991
+ function eraser_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39016
38992
  function eraser_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (eraser_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
39017
38993
  function eraser_mode_getPrototypeOf(o) { eraser_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return eraser_mode_getPrototypeOf(o); }
39018
- function eraser_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39019
38994
  function eraser_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) eraser_mode_setPrototypeOf(subClass, superClass); }
39020
38995
  function eraser_mode_setPrototypeOf(o, p) { eraser_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return eraser_mode_setPrototypeOf(o, p); }
39021
38996
 
@@ -39029,16 +39004,16 @@ function eraser_mode_setPrototypeOf(o, p) { eraser_mode_setPrototypeOf = Object.
39029
39004
 
39030
39005
 
39031
39006
  var eraser_mode_EraserMode = /*#__PURE__*/function (_React$Component) {
39032
- eraser_mode_inherits(EraserMode, _React$Component);
39033
39007
  function EraserMode(props) {
39034
39008
  var _this;
39035
39009
  eraser_mode_classCallCheck(this, EraserMode);
39036
39010
  _this = eraser_mode_callSuper(this, EraserMode, [props]);
39037
- lodash_bindall_default()(eraser_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
39011
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
39038
39012
  _this.blob = new blob_tools_blob(_this.props.onUpdateImage, _this.props.clearSelectedItems);
39039
39013
  return _this;
39040
39014
  }
39041
- eraser_mode_createClass(EraserMode, [{
39015
+ eraser_mode_inherits(EraserMode, _React$Component);
39016
+ return eraser_mode_createClass(EraserMode, [{
39042
39017
  key: "componentDidMount",
39043
39018
  value: function componentDidMount() {
39044
39019
  if (this.props.isEraserModeActive) {
@@ -39091,7 +39066,6 @@ var eraser_mode_EraserMode = /*#__PURE__*/function (_React$Component) {
39091
39066
  });
39092
39067
  }
39093
39068
  }]);
39094
- return EraserMode;
39095
39069
  }(external_react_default.a.Component);
39096
39070
  eraser_mode_EraserMode.propTypes = {
39097
39071
  clearSelectedItems: external_prop_types_default.a.func.isRequired,
@@ -39156,7 +39130,7 @@ var changeColorIndex = function changeColorIndex(index) {
39156
39130
  // CONCATENATED MODULE: ./src/reducers/modals.js
39157
39131
  function modals_typeof(o) { "@babel/helpers - typeof"; return modals_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, modals_typeof(o); }
39158
39132
  function modals_defineProperty(obj, key, value) { key = modals_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
39159
- function modals_toPropertyKey(t) { var i = modals_toPrimitive(t, "string"); return "symbol" == modals_typeof(i) ? i : String(i); }
39133
+ function modals_toPropertyKey(t) { var i = modals_toPrimitive(t, "string"); return "symbol" == modals_typeof(i) ? i : i + ""; }
39160
39134
  function modals_toPrimitive(t, r) { if ("object" != modals_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != modals_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39161
39135
  var OPEN_MODAL = 'scratch-paint/modals/OPEN_MODAL';
39162
39136
  var CLOSE_MODAL = 'scratch-paint/modals/CLOSE_MODAL';
@@ -39225,7 +39199,7 @@ var color_button_default = /*#__PURE__*/__webpack_require__.n(color_button);
39225
39199
  // CONCATENATED MODULE: ./src/components/color-button/color-button.jsx
39226
39200
  function color_button_typeof(o) { "@babel/helpers - typeof"; return color_button_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, color_button_typeof(o); }
39227
39201
  function color_button_defineProperty(obj, key, value) { key = color_button_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
39228
- function color_button_toPropertyKey(t) { var i = color_button_toPrimitive(t, "string"); return "symbol" == color_button_typeof(i) ? i : String(i); }
39202
+ function color_button_toPropertyKey(t) { var i = color_button_toPrimitive(t, "string"); return "symbol" == color_button_typeof(i) ? i : i + ""; }
39229
39203
  function color_button_toPrimitive(t, r) { if ("object" != color_button_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != color_button_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39230
39204
 
39231
39205
 
@@ -39295,13 +39269,13 @@ function slider_defineProperty(obj, key, value) { key = slider_toPropertyKey(key
39295
39269
  function slider_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
39296
39270
  function slider_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, slider_toPropertyKey(descriptor.key), descriptor); } }
39297
39271
  function slider_createClass(Constructor, protoProps, staticProps) { if (protoProps) slider_defineProperties(Constructor.prototype, protoProps); if (staticProps) slider_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
39298
- function slider_toPropertyKey(t) { var i = slider_toPrimitive(t, "string"); return "symbol" == slider_typeof(i) ? i : String(i); }
39272
+ function slider_toPropertyKey(t) { var i = slider_toPrimitive(t, "string"); return "symbol" == slider_typeof(i) ? i : i + ""; }
39299
39273
  function slider_toPrimitive(t, r) { if ("object" != slider_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != slider_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39300
39274
  function slider_callSuper(t, o, e) { return o = slider_getPrototypeOf(o), slider_possibleConstructorReturn(t, slider_isNativeReflectConstruct() ? Reflect.construct(o, e || [], slider_getPrototypeOf(t).constructor) : o.apply(t, e)); }
39301
39275
  function slider_possibleConstructorReturn(self, call) { if (call && (slider_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return slider_assertThisInitialized(self); }
39276
+ function slider_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39302
39277
  function slider_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (slider_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
39303
39278
  function slider_getPrototypeOf(o) { slider_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return slider_getPrototypeOf(o); }
39304
- function slider_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39305
39279
  function slider_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) slider_setPrototypeOf(subClass, superClass); }
39306
39280
  function slider_setPrototypeOf(o, p) { slider_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return slider_setPrototypeOf(o, p); }
39307
39281
 
@@ -39313,18 +39287,18 @@ function slider_setPrototypeOf(o, p) { slider_setPrototypeOf = Object.setPrototy
39313
39287
  var CONTAINER_WIDTH = 150;
39314
39288
  var HANDLE_WIDTH = 26;
39315
39289
  var slider_SliderComponent = /*#__PURE__*/function (_React$Component) {
39316
- slider_inherits(SliderComponent, _React$Component);
39317
39290
  function SliderComponent(props) {
39318
39291
  var _this;
39319
39292
  slider_classCallCheck(this, SliderComponent);
39320
39293
  _this = slider_callSuper(this, SliderComponent, [props]);
39321
- lodash_bindall_default()(slider_assertThisInitialized(_this), ['handleMouseDown', 'handleMouseUp', 'handleMouseMove', 'handleClickBackground', 'setBackground', 'setHandle']);
39294
+ lodash_bindall_default()(_this, ['handleMouseDown', 'handleMouseUp', 'handleMouseMove', 'handleClickBackground', 'setBackground', 'setHandle']);
39322
39295
 
39323
39296
  // Distance from the left edge of the slider handle to the mouse down/click event
39324
39297
  _this.handleClickOffset = 0;
39325
39298
  return _this;
39326
39299
  }
39327
- slider_createClass(SliderComponent, [{
39300
+ slider_inherits(SliderComponent, _React$Component);
39301
+ return slider_createClass(SliderComponent, [{
39328
39302
  key: "handleMouseDown",
39329
39303
  value: function handleMouseDown(event) {
39330
39304
  document.addEventListener('mousemove', this.handleMouseMove);
@@ -39405,7 +39379,6 @@ var slider_SliderComponent = /*#__PURE__*/function (_React$Component) {
39405
39379
  }));
39406
39380
  }
39407
39381
  }]);
39408
- return SliderComponent;
39409
39382
  }(external_react_default.a.Component);
39410
39383
  slider_SliderComponent.propTypes = {
39411
39384
  background: external_prop_types_default.a.string,
@@ -39501,7 +39474,7 @@ function color_picker_defineProperty(obj, key, value) { key = color_picker_toPro
39501
39474
  function color_picker_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
39502
39475
  function color_picker_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, color_picker_toPropertyKey(descriptor.key), descriptor); } }
39503
39476
  function color_picker_createClass(Constructor, protoProps, staticProps) { if (protoProps) color_picker_defineProperties(Constructor.prototype, protoProps); if (staticProps) color_picker_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
39504
- function color_picker_toPropertyKey(t) { var i = color_picker_toPrimitive(t, "string"); return "symbol" == color_picker_typeof(i) ? i : String(i); }
39477
+ function color_picker_toPropertyKey(t) { var i = color_picker_toPrimitive(t, "string"); return "symbol" == color_picker_typeof(i) ? i : i + ""; }
39505
39478
  function color_picker_toPrimitive(t, r) { if ("object" != color_picker_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != color_picker_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39506
39479
  function color_picker_callSuper(t, o, e) { return o = color_picker_getPrototypeOf(o), color_picker_possibleConstructorReturn(t, color_picker_isNativeReflectConstruct() ? Reflect.construct(o, e || [], color_picker_getPrototypeOf(t).constructor) : o.apply(t, e)); }
39507
39480
  function color_picker_possibleConstructorReturn(self, call) { if (call && (color_picker_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return color_picker_assertThisInitialized(self); }
@@ -39542,12 +39515,12 @@ var color_picker_messages = Object(external_react_intl_["defineMessages"])({
39542
39515
  }
39543
39516
  });
39544
39517
  var color_picker_ColorPickerComponent = /*#__PURE__*/function (_React$Component) {
39545
- color_picker_inherits(ColorPickerComponent, _React$Component);
39546
39518
  function ColorPickerComponent() {
39547
39519
  color_picker_classCallCheck(this, ColorPickerComponent);
39548
39520
  return color_picker_callSuper(this, ColorPickerComponent, arguments);
39549
39521
  }
39550
- color_picker_createClass(ColorPickerComponent, [{
39522
+ color_picker_inherits(ColorPickerComponent, _React$Component);
39523
+ return color_picker_createClass(ColorPickerComponent, [{
39551
39524
  key: "_makeBackground",
39552
39525
  value: function _makeBackground(channel) {
39553
39526
  var stops = [];
@@ -39723,7 +39696,6 @@ var color_picker_ColorPickerComponent = /*#__PURE__*/function (_React$Component)
39723
39696
  })))));
39724
39697
  }
39725
39698
  }]);
39726
- return ColorPickerComponent;
39727
39699
  }(external_react_default.a.Component);
39728
39700
  color_picker_ColorPickerComponent.propTypes = {
39729
39701
  brightness: external_prop_types_default.a.number.isRequired,
@@ -39757,13 +39729,13 @@ function containers_color_picker_typeof(o) { "@babel/helpers - typeof"; return c
39757
39729
  function containers_color_picker_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
39758
39730
  function containers_color_picker_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, containers_color_picker_toPropertyKey(descriptor.key), descriptor); } }
39759
39731
  function containers_color_picker_createClass(Constructor, protoProps, staticProps) { if (protoProps) containers_color_picker_defineProperties(Constructor.prototype, protoProps); if (staticProps) containers_color_picker_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
39760
- function containers_color_picker_toPropertyKey(t) { var i = containers_color_picker_toPrimitive(t, "string"); return "symbol" == containers_color_picker_typeof(i) ? i : String(i); }
39732
+ function containers_color_picker_toPropertyKey(t) { var i = containers_color_picker_toPrimitive(t, "string"); return "symbol" == containers_color_picker_typeof(i) ? i : i + ""; }
39761
39733
  function containers_color_picker_toPrimitive(t, r) { if ("object" != containers_color_picker_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != containers_color_picker_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39762
39734
  function containers_color_picker_callSuper(t, o, e) { return o = containers_color_picker_getPrototypeOf(o), containers_color_picker_possibleConstructorReturn(t, containers_color_picker_isNativeReflectConstruct() ? Reflect.construct(o, e || [], containers_color_picker_getPrototypeOf(t).constructor) : o.apply(t, e)); }
39763
39735
  function containers_color_picker_possibleConstructorReturn(self, call) { if (call && (containers_color_picker_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return containers_color_picker_assertThisInitialized(self); }
39736
+ function containers_color_picker_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39764
39737
  function containers_color_picker_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (containers_color_picker_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
39765
39738
  function containers_color_picker_getPrototypeOf(o) { containers_color_picker_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return containers_color_picker_getPrototypeOf(o); }
39766
- function containers_color_picker_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39767
39739
  function containers_color_picker_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) containers_color_picker_setPrototypeOf(subClass, superClass); }
39768
39740
  function containers_color_picker_setPrototypeOf(o, p) { containers_color_picker_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return containers_color_picker_setPrototypeOf(o, p); }
39769
39741
 
@@ -39801,12 +39773,11 @@ var containers_color_picker_hsvToHex = function hsvToHex(h, s, v) {
39801
39773
  // This is to make the HSV <=> RGB conversion stable. The sliders manage their
39802
39774
  // own changes until unmounted or color changes with props.isEyeDropping = true.
39803
39775
  var color_picker_ColorPicker = /*#__PURE__*/function (_React$Component) {
39804
- containers_color_picker_inherits(ColorPicker, _React$Component);
39805
39776
  function ColorPicker(props) {
39806
39777
  var _this;
39807
39778
  containers_color_picker_classCallCheck(this, ColorPicker);
39808
39779
  _this = containers_color_picker_callSuper(this, ColorPicker, [props]);
39809
- lodash_bindall_default()(containers_color_picker_assertThisInitialized(_this), ['getHsv', 'handleChangeGradientTypeHorizontal', 'handleChangeGradientTypeRadial', 'handleChangeGradientTypeSolid', 'handleChangeGradientTypeVertical', 'handleHueChange', 'handleSaturationChange', 'handleBrightnessChange', 'handleTransparent', 'handleActivateEyeDropper']);
39780
+ lodash_bindall_default()(_this, ['getHsv', 'handleChangeGradientTypeHorizontal', 'handleChangeGradientTypeRadial', 'handleChangeGradientTypeSolid', 'handleChangeGradientTypeVertical', 'handleHueChange', 'handleSaturationChange', 'handleBrightnessChange', 'handleTransparent', 'handleActivateEyeDropper']);
39810
39781
  var color = props.colorIndex === 0 ? props.color : props.color2;
39811
39782
  var hsv = _this.getHsv(color);
39812
39783
  _this.state = {
@@ -39816,7 +39787,8 @@ var color_picker_ColorPicker = /*#__PURE__*/function (_React$Component) {
39816
39787
  };
39817
39788
  return _this;
39818
39789
  }
39819
- containers_color_picker_createClass(ColorPicker, [{
39790
+ containers_color_picker_inherits(ColorPicker, _React$Component);
39791
+ return containers_color_picker_createClass(ColorPicker, [{
39820
39792
  key: "componentWillReceiveProps",
39821
39793
  value: function componentWillReceiveProps(newProps) {
39822
39794
  var color = newProps.colorIndex === 0 ? this.props.color : this.props.color2;
@@ -39935,7 +39907,6 @@ var color_picker_ColorPicker = /*#__PURE__*/function (_React$Component) {
39935
39907
  });
39936
39908
  }
39937
39909
  }]);
39938
- return ColorPicker;
39939
39910
  }(external_react_default.a.Component);
39940
39911
  color_picker_ColorPicker.propTypes = {
39941
39912
  color: external_prop_types_default.a.string,
@@ -39985,7 +39956,7 @@ var input_group_default = /*#__PURE__*/__webpack_require__.n(input_group);
39985
39956
  // CONCATENATED MODULE: ./src/components/input-group/input-group.jsx
39986
39957
  function input_group_typeof(o) { "@babel/helpers - typeof"; return input_group_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, input_group_typeof(o); }
39987
39958
  function input_group_defineProperty(obj, key, value) { key = input_group_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
39988
- function input_group_toPropertyKey(t) { var i = input_group_toPrimitive(t, "string"); return "symbol" == input_group_typeof(i) ? i : String(i); }
39959
+ function input_group_toPropertyKey(t) { var i = input_group_toPrimitive(t, "string"); return "symbol" == input_group_typeof(i) ? i : i + ""; }
39989
39960
  function input_group_toPrimitive(t, r) { if ("object" != input_group_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != input_group_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39990
39961
 
39991
39962
 
@@ -40091,13 +40062,13 @@ function color_indicator_extends() { color_indicator_extends = Object.assign ? O
40091
40062
  function color_indicator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
40092
40063
  function color_indicator_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, color_indicator_toPropertyKey(descriptor.key), descriptor); } }
40093
40064
  function color_indicator_createClass(Constructor, protoProps, staticProps) { if (protoProps) color_indicator_defineProperties(Constructor.prototype, protoProps); if (staticProps) color_indicator_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
40094
- function color_indicator_toPropertyKey(t) { var i = color_indicator_toPrimitive(t, "string"); return "symbol" == color_indicator_typeof(i) ? i : String(i); }
40065
+ function color_indicator_toPropertyKey(t) { var i = color_indicator_toPrimitive(t, "string"); return "symbol" == color_indicator_typeof(i) ? i : i + ""; }
40095
40066
  function color_indicator_toPrimitive(t, r) { if ("object" != color_indicator_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != color_indicator_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
40096
40067
  function color_indicator_callSuper(t, o, e) { return o = color_indicator_getPrototypeOf(o), color_indicator_possibleConstructorReturn(t, color_indicator_isNativeReflectConstruct() ? Reflect.construct(o, e || [], color_indicator_getPrototypeOf(t).constructor) : o.apply(t, e)); }
40097
40068
  function color_indicator_possibleConstructorReturn(self, call) { if (call && (color_indicator_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return color_indicator_assertThisInitialized(self); }
40069
+ function color_indicator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40098
40070
  function color_indicator_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (color_indicator_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
40099
40071
  function color_indicator_getPrototypeOf(o) { color_indicator_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return color_indicator_getPrototypeOf(o); }
40100
- function color_indicator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40101
40072
  function color_indicator_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) color_indicator_setPrototypeOf(subClass, superClass); }
40102
40073
  function color_indicator_setPrototypeOf(o, p) { color_indicator_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return color_indicator_setPrototypeOf(o, p); }
40103
40074
 
@@ -40112,18 +40083,18 @@ function color_indicator_setPrototypeOf(o, p) { color_indicator_setPrototypeOf =
40112
40083
 
40113
40084
  var color_indicator_makeColorIndicator = function makeColorIndicator(label, isStroke) {
40114
40085
  var ColorIndicator = /*#__PURE__*/function (_React$Component) {
40115
- color_indicator_inherits(ColorIndicator, _React$Component);
40116
40086
  function ColorIndicator(props) {
40117
40087
  var _this;
40118
40088
  color_indicator_classCallCheck(this, ColorIndicator);
40119
40089
  _this = color_indicator_callSuper(this, ColorIndicator, [props]);
40120
- lodash_bindall_default()(color_indicator_assertThisInitialized(_this), ['handleChangeColor', 'handleChangeGradientType', 'handleCloseColor', 'handleSwap']);
40090
+ lodash_bindall_default()(_this, ['handleChangeColor', 'handleChangeGradientType', 'handleCloseColor', 'handleSwap']);
40121
40091
 
40122
40092
  // Flag to track whether an svg-update-worthy change has been made
40123
40093
  _this._hasChanged = false;
40124
40094
  return _this;
40125
40095
  }
40126
- color_indicator_createClass(ColorIndicator, [{
40096
+ color_indicator_inherits(ColorIndicator, _React$Component);
40097
+ return color_indicator_createClass(ColorIndicator, [{
40127
40098
  key: "componentWillReceiveProps",
40128
40099
  value: function componentWillReceiveProps(newProps) {
40129
40100
  var _this$props = this.props,
@@ -40231,7 +40202,6 @@ var color_indicator_makeColorIndicator = function makeColorIndicator(label, isSt
40231
40202
  }));
40232
40203
  }
40233
40204
  }]);
40234
- return ColorIndicator;
40235
40205
  }(external_react_default.a.Component);
40236
40206
  ColorIndicator.propTypes = {
40237
40207
  colorIndex: external_prop_types_default.a.number.isRequired,
@@ -40384,7 +40354,7 @@ function tools_fill_tool_typeof(o) { "@babel/helpers - typeof"; return tools_fil
40384
40354
  function tools_fill_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
40385
40355
  function tools_fill_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, tools_fill_tool_toPropertyKey(descriptor.key), descriptor); } }
40386
40356
  function tools_fill_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) tools_fill_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) tools_fill_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
40387
- function tools_fill_tool_toPropertyKey(t) { var i = tools_fill_tool_toPrimitive(t, "string"); return "symbol" == tools_fill_tool_typeof(i) ? i : String(i); }
40357
+ function tools_fill_tool_toPropertyKey(t) { var i = tools_fill_tool_toPrimitive(t, "string"); return "symbol" == tools_fill_tool_typeof(i) ? i : i + ""; }
40388
40358
  function tools_fill_tool_toPrimitive(t, r) { if ("object" != tools_fill_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != tools_fill_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
40389
40359
  function tools_fill_tool_callSuper(t, o, e) { return o = tools_fill_tool_getPrototypeOf(o), tools_fill_tool_possibleConstructorReturn(t, tools_fill_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], tools_fill_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
40390
40360
  function tools_fill_tool_possibleConstructorReturn(self, call) { if (call && (tools_fill_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return tools_fill_tool_assertThisInitialized(self); }
@@ -40399,7 +40369,6 @@ function tools_fill_tool_setPrototypeOf(o, p) { tools_fill_tool_setPrototypeOf =
40399
40369
 
40400
40370
 
40401
40371
  var tools_fill_tool_FillTool = /*#__PURE__*/function (_paper$Tool) {
40402
- tools_fill_tool_inherits(FillTool, _paper$Tool);
40403
40372
  /**
40404
40373
  * @param {function} setHoveredItem Callback to set the hovered item
40405
40374
  * @param {function} clearHoveredItem Callback to clear the hovered item
@@ -40435,7 +40404,8 @@ var tools_fill_tool_FillTool = /*#__PURE__*/function (_paper$Tool) {
40435
40404
  _this.prevHoveredItemId = null;
40436
40405
  return _this;
40437
40406
  }
40438
- tools_fill_tool_createClass(FillTool, [{
40407
+ tools_fill_tool_inherits(FillTool, _paper$Tool);
40408
+ return tools_fill_tool_createClass(FillTool, [{
40439
40409
  key: "getHitOptions",
40440
40410
  value: function getHitOptions() {
40441
40411
  var isAlmostClosedPath = function isAlmostClosedPath(item) {
@@ -40658,7 +40628,6 @@ var tools_fill_tool_FillTool = /*#__PURE__*/function (_paper$Tool) {
40658
40628
  return 2;
40659
40629
  }
40660
40630
  }]);
40661
- return FillTool;
40662
40631
  }(paper_full_default.a.Tool);
40663
40632
  /* harmony default export */ var tools_fill_tool = (tools_fill_tool_FillTool);
40664
40633
  // EXTERNAL MODULE: ./src/components/fill-mode/fill.svg
@@ -40689,13 +40658,13 @@ function fill_mode_typeof(o) { "@babel/helpers - typeof"; return fill_mode_typeo
40689
40658
  function fill_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
40690
40659
  function fill_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, fill_mode_toPropertyKey(descriptor.key), descriptor); } }
40691
40660
  function fill_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) fill_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) fill_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
40692
- function fill_mode_toPropertyKey(t) { var i = fill_mode_toPrimitive(t, "string"); return "symbol" == fill_mode_typeof(i) ? i : String(i); }
40661
+ function fill_mode_toPropertyKey(t) { var i = fill_mode_toPrimitive(t, "string"); return "symbol" == fill_mode_typeof(i) ? i : i + ""; }
40693
40662
  function fill_mode_toPrimitive(t, r) { if ("object" != fill_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fill_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
40694
40663
  function fill_mode_callSuper(t, o, e) { return o = fill_mode_getPrototypeOf(o), fill_mode_possibleConstructorReturn(t, fill_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], fill_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
40695
40664
  function fill_mode_possibleConstructorReturn(self, call) { if (call && (fill_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return fill_mode_assertThisInitialized(self); }
40665
+ function fill_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40696
40666
  function fill_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (fill_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
40697
40667
  function fill_mode_getPrototypeOf(o) { fill_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return fill_mode_getPrototypeOf(o); }
40698
- function fill_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40699
40668
  function fill_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) fill_mode_setPrototypeOf(subClass, superClass); }
40700
40669
  function fill_mode_setPrototypeOf(o, p) { fill_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return fill_mode_setPrototypeOf(o, p); }
40701
40670
 
@@ -40714,15 +40683,15 @@ function fill_mode_setPrototypeOf(o, p) { fill_mode_setPrototypeOf = Object.setP
40714
40683
 
40715
40684
 
40716
40685
  var fill_mode_FillMode = /*#__PURE__*/function (_React$Component) {
40717
- fill_mode_inherits(FillMode, _React$Component);
40718
40686
  function FillMode(props) {
40719
40687
  var _this;
40720
40688
  fill_mode_classCallCheck(this, FillMode);
40721
40689
  _this = fill_mode_callSuper(this, FillMode, [props]);
40722
- lodash_bindall_default()(fill_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
40690
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
40723
40691
  return _this;
40724
40692
  }
40725
- fill_mode_createClass(FillMode, [{
40693
+ fill_mode_inherits(FillMode, _React$Component);
40694
+ return fill_mode_createClass(FillMode, [{
40726
40695
  key: "componentDidMount",
40727
40696
  value: function componentDidMount() {
40728
40697
  if (this.props.isFillModeActive) {
@@ -40811,7 +40780,6 @@ var fill_mode_FillMode = /*#__PURE__*/function (_React$Component) {
40811
40780
  });
40812
40781
  }
40813
40782
  }]);
40814
- return FillMode;
40815
40783
  }(external_react_default.a.Component);
40816
40784
  fill_mode_FillMode.propTypes = {
40817
40785
  changeGradientType: external_prop_types_default.a.func.isRequired,
@@ -40967,7 +40935,7 @@ function stroke_style_typeof(o) { "@babel/helpers - typeof"; return stroke_style
40967
40935
  function stroke_style_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
40968
40936
  function stroke_style_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? stroke_style_ownKeys(Object(t), !0).forEach(function (r) { stroke_style_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : stroke_style_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
40969
40937
  function stroke_style_defineProperty(obj, key, value) { key = stroke_style_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
40970
- function stroke_style_toPropertyKey(t) { var i = stroke_style_toPrimitive(t, "string"); return "symbol" == stroke_style_typeof(i) ? i : String(i); }
40938
+ function stroke_style_toPropertyKey(t) { var i = stroke_style_toPrimitive(t, "string"); return "symbol" == stroke_style_typeof(i) ? i : i + ""; }
40971
40939
  function stroke_style_toPrimitive(t, r) { if ("object" != stroke_style_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != stroke_style_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
40972
40940
 
40973
40941
  var CHANGE_STROKE_COLOR = 'scratch-paint/stroke-style/CHANGE_STROKE_COLOR';
@@ -41058,13 +41026,13 @@ function line_mode_typeof(o) { "@babel/helpers - typeof"; return line_mode_typeo
41058
41026
  function line_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41059
41027
  function line_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, line_mode_toPropertyKey(descriptor.key), descriptor); } }
41060
41028
  function line_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) line_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) line_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41061
- function line_mode_toPropertyKey(t) { var i = line_mode_toPrimitive(t, "string"); return "symbol" == line_mode_typeof(i) ? i : String(i); }
41029
+ function line_mode_toPropertyKey(t) { var i = line_mode_toPrimitive(t, "string"); return "symbol" == line_mode_typeof(i) ? i : i + ""; }
41062
41030
  function line_mode_toPrimitive(t, r) { if ("object" != line_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != line_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
41063
41031
  function line_mode_callSuper(t, o, e) { return o = line_mode_getPrototypeOf(o), line_mode_possibleConstructorReturn(t, line_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], line_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
41064
41032
  function line_mode_possibleConstructorReturn(self, call) { if (call && (line_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return line_mode_assertThisInitialized(self); }
41033
+ function line_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41065
41034
  function line_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (line_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
41066
41035
  function line_mode_getPrototypeOf(o) { line_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return line_mode_getPrototypeOf(o); }
41067
- function line_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41068
41036
  function line_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) line_mode_setPrototypeOf(subClass, superClass); }
41069
41037
  function line_mode_setPrototypeOf(o, p) { line_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return line_mode_setPrototypeOf(o, p); }
41070
41038
 
@@ -41085,15 +41053,15 @@ function line_mode_setPrototypeOf(o, p) { line_mode_setPrototypeOf = Object.setP
41085
41053
 
41086
41054
 
41087
41055
  var line_mode_LineMode = /*#__PURE__*/function (_React$Component) {
41088
- line_mode_inherits(LineMode, _React$Component);
41089
41056
  function LineMode(props) {
41090
41057
  var _this;
41091
41058
  line_mode_classCallCheck(this, LineMode);
41092
41059
  _this = line_mode_callSuper(this, LineMode, [props]);
41093
- lodash_bindall_default()(line_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool', 'drawHitPoint', 'onMouseDown', 'onMouseMove', 'onMouseDrag', 'onMouseUp']);
41060
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool', 'drawHitPoint', 'onMouseDown', 'onMouseMove', 'onMouseDrag', 'onMouseUp']);
41094
41061
  return _this;
41095
41062
  }
41096
- line_mode_createClass(LineMode, [{
41063
+ line_mode_inherits(LineMode, _React$Component);
41064
+ return line_mode_createClass(LineMode, [{
41097
41065
  key: "componentDidMount",
41098
41066
  value: function componentDidMount() {
41099
41067
  if (this.props.isLineModeActive) {
@@ -41348,7 +41316,6 @@ var line_mode_LineMode = /*#__PURE__*/function (_React$Component) {
41348
41316
  return '#000000';
41349
41317
  }
41350
41318
  }]);
41351
- return LineMode;
41352
41319
  }(external_react_default.a.Component);
41353
41320
  line_mode_LineMode.propTypes = {
41354
41321
  clearSelectedItems: external_prop_types_default.a.func.isRequired,
@@ -41395,7 +41362,7 @@ function eye_dropper_typeof(o) { "@babel/helpers - typeof"; return eye_dropper_t
41395
41362
  function eye_dropper_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41396
41363
  function eye_dropper_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, eye_dropper_toPropertyKey(descriptor.key), descriptor); } }
41397
41364
  function eye_dropper_createClass(Constructor, protoProps, staticProps) { if (protoProps) eye_dropper_defineProperties(Constructor.prototype, protoProps); if (staticProps) eye_dropper_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41398
- function eye_dropper_toPropertyKey(t) { var i = eye_dropper_toPrimitive(t, "string"); return "symbol" == eye_dropper_typeof(i) ? i : String(i); }
41365
+ function eye_dropper_toPropertyKey(t) { var i = eye_dropper_toPrimitive(t, "string"); return "symbol" == eye_dropper_typeof(i) ? i : i + ""; }
41399
41366
  function eye_dropper_toPrimitive(t, r) { if ("object" != eye_dropper_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != eye_dropper_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
41400
41367
  function eye_dropper_callSuper(t, o, e) { return o = eye_dropper_getPrototypeOf(o), eye_dropper_possibleConstructorReturn(t, eye_dropper_isNativeReflectConstruct() ? Reflect.construct(o, e || [], eye_dropper_getPrototypeOf(t).constructor) : o.apply(t, e)); }
41401
41368
  function eye_dropper_possibleConstructorReturn(self, call) { if (call && (eye_dropper_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return eye_dropper_assertThisInitialized(self); }
@@ -41409,7 +41376,6 @@ function eye_dropper_setPrototypeOf(o, p) { eye_dropper_setPrototypeOf = Object.
41409
41376
  var LOUPE_RADIUS = 20;
41410
41377
  var ZOOM_SCALE = 3;
41411
41378
  var eye_dropper_EyeDropperTool = /*#__PURE__*/function (_paper$Tool) {
41412
- eye_dropper_inherits(EyeDropperTool, _paper$Tool);
41413
41379
  function EyeDropperTool(canvas, width, height, pixelRatio, zoom, offsetX, offsetY, isBitmap) {
41414
41380
  var _this;
41415
41381
  eye_dropper_classCallCheck(this, EyeDropperTool);
@@ -41450,7 +41416,8 @@ var eye_dropper_EyeDropperTool = /*#__PURE__*/function (_paper$Tool) {
41450
41416
  _this.hideLoupe = true;
41451
41417
  return _this;
41452
41418
  }
41453
- eye_dropper_createClass(EyeDropperTool, [{
41419
+ eye_dropper_inherits(EyeDropperTool, _paper$Tool);
41420
+ return eye_dropper_createClass(EyeDropperTool, [{
41454
41421
  key: "handleMouseMove",
41455
41422
  value: function handleMouseMove(event) {
41456
41423
  // Set the pickX/Y for the color picker loop to pick up
@@ -41510,7 +41477,6 @@ var eye_dropper_EyeDropperTool = /*#__PURE__*/function (_paper$Tool) {
41510
41477
  };
41511
41478
  }
41512
41479
  }]);
41513
- return EyeDropperTool;
41514
41480
  }(paper_full_default.a.Tool);
41515
41481
 
41516
41482
  // EXTERNAL MODULE: ./src/components/loupe/loupe.css
@@ -41526,13 +41492,13 @@ function loupe_objectWithoutPropertiesLoose(source, excluded) { if (source == nu
41526
41492
  function loupe_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41527
41493
  function loupe_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, loupe_toPropertyKey(descriptor.key), descriptor); } }
41528
41494
  function loupe_createClass(Constructor, protoProps, staticProps) { if (protoProps) loupe_defineProperties(Constructor.prototype, protoProps); if (staticProps) loupe_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41529
- function loupe_toPropertyKey(t) { var i = loupe_toPrimitive(t, "string"); return "symbol" == loupe_typeof(i) ? i : String(i); }
41495
+ function loupe_toPropertyKey(t) { var i = loupe_toPrimitive(t, "string"); return "symbol" == loupe_typeof(i) ? i : i + ""; }
41530
41496
  function loupe_toPrimitive(t, r) { if ("object" != loupe_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != loupe_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
41531
41497
  function loupe_callSuper(t, o, e) { return o = loupe_getPrototypeOf(o), loupe_possibleConstructorReturn(t, loupe_isNativeReflectConstruct() ? Reflect.construct(o, e || [], loupe_getPrototypeOf(t).constructor) : o.apply(t, e)); }
41532
41498
  function loupe_possibleConstructorReturn(self, call) { if (call && (loupe_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return loupe_assertThisInitialized(self); }
41499
+ function loupe_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41533
41500
  function loupe_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (loupe_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
41534
41501
  function loupe_getPrototypeOf(o) { loupe_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return loupe_getPrototypeOf(o); }
41535
- function loupe_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41536
41502
  function loupe_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) loupe_setPrototypeOf(subClass, superClass); }
41537
41503
  function loupe_setPrototypeOf(o, p) { loupe_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return loupe_setPrototypeOf(o, p); }
41538
41504
 
@@ -41542,15 +41508,15 @@ function loupe_setPrototypeOf(o, p) { loupe_setPrototypeOf = Object.setPrototype
41542
41508
 
41543
41509
 
41544
41510
  var loupe_LoupeComponent = /*#__PURE__*/function (_React$Component) {
41545
- loupe_inherits(LoupeComponent, _React$Component);
41546
41511
  function LoupeComponent(props) {
41547
41512
  var _this;
41548
41513
  loupe_classCallCheck(this, LoupeComponent);
41549
41514
  _this = loupe_callSuper(this, LoupeComponent, [props]);
41550
- lodash_bindall_default()(loupe_assertThisInitialized(_this), ['setCanvas']);
41515
+ lodash_bindall_default()(_this, ['setCanvas']);
41551
41516
  return _this;
41552
41517
  }
41553
- loupe_createClass(LoupeComponent, [{
41518
+ loupe_inherits(LoupeComponent, _React$Component);
41519
+ return loupe_createClass(LoupeComponent, [{
41554
41520
  key: "componentDidUpdate",
41555
41521
  value: function componentDidUpdate() {
41556
41522
  this.draw();
@@ -41640,7 +41606,6 @@ var loupe_LoupeComponent = /*#__PURE__*/function (_React$Component) {
41640
41606
  }));
41641
41607
  }
41642
41608
  }]);
41643
- return LoupeComponent;
41644
41609
  }(external_react_default.a.Component);
41645
41610
  loupe_LoupeComponent.propTypes = {
41646
41611
  colorInfo: external_prop_types_default.a.shape({
@@ -41739,13 +41704,13 @@ function buffered_input_hoc_extends() { buffered_input_hoc_extends = Object.assi
41739
41704
  function buffered_input_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41740
41705
  function buffered_input_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, buffered_input_hoc_toPropertyKey(descriptor.key), descriptor); } }
41741
41706
  function buffered_input_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) buffered_input_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) buffered_input_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41742
- function buffered_input_hoc_toPropertyKey(t) { var i = buffered_input_hoc_toPrimitive(t, "string"); return "symbol" == buffered_input_hoc_typeof(i) ? i : String(i); }
41707
+ function buffered_input_hoc_toPropertyKey(t) { var i = buffered_input_hoc_toPrimitive(t, "string"); return "symbol" == buffered_input_hoc_typeof(i) ? i : i + ""; }
41743
41708
  function buffered_input_hoc_toPrimitive(t, r) { if ("object" != buffered_input_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != buffered_input_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
41744
41709
  function buffered_input_hoc_callSuper(t, o, e) { return o = buffered_input_hoc_getPrototypeOf(o), buffered_input_hoc_possibleConstructorReturn(t, buffered_input_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], buffered_input_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
41745
41710
  function buffered_input_hoc_possibleConstructorReturn(self, call) { if (call && (buffered_input_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return buffered_input_hoc_assertThisInitialized(self); }
41711
+ function buffered_input_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41746
41712
  function buffered_input_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (buffered_input_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
41747
41713
  function buffered_input_hoc_getPrototypeOf(o) { buffered_input_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return buffered_input_hoc_getPrototypeOf(o); }
41748
- function buffered_input_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41749
41714
  function buffered_input_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) buffered_input_hoc_setPrototypeOf(subClass, superClass); }
41750
41715
  function buffered_input_hoc_setPrototypeOf(o, p) { buffered_input_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return buffered_input_hoc_setPrototypeOf(o, p); }
41751
41716
  /* DO NOT EDIT
@@ -41763,18 +41728,18 @@ See https://github.com/LLK/scratch-paint/issues/13 */
41763
41728
  */
41764
41729
  /* harmony default export */ var buffered_input_hoc = (function (Input) {
41765
41730
  var BufferedInput = /*#__PURE__*/function (_React$Component) {
41766
- buffered_input_hoc_inherits(BufferedInput, _React$Component);
41767
41731
  function BufferedInput(props) {
41768
41732
  var _this;
41769
41733
  buffered_input_hoc_classCallCheck(this, BufferedInput);
41770
41734
  _this = buffered_input_hoc_callSuper(this, BufferedInput, [props]);
41771
- lodash_bindall_default()(buffered_input_hoc_assertThisInitialized(_this), ['handleChange', 'handleKeyPress', 'handleFlush']);
41735
+ lodash_bindall_default()(_this, ['handleChange', 'handleKeyPress', 'handleFlush']);
41772
41736
  _this.state = {
41773
41737
  value: null
41774
41738
  };
41775
41739
  return _this;
41776
41740
  }
41777
- buffered_input_hoc_createClass(BufferedInput, [{
41741
+ buffered_input_hoc_inherits(BufferedInput, _React$Component);
41742
+ return buffered_input_hoc_createClass(BufferedInput, [{
41778
41743
  key: "handleKeyPress",
41779
41744
  value: function handleKeyPress(e) {
41780
41745
  if (e.key === 'Enter') {
@@ -41813,7 +41778,6 @@ See https://github.com/LLK/scratch-paint/issues/13 */
41813
41778
  }));
41814
41779
  }
41815
41780
  }]);
41816
- return BufferedInput;
41817
41781
  }(external_react_default.a.Component);
41818
41782
  BufferedInput.propTypes = {
41819
41783
  onSubmit: external_prop_types_default.a.func.isRequired,
@@ -41836,13 +41800,13 @@ function dropdown_defineProperty(obj, key, value) { key = dropdown_toPropertyKey
41836
41800
  function dropdown_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41837
41801
  function dropdown_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, dropdown_toPropertyKey(descriptor.key), descriptor); } }
41838
41802
  function dropdown_createClass(Constructor, protoProps, staticProps) { if (protoProps) dropdown_defineProperties(Constructor.prototype, protoProps); if (staticProps) dropdown_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41839
- function dropdown_toPropertyKey(t) { var i = dropdown_toPrimitive(t, "string"); return "symbol" == dropdown_typeof(i) ? i : String(i); }
41803
+ function dropdown_toPropertyKey(t) { var i = dropdown_toPrimitive(t, "string"); return "symbol" == dropdown_typeof(i) ? i : i + ""; }
41840
41804
  function dropdown_toPrimitive(t, r) { if ("object" != dropdown_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != dropdown_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
41841
41805
  function dropdown_callSuper(t, o, e) { return o = dropdown_getPrototypeOf(o), dropdown_possibleConstructorReturn(t, dropdown_isNativeReflectConstruct() ? Reflect.construct(o, e || [], dropdown_getPrototypeOf(t).constructor) : o.apply(t, e)); }
41842
41806
  function dropdown_possibleConstructorReturn(self, call) { if (call && (dropdown_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return dropdown_assertThisInitialized(self); }
41807
+ function dropdown_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41843
41808
  function dropdown_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (dropdown_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
41844
41809
  function dropdown_getPrototypeOf(o) { dropdown_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return dropdown_getPrototypeOf(o); }
41845
- function dropdown_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41846
41810
  function dropdown_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) dropdown_setPrototypeOf(subClass, superClass); }
41847
41811
  function dropdown_setPrototypeOf(o, p) { dropdown_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return dropdown_setPrototypeOf(o, p); }
41848
41812
 
@@ -41853,18 +41817,18 @@ function dropdown_setPrototypeOf(o, p) { dropdown_setPrototypeOf = Object.setPro
41853
41817
 
41854
41818
 
41855
41819
  var dropdown_Dropdown = /*#__PURE__*/function (_React$Component) {
41856
- dropdown_inherits(Dropdown, _React$Component);
41857
41820
  function Dropdown(props) {
41858
41821
  var _this;
41859
41822
  dropdown_classCallCheck(this, Dropdown);
41860
41823
  _this = dropdown_callSuper(this, Dropdown, [props]);
41861
- lodash_bindall_default()(dropdown_assertThisInitialized(_this), ['handleClosePopover', 'handleToggleOpenState', 'isOpen']);
41824
+ lodash_bindall_default()(_this, ['handleClosePopover', 'handleToggleOpenState', 'isOpen']);
41862
41825
  _this.state = {
41863
41826
  isOpen: false
41864
41827
  };
41865
41828
  return _this;
41866
41829
  }
41867
- dropdown_createClass(Dropdown, [{
41830
+ dropdown_inherits(Dropdown, _React$Component);
41831
+ return dropdown_createClass(Dropdown, [{
41868
41832
  key: "handleClosePopover",
41869
41833
  value: function handleClosePopover() {
41870
41834
  this.setState({
@@ -41905,7 +41869,6 @@ var dropdown_Dropdown = /*#__PURE__*/function (_React$Component) {
41905
41869
  })));
41906
41870
  }
41907
41871
  }]);
41908
- return Dropdown;
41909
41872
  }(external_react_default.a.Component);
41910
41873
  dropdown_Dropdown.propTypes = {
41911
41874
  children: external_prop_types_default.a.node.isRequired,
@@ -41924,7 +41887,7 @@ function input_typeof(o) { "@babel/helpers - typeof"; return input_typeof = "fun
41924
41887
  var input_excluded = ["small", "range"];
41925
41888
  function input_extends() { input_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return input_extends.apply(this, arguments); }
41926
41889
  function input_defineProperty(obj, key, value) { key = input_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
41927
- function input_toPropertyKey(t) { var i = input_toPrimitive(t, "string"); return "symbol" == input_typeof(i) ? i : String(i); }
41890
+ function input_toPropertyKey(t) { var i = input_toPrimitive(t, "string"); return "symbol" == input_typeof(i) ? i : i + ""; }
41928
41891
  function input_toPrimitive(t, r) { if ("object" != input_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != input_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
41929
41892
  function input_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = input_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
41930
41893
  function input_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -42007,7 +41970,7 @@ var ungroup_default = /*#__PURE__*/__webpack_require__.n(ungroup);
42007
41970
  // CONCATENATED MODULE: ./src/components/fixed-tools/fixed-tools.jsx
42008
41971
  function fixed_tools_typeof(o) { "@babel/helpers - typeof"; return fixed_tools_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, fixed_tools_typeof(o); }
42009
41972
  function fixed_tools_defineProperty(obj, key, value) { key = fixed_tools_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
42010
- function fixed_tools_toPropertyKey(t) { var i = fixed_tools_toPrimitive(t, "string"); return "symbol" == fixed_tools_typeof(i) ? i : String(i); }
41973
+ function fixed_tools_toPropertyKey(t) { var i = fixed_tools_toPrimitive(t, "string"); return "symbol" == fixed_tools_typeof(i) ? i : i + ""; }
42011
41974
  function fixed_tools_toPrimitive(t, r) { if ("object" != fixed_tools_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fixed_tools_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
42012
41975
 
42013
41976
 
@@ -42293,13 +42256,13 @@ function containers_fixed_tools_typeof(o) { "@babel/helpers - typeof"; return co
42293
42256
  function fixed_tools_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
42294
42257
  function fixed_tools_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, containers_fixed_tools_toPropertyKey(descriptor.key), descriptor); } }
42295
42258
  function fixed_tools_createClass(Constructor, protoProps, staticProps) { if (protoProps) fixed_tools_defineProperties(Constructor.prototype, protoProps); if (staticProps) fixed_tools_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
42296
- function containers_fixed_tools_toPropertyKey(t) { var i = containers_fixed_tools_toPrimitive(t, "string"); return "symbol" == containers_fixed_tools_typeof(i) ? i : String(i); }
42259
+ function containers_fixed_tools_toPropertyKey(t) { var i = containers_fixed_tools_toPrimitive(t, "string"); return "symbol" == containers_fixed_tools_typeof(i) ? i : i + ""; }
42297
42260
  function containers_fixed_tools_toPrimitive(t, r) { if ("object" != containers_fixed_tools_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != containers_fixed_tools_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
42298
42261
  function fixed_tools_callSuper(t, o, e) { return o = fixed_tools_getPrototypeOf(o), fixed_tools_possibleConstructorReturn(t, fixed_tools_isNativeReflectConstruct() ? Reflect.construct(o, e || [], fixed_tools_getPrototypeOf(t).constructor) : o.apply(t, e)); }
42299
42262
  function fixed_tools_possibleConstructorReturn(self, call) { if (call && (containers_fixed_tools_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return fixed_tools_assertThisInitialized(self); }
42263
+ function fixed_tools_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
42300
42264
  function fixed_tools_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (fixed_tools_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
42301
42265
  function fixed_tools_getPrototypeOf(o) { fixed_tools_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return fixed_tools_getPrototypeOf(o); }
42302
- function fixed_tools_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
42303
42266
  function fixed_tools_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) fixed_tools_setPrototypeOf(subClass, superClass); }
42304
42267
  function fixed_tools_setPrototypeOf(o, p) { fixed_tools_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return fixed_tools_setPrototypeOf(o, p); }
42305
42268
 
@@ -42318,15 +42281,15 @@ function fixed_tools_setPrototypeOf(o, p) { fixed_tools_setPrototypeOf = Object.
42318
42281
 
42319
42282
 
42320
42283
  var fixed_tools_FixedTools = /*#__PURE__*/function (_React$Component) {
42321
- fixed_tools_inherits(FixedTools, _React$Component);
42322
42284
  function FixedTools(props) {
42323
42285
  var _this;
42324
42286
  fixed_tools_classCallCheck(this, FixedTools);
42325
42287
  _this = fixed_tools_callSuper(this, FixedTools, [props]);
42326
- lodash_bindall_default()(fixed_tools_assertThisInitialized(_this), ['handleSendBackward', 'handleSendForward', 'handleSendToBack', 'handleSendToFront', 'handleSetSelectedItems', 'handleGroup', 'handleUngroup']);
42288
+ lodash_bindall_default()(_this, ['handleSendBackward', 'handleSendForward', 'handleSendToBack', 'handleSendToFront', 'handleSetSelectedItems', 'handleGroup', 'handleUngroup']);
42327
42289
  return _this;
42328
42290
  }
42329
- fixed_tools_createClass(FixedTools, [{
42291
+ fixed_tools_inherits(FixedTools, _React$Component);
42292
+ return fixed_tools_createClass(FixedTools, [{
42330
42293
  key: "handleGroup",
42331
42294
  value: function handleGroup() {
42332
42295
  group_groupSelection(this.props.clearSelectedItems, this.handleSetSelectedItems, this.props.onUpdateImage);
@@ -42381,7 +42344,6 @@ var fixed_tools_FixedTools = /*#__PURE__*/function (_React$Component) {
42381
42344
  });
42382
42345
  }
42383
42346
  }]);
42384
- return FixedTools;
42385
42347
  }(external_react_default.a.Component);
42386
42348
  fixed_tools_FixedTools.propTypes = {
42387
42349
  canRedo: external_prop_types_default.a.func.isRequired,
@@ -42450,13 +42412,13 @@ function copy_paste_hoc_arrayLikeToArray(arr, len) { if (len == null || len > ar
42450
42412
  function copy_paste_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
42451
42413
  function copy_paste_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, copy_paste_hoc_toPropertyKey(descriptor.key), descriptor); } }
42452
42414
  function copy_paste_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) copy_paste_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) copy_paste_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
42453
- function copy_paste_hoc_toPropertyKey(t) { var i = copy_paste_hoc_toPrimitive(t, "string"); return "symbol" == copy_paste_hoc_typeof(i) ? i : String(i); }
42415
+ function copy_paste_hoc_toPropertyKey(t) { var i = copy_paste_hoc_toPrimitive(t, "string"); return "symbol" == copy_paste_hoc_typeof(i) ? i : i + ""; }
42454
42416
  function copy_paste_hoc_toPrimitive(t, r) { if ("object" != copy_paste_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != copy_paste_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
42455
42417
  function copy_paste_hoc_callSuper(t, o, e) { return o = copy_paste_hoc_getPrototypeOf(o), copy_paste_hoc_possibleConstructorReturn(t, copy_paste_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], copy_paste_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
42456
42418
  function copy_paste_hoc_possibleConstructorReturn(self, call) { if (call && (copy_paste_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return copy_paste_hoc_assertThisInitialized(self); }
42419
+ function copy_paste_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
42457
42420
  function copy_paste_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (copy_paste_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
42458
42421
  function copy_paste_hoc_getPrototypeOf(o) { copy_paste_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return copy_paste_hoc_getPrototypeOf(o); }
42459
- function copy_paste_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
42460
42422
  function copy_paste_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) copy_paste_hoc_setPrototypeOf(subClass, superClass); }
42461
42423
  function copy_paste_hoc_setPrototypeOf(o, p) { copy_paste_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return copy_paste_hoc_setPrototypeOf(o, p); }
42462
42424
 
@@ -42473,15 +42435,15 @@ function copy_paste_hoc_setPrototypeOf(o, p) { copy_paste_hoc_setPrototypeOf = O
42473
42435
 
42474
42436
  var copy_paste_hoc_CopyPasteHOC = function CopyPasteHOC(WrappedComponent) {
42475
42437
  var CopyPasteWrapper = /*#__PURE__*/function (_React$Component) {
42476
- copy_paste_hoc_inherits(CopyPasteWrapper, _React$Component);
42477
42438
  function CopyPasteWrapper(props) {
42478
42439
  var _this;
42479
42440
  copy_paste_hoc_classCallCheck(this, CopyPasteWrapper);
42480
42441
  _this = copy_paste_hoc_callSuper(this, CopyPasteWrapper, [props]);
42481
- lodash_bindall_default()(copy_paste_hoc_assertThisInitialized(_this), ['handleCopy', 'handlePaste']);
42442
+ lodash_bindall_default()(_this, ['handleCopy', 'handlePaste']);
42482
42443
  return _this;
42483
42444
  }
42484
- copy_paste_hoc_createClass(CopyPasteWrapper, [{
42445
+ copy_paste_hoc_inherits(CopyPasteWrapper, _React$Component);
42446
+ return copy_paste_hoc_createClass(CopyPasteWrapper, [{
42485
42447
  key: "handleCopy",
42486
42448
  value: function handleCopy() {
42487
42449
  var selectedItems = [];
@@ -42565,7 +42527,6 @@ var copy_paste_hoc_CopyPasteHOC = function CopyPasteHOC(WrappedComponent) {
42565
42527
  }, componentProps));
42566
42528
  }
42567
42529
  }]);
42568
- return CopyPasteWrapper;
42569
42530
  }(external_react_default.a.Component);
42570
42531
  CopyPasteWrapper.propTypes = {
42571
42532
  clearSelectedItems: external_prop_types_default.a.func.isRequired,
@@ -42879,13 +42840,13 @@ function font_dropdown_arrayLikeToArray(arr, len) { if (len == null || len > arr
42879
42840
  function font_dropdown_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
42880
42841
  function font_dropdown_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, font_dropdown_toPropertyKey(descriptor.key), descriptor); } }
42881
42842
  function font_dropdown_createClass(Constructor, protoProps, staticProps) { if (protoProps) font_dropdown_defineProperties(Constructor.prototype, protoProps); if (staticProps) font_dropdown_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
42882
- function font_dropdown_toPropertyKey(t) { var i = font_dropdown_toPrimitive(t, "string"); return "symbol" == font_dropdown_typeof(i) ? i : String(i); }
42843
+ function font_dropdown_toPropertyKey(t) { var i = font_dropdown_toPrimitive(t, "string"); return "symbol" == font_dropdown_typeof(i) ? i : i + ""; }
42883
42844
  function font_dropdown_toPrimitive(t, r) { if ("object" != font_dropdown_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != font_dropdown_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
42884
42845
  function font_dropdown_callSuper(t, o, e) { return o = font_dropdown_getPrototypeOf(o), font_dropdown_possibleConstructorReturn(t, font_dropdown_isNativeReflectConstruct() ? Reflect.construct(o, e || [], font_dropdown_getPrototypeOf(t).constructor) : o.apply(t, e)); }
42885
42846
  function font_dropdown_possibleConstructorReturn(self, call) { if (call && (font_dropdown_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return font_dropdown_assertThisInitialized(self); }
42847
+ function font_dropdown_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
42886
42848
  function font_dropdown_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (font_dropdown_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
42887
42849
  function font_dropdown_getPrototypeOf(o) { font_dropdown_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return font_dropdown_getPrototypeOf(o); }
42888
- function font_dropdown_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
42889
42850
  function font_dropdown_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) font_dropdown_setPrototypeOf(subClass, superClass); }
42890
42851
  function font_dropdown_setPrototypeOf(o, p) { font_dropdown_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return font_dropdown_setPrototypeOf(o, p); }
42891
42852
 
@@ -42899,15 +42860,15 @@ function font_dropdown_setPrototypeOf(o, p) { font_dropdown_setPrototypeOf = Obj
42899
42860
 
42900
42861
 
42901
42862
  var font_dropdown_FontDropdown = /*#__PURE__*/function (_React$Component) {
42902
- font_dropdown_inherits(FontDropdown, _React$Component);
42903
42863
  function FontDropdown(props) {
42904
42864
  var _this;
42905
42865
  font_dropdown_classCallCheck(this, FontDropdown);
42906
42866
  _this = font_dropdown_callSuper(this, FontDropdown, [props]);
42907
- lodash_bindall_default()(font_dropdown_assertThisInitialized(_this), ['getFontStyle', 'getFontName', 'handleChangeFontSerif', 'handleChangeFontSansSerif', 'handleChangeFontHandwriting', 'handleChangeFontMarker', 'handleChangeFontCurly', 'handleChangeFontPixel', 'handleChangeFontChinese', 'handleChangeFontJapanese', 'handleChangeFontKorean', 'handleOpenDropdown', 'handleClickOutsideDropdown', 'setDropdown', 'handleChoose']);
42867
+ lodash_bindall_default()(_this, ['getFontStyle', 'getFontName', 'handleChangeFontSerif', 'handleChangeFontSansSerif', 'handleChangeFontHandwriting', 'handleChangeFontMarker', 'handleChangeFontCurly', 'handleChangeFontPixel', 'handleChangeFontChinese', 'handleChangeFontJapanese', 'handleChangeFontKorean', 'handleOpenDropdown', 'handleClickOutsideDropdown', 'setDropdown', 'handleChoose']);
42908
42868
  return _this;
42909
42869
  }
42910
- font_dropdown_createClass(FontDropdown, [{
42870
+ font_dropdown_inherits(FontDropdown, _React$Component);
42871
+ return font_dropdown_createClass(FontDropdown, [{
42911
42872
  key: "getFontStyle",
42912
42873
  value: function getFontStyle(font) {
42913
42874
  switch (font) {
@@ -43077,7 +43038,6 @@ var font_dropdown_FontDropdown = /*#__PURE__*/function (_React$Component) {
43077
43038
  });
43078
43039
  }
43079
43040
  }]);
43080
- return FontDropdown;
43081
43041
  }(external_react_default.a.Component);
43082
43042
  font_dropdown_FontDropdown.propTypes = {
43083
43043
  changeFont: external_prop_types_default.a.func.isRequired,
@@ -43103,13 +43063,13 @@ function live_input_hoc_extends() { live_input_hoc_extends = Object.assign ? Obj
43103
43063
  function live_input_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
43104
43064
  function live_input_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, live_input_hoc_toPropertyKey(descriptor.key), descriptor); } }
43105
43065
  function live_input_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) live_input_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) live_input_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
43106
- function live_input_hoc_toPropertyKey(t) { var i = live_input_hoc_toPrimitive(t, "string"); return "symbol" == live_input_hoc_typeof(i) ? i : String(i); }
43066
+ function live_input_hoc_toPropertyKey(t) { var i = live_input_hoc_toPrimitive(t, "string"); return "symbol" == live_input_hoc_typeof(i) ? i : i + ""; }
43107
43067
  function live_input_hoc_toPrimitive(t, r) { if ("object" != live_input_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != live_input_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
43108
43068
  function live_input_hoc_callSuper(t, o, e) { return o = live_input_hoc_getPrototypeOf(o), live_input_hoc_possibleConstructorReturn(t, live_input_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], live_input_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
43109
43069
  function live_input_hoc_possibleConstructorReturn(self, call) { if (call && (live_input_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return live_input_hoc_assertThisInitialized(self); }
43070
+ function live_input_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43110
43071
  function live_input_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (live_input_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
43111
43072
  function live_input_hoc_getPrototypeOf(o) { live_input_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return live_input_hoc_getPrototypeOf(o); }
43112
- function live_input_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43113
43073
  function live_input_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) live_input_hoc_setPrototypeOf(subClass, superClass); }
43114
43074
  function live_input_hoc_setPrototypeOf(o, p) { live_input_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return live_input_hoc_setPrototypeOf(o, p); }
43115
43075
 
@@ -43123,18 +43083,18 @@ function live_input_hoc_setPrototypeOf(o, p) { live_input_hoc_setPrototypeOf = O
43123
43083
  */
43124
43084
  /* harmony default export */ var live_input_hoc = (function (Input) {
43125
43085
  var LiveInput = /*#__PURE__*/function (_React$Component) {
43126
- live_input_hoc_inherits(LiveInput, _React$Component);
43127
43086
  function LiveInput(props) {
43128
43087
  var _this;
43129
43088
  live_input_hoc_classCallCheck(this, LiveInput);
43130
43089
  _this = live_input_hoc_callSuper(this, LiveInput, [props]);
43131
- lodash_bindall_default()(live_input_hoc_assertThisInitialized(_this), ['handleChange', 'handleKeyPress', 'handleFlush']);
43090
+ lodash_bindall_default()(_this, ['handleChange', 'handleKeyPress', 'handleFlush']);
43132
43091
  _this.state = {
43133
43092
  value: null
43134
43093
  };
43135
43094
  return _this;
43136
43095
  }
43137
- live_input_hoc_createClass(LiveInput, [{
43096
+ live_input_hoc_inherits(LiveInput, _React$Component);
43097
+ return live_input_hoc_createClass(LiveInput, [{
43138
43098
  key: "handleKeyPress",
43139
43099
  value: function handleKeyPress(e) {
43140
43100
  if (e.key === 'Enter') {
@@ -43180,7 +43140,6 @@ function live_input_hoc_setPrototypeOf(o, p) { live_input_hoc_setPrototypeOf = O
43180
43140
  }));
43181
43141
  }
43182
43142
  }]);
43183
- return LiveInput;
43184
43143
  }(external_react_default.a.Component);
43185
43144
  LiveInput.propTypes = {
43186
43145
  max: external_prop_types_default.a.oneOfType([external_prop_types_default.a.number, external_prop_types_default.a.string]),
@@ -43551,13 +43510,13 @@ function mode_tools_arrayLikeToArray(arr, len) { if (len == null || len > arr.le
43551
43510
  function mode_tools_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
43552
43511
  function mode_tools_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, mode_tools_toPropertyKey(descriptor.key), descriptor); } }
43553
43512
  function mode_tools_createClass(Constructor, protoProps, staticProps) { if (protoProps) mode_tools_defineProperties(Constructor.prototype, protoProps); if (staticProps) mode_tools_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
43554
- function mode_tools_toPropertyKey(t) { var i = mode_tools_toPrimitive(t, "string"); return "symbol" == mode_tools_typeof(i) ? i : String(i); }
43513
+ function mode_tools_toPropertyKey(t) { var i = mode_tools_toPrimitive(t, "string"); return "symbol" == mode_tools_typeof(i) ? i : i + ""; }
43555
43514
  function mode_tools_toPrimitive(t, r) { if ("object" != mode_tools_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != mode_tools_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
43556
43515
  function mode_tools_callSuper(t, o, e) { return o = mode_tools_getPrototypeOf(o), mode_tools_possibleConstructorReturn(t, mode_tools_isNativeReflectConstruct() ? Reflect.construct(o, e || [], mode_tools_getPrototypeOf(t).constructor) : o.apply(t, e)); }
43557
43516
  function mode_tools_possibleConstructorReturn(self, call) { if (call && (mode_tools_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return mode_tools_assertThisInitialized(self); }
43517
+ function mode_tools_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43558
43518
  function mode_tools_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (mode_tools_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
43559
43519
  function mode_tools_getPrototypeOf(o) { mode_tools_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return mode_tools_getPrototypeOf(o); }
43560
- function mode_tools_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43561
43520
  function mode_tools_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) mode_tools_setPrototypeOf(subClass, superClass); }
43562
43521
  function mode_tools_setPrototypeOf(o, p) { mode_tools_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return mode_tools_setPrototypeOf(o, p); }
43563
43522
 
@@ -43575,15 +43534,15 @@ function mode_tools_setPrototypeOf(o, p) { mode_tools_setPrototypeOf = Object.se
43575
43534
 
43576
43535
 
43577
43536
  var mode_tools_ModeTools = /*#__PURE__*/function (_React$Component) {
43578
- mode_tools_inherits(ModeTools, _React$Component);
43579
43537
  function ModeTools(props) {
43580
43538
  var _this;
43581
43539
  mode_tools_classCallCheck(this, ModeTools);
43582
43540
  _this = mode_tools_callSuper(this, ModeTools, [props]);
43583
- lodash_bindall_default()(mode_tools_assertThisInitialized(_this), ['_getSelectedUncurvedPoints', '_getSelectedUnpointedPoints', 'hasSelectedUncurvedPoints', 'hasSelectedUnpointedPoints', 'handleCurvePoints', 'handleFlipHorizontal', 'handleFlipVertical', 'handleDelete', 'handlePasteFromClipboard', 'handlePointPoints']);
43541
+ lodash_bindall_default()(_this, ['_getSelectedUncurvedPoints', '_getSelectedUnpointedPoints', 'hasSelectedUncurvedPoints', 'hasSelectedUnpointedPoints', 'handleCurvePoints', 'handleFlipHorizontal', 'handleFlipVertical', 'handleDelete', 'handlePasteFromClipboard', 'handlePointPoints']);
43584
43542
  return _this;
43585
43543
  }
43586
- mode_tools_createClass(ModeTools, [{
43544
+ mode_tools_inherits(ModeTools, _React$Component);
43545
+ return mode_tools_createClass(ModeTools, [{
43587
43546
  key: "_getSelectedUncurvedPoints",
43588
43547
  value: function _getSelectedUncurvedPoints() {
43589
43548
  var items = [];
@@ -43843,7 +43802,6 @@ var mode_tools_ModeTools = /*#__PURE__*/function (_React$Component) {
43843
43802
  });
43844
43803
  }
43845
43804
  }]);
43846
- return ModeTools;
43847
43805
  }(external_react_default.a.Component);
43848
43806
  mode_tools_ModeTools.propTypes = {
43849
43807
  clearSelectedItems: external_prop_types_default.a.func.isRequired,
@@ -43880,7 +43838,7 @@ function tools_oval_tool_typeof(o) { "@babel/helpers - typeof"; return tools_ova
43880
43838
  function tools_oval_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
43881
43839
  function tools_oval_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, tools_oval_tool_toPropertyKey(descriptor.key), descriptor); } }
43882
43840
  function tools_oval_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) tools_oval_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) tools_oval_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
43883
- function tools_oval_tool_toPropertyKey(t) { var i = tools_oval_tool_toPrimitive(t, "string"); return "symbol" == tools_oval_tool_typeof(i) ? i : String(i); }
43841
+ function tools_oval_tool_toPropertyKey(t) { var i = tools_oval_tool_toPrimitive(t, "string"); return "symbol" == tools_oval_tool_typeof(i) ? i : i + ""; }
43884
43842
  function tools_oval_tool_toPrimitive(t, r) { if ("object" != tools_oval_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != tools_oval_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
43885
43843
  function tools_oval_tool_callSuper(t, o, e) { return o = tools_oval_tool_getPrototypeOf(o), tools_oval_tool_possibleConstructorReturn(t, tools_oval_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], tools_oval_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
43886
43844
  function tools_oval_tool_possibleConstructorReturn(self, call) { if (call && (tools_oval_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return tools_oval_tool_assertThisInitialized(self); }
@@ -43901,7 +43859,6 @@ function tools_oval_tool_setPrototypeOf(o, p) { tools_oval_tool_setPrototypeOf =
43901
43859
  * Tool for drawing ovals.
43902
43860
  */
43903
43861
  var tools_oval_tool_OvalTool = /*#__PURE__*/function (_paper$Tool) {
43904
- tools_oval_tool_inherits(OvalTool, _paper$Tool);
43905
43862
  /**
43906
43863
  * @param {function} setSelectedItems Callback to set the set of selected items in the Redux state
43907
43864
  * @param {function} clearSelectedItems Callback to clear the set of selected items in the Redux state
@@ -43932,7 +43889,8 @@ var tools_oval_tool_OvalTool = /*#__PURE__*/function (_paper$Tool) {
43932
43889
  _this.active = false;
43933
43890
  return _this;
43934
43891
  }
43935
- tools_oval_tool_createClass(OvalTool, [{
43892
+ tools_oval_tool_inherits(OvalTool, _paper$Tool);
43893
+ return tools_oval_tool_createClass(OvalTool, [{
43936
43894
  key: "getHitOptions",
43937
43895
  value: function getHitOptions() {
43938
43896
  return {
@@ -44047,7 +44005,6 @@ var tools_oval_tool_OvalTool = /*#__PURE__*/function (_paper$Tool) {
44047
44005
  return 2;
44048
44006
  }
44049
44007
  }]);
44050
- return OvalTool;
44051
44008
  }(paper_full_default.a.Tool);
44052
44009
  /* harmony default export */ var tools_oval_tool = (tools_oval_tool_OvalTool);
44053
44010
  // EXTERNAL MODULE: ./src/components/oval-mode/oval.svg
@@ -44078,13 +44035,13 @@ function oval_mode_typeof(o) { "@babel/helpers - typeof"; return oval_mode_typeo
44078
44035
  function oval_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
44079
44036
  function oval_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, oval_mode_toPropertyKey(descriptor.key), descriptor); } }
44080
44037
  function oval_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) oval_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) oval_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
44081
- function oval_mode_toPropertyKey(t) { var i = oval_mode_toPrimitive(t, "string"); return "symbol" == oval_mode_typeof(i) ? i : String(i); }
44038
+ function oval_mode_toPropertyKey(t) { var i = oval_mode_toPrimitive(t, "string"); return "symbol" == oval_mode_typeof(i) ? i : i + ""; }
44082
44039
  function oval_mode_toPrimitive(t, r) { if ("object" != oval_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != oval_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
44083
44040
  function oval_mode_callSuper(t, o, e) { return o = oval_mode_getPrototypeOf(o), oval_mode_possibleConstructorReturn(t, oval_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], oval_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
44084
44041
  function oval_mode_possibleConstructorReturn(self, call) { if (call && (oval_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return oval_mode_assertThisInitialized(self); }
44042
+ function oval_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
44085
44043
  function oval_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (oval_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
44086
44044
  function oval_mode_getPrototypeOf(o) { oval_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return oval_mode_getPrototypeOf(o); }
44087
- function oval_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
44088
44045
  function oval_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) oval_mode_setPrototypeOf(subClass, superClass); }
44089
44046
  function oval_mode_setPrototypeOf(o, p) { oval_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return oval_mode_setPrototypeOf(o, p); }
44090
44047
 
@@ -44105,15 +44062,15 @@ function oval_mode_setPrototypeOf(o, p) { oval_mode_setPrototypeOf = Object.setP
44105
44062
 
44106
44063
 
44107
44064
  var oval_mode_OvalMode = /*#__PURE__*/function (_React$Component) {
44108
- oval_mode_inherits(OvalMode, _React$Component);
44109
44065
  function OvalMode(props) {
44110
44066
  var _this;
44111
44067
  oval_mode_classCallCheck(this, OvalMode);
44112
44068
  _this = oval_mode_callSuper(this, OvalMode, [props]);
44113
- lodash_bindall_default()(oval_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool', 'validateColorState']);
44069
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool', 'validateColorState']);
44114
44070
  return _this;
44115
44071
  }
44116
- oval_mode_createClass(OvalMode, [{
44072
+ oval_mode_inherits(OvalMode, _React$Component);
44073
+ return oval_mode_createClass(OvalMode, [{
44117
44074
  key: "componentDidMount",
44118
44075
  value: function componentDidMount() {
44119
44076
  if (this.props.isOvalModeActive) {
@@ -44210,7 +44167,6 @@ var oval_mode_OvalMode = /*#__PURE__*/function (_React$Component) {
44210
44167
  });
44211
44168
  }
44212
44169
  }]);
44213
- return OvalMode;
44214
44170
  }(external_react_default.a.Component);
44215
44171
  oval_mode_OvalMode.propTypes = {
44216
44172
  clearFillGradient: external_prop_types_default.a.func.isRequired,
@@ -44271,7 +44227,7 @@ function tools_rect_tool_typeof(o) { "@babel/helpers - typeof"; return tools_rec
44271
44227
  function tools_rect_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
44272
44228
  function tools_rect_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, tools_rect_tool_toPropertyKey(descriptor.key), descriptor); } }
44273
44229
  function tools_rect_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) tools_rect_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) tools_rect_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
44274
- function tools_rect_tool_toPropertyKey(t) { var i = tools_rect_tool_toPrimitive(t, "string"); return "symbol" == tools_rect_tool_typeof(i) ? i : String(i); }
44230
+ function tools_rect_tool_toPropertyKey(t) { var i = tools_rect_tool_toPrimitive(t, "string"); return "symbol" == tools_rect_tool_typeof(i) ? i : i + ""; }
44275
44231
  function tools_rect_tool_toPrimitive(t, r) { if ("object" != tools_rect_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != tools_rect_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
44276
44232
  function tools_rect_tool_callSuper(t, o, e) { return o = tools_rect_tool_getPrototypeOf(o), tools_rect_tool_possibleConstructorReturn(t, tools_rect_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], tools_rect_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
44277
44233
  function tools_rect_tool_possibleConstructorReturn(self, call) { if (call && (tools_rect_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return tools_rect_tool_assertThisInitialized(self); }
@@ -44292,7 +44248,6 @@ function tools_rect_tool_setPrototypeOf(o, p) { tools_rect_tool_setPrototypeOf =
44292
44248
  * Tool for drawing rectangles.
44293
44249
  */
44294
44250
  var tools_rect_tool_RectTool = /*#__PURE__*/function (_paper$Tool) {
44295
- tools_rect_tool_inherits(RectTool, _paper$Tool);
44296
44251
  /**
44297
44252
  * @param {function} setSelectedItems Callback to set the set of selected items in the Redux state
44298
44253
  * @param {function} clearSelectedItems Callback to clear the set of selected items in the Redux state
@@ -44323,7 +44278,8 @@ var tools_rect_tool_RectTool = /*#__PURE__*/function (_paper$Tool) {
44323
44278
  _this.active = false;
44324
44279
  return _this;
44325
44280
  }
44326
- tools_rect_tool_createClass(RectTool, [{
44281
+ tools_rect_tool_inherits(RectTool, _paper$Tool);
44282
+ return tools_rect_tool_createClass(RectTool, [{
44327
44283
  key: "getHitOptions",
44328
44284
  value: function getHitOptions() {
44329
44285
  return {
@@ -44433,7 +44389,6 @@ var tools_rect_tool_RectTool = /*#__PURE__*/function (_paper$Tool) {
44433
44389
  return 2;
44434
44390
  }
44435
44391
  }]);
44436
- return RectTool;
44437
44392
  }(paper_full_default.a.Tool);
44438
44393
  /* harmony default export */ var tools_rect_tool = (tools_rect_tool_RectTool);
44439
44394
  // EXTERNAL MODULE: ./src/components/rect-mode/rectangle.svg
@@ -44464,13 +44419,13 @@ function rect_mode_typeof(o) { "@babel/helpers - typeof"; return rect_mode_typeo
44464
44419
  function rect_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
44465
44420
  function rect_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, rect_mode_toPropertyKey(descriptor.key), descriptor); } }
44466
44421
  function rect_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) rect_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) rect_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
44467
- function rect_mode_toPropertyKey(t) { var i = rect_mode_toPrimitive(t, "string"); return "symbol" == rect_mode_typeof(i) ? i : String(i); }
44422
+ function rect_mode_toPropertyKey(t) { var i = rect_mode_toPrimitive(t, "string"); return "symbol" == rect_mode_typeof(i) ? i : i + ""; }
44468
44423
  function rect_mode_toPrimitive(t, r) { if ("object" != rect_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rect_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
44469
44424
  function rect_mode_callSuper(t, o, e) { return o = rect_mode_getPrototypeOf(o), rect_mode_possibleConstructorReturn(t, rect_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], rect_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
44470
44425
  function rect_mode_possibleConstructorReturn(self, call) { if (call && (rect_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return rect_mode_assertThisInitialized(self); }
44426
+ function rect_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
44471
44427
  function rect_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (rect_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
44472
44428
  function rect_mode_getPrototypeOf(o) { rect_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return rect_mode_getPrototypeOf(o); }
44473
- function rect_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
44474
44429
  function rect_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) rect_mode_setPrototypeOf(subClass, superClass); }
44475
44430
  function rect_mode_setPrototypeOf(o, p) { rect_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return rect_mode_setPrototypeOf(o, p); }
44476
44431
 
@@ -44491,15 +44446,15 @@ function rect_mode_setPrototypeOf(o, p) { rect_mode_setPrototypeOf = Object.setP
44491
44446
 
44492
44447
 
44493
44448
  var rect_mode_RectMode = /*#__PURE__*/function (_React$Component) {
44494
- rect_mode_inherits(RectMode, _React$Component);
44495
44449
  function RectMode(props) {
44496
44450
  var _this;
44497
44451
  rect_mode_classCallCheck(this, RectMode);
44498
44452
  _this = rect_mode_callSuper(this, RectMode, [props]);
44499
- lodash_bindall_default()(rect_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool', 'validateColorState']);
44453
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool', 'validateColorState']);
44500
44454
  return _this;
44501
44455
  }
44502
- rect_mode_createClass(RectMode, [{
44456
+ rect_mode_inherits(RectMode, _React$Component);
44457
+ return rect_mode_createClass(RectMode, [{
44503
44458
  key: "componentDidMount",
44504
44459
  value: function componentDidMount() {
44505
44460
  if (this.props.isRectModeActive) {
@@ -44597,7 +44552,6 @@ var rect_mode_RectMode = /*#__PURE__*/function (_React$Component) {
44597
44552
  });
44598
44553
  }
44599
44554
  }]);
44600
- return RectMode;
44601
44555
  }(external_react_default.a.Component);
44602
44556
  rect_mode_RectMode.propTypes = {
44603
44557
  clearFillGradient: external_prop_types_default.a.func.isRequired,
@@ -44661,7 +44615,7 @@ function point_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.le
44661
44615
  function point_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
44662
44616
  function point_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, point_tool_toPropertyKey(descriptor.key), descriptor); } }
44663
44617
  function point_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) point_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) point_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
44664
- function point_tool_toPropertyKey(t) { var i = point_tool_toPrimitive(t, "string"); return "symbol" == point_tool_typeof(i) ? i : String(i); }
44618
+ function point_tool_toPropertyKey(t) { var i = point_tool_toPrimitive(t, "string"); return "symbol" == point_tool_typeof(i) ? i : i + ""; }
44665
44619
  function point_tool_toPrimitive(t, r) { if ("object" != point_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != point_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
44666
44620
 
44667
44621
 
@@ -44704,7 +44658,7 @@ var point_tool_PointTool = /*#__PURE__*/function () {
44704
44658
  * @param {?boolean} hitProperties.multiselect Whether to multiselect on mouse down (e.g. shift key held)
44705
44659
  * @param {?boolean} hitProperties.doubleClicked Whether this is the second click in a short time
44706
44660
  */
44707
- point_tool_createClass(PointTool, [{
44661
+ return point_tool_createClass(PointTool, [{
44708
44662
  key: "onMouseDown",
44709
44663
  value: function onMouseDown(hitProperties) {
44710
44664
  // Remove point
@@ -44856,7 +44810,6 @@ var point_tool_PointTool = /*#__PURE__*/function () {
44856
44810
  }
44857
44811
  }
44858
44812
  }]);
44859
- return PointTool;
44860
44813
  }();
44861
44814
  /* harmony default export */ var point_tool = (point_tool_PointTool);
44862
44815
  // CONCATENATED MODULE: ./src/helper/selection-tools/handle-tool.js
@@ -44867,7 +44820,7 @@ function handle_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.l
44867
44820
  function handle_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
44868
44821
  function handle_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, handle_tool_toPropertyKey(descriptor.key), descriptor); } }
44869
44822
  function handle_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) handle_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) handle_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
44870
- function handle_tool_toPropertyKey(t) { var i = handle_tool_toPrimitive(t, "string"); return "symbol" == handle_tool_typeof(i) ? i : String(i); }
44823
+ function handle_tool_toPropertyKey(t) { var i = handle_tool_toPrimitive(t, "string"); return "symbol" == handle_tool_typeof(i) ? i : i + ""; }
44871
44824
  function handle_tool_toPrimitive(t, r) { if ("object" != handle_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != handle_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
44872
44825
 
44873
44826
 
@@ -44891,7 +44844,7 @@ var handle_tool_HandleTool = /*#__PURE__*/function () {
44891
44844
  * @param {?boolean} hitProperties.multiselect Whether to multiselect on mouse down (e.g. shift key held)
44892
44845
  * select the whole group.
44893
44846
  */
44894
- handle_tool_createClass(HandleTool, [{
44847
+ return handle_tool_createClass(HandleTool, [{
44895
44848
  key: "onMouseDown",
44896
44849
  value: function onMouseDown(hitProperties) {
44897
44850
  if (!hitProperties.multiselect) {
@@ -44993,7 +44946,6 @@ var handle_tool_HandleTool = /*#__PURE__*/function () {
44993
44946
  this.selectedItems = [];
44994
44947
  }
44995
44948
  }]);
44996
- return HandleTool;
44997
44949
  }();
44998
44950
  /* harmony default export */ var handle_tool = (handle_tool_HandleTool);
44999
44951
  // CONCATENATED MODULE: ./src/helper/selection-tools/reshape-tool.js
@@ -45004,7 +44956,7 @@ function reshape_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.
45004
44956
  function reshape_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
45005
44957
  function reshape_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, reshape_tool_toPropertyKey(descriptor.key), descriptor); } }
45006
44958
  function reshape_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) reshape_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) reshape_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
45007
- function reshape_tool_toPropertyKey(t) { var i = reshape_tool_toPrimitive(t, "string"); return "symbol" == reshape_tool_typeof(i) ? i : String(i); }
44959
+ function reshape_tool_toPropertyKey(t) { var i = reshape_tool_toPrimitive(t, "string"); return "symbol" == reshape_tool_typeof(i) ? i : i + ""; }
45008
44960
  function reshape_tool_toPrimitive(t, r) { if ("object" != reshape_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != reshape_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
45009
44961
  function reshape_tool_callSuper(t, o, e) { return o = reshape_tool_getPrototypeOf(o), reshape_tool_possibleConstructorReturn(t, reshape_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], reshape_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
45010
44962
  function reshape_tool_possibleConstructorReturn(self, call) { if (call && (reshape_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return reshape_tool_assertThisInitialized(self); }
@@ -45045,7 +44997,6 @@ var ReshapeModes = keymirror_default()({
45045
44997
  * - Handle tool, which translates handles, changing the shape of curves
45046
44998
  */
45047
44999
  var reshape_tool_ReshapeTool = /*#__PURE__*/function (_paper$Tool) {
45048
- reshape_tool_inherits(ReshapeTool, _paper$Tool);
45049
45000
  /**
45050
45001
  * @param {function} setHoveredItem Callback to set the hovered item
45051
45002
  * @param {function} clearHoveredItem Callback to clear the hovered item
@@ -45092,7 +45043,8 @@ var reshape_tool_ReshapeTool = /*#__PURE__*/function (_paper$Tool) {
45092
45043
  * to be grabbable. (Segments are the little circles)
45093
45044
  * @return {object} See paper.Item.hitTest for definition of options
45094
45045
  */
45095
- reshape_tool_createClass(ReshapeTool, [{
45046
+ reshape_tool_inherits(ReshapeTool, _paper$Tool);
45047
+ return reshape_tool_createClass(ReshapeTool, [{
45096
45048
  key: "getSelectedSegmentHitOptions",
45097
45049
  value: function getSelectedSegmentHitOptions() {
45098
45050
  var hitOptions = {
@@ -45425,7 +45377,6 @@ var reshape_tool_ReshapeTool = /*#__PURE__*/function (_paper$Tool) {
45425
45377
  return 250;
45426
45378
  }
45427
45379
  }]);
45428
- return ReshapeTool;
45429
45380
  }(paper_full_default.a.Tool);
45430
45381
  /* harmony default export */ var reshape_tool = (reshape_tool_ReshapeTool);
45431
45382
  // EXTERNAL MODULE: ./src/components/reshape-mode/reshape.svg
@@ -45456,13 +45407,13 @@ function reshape_mode_typeof(o) { "@babel/helpers - typeof"; return reshape_mode
45456
45407
  function reshape_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
45457
45408
  function reshape_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, reshape_mode_toPropertyKey(descriptor.key), descriptor); } }
45458
45409
  function reshape_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) reshape_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) reshape_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
45459
- function reshape_mode_toPropertyKey(t) { var i = reshape_mode_toPrimitive(t, "string"); return "symbol" == reshape_mode_typeof(i) ? i : String(i); }
45410
+ function reshape_mode_toPropertyKey(t) { var i = reshape_mode_toPrimitive(t, "string"); return "symbol" == reshape_mode_typeof(i) ? i : i + ""; }
45460
45411
  function reshape_mode_toPrimitive(t, r) { if ("object" != reshape_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != reshape_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
45461
45412
  function reshape_mode_callSuper(t, o, e) { return o = reshape_mode_getPrototypeOf(o), reshape_mode_possibleConstructorReturn(t, reshape_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], reshape_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
45462
45413
  function reshape_mode_possibleConstructorReturn(self, call) { if (call && (reshape_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return reshape_mode_assertThisInitialized(self); }
45414
+ function reshape_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
45463
45415
  function reshape_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (reshape_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
45464
45416
  function reshape_mode_getPrototypeOf(o) { reshape_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return reshape_mode_getPrototypeOf(o); }
45465
- function reshape_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
45466
45417
  function reshape_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) reshape_mode_setPrototypeOf(subClass, superClass); }
45467
45418
  function reshape_mode_setPrototypeOf(o, p) { reshape_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return reshape_mode_setPrototypeOf(o, p); }
45468
45419
 
@@ -45477,15 +45428,15 @@ function reshape_mode_setPrototypeOf(o, p) { reshape_mode_setPrototypeOf = Objec
45477
45428
 
45478
45429
 
45479
45430
  var reshape_mode_ReshapeMode = /*#__PURE__*/function (_React$Component) {
45480
- reshape_mode_inherits(ReshapeMode, _React$Component);
45481
45431
  function ReshapeMode(props) {
45482
45432
  var _this;
45483
45433
  reshape_mode_classCallCheck(this, ReshapeMode);
45484
45434
  _this = reshape_mode_callSuper(this, ReshapeMode, [props]);
45485
- lodash_bindall_default()(reshape_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
45435
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
45486
45436
  return _this;
45487
45437
  }
45488
- reshape_mode_createClass(ReshapeMode, [{
45438
+ reshape_mode_inherits(ReshapeMode, _React$Component);
45439
+ return reshape_mode_createClass(ReshapeMode, [{
45489
45440
  key: "componentDidMount",
45490
45441
  value: function componentDidMount() {
45491
45442
  if (this.props.isReshapeModeActive) {
@@ -45540,7 +45491,6 @@ var reshape_mode_ReshapeMode = /*#__PURE__*/function (_React$Component) {
45540
45491
  });
45541
45492
  }
45542
45493
  }]);
45543
- return ReshapeMode;
45544
45494
  }(external_react_default.a.Component);
45545
45495
  reshape_mode_ReshapeMode.propTypes = {
45546
45496
  clearHoveredItem: external_prop_types_default.a.func.isRequired,
@@ -45587,7 +45537,7 @@ function selection_tools_select_tool_typeof(o) { "@babel/helpers - typeof"; retu
45587
45537
  function selection_tools_select_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
45588
45538
  function selection_tools_select_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, selection_tools_select_tool_toPropertyKey(descriptor.key), descriptor); } }
45589
45539
  function selection_tools_select_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) selection_tools_select_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) selection_tools_select_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
45590
- function selection_tools_select_tool_toPropertyKey(t) { var i = selection_tools_select_tool_toPrimitive(t, "string"); return "symbol" == selection_tools_select_tool_typeof(i) ? i : String(i); }
45540
+ function selection_tools_select_tool_toPropertyKey(t) { var i = selection_tools_select_tool_toPrimitive(t, "string"); return "symbol" == selection_tools_select_tool_typeof(i) ? i : i + ""; }
45591
45541
  function selection_tools_select_tool_toPrimitive(t, r) { if ("object" != selection_tools_select_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != selection_tools_select_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
45592
45542
  function selection_tools_select_tool_callSuper(t, o, e) { return o = selection_tools_select_tool_getPrototypeOf(o), selection_tools_select_tool_possibleConstructorReturn(t, selection_tools_select_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], selection_tools_select_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
45593
45543
  function selection_tools_select_tool_possibleConstructorReturn(self, call) { if (call && (selection_tools_select_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return selection_tools_select_tool_assertThisInitialized(self); }
@@ -45612,7 +45562,6 @@ function selection_tools_select_tool_setPrototypeOf(o, p) { selection_tools_sele
45612
45562
  * reshaping the item that was clicked.
45613
45563
  */
45614
45564
  var selection_tools_select_tool_SelectTool = /*#__PURE__*/function (_paper$Tool) {
45615
- selection_tools_select_tool_inherits(SelectTool, _paper$Tool);
45616
45565
  /**
45617
45566
  * @param {function} setHoveredItem Callback to set the hovered item
45618
45567
  * @param {function} clearHoveredItem Callback to clear the hovered item
@@ -45656,7 +45605,8 @@ var selection_tools_select_tool_SelectTool = /*#__PURE__*/function (_paper$Tool)
45656
45605
  * @param {paper.Item} prevHoveredItemId ID of the highlight item that indicates the mouse is
45657
45606
  * over a given item currently
45658
45607
  */
45659
- selection_tools_select_tool_createClass(SelectTool, [{
45608
+ selection_tools_select_tool_inherits(SelectTool, _paper$Tool);
45609
+ return selection_tools_select_tool_createClass(SelectTool, [{
45660
45610
  key: "setPrevHoveredItemId",
45661
45611
  value: function setPrevHoveredItemId(prevHoveredItemId) {
45662
45612
  this.prevHoveredItemId = prevHoveredItemId;
@@ -45787,7 +45737,6 @@ var selection_tools_select_tool_SelectTool = /*#__PURE__*/function (_paper$Tool)
45787
45737
  return 250;
45788
45738
  }
45789
45739
  }]);
45790
- return SelectTool;
45791
45740
  }(paper_full_default.a.Tool);
45792
45741
  /* harmony default export */ var selection_tools_select_tool = (selection_tools_select_tool_SelectTool);
45793
45742
  // EXTERNAL MODULE: ./src/components/select-mode/select.svg
@@ -45818,13 +45767,13 @@ function select_mode_typeof(o) { "@babel/helpers - typeof"; return select_mode_t
45818
45767
  function select_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
45819
45768
  function select_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, select_mode_toPropertyKey(descriptor.key), descriptor); } }
45820
45769
  function select_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) select_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) select_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
45821
- function select_mode_toPropertyKey(t) { var i = select_mode_toPrimitive(t, "string"); return "symbol" == select_mode_typeof(i) ? i : String(i); }
45770
+ function select_mode_toPropertyKey(t) { var i = select_mode_toPrimitive(t, "string"); return "symbol" == select_mode_typeof(i) ? i : i + ""; }
45822
45771
  function select_mode_toPrimitive(t, r) { if ("object" != select_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != select_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
45823
45772
  function select_mode_callSuper(t, o, e) { return o = select_mode_getPrototypeOf(o), select_mode_possibleConstructorReturn(t, select_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], select_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
45824
45773
  function select_mode_possibleConstructorReturn(self, call) { if (call && (select_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return select_mode_assertThisInitialized(self); }
45774
+ function select_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
45825
45775
  function select_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (select_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
45826
45776
  function select_mode_getPrototypeOf(o) { select_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return select_mode_getPrototypeOf(o); }
45827
- function select_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
45828
45777
  function select_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) select_mode_setPrototypeOf(subClass, superClass); }
45829
45778
  function select_mode_setPrototypeOf(o, p) { select_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return select_mode_setPrototypeOf(o, p); }
45830
45779
 
@@ -45841,15 +45790,15 @@ function select_mode_setPrototypeOf(o, p) { select_mode_setPrototypeOf = Object.
45841
45790
 
45842
45791
 
45843
45792
  var select_mode_SelectMode = /*#__PURE__*/function (_React$Component) {
45844
- select_mode_inherits(SelectMode, _React$Component);
45845
45793
  function SelectMode(props) {
45846
45794
  var _this;
45847
45795
  select_mode_classCallCheck(this, SelectMode);
45848
45796
  _this = select_mode_callSuper(this, SelectMode, [props]);
45849
- lodash_bindall_default()(select_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
45797
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
45850
45798
  return _this;
45851
45799
  }
45852
- select_mode_createClass(SelectMode, [{
45800
+ select_mode_inherits(SelectMode, _React$Component);
45801
+ return select_mode_createClass(SelectMode, [{
45853
45802
  key: "componentDidMount",
45854
45803
  value: function componentDidMount() {
45855
45804
  if (this.props.isSelectModeActive) {
@@ -45905,7 +45854,6 @@ var select_mode_SelectMode = /*#__PURE__*/function (_React$Component) {
45905
45854
  });
45906
45855
  }
45907
45856
  }]);
45908
- return SelectMode;
45909
45857
  }(external_react_default.a.Component);
45910
45858
  select_mode_SelectMode.propTypes = {
45911
45859
  clearHoveredItem: external_prop_types_default.a.func.isRequired,
@@ -46051,13 +45999,13 @@ function stroke_width_indicator_typeof(o) { "@babel/helpers - typeof"; return st
46051
45999
  function stroke_width_indicator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
46052
46000
  function stroke_width_indicator_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, stroke_width_indicator_toPropertyKey(descriptor.key), descriptor); } }
46053
46001
  function stroke_width_indicator_createClass(Constructor, protoProps, staticProps) { if (protoProps) stroke_width_indicator_defineProperties(Constructor.prototype, protoProps); if (staticProps) stroke_width_indicator_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
46054
- function stroke_width_indicator_toPropertyKey(t) { var i = stroke_width_indicator_toPrimitive(t, "string"); return "symbol" == stroke_width_indicator_typeof(i) ? i : String(i); }
46002
+ function stroke_width_indicator_toPropertyKey(t) { var i = stroke_width_indicator_toPrimitive(t, "string"); return "symbol" == stroke_width_indicator_typeof(i) ? i : i + ""; }
46055
46003
  function stroke_width_indicator_toPrimitive(t, r) { if ("object" != stroke_width_indicator_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != stroke_width_indicator_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
46056
46004
  function stroke_width_indicator_callSuper(t, o, e) { return o = stroke_width_indicator_getPrototypeOf(o), stroke_width_indicator_possibleConstructorReturn(t, stroke_width_indicator_isNativeReflectConstruct() ? Reflect.construct(o, e || [], stroke_width_indicator_getPrototypeOf(t).constructor) : o.apply(t, e)); }
46057
46005
  function stroke_width_indicator_possibleConstructorReturn(self, call) { if (call && (stroke_width_indicator_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return stroke_width_indicator_assertThisInitialized(self); }
46006
+ function stroke_width_indicator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
46058
46007
  function stroke_width_indicator_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (stroke_width_indicator_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
46059
46008
  function stroke_width_indicator_getPrototypeOf(o) { stroke_width_indicator_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return stroke_width_indicator_getPrototypeOf(o); }
46060
- function stroke_width_indicator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
46061
46009
  function stroke_width_indicator_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) stroke_width_indicator_setPrototypeOf(subClass, superClass); }
46062
46010
  function stroke_width_indicator_setPrototypeOf(o, p) { stroke_width_indicator_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return stroke_width_indicator_setPrototypeOf(o, p); }
46063
46011
 
@@ -46074,15 +46022,15 @@ function stroke_width_indicator_setPrototypeOf(o, p) { stroke_width_indicator_se
46074
46022
 
46075
46023
 
46076
46024
  var stroke_width_indicator_StrokeWidthIndicator = /*#__PURE__*/function (_React$Component) {
46077
- stroke_width_indicator_inherits(StrokeWidthIndicator, _React$Component);
46078
46025
  function StrokeWidthIndicator(props) {
46079
46026
  var _this;
46080
46027
  stroke_width_indicator_classCallCheck(this, StrokeWidthIndicator);
46081
46028
  _this = stroke_width_indicator_callSuper(this, StrokeWidthIndicator, [props]);
46082
- lodash_bindall_default()(stroke_width_indicator_assertThisInitialized(_this), ['handleChangeStrokeWidth']);
46029
+ lodash_bindall_default()(_this, ['handleChangeStrokeWidth']);
46083
46030
  return _this;
46084
46031
  }
46085
- stroke_width_indicator_createClass(StrokeWidthIndicator, [{
46032
+ stroke_width_indicator_inherits(StrokeWidthIndicator, _React$Component);
46033
+ return stroke_width_indicator_createClass(StrokeWidthIndicator, [{
46086
46034
  key: "handleChangeStrokeWidth",
46087
46035
  value: function handleChangeStrokeWidth(newWidth) {
46088
46036
  var changed = style_path_applyStrokeWidthToSelection(newWidth, this.props.textEditTarget);
@@ -46123,7 +46071,6 @@ var stroke_width_indicator_StrokeWidthIndicator = /*#__PURE__*/function (_React$
46123
46071
  });
46124
46072
  }
46125
46073
  }]);
46126
- return StrokeWidthIndicator;
46127
46074
  }(external_react_default.a.Component);
46128
46075
  var stroke_width_indicator_mapStateToProps = function mapStateToProps(state) {
46129
46076
  return {
@@ -46169,7 +46116,7 @@ function text_tool_arrayLikeToArray(arr, len) { if (len == null || len > arr.len
46169
46116
  function text_tool_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
46170
46117
  function text_tool_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, text_tool_toPropertyKey(descriptor.key), descriptor); } }
46171
46118
  function text_tool_createClass(Constructor, protoProps, staticProps) { if (protoProps) text_tool_defineProperties(Constructor.prototype, protoProps); if (staticProps) text_tool_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
46172
- function text_tool_toPropertyKey(t) { var i = text_tool_toPrimitive(t, "string"); return "symbol" == text_tool_typeof(i) ? i : String(i); }
46119
+ function text_tool_toPropertyKey(t) { var i = text_tool_toPrimitive(t, "string"); return "symbol" == text_tool_typeof(i) ? i : i + ""; }
46173
46120
  function text_tool_toPrimitive(t, r) { if ("object" != text_tool_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != text_tool_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
46174
46121
  function text_tool_callSuper(t, o, e) { return o = text_tool_getPrototypeOf(o), text_tool_possibleConstructorReturn(t, text_tool_isNativeReflectConstruct() ? Reflect.construct(o, e || [], text_tool_getPrototypeOf(t).constructor) : o.apply(t, e)); }
46175
46122
  function text_tool_possibleConstructorReturn(self, call) { if (call && (text_tool_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return text_tool_assertThisInitialized(self); }
@@ -46191,7 +46138,6 @@ function text_tool_setPrototypeOf(o, p) { text_tool_setPrototypeOf = Object.setP
46191
46138
  * drawn on or erased. This way they can preserve their ability to have the text edited.
46192
46139
  */
46193
46140
  var text_tool_TextTool = /*#__PURE__*/function (_paper$Tool) {
46194
- text_tool_inherits(TextTool, _paper$Tool);
46195
46141
  /**
46196
46142
  * @param {HTMLTextAreaElement} textAreaElement dom element for the editable text field
46197
46143
  * @param {function} setSelectedItems Callback to set the set of selected items in the Redux state
@@ -46237,7 +46183,8 @@ var text_tool_TextTool = /*#__PURE__*/function (_paper$Tool) {
46237
46183
  // If double click on text while in select mode, does mode change to text mode? Text fully selected by default
46238
46184
  return _this;
46239
46185
  }
46240
- text_tool_createClass(TextTool, [{
46186
+ text_tool_inherits(TextTool, _paper$Tool);
46187
+ return text_tool_createClass(TextTool, [{
46241
46188
  key: "getBoundingBoxHitOptions",
46242
46189
  value: function getBoundingBoxHitOptions() {
46243
46190
  return {
@@ -46648,7 +46595,6 @@ var text_tool_TextTool = /*#__PURE__*/function (_paper$Tool) {
46648
46595
  return 8;
46649
46596
  }
46650
46597
  }]);
46651
- return TextTool;
46652
46598
  }(paper_full_default.a.Tool);
46653
46599
  /* harmony default export */ var text_tool = (text_tool_TextTool);
46654
46600
  // EXTERNAL MODULE: ./src/components/text-mode/text.svg
@@ -46702,13 +46648,13 @@ function text_mode_typeof(o) { "@babel/helpers - typeof"; return text_mode_typeo
46702
46648
  function text_mode_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
46703
46649
  function text_mode_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, text_mode_toPropertyKey(descriptor.key), descriptor); } }
46704
46650
  function text_mode_createClass(Constructor, protoProps, staticProps) { if (protoProps) text_mode_defineProperties(Constructor.prototype, protoProps); if (staticProps) text_mode_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
46705
- function text_mode_toPropertyKey(t) { var i = text_mode_toPrimitive(t, "string"); return "symbol" == text_mode_typeof(i) ? i : String(i); }
46651
+ function text_mode_toPropertyKey(t) { var i = text_mode_toPrimitive(t, "string"); return "symbol" == text_mode_typeof(i) ? i : i + ""; }
46706
46652
  function text_mode_toPrimitive(t, r) { if ("object" != text_mode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != text_mode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
46707
46653
  function text_mode_callSuper(t, o, e) { return o = text_mode_getPrototypeOf(o), text_mode_possibleConstructorReturn(t, text_mode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], text_mode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
46708
46654
  function text_mode_possibleConstructorReturn(self, call) { if (call && (text_mode_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return text_mode_assertThisInitialized(self); }
46655
+ function text_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
46709
46656
  function text_mode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (text_mode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
46710
46657
  function text_mode_getPrototypeOf(o) { text_mode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return text_mode_getPrototypeOf(o); }
46711
- function text_mode_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
46712
46658
  function text_mode_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) text_mode_setPrototypeOf(subClass, superClass); }
46713
46659
  function text_mode_setPrototypeOf(o, p) { text_mode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return text_mode_setPrototypeOf(o, p); }
46714
46660
 
@@ -46732,15 +46678,15 @@ function text_mode_setPrototypeOf(o, p) { text_mode_setPrototypeOf = Object.setP
46732
46678
 
46733
46679
 
46734
46680
  var text_mode_TextMode = /*#__PURE__*/function (_React$Component) {
46735
- text_mode_inherits(TextMode, _React$Component);
46736
46681
  function TextMode(props) {
46737
46682
  var _this;
46738
46683
  text_mode_classCallCheck(this, TextMode);
46739
46684
  _this = text_mode_callSuper(this, TextMode, [props]);
46740
- lodash_bindall_default()(text_mode_assertThisInitialized(_this), ['activateTool', 'deactivateTool']);
46685
+ lodash_bindall_default()(_this, ['activateTool', 'deactivateTool']);
46741
46686
  return _this;
46742
46687
  }
46743
- text_mode_createClass(TextMode, [{
46688
+ text_mode_inherits(TextMode, _React$Component);
46689
+ return text_mode_createClass(TextMode, [{
46744
46690
  key: "componentDidMount",
46745
46691
  value: function componentDidMount() {
46746
46692
  if (this.props.isTextModeActive) {
@@ -46849,7 +46795,6 @@ var text_mode_TextMode = /*#__PURE__*/function (_React$Component) {
46849
46795
  });
46850
46796
  }
46851
46797
  }]);
46852
- return TextMode;
46853
46798
  }(external_react_default.a.Component);
46854
46799
  text_mode_TextMode.propTypes = {
46855
46800
  changeFont: external_prop_types_default.a.func.isRequired,
@@ -47195,13 +47140,13 @@ function keyboard_shortcuts_hoc_extends() { keyboard_shortcuts_hoc_extends = Obj
47195
47140
  function keyboard_shortcuts_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
47196
47141
  function keyboard_shortcuts_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, keyboard_shortcuts_hoc_toPropertyKey(descriptor.key), descriptor); } }
47197
47142
  function keyboard_shortcuts_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) keyboard_shortcuts_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) keyboard_shortcuts_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47198
- function keyboard_shortcuts_hoc_toPropertyKey(t) { var i = keyboard_shortcuts_hoc_toPrimitive(t, "string"); return "symbol" == keyboard_shortcuts_hoc_typeof(i) ? i : String(i); }
47143
+ function keyboard_shortcuts_hoc_toPropertyKey(t) { var i = keyboard_shortcuts_hoc_toPrimitive(t, "string"); return "symbol" == keyboard_shortcuts_hoc_typeof(i) ? i : i + ""; }
47199
47144
  function keyboard_shortcuts_hoc_toPrimitive(t, r) { if ("object" != keyboard_shortcuts_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != keyboard_shortcuts_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
47200
47145
  function keyboard_shortcuts_hoc_callSuper(t, o, e) { return o = keyboard_shortcuts_hoc_getPrototypeOf(o), keyboard_shortcuts_hoc_possibleConstructorReturn(t, keyboard_shortcuts_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], keyboard_shortcuts_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
47201
47146
  function keyboard_shortcuts_hoc_possibleConstructorReturn(self, call) { if (call && (keyboard_shortcuts_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return keyboard_shortcuts_hoc_assertThisInitialized(self); }
47147
+ function keyboard_shortcuts_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47202
47148
  function keyboard_shortcuts_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (keyboard_shortcuts_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
47203
47149
  function keyboard_shortcuts_hoc_getPrototypeOf(o) { keyboard_shortcuts_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return keyboard_shortcuts_hoc_getPrototypeOf(o); }
47204
- function keyboard_shortcuts_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47205
47150
  function keyboard_shortcuts_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) keyboard_shortcuts_hoc_setPrototypeOf(subClass, superClass); }
47206
47151
  function keyboard_shortcuts_hoc_setPrototypeOf(o, p) { keyboard_shortcuts_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return keyboard_shortcuts_hoc_setPrototypeOf(o, p); }
47207
47152
 
@@ -47219,15 +47164,15 @@ function keyboard_shortcuts_hoc_setPrototypeOf(o, p) { keyboard_shortcuts_hoc_se
47219
47164
 
47220
47165
  var keyboard_shortcuts_hoc_KeyboardShortcutsHOC = function KeyboardShortcutsHOC(WrappedComponent) {
47221
47166
  var KeyboardShortcutsWrapper = /*#__PURE__*/function (_React$Component) {
47222
- keyboard_shortcuts_hoc_inherits(KeyboardShortcutsWrapper, _React$Component);
47223
47167
  function KeyboardShortcutsWrapper(props) {
47224
47168
  var _this;
47225
47169
  keyboard_shortcuts_hoc_classCallCheck(this, KeyboardShortcutsWrapper);
47226
47170
  _this = keyboard_shortcuts_hoc_callSuper(this, KeyboardShortcutsWrapper, [props]);
47227
- lodash_bindall_default()(keyboard_shortcuts_hoc_assertThisInitialized(_this), ['handleKeyPress', 'changeToASelectMode', 'selectAll']);
47171
+ lodash_bindall_default()(_this, ['handleKeyPress', 'changeToASelectMode', 'selectAll']);
47228
47172
  return _this;
47229
47173
  }
47230
- keyboard_shortcuts_hoc_createClass(KeyboardShortcutsWrapper, [{
47174
+ keyboard_shortcuts_hoc_inherits(KeyboardShortcutsWrapper, _React$Component);
47175
+ return keyboard_shortcuts_hoc_createClass(KeyboardShortcutsWrapper, [{
47231
47176
  key: "handleKeyPress",
47232
47177
  value: function handleKeyPress(event) {
47233
47178
  if (event.target instanceof HTMLInputElement) {
@@ -47312,7 +47257,6 @@ var keyboard_shortcuts_hoc_KeyboardShortcutsHOC = function KeyboardShortcutsHOC(
47312
47257
  }, componentProps));
47313
47258
  }
47314
47259
  }]);
47315
- return KeyboardShortcutsWrapper;
47316
47260
  }(external_react_default.a.Component);
47317
47261
  KeyboardShortcutsWrapper.propTypes = {
47318
47262
  changeMode: external_prop_types_default.a.func.isRequired,
@@ -47358,13 +47302,13 @@ function selection_hoc_objectWithoutPropertiesLoose(source, excluded) { if (sour
47358
47302
  function selection_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
47359
47303
  function selection_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, selection_hoc_toPropertyKey(descriptor.key), descriptor); } }
47360
47304
  function selection_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) selection_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) selection_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47361
- function selection_hoc_toPropertyKey(t) { var i = selection_hoc_toPrimitive(t, "string"); return "symbol" == selection_hoc_typeof(i) ? i : String(i); }
47305
+ function selection_hoc_toPropertyKey(t) { var i = selection_hoc_toPrimitive(t, "string"); return "symbol" == selection_hoc_typeof(i) ? i : i + ""; }
47362
47306
  function selection_hoc_toPrimitive(t, r) { if ("object" != selection_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != selection_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
47363
47307
  function selection_hoc_callSuper(t, o, e) { return o = selection_hoc_getPrototypeOf(o), selection_hoc_possibleConstructorReturn(t, selection_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], selection_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
47364
47308
  function selection_hoc_possibleConstructorReturn(self, call) { if (call && (selection_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return selection_hoc_assertThisInitialized(self); }
47309
+ function selection_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47365
47310
  function selection_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (selection_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
47366
47311
  function selection_hoc_getPrototypeOf(o) { selection_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return selection_hoc_getPrototypeOf(o); }
47367
- function selection_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47368
47312
  function selection_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) selection_hoc_setPrototypeOf(subClass, superClass); }
47369
47313
  function selection_hoc_setPrototypeOf(o, p) { selection_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return selection_hoc_setPrototypeOf(o, p); }
47370
47314
 
@@ -47374,15 +47318,15 @@ function selection_hoc_setPrototypeOf(o, p) { selection_hoc_setPrototypeOf = Obj
47374
47318
 
47375
47319
  var selection_hoc_SelectionHOC = function SelectionHOC(WrappedComponent) {
47376
47320
  var SelectionComponent = /*#__PURE__*/function (_React$Component) {
47377
- selection_hoc_inherits(SelectionComponent, _React$Component);
47378
47321
  function SelectionComponent(props) {
47379
47322
  var _this;
47380
47323
  selection_hoc_classCallCheck(this, SelectionComponent);
47381
47324
  _this = selection_hoc_callSuper(this, SelectionComponent, [props]);
47382
- lodash_bindall_default()(selection_hoc_assertThisInitialized(_this), ['removeItemById']);
47325
+ lodash_bindall_default()(_this, ['removeItemById']);
47383
47326
  return _this;
47384
47327
  }
47385
- selection_hoc_createClass(SelectionComponent, [{
47328
+ selection_hoc_inherits(SelectionComponent, _React$Component);
47329
+ return selection_hoc_createClass(SelectionComponent, [{
47386
47330
  key: "componentDidUpdate",
47387
47331
  value: function componentDidUpdate(prevProps) {
47388
47332
  // Hovered item has changed
@@ -47414,7 +47358,6 @@ var selection_hoc_SelectionHOC = function SelectionHOC(WrappedComponent) {
47414
47358
  return /*#__PURE__*/external_react_default.a.createElement(WrappedComponent, props);
47415
47359
  }
47416
47360
  }]);
47417
- return SelectionComponent;
47418
47361
  }(external_react_default.a.Component);
47419
47362
  SelectionComponent.propTypes = {
47420
47363
  hoveredItemId: external_prop_types_default.a.number
@@ -47433,13 +47376,13 @@ function undo_hoc_extends() { undo_hoc_extends = Object.assign ? Object.assign.b
47433
47376
  function undo_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
47434
47377
  function undo_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, undo_hoc_toPropertyKey(descriptor.key), descriptor); } }
47435
47378
  function undo_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) undo_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) undo_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47436
- function undo_hoc_toPropertyKey(t) { var i = undo_hoc_toPrimitive(t, "string"); return "symbol" == undo_hoc_typeof(i) ? i : String(i); }
47379
+ function undo_hoc_toPropertyKey(t) { var i = undo_hoc_toPrimitive(t, "string"); return "symbol" == undo_hoc_typeof(i) ? i : i + ""; }
47437
47380
  function undo_hoc_toPrimitive(t, r) { if ("object" != undo_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != undo_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
47438
47381
  function undo_hoc_callSuper(t, o, e) { return o = undo_hoc_getPrototypeOf(o), undo_hoc_possibleConstructorReturn(t, undo_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], undo_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
47439
47382
  function undo_hoc_possibleConstructorReturn(self, call) { if (call && (undo_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return undo_hoc_assertThisInitialized(self); }
47383
+ function undo_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47440
47384
  function undo_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (undo_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
47441
47385
  function undo_hoc_getPrototypeOf(o) { undo_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return undo_hoc_getPrototypeOf(o); }
47442
- function undo_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47443
47386
  function undo_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) undo_hoc_setPrototypeOf(subClass, superClass); }
47444
47387
  function undo_hoc_setPrototypeOf(o, p) { undo_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return undo_hoc_setPrototypeOf(o, p); }
47445
47388
 
@@ -47454,15 +47397,15 @@ function undo_hoc_setPrototypeOf(o, p) { undo_hoc_setPrototypeOf = Object.setPro
47454
47397
 
47455
47398
  var undo_hoc_UndoHOC = function UndoHOC(WrappedComponent) {
47456
47399
  var UndoWrapper = /*#__PURE__*/function (_React$Component) {
47457
- undo_hoc_inherits(UndoWrapper, _React$Component);
47458
47400
  function UndoWrapper(props) {
47459
47401
  var _this;
47460
47402
  undo_hoc_classCallCheck(this, UndoWrapper);
47461
47403
  _this = undo_hoc_callSuper(this, UndoWrapper, [props]);
47462
- lodash_bindall_default()(undo_hoc_assertThisInitialized(_this), ['handleUndo', 'handleRedo', 'handleSetSelectedItems', 'shouldShowUndo', 'shouldShowRedo']);
47404
+ lodash_bindall_default()(_this, ['handleUndo', 'handleRedo', 'handleSetSelectedItems', 'shouldShowUndo', 'shouldShowRedo']);
47463
47405
  return _this;
47464
47406
  }
47465
- undo_hoc_createClass(UndoWrapper, [{
47407
+ undo_hoc_inherits(UndoWrapper, _React$Component);
47408
+ return undo_hoc_createClass(UndoWrapper, [{
47466
47409
  key: "handleUndo",
47467
47410
  value: function handleUndo() {
47468
47411
  undo_performUndo(this.props.undoState, this.props.onUndo, this.handleSetSelectedItems, this.props.onUpdateImage);
@@ -47499,7 +47442,6 @@ var undo_hoc_UndoHOC = function UndoHOC(WrappedComponent) {
47499
47442
  }, componentProps));
47500
47443
  }
47501
47444
  }]);
47502
- return UndoWrapper;
47503
47445
  }(external_react_default.a.Component);
47504
47446
  UndoWrapper.propTypes = {
47505
47447
  format: external_prop_types_default.a.oneOf(Object.keys(Formats)),
@@ -47543,13 +47485,13 @@ function update_image_hoc_arrayLikeToArray(arr, len) { if (len == null || len >
47543
47485
  function update_image_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
47544
47486
  function update_image_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, update_image_hoc_toPropertyKey(descriptor.key), descriptor); } }
47545
47487
  function update_image_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) update_image_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) update_image_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47546
- function update_image_hoc_toPropertyKey(t) { var i = update_image_hoc_toPrimitive(t, "string"); return "symbol" == update_image_hoc_typeof(i) ? i : String(i); }
47488
+ function update_image_hoc_toPropertyKey(t) { var i = update_image_hoc_toPrimitive(t, "string"); return "symbol" == update_image_hoc_typeof(i) ? i : i + ""; }
47547
47489
  function update_image_hoc_toPrimitive(t, r) { if ("object" != update_image_hoc_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != update_image_hoc_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
47548
47490
  function update_image_hoc_callSuper(t, o, e) { return o = update_image_hoc_getPrototypeOf(o), update_image_hoc_possibleConstructorReturn(t, update_image_hoc_isNativeReflectConstruct() ? Reflect.construct(o, e || [], update_image_hoc_getPrototypeOf(t).constructor) : o.apply(t, e)); }
47549
47491
  function update_image_hoc_possibleConstructorReturn(self, call) { if (call && (update_image_hoc_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return update_image_hoc_assertThisInitialized(self); }
47492
+ function update_image_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47550
47493
  function update_image_hoc_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (update_image_hoc_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
47551
47494
  function update_image_hoc_getPrototypeOf(o) { update_image_hoc_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return update_image_hoc_getPrototypeOf(o); }
47552
- function update_image_hoc_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47553
47495
  function update_image_hoc_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) update_image_hoc_setPrototypeOf(subClass, superClass); }
47554
47496
  function update_image_hoc_setPrototypeOf(o, p) { update_image_hoc_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return update_image_hoc_setPrototypeOf(o, p); }
47555
47497
 
@@ -47572,12 +47514,11 @@ function update_image_hoc_setPrototypeOf(o, p) { update_image_hoc_setPrototypeOf
47572
47514
 
47573
47515
  var update_image_hoc_UpdateImageHOC = function UpdateImageHOC(WrappedComponent) {
47574
47516
  var UpdateImageWrapper = /*#__PURE__*/function (_React$Component) {
47575
- update_image_hoc_inherits(UpdateImageWrapper, _React$Component);
47576
47517
  function UpdateImageWrapper(props) {
47577
47518
  var _this;
47578
47519
  update_image_hoc_classCallCheck(this, UpdateImageWrapper);
47579
47520
  _this = update_image_hoc_callSuper(this, UpdateImageWrapper, [props]);
47580
- lodash_bindall_default()(update_image_hoc_assertThisInitialized(_this), ['handleUpdateImage', 'handleUpdateBitmap', 'handleUpdateVector']);
47521
+ lodash_bindall_default()(_this, ['handleUpdateImage', 'handleUpdateBitmap', 'handleUpdateVector']);
47581
47522
  return _this;
47582
47523
  }
47583
47524
  /**
@@ -47587,7 +47528,8 @@ var update_image_hoc_UpdateImageHOC = function UpdateImageHOC(WrappedComponent)
47587
47528
  * but the format used can be overridden here. In particular when converting between formats,
47588
47529
  * the does not accurately represent the format.
47589
47530
  */
47590
- update_image_hoc_createClass(UpdateImageWrapper, [{
47531
+ update_image_hoc_inherits(UpdateImageWrapper, _React$Component);
47532
+ return update_image_hoc_createClass(UpdateImageWrapper, [{
47591
47533
  key: "handleUpdateImage",
47592
47534
  value: function handleUpdateImage(skipSnapshot, formatOverride) {
47593
47535
  // If in the middle of switching formats, rely on the current mode instead of format.
@@ -47714,7 +47656,6 @@ var update_image_hoc_UpdateImageHOC = function UpdateImageHOC(WrappedComponent)
47714
47656
  }, componentProps));
47715
47657
  }
47716
47658
  }]);
47717
- return UpdateImageWrapper;
47718
47659
  }(external_react_default.a.Component);
47719
47660
  UpdateImageWrapper.propTypes = {
47720
47661
  format: external_prop_types_default.a.oneOf(Object.keys(Formats)),
@@ -47751,13 +47692,13 @@ function paint_editor_typeof(o) { "@babel/helpers - typeof"; return paint_editor
47751
47692
  function paint_editor_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
47752
47693
  function paint_editor_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, paint_editor_toPropertyKey(descriptor.key), descriptor); } }
47753
47694
  function paint_editor_createClass(Constructor, protoProps, staticProps) { if (protoProps) paint_editor_defineProperties(Constructor.prototype, protoProps); if (staticProps) paint_editor_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47754
- function paint_editor_toPropertyKey(t) { var i = paint_editor_toPrimitive(t, "string"); return "symbol" == paint_editor_typeof(i) ? i : String(i); }
47695
+ function paint_editor_toPropertyKey(t) { var i = paint_editor_toPrimitive(t, "string"); return "symbol" == paint_editor_typeof(i) ? i : i + ""; }
47755
47696
  function paint_editor_toPrimitive(t, r) { if ("object" != paint_editor_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != paint_editor_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
47756
47697
  function paint_editor_callSuper(t, o, e) { return o = paint_editor_getPrototypeOf(o), paint_editor_possibleConstructorReturn(t, paint_editor_isNativeReflectConstruct() ? Reflect.construct(o, e || [], paint_editor_getPrototypeOf(t).constructor) : o.apply(t, e)); }
47757
47698
  function paint_editor_possibleConstructorReturn(self, call) { if (call && (paint_editor_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return paint_editor_assertThisInitialized(self); }
47699
+ function paint_editor_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47758
47700
  function paint_editor_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (paint_editor_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
47759
47701
  function paint_editor_getPrototypeOf(o) { paint_editor_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return paint_editor_getPrototypeOf(o); }
47760
- function paint_editor_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47761
47702
  function paint_editor_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) paint_editor_setPrototypeOf(subClass, superClass); }
47762
47703
  function paint_editor_setPrototypeOf(o, p) { paint_editor_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return paint_editor_setPrototypeOf(o, p); }
47763
47704
 
@@ -47827,12 +47768,11 @@ function paint_editor_setPrototypeOf(o, p) { paint_editor_setPrototypeOf = Objec
47827
47768
  * fit the current costume comfortably. Leave undefined to perform no zoom to fit.
47828
47769
  */
47829
47770
  var paint_editor_PaintEditor = /*#__PURE__*/function (_React$Component) {
47830
- paint_editor_inherits(PaintEditor, _React$Component);
47831
47771
  function PaintEditor(props) {
47832
47772
  var _this;
47833
47773
  paint_editor_classCallCheck(this, PaintEditor);
47834
47774
  _this = paint_editor_callSuper(this, PaintEditor, [props]);
47835
- lodash_bindall_default()(paint_editor_assertThisInitialized(_this), ['switchModeForFormat', 'onMouseDown', 'onMouseUp', 'setCanvas', 'setTextArea', 'startEyeDroppingLoop', 'stopEyeDroppingLoop', 'handleSetSelectedItems', 'handleZoomIn', 'handleZoomOut', 'handleZoomReset']);
47775
+ lodash_bindall_default()(_this, ['switchModeForFormat', 'onMouseDown', 'onMouseUp', 'setCanvas', 'setTextArea', 'startEyeDroppingLoop', 'stopEyeDroppingLoop', 'handleSetSelectedItems', 'handleZoomIn', 'handleZoomOut', 'handleZoomReset']);
47836
47776
  _this.state = {
47837
47777
  canvas: null,
47838
47778
  colorInfo: null
@@ -47840,7 +47780,8 @@ var paint_editor_PaintEditor = /*#__PURE__*/function (_React$Component) {
47840
47780
  _this.props.setLayout(_this.props.rtl ? 'rtl' : 'ltr');
47841
47781
  return _this;
47842
47782
  }
47843
- paint_editor_createClass(PaintEditor, [{
47783
+ paint_editor_inherits(PaintEditor, _React$Component);
47784
+ return paint_editor_createClass(PaintEditor, [{
47844
47785
  key: "componentDidMount",
47845
47786
  value: function componentDidMount() {
47846
47787
  document.addEventListener('keydown', this.props.onKeyPress);
@@ -48102,7 +48043,6 @@ var paint_editor_PaintEditor = /*#__PURE__*/function (_React$Component) {
48102
48043
  return 0.5;
48103
48044
  }
48104
48045
  }]);
48105
- return PaintEditor;
48106
48046
  }(external_react_default.a.Component);
48107
48047
  paint_editor_PaintEditor.propTypes = {
48108
48048
  changeColorToEyeDropper: external_prop_types_default.a.func,