@khanacademy/math-input 22.1.0 → 22.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es/index.js CHANGED
@@ -16,25 +16,17 @@ import PropTypes from 'prop-types';
16
16
 
17
17
  // This file is processed by a Rollup plugin (replace) to inject the production
18
18
  const libName = "@khanacademy/math-input";
19
- const libVersion = "22.1.0";
19
+ const libVersion = "22.1.2";
20
20
  addLibraryVersionToPerseusDebug(libName, libVersion);
21
21
 
22
22
  function _extends() {
23
- _extends = Object.assign || function (target) {
24
- for (var i = 1; i < arguments.length; i++) {
25
- var source = arguments[i];
26
-
27
- for (var key in source) {
28
- if (Object.prototype.hasOwnProperty.call(source, key)) {
29
- target[key] = source[key];
30
- }
31
- }
23
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
24
+ for (var e = 1; e < arguments.length; e++) {
25
+ var t = arguments[e];
26
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
32
27
  }
33
-
34
- return target;
35
- };
36
-
37
- return _extends.apply(this, arguments);
28
+ return n;
29
+ }, _extends.apply(null, arguments);
38
30
  }
39
31
 
40
32
  class View extends React.Component {
@@ -2355,19 +2347,14 @@ const inlineStyles = {
2355
2347
  }
2356
2348
  };
2357
2349
 
2358
- function _objectWithoutPropertiesLoose(source, excluded) {
2359
- if (source == null) return {};
2360
- var target = {};
2361
- var sourceKeys = Object.keys(source);
2362
- var key, i;
2363
-
2364
- for (i = 0; i < sourceKeys.length; i++) {
2365
- key = sourceKeys[i];
2366
- if (excluded.indexOf(key) >= 0) continue;
2367
- target[key] = source[key];
2350
+ function _objectWithoutPropertiesLoose(r, e) {
2351
+ if (null == r) return {};
2352
+ var t = {};
2353
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
2354
+ if (e.includes(n)) continue;
2355
+ t[n] = r[n];
2368
2356
  }
2369
-
2370
- return target;
2357
+ return t;
2371
2358
  }
2372
2359
 
2373
2360
  const IconAsset = function IconAsset({