@khanacademy/perseus-editor 17.1.1 → 17.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
@@ -45,25 +45,17 @@ import arrowCounterClockwise from '@phosphor-icons/core/bold/arrow-counter-clock
45
45
 
46
46
  // This file is processed by a Rollup plugin (replace) to inject the production
47
47
  const libName = "@khanacademy/perseus-editor";
48
- const libVersion = "17.1.1";
48
+ const libVersion = "17.1.2";
49
49
  addLibraryVersionToPerseusDebug(libName, libVersion);
50
50
 
51
51
  function _extends() {
52
- _extends = Object.assign || function (target) {
53
- for (var i = 1; i < arguments.length; i++) {
54
- var source = arguments[i];
55
-
56
- for (var key in source) {
57
- if (Object.prototype.hasOwnProperty.call(source, key)) {
58
- target[key] = source[key];
59
- }
60
- }
52
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
53
+ for (var e = 1; e < arguments.length; e++) {
54
+ var t = arguments[e];
55
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
61
56
  }
62
-
63
- return target;
64
- };
65
-
66
- return _extends.apply(this, arguments);
57
+ return n;
58
+ }, _extends.apply(null, arguments);
67
59
  }
68
60
 
69
61
  const devices = {
@@ -20527,19 +20519,14 @@ katex.__defineMacro("\\pu", function (context) {
20527
20519
  // a mathematical minus, U+2212. So we need that extra 0.56.
20528
20520
  katex.__defineMacro("\\tripledash", "{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu" + "\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");
20529
20521
 
20530
- function _objectWithoutPropertiesLoose(source, excluded) {
20531
- if (source == null) return {};
20532
- var target = {};
20533
- var sourceKeys = Object.keys(source);
20534
- var key, i;
20535
-
20536
- for (i = 0; i < sourceKeys.length; i++) {
20537
- key = sourceKeys[i];
20538
- if (excluded.indexOf(key) >= 0) continue;
20539
- target[key] = source[key];
20522
+ function _objectWithoutPropertiesLoose(r, e) {
20523
+ if (null == r) return {};
20524
+ var t = {};
20525
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
20526
+ if (e.includes(n)) continue;
20527
+ t[n] = r[n];
20540
20528
  }
20541
-
20542
- return target;
20529
+ return t;
20543
20530
  }
20544
20531
 
20545
20532
  const _excluded$4 = ["component", "shouldDragHighlight"];