@fileverse-dev/formulajs 4.4.11-mod-6 → 4.4.11-mod-7

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.
@@ -1,38 +1,70 @@
1
- /* @fileverse-dev/formulajs v4.4.11-mod-6 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-7 */
2
2
  function _regeneratorRuntime() {
3
3
  "use strict";
4
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() {
5
- return e;
4
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() {
5
+ return r;
6
6
  };
7
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
8
- t[e] = r.value;
9
- }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
10
- function define(t, e, r) {
11
- return Object.defineProperty(t, e, {
12
- value: r,
13
- enumerable: !0,
14
- configurable: !0,
15
- writable: !0
16
- }), t[e];
7
+ var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag";
8
+ function c(t, r, e, n) {
9
+ return Object.defineProperty(t, r, {
10
+ value: e,
11
+ enumerable: !n,
12
+ configurable: !n,
13
+ writable: !n
14
+ });
17
15
  }
18
16
  try {
19
- define({}, "");
17
+ c({}, "");
20
18
  } catch (t) {
21
- define = function define(t, e, r) {
22
- return t[e] = r;
19
+ c = function c(t, r, e) {
20
+ return t[r] = e;
23
21
  };
24
22
  }
25
- function wrap(t, e, r, n) {
26
- var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
27
- return o(a, "_invoke", {
28
- value: makeInvokeMethod(t, r, c)
29
- }), a;
23
+ function h(r, e, n, o) {
24
+ var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype);
25
+ return c(a, "_invoke", function(r, e, n) {
26
+ var o = 1;
27
+ return function(i, a) {
28
+ if (3 === o) throw Error("Generator is already running");
29
+ if (4 === o) {
30
+ if ("throw" === i) throw a;
31
+ return {
32
+ value: t,
33
+ done: !0
34
+ };
35
+ }
36
+ for (n.method = i, n.arg = a; ;) {
37
+ var u = n.delegate;
38
+ if (u) {
39
+ var c = d(u, n);
40
+ if (c) {
41
+ if (c === f) continue;
42
+ return c;
43
+ }
44
+ }
45
+ if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) {
46
+ if (1 === o) throw o = 4, n.arg;
47
+ n.dispatchException(n.arg);
48
+ } else "return" === n.method && n.abrupt("return", n.arg);
49
+ o = 3;
50
+ var h = s(r, e, n);
51
+ if ("normal" === h.type) {
52
+ if (o = n.done ? 4 : 2, h.arg === f) continue;
53
+ return {
54
+ value: h.arg,
55
+ done: n.done
56
+ };
57
+ }
58
+ "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg);
59
+ }
60
+ };
61
+ }(r, n, new Context(o || [])), !0), a;
30
62
  }
31
- function tryCatch(t, e, r) {
63
+ function s(t, r, e) {
32
64
  try {
33
65
  return {
34
66
  type: "normal",
35
- arg: t.call(e, r)
67
+ arg: t.call(r, e)
36
68
  };
37
69
  } catch (t) {
38
70
  return {
@@ -41,259 +73,195 @@ function _regeneratorRuntime() {
41
73
  };
42
74
  }
43
75
  }
44
- e.wrap = wrap;
45
- var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
76
+ r.wrap = h;
77
+ var f = {};
46
78
  function Generator() {}
47
79
  function GeneratorFunction() {}
48
80
  function GeneratorFunctionPrototype() {}
49
- var p = {};
50
- define(p, a, (function() {
81
+ var l = {};
82
+ c(l, i, (function() {
51
83
  return this;
52
84
  }));
53
- var d = Object.getPrototypeOf, v = d && d(d(values([])));
54
- v && v !== r && n.call(v, a) && (p = v);
55
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
56
- function defineIteratorMethods(t) {
57
- [ "next", "throw", "return" ].forEach((function(e) {
58
- define(t, e, (function(t) {
59
- return this._invoke(e, t);
85
+ var p = Object.getPrototypeOf, y = p && p(p(x([])));
86
+ y && y !== e && n.call(y, i) && (l = y);
87
+ var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);
88
+ function g(t) {
89
+ [ "next", "throw", "return" ].forEach((function(r) {
90
+ c(t, r, (function(t) {
91
+ return this._invoke(r, t);
60
92
  }));
61
93
  }));
62
94
  }
63
- function AsyncIterator(t, e) {
64
- function invoke(r, o, i, a) {
65
- var c = tryCatch(t[r], t, o);
95
+ function AsyncIterator(t, r) {
96
+ function e(o, i, a, u) {
97
+ var c = s(t[o], t, i);
66
98
  if ("throw" !== c.type) {
67
- var u = c.arg, h = u.value;
68
- return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then((function(t) {
69
- invoke("next", t, i, a);
99
+ var h = c.arg, f = h.value;
100
+ return f && "object" == _typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then((function(t) {
101
+ e("next", t, a, u);
70
102
  }), (function(t) {
71
- invoke("throw", t, i, a);
72
- })) : e.resolve(h).then((function(t) {
73
- u.value = t, i(u);
103
+ e("throw", t, a, u);
104
+ })) : r.resolve(f).then((function(t) {
105
+ h.value = t, a(h);
74
106
  }), (function(t) {
75
- return invoke("throw", t, i, a);
107
+ return e("throw", t, a, u);
76
108
  }));
77
109
  }
78
- a(c.arg);
110
+ u(c.arg);
79
111
  }
80
- var r;
81
- o(this, "_invoke", {
82
- value: function value(t, n) {
83
- function callInvokeWithMethodAndArg() {
84
- return new e((function(e, r) {
85
- invoke(t, n, e, r);
86
- }));
87
- }
88
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
89
- }
90
- });
91
- }
92
- function makeInvokeMethod(e, r, n) {
93
- var o = h;
94
- return function(i, a) {
95
- if (o === f) throw Error("Generator is already running");
96
- if (o === s) {
97
- if ("throw" === i) throw a;
98
- return {
99
- value: t,
100
- done: !0
101
- };
102
- }
103
- for (n.method = i, n.arg = a; ;) {
104
- var c = n.delegate;
105
- if (c) {
106
- var u = maybeInvokeDelegate(c, n);
107
- if (u) {
108
- if (u === y) continue;
109
- return u;
110
- }
111
- }
112
- if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) {
113
- if (o === h) throw o = s, n.arg;
114
- n.dispatchException(n.arg);
115
- } else "return" === n.method && n.abrupt("return", n.arg);
116
- o = f;
117
- var p = tryCatch(e, r, n);
118
- if ("normal" === p.type) {
119
- if (o = n.done ? s : l, p.arg === y) continue;
120
- return {
121
- value: p.arg,
122
- done: n.done
123
- };
124
- }
125
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
112
+ var o;
113
+ c(this, "_invoke", (function(t, n) {
114
+ function i() {
115
+ return new r((function(r, o) {
116
+ e(t, n, r, o);
117
+ }));
126
118
  }
127
- };
128
- }
129
- function maybeInvokeDelegate(e, r) {
130
- var n = r.method, o = e.iterator[n];
131
- if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return",
132
- r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw",
133
- r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
134
- var i = tryCatch(o, e.iterator, r.arg);
135
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null,
136
- y;
119
+ return o = o ? o.then(i, i) : i();
120
+ }), !0);
121
+ }
122
+ function d(r, e) {
123
+ var n = e.method, o = r.i[n];
124
+ if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return",
125
+ e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw",
126
+ e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f;
127
+ var i = s(o, r.i, e.arg);
128
+ if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null,
129
+ f;
137
130
  var a = i.arg;
138
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next",
139
- r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"),
140
- r.delegate = null, y);
131
+ return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next",
132
+ e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"),
133
+ e.delegate = null, f);
141
134
  }
142
- function pushTryEntry(t) {
143
- var e = {
144
- tryLoc: t[0]
145
- };
146
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]),
147
- this.tryEntries.push(e);
135
+ function w(t) {
136
+ this.tryEntries.push(t);
148
137
  }
149
- function resetTryEntry(t) {
150
- var e = t.completion || {};
151
- e.type = "normal", delete e.arg, t.completion = e;
138
+ function m(r) {
139
+ var e = r[4] || {};
140
+ e.type = "normal", e.arg = t, r[4] = e;
152
141
  }
153
142
  function Context(t) {
154
- this.tryEntries = [ {
155
- tryLoc: "root"
156
- } ], t.forEach(pushTryEntry, this), this.reset(!0);
157
- }
158
- function values(e) {
159
- if (e || "" === e) {
160
- var r = e[a];
161
- if (r) return r.call(e);
162
- if ("function" == typeof e.next) return e;
163
- if (!isNaN(e.length)) {
164
- var o = -1, i = function next() {
165
- for (;++o < e.length; ) if (n.call(e, o)) return next.value = e[o], next.done = !1,
166
- next;
167
- return next.value = t, next.done = !0, next;
143
+ this.tryEntries = [ [ -1 ] ], t.forEach(w, this), this.reset(!0);
144
+ }
145
+ function x(r) {
146
+ if (null != r) {
147
+ var e = r[i];
148
+ if (e) return e.call(r);
149
+ if ("function" == typeof r.next) return r;
150
+ if (!isNaN(r.length)) {
151
+ var o = -1, a = function e() {
152
+ for (;++o < r.length; ) if (n.call(r, o)) return e.value = r[o], e.done = !1, e;
153
+ return e.value = t, e.done = !0, e;
168
154
  };
169
- return i.next = i;
170
- }
171
- }
172
- throw new TypeError(_typeof(e) + " is not iterable");
173
- }
174
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
175
- value: GeneratorFunctionPrototype,
176
- configurable: !0
177
- }), o(GeneratorFunctionPrototype, "constructor", {
178
- value: GeneratorFunction,
179
- configurable: !0
180
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"),
181
- e.isGeneratorFunction = function(t) {
182
- var e = "function" == typeof t && t.constructor;
183
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
184
- }, e.mark = function(t) {
155
+ return a.next = a;
156
+ }
157
+ }
158
+ throw new TypeError(_typeof(r) + " is not iterable");
159
+ }
160
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype),
161
+ c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"),
162
+ r.isGeneratorFunction = function(t) {
163
+ var r = "function" == typeof t && t.constructor;
164
+ return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name));
165
+ }, r.mark = function(t) {
185
166
  return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype,
186
- define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
187
- }, e.awrap = function(t) {
167
+ c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t;
168
+ }, r.awrap = function(t) {
188
169
  return {
189
170
  __await: t
190
171
  };
191
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, (function() {
172
+ }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, (function() {
192
173
  return this;
193
- })), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
174
+ })), r.AsyncIterator = AsyncIterator, r.async = function(t, e, n, o, i) {
194
175
  void 0 === i && (i = Promise);
195
- var a = new AsyncIterator(wrap(t, r, n, o), i);
196
- return e.isGeneratorFunction(r) ? a : a.next().then((function(t) {
176
+ var a = new AsyncIterator(h(t, e, n, o), i);
177
+ return r.isGeneratorFunction(e) ? a : a.next().then((function(t) {
197
178
  return t.done ? t.value : a.next();
198
179
  }));
199
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, (function() {
180
+ }, g(v), c(v, u, "Generator"), c(v, i, (function() {
200
181
  return this;
201
- })), define(g, "toString", (function() {
182
+ })), c(v, "toString", (function() {
202
183
  return "[object Generator]";
203
- })), e.keys = function(t) {
204
- var e = Object(t), r = [];
205
- for (var n in e) r.push(n);
206
- return r.reverse(), function next() {
207
- for (;r.length; ) {
208
- var t = r.pop();
209
- if (t in e) return next.value = t, next.done = !1, next;
210
- }
211
- return next.done = !0, next;
184
+ })), r.keys = function(t) {
185
+ var r = Object(t), e = [];
186
+ for (var n in r) e.unshift(n);
187
+ return function t() {
188
+ for (;e.length; ) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t;
189
+ return t.done = !0, t;
212
190
  };
213
- }, e.values = values, Context.prototype = {
191
+ }, r.values = x, Context.prototype = {
214
192
  constructor: Context,
215
- reset: function reset(e) {
216
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null,
217
- this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
193
+ reset: function reset(r) {
194
+ if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null,
195
+ this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t);
218
196
  },
219
197
  stop: function stop() {
220
198
  this.done = !0;
221
- var t = this.tryEntries[0].completion;
199
+ var t = this.tryEntries[0][4];
222
200
  if ("throw" === t.type) throw t.arg;
223
201
  return this.rval;
224
202
  },
225
- dispatchException: function dispatchException(e) {
226
- if (this.done) throw e;
227
- var r = this;
228
- function handle(n, o) {
229
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t),
230
- !!o;
231
- }
232
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
233
- var i = this.tryEntries[o], a = i.completion;
234
- if ("root" === i.tryLoc) return handle("end");
235
- if (i.tryLoc <= this.prev) {
236
- var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
237
- if (c && u) {
238
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
239
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
240
- } else if (c) {
241
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
242
- } else {
243
- if (!u) throw Error("try statement without catch or finally");
244
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
245
- }
203
+ dispatchException: function dispatchException(r) {
204
+ if (this.done) throw r;
205
+ var e = this;
206
+ function n(t) {
207
+ a.type = "throw", a.arg = r, e.next = t;
208
+ }
209
+ for (var o = e.tryEntries.length - 1; o >= 0; --o) {
210
+ var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2];
211
+ if (-1 === i[0]) return n("end"), !1;
212
+ if (!c && !h) throw Error("try statement without catch or finally");
213
+ if (null != i[0] && i[0] <= u) {
214
+ if (u < c) return this.method = "next", this.arg = t, n(c), !0;
215
+ if (u < h) return n(h), !1;
246
216
  }
247
217
  }
248
218
  },
249
- abrupt: function abrupt(t, e) {
250
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
251
- var o = this.tryEntries[r];
252
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
253
- var i = o;
219
+ abrupt: function abrupt(t, r) {
220
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
221
+ var n = this.tryEntries[e];
222
+ if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) {
223
+ var o = n;
254
224
  break;
255
225
  }
256
226
  }
257
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
258
- var a = i ? i.completion : {};
259
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc,
260
- y) : this.complete(a);
227
+ o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null);
228
+ var i = o ? o[4] : {};
229
+ return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i);
261
230
  },
262
- complete: function complete(t, e) {
231
+ complete: function complete(t, r) {
263
232
  if ("throw" === t.type) throw t.arg;
264
233
  return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg,
265
- this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e),
266
- y;
234
+ this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r),
235
+ f;
267
236
  },
268
237
  finish: function finish(t) {
269
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
270
- var r = this.tryEntries[e];
271
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r),
272
- y;
238
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
239
+ var e = this.tryEntries[r];
240
+ if (e[2] === t) return this.complete(e[4], e[3]), m(e), f;
273
241
  }
274
242
  },
275
243
  catch: function _catch(t) {
276
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
277
- var r = this.tryEntries[e];
278
- if (r.tryLoc === t) {
279
- var n = r.completion;
244
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
245
+ var e = this.tryEntries[r];
246
+ if (e[0] === t) {
247
+ var n = e[4];
280
248
  if ("throw" === n.type) {
281
249
  var o = n.arg;
282
- resetTryEntry(r);
250
+ m(e);
283
251
  }
284
252
  return o;
285
253
  }
286
254
  }
287
255
  throw Error("illegal catch attempt");
288
256
  },
289
- delegateYield: function delegateYield(e, r, n) {
257
+ delegateYield: function delegateYield(r, e, n) {
290
258
  return this.delegate = {
291
- iterator: values(e),
292
- resultName: r,
293
- nextLoc: n
294
- }, "next" === this.method && (this.arg = t), y;
259
+ i: x(r),
260
+ r: e,
261
+ n: n
262
+ }, "next" === this.method && (this.arg = t), f;
295
263
  }
296
- }, e;
264
+ }, r;
297
265
  }
298
266
 
299
267
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
@@ -386,6 +354,49 @@ function _typeof(o) {
386
354
  ref: ref,
387
355
  value: value
388
356
  });
357
+ var returnSerial = false;
358
+ var d1900 = new Date(Date.UTC(1900, 0, 1));
359
+ function useSerial() {
360
+ returnSerial = true;
361
+ }
362
+ function useDate() {
363
+ returnSerial = false;
364
+ }
365
+ function serialToDate(serial) {
366
+ if (serial < 60) {
367
+ serial += 1;
368
+ }
369
+ var utc_days = Math.floor(serial - 25569);
370
+ var utc_value = utc_days * 86400;
371
+ var date_info = new Date(utc_value * 1e3);
372
+ var fractional_day = serial - Math.floor(serial) + 1e-7;
373
+ var total_seconds = Math.floor(86400 * fractional_day);
374
+ var seconds = total_seconds % 60;
375
+ total_seconds -= seconds;
376
+ var hours = Math.floor(total_seconds / (60 * 60));
377
+ var minutes = Math.floor(total_seconds / 60) % 60;
378
+ var days = date_info.getUTCDate();
379
+ var month = date_info.getUTCMonth();
380
+ if (serial >= 60 && serial < 61) {
381
+ days = 29;
382
+ month = 1;
383
+ }
384
+ return new Date(date_info.getUTCFullYear(), month, days, hours, minutes, seconds);
385
+ }
386
+ function dateToSerial(date) {
387
+ var addOn = date > -22038912e5 ? 2 : 1;
388
+ return Math.ceil((date - d1900) / 864e5) + addOn;
389
+ }
390
+ var date = Object.freeze({
391
+ __proto__: null,
392
+ dateToSerial: dateToSerial,
393
+ get returnSerial() {
394
+ return returnSerial;
395
+ },
396
+ serialToDate: serialToDate,
397
+ useDate: useDate,
398
+ useSerial: useSerial
399
+ });
389
400
  var defaultOperator = "=";
390
401
  var validSymbols = [ ">", ">=", "<", "<=", "=", "<>" ];
391
402
  var _TOKEN_TYPE_OPERATOR = "operator";
@@ -692,27 +703,6 @@ function _typeof(o) {
692
703
  return typeof el === "number";
693
704
  }));
694
705
  }
695
- function serialNumberToDate(serial) {
696
- if (serial < 60) {
697
- serial += 1;
698
- }
699
- var utc_days = Math.floor(serial - 25569);
700
- var utc_value = utc_days * 86400;
701
- var date_info = new Date(utc_value * 1e3);
702
- var fractional_day = serial - Math.floor(serial) + 1e-7;
703
- var total_seconds = Math.floor(86400 * fractional_day);
704
- var seconds = total_seconds % 60;
705
- total_seconds -= seconds;
706
- var hours = Math.floor(total_seconds / (60 * 60));
707
- var minutes = Math.floor(total_seconds / 60) % 60;
708
- var days = date_info.getUTCDate();
709
- var month = date_info.getUTCMonth();
710
- if (serial >= 60 && serial < 61) {
711
- days = 29;
712
- month = 1;
713
- }
714
- return new Date(date_info.getUTCFullYear(), month, days, hours, minutes, seconds);
715
- }
716
706
  function parseBool(bool) {
717
707
  if (typeof bool === "boolean") {
718
708
  return bool;
@@ -746,7 +736,7 @@ function _typeof(o) {
746
736
  if (d < 0 || d >= 2958466) {
747
737
  return num;
748
738
  }
749
- return serialNumberToDate(d);
739
+ return serialToDate(d);
750
740
  }
751
741
  if (typeof date === "string") {
752
742
  date = /(\d{4})-(\d\d?)-(\d\d?)$/.test(date) ? new Date(date + "T00:00:00.000") : new Date(date);
@@ -860,9 +850,6 @@ function _typeof(o) {
860
850
  function isDefined(arg) {
861
851
  return arg !== undefined && arg !== null;
862
852
  }
863
- function CELL() {
864
- throw new Error("CELL is not implemented");
865
- }
866
853
  var ERROR = {};
867
854
  ERROR.TYPE = function(error_val) {
868
855
  switch (error_val) {
@@ -892,9 +879,6 @@ function _typeof(o) {
892
879
  }
893
880
  return na;
894
881
  };
895
- function INFO() {
896
- throw new Error("INFO is not implemented");
897
- }
898
882
  function ISBLANK(value) {
899
883
  return value === null;
900
884
  }
@@ -907,9 +891,6 @@ function _typeof(o) {
907
891
  function ISEVEN(number) {
908
892
  return !(Math.floor(Math.abs(number)) & 1);
909
893
  }
910
- function ISFORMULA() {
911
- throw new Error("ISFORMULA is not implemented");
912
- }
913
894
  function ISLOGICAL(value) {
914
895
  return value === true || value === false;
915
896
  }
@@ -925,9 +906,6 @@ function _typeof(o) {
925
906
  function ISODD(value) {
926
907
  return !!(Math.floor(Math.abs(value)) & 1);
927
908
  }
928
- function ISREF() {
929
- throw new Error("ISREF is not implemented");
930
- }
931
909
  function ISTEXT(value) {
932
910
  return typeof value === "string";
933
911
  }
@@ -952,12 +930,6 @@ function _typeof(o) {
952
930
  function NA() {
953
931
  return na;
954
932
  }
955
- function SHEET() {
956
- throw new Error("SHEET is not implemented");
957
- }
958
- function SHEETS() {
959
- throw new Error("SHEETS is not implemented");
960
- }
961
933
  function TYPE(value) {
962
934
  if (ISNUMBER(value)) {
963
935
  return 1;
@@ -4672,12 +4644,6 @@ function _typeof(o) {
4672
4644
  }
4673
4645
  return result;
4674
4646
  }
4675
- function ASC() {
4676
- throw new Error("ASC is not implemented");
4677
- }
4678
- function BAHTTEXT() {
4679
- throw new Error("BAHTTEXT is not implemented");
4680
- }
4681
4647
  function CHAR(number) {
4682
4648
  number = parseNumber(number);
4683
4649
  if (number === 0) {
@@ -4724,9 +4690,6 @@ function _typeof(o) {
4724
4690
  return args.join("");
4725
4691
  }
4726
4692
  var CONCAT = CONCATENATE;
4727
- function DBCS() {
4728
- throw new Error("DBCS is not implemented");
4729
- }
4730
4693
  function DOLLAR(number) {
4731
4694
  var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
4732
4695
  number = parseNumber(number);
@@ -4858,9 +4821,6 @@ function _typeof(o) {
4858
4821
  group_separator = typeof group_separator === "undefined" ? "," : group_separator;
4859
4822
  return Number(text.replace(decimal_separator, ".").replace(group_separator, ""));
4860
4823
  }
4861
- function PRONETIC() {
4862
- throw new Error("PRONETIC is not implemented");
4863
- }
4864
4824
  function PROPER(text) {
4865
4825
  if (anyIsError(text)) {
4866
4826
  return text;
@@ -7799,7 +7759,6 @@ function _typeof(o) {
7799
7759
  NE: NE,
7800
7760
  POW: POW
7801
7761
  });
7802
- var d1900 = new Date(Date.UTC(1900, 0, 1));
7803
7762
  var WEEK_STARTS = [ undefined, 0, 1, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 1, 2, 3, 4, 5, 6, 0 ];
7804
7763
  var WEEK_TYPES = [ [], [ 1, 2, 3, 4, 5, 6, 7 ], [ 7, 1, 2, 3, 4, 5, 6 ], [ 6, 0, 1, 2, 3, 4, 5 ], [], [], [], [], [], [], [], [ 7, 1, 2, 3, 4, 5, 6 ], [ 6, 7, 1, 2, 3, 4, 5 ], [ 5, 6, 7, 1, 2, 3, 4 ], [ 4, 5, 6, 7, 1, 2, 3 ], [ 3, 4, 5, 6, 7, 1, 2 ], [ 2, 3, 4, 5, 6, 7, 1 ], [ 1, 2, 3, 4, 5, 6, 7 ] ];
7805
7764
  var WEEKEND_TYPES = [ [], [ 6, 0 ], [ 0, 1 ], [ 1, 2 ], [ 2, 3 ], [ 3, 4 ], [ 4, 5 ], [ 5, 6 ], undefined, undefined, undefined, [ 0, 0 ], [ 1, 1 ], [ 2, 2 ], [ 3, 3 ], [ 4, 4 ], [ 5, 5 ], [ 6, 6 ] ];
@@ -7816,7 +7775,7 @@ function _typeof(o) {
7816
7775
  result = num;
7817
7776
  }
7818
7777
  }
7819
- return result;
7778
+ return returnSerial ? dateToSerial(result) : result;
7820
7779
  }
7821
7780
  function DATEDIF(start_date, end_date, unit) {
7822
7781
  unit = unit.toUpperCase();
@@ -7887,7 +7846,8 @@ function _typeof(o) {
7887
7846
  if (isNaN(date)) {
7888
7847
  return value;
7889
7848
  }
7890
- return new Date(date_text);
7849
+ var dateValue = new Date(date_text);
7850
+ return returnSerial ? dateToSerial(dateValue) : dateValue;
7891
7851
  }
7892
7852
  function DAY(serial_number) {
7893
7853
  var date = parseDate(serial_number);
@@ -7910,7 +7870,7 @@ function _typeof(o) {
7910
7870
  if (start_date instanceof Error) {
7911
7871
  return start_date;
7912
7872
  }
7913
- return serial(startOfDay(end_date)) - serial(startOfDay(start_date));
7873
+ return dateToSerial(startOfDay(end_date)) - dateToSerial(startOfDay(start_date));
7914
7874
  }
7915
7875
  function DAYS360(start_date, end_date, method) {
7916
7876
  method = parseBool(method || "false");
@@ -7970,7 +7930,7 @@ function _typeof(o) {
7970
7930
  storedDay = Math.min(storedDay, daysInTargetMonth);
7971
7931
  }
7972
7932
  start_date.setDate(storedDay);
7973
- return start_date;
7933
+ return returnSerial ? dateToSerial(start_date) : start_date;
7974
7934
  }
7975
7935
  function EOMONTH(start_date, months) {
7976
7936
  start_date = parseDate(start_date);
@@ -7981,7 +7941,8 @@ function _typeof(o) {
7981
7941
  return value;
7982
7942
  }
7983
7943
  months = parseInt(months, 10);
7984
- return new Date(start_date.getFullYear(), start_date.getMonth() + months + 1, 0);
7944
+ var eoMonth = new Date(start_date.getFullYear(), start_date.getMonth() + months + 1, 0);
7945
+ return returnSerial ? dateToSerial(eoMonth) : eoMonth;
7985
7946
  }
7986
7947
  function HOUR(serial_number) {
7987
7948
  serial_number = parseDate(serial_number);
@@ -8079,7 +8040,7 @@ function _typeof(o) {
8079
8040
  return total;
8080
8041
  };
8081
8042
  function NOW() {
8082
- return new Date;
8043
+ return returnSerial ? dateToSerial(new Date) : new Date;
8083
8044
  }
8084
8045
  function SECOND(serial_number) {
8085
8046
  serial_number = parseDate(serial_number);
@@ -8108,7 +8069,8 @@ function _typeof(o) {
8108
8069
  return (3600 * time_text.getHours() + 60 * time_text.getMinutes() + time_text.getSeconds()) / 86400;
8109
8070
  }
8110
8071
  function TODAY() {
8111
- return startOfDay(new Date);
8072
+ var today = startOfDay(new Date);
8073
+ return returnSerial ? dateToSerial(today) : today;
8112
8074
  }
8113
8075
  function WEEKDAY(serial_number, return_type) {
8114
8076
  serial_number = parseDate(serial_number);
@@ -8268,10 +8230,6 @@ function _typeof(o) {
8268
8230
  return (ed + em * 30 + ey * 360 - (sd + sm * 30 + sy * 360)) / 360;
8269
8231
  }
8270
8232
  }
8271
- function serial(date) {
8272
- var addOn = date > -22038912e5 ? 2 : 1;
8273
- return Math.ceil((date - d1900) / 864e5) + addOn;
8274
- }
8275
8233
  var bessel$1 = {};
8276
8234
  var hasRequiredBessel;
8277
8235
  function requireBessel() {
@@ -8894,18 +8852,12 @@ function _typeof(o) {
8894
8852
  }
8895
8853
  return jStat.erf(lower_limit);
8896
8854
  }
8897
- ERF.PRECISE = function() {
8898
- throw new Error("ERF.PRECISE is not implemented");
8899
- };
8900
8855
  function ERFC(x) {
8901
8856
  if (isNaN(x)) {
8902
8857
  return value;
8903
8858
  }
8904
8859
  return jStat.erfc(x);
8905
8860
  }
8906
- ERFC.PRECISE = function() {
8907
- throw new Error("ERFC.PRECISE is not implemented");
8908
- };
8909
8861
  function GESTEP(number, step) {
8910
8862
  step = step || 0;
8911
8863
  number = parseNumber(number);
@@ -9794,18 +9746,6 @@ function _typeof(o) {
9794
9746
  basis = basis || 0;
9795
9747
  return par * rate * YEARFRAC(issue, settlement, basis);
9796
9748
  }
9797
- function ACCRINTM() {
9798
- throw new Error("ACCRINTM is not implemented");
9799
- }
9800
- function AMORDEGRC() {
9801
- throw new Error("AMORDEGRC is not implemented");
9802
- }
9803
- function AMORLINC() {
9804
- throw new Error("AMORLINC is not implemented");
9805
- }
9806
- function COUPDAYBS() {
9807
- throw new Error("COUPDAYBS is not implemented");
9808
- }
9809
9749
  function COUPDAYS(settlement, maturity, frequency, basis) {
9810
9750
  basis = validateBasis(basis);
9811
9751
  frequency = validateFrequency(frequency);
@@ -9818,10 +9758,10 @@ function _typeof(o) {
9818
9758
  return num;
9819
9759
  }
9820
9760
  if (basis === 1) {
9821
- var date = lastCoupDateBeforeSettlement(settlement, maturity, frequency);
9822
- var nextDate = parseDate(date);
9761
+ var _date = lastCoupDateBeforeSettlement(settlement, maturity, frequency);
9762
+ var nextDate = parseDate(_date);
9823
9763
  nextDate.setMonth(nextDate.getMonth() + 12 / frequency);
9824
- return DATEDIF(date, nextDate, "D");
9764
+ return DATEDIF(_date, nextDate, "D");
9825
9765
  }
9826
9766
  var numOfDays;
9827
9767
  switch (basis) {
@@ -9840,18 +9780,6 @@ function _typeof(o) {
9840
9780
  }
9841
9781
  return numOfDays / frequency;
9842
9782
  }
9843
- function COUPDAYSNC() {
9844
- throw new Error("COUPDAYSNC is not implemented");
9845
- }
9846
- function COUPNCD() {
9847
- throw new Error("COUPNCD is not implemented");
9848
- }
9849
- function COUPNUM() {
9850
- throw new Error("COUPNUM is not implemented");
9851
- }
9852
- function COUPPCD() {
9853
- throw new Error("COUPPCD is not implemented");
9854
- }
9855
9783
  function CUMIPMT(rate, nper, pv, start_period, end_period, type) {
9856
9784
  rate = parseNumber(rate);
9857
9785
  nper = parseNumber(nper);
@@ -10059,9 +9987,6 @@ function _typeof(o) {
10059
9987
  result += decimal_dollar % 1 * Math.pow(10, -Math.ceil(Math.log(fraction) / Math.LN10)) * fraction;
10060
9988
  return result;
10061
9989
  }
10062
- function DURATION() {
10063
- throw new Error("DURATION is not implemented");
10064
- }
10065
9990
  function EFFECT(nominal_rate, npery) {
10066
9991
  nominal_rate = parseNumber(nominal_rate);
10067
9992
  npery = parseNumber(npery);
@@ -10107,9 +10032,6 @@ function _typeof(o) {
10107
10032
  }
10108
10033
  return future;
10109
10034
  }
10110
- function INTRATE() {
10111
- throw new Error("INTRATE is not implemented");
10112
- }
10113
10035
  function IPMT(rate, per, nper, pv, fv, type) {
10114
10036
  fv = fv || 0;
10115
10037
  type = type || 0;
@@ -10242,9 +10164,6 @@ function _typeof(o) {
10242
10164
  }
10243
10165
  return pv * rate * (per / nper - 1);
10244
10166
  }
10245
- function MDURATION() {
10246
- throw new Error("MDURATION is not implemented");
10247
- }
10248
10167
  function MIRR(values, finance_rate, reinvest_rate) {
10249
10168
  values = parseNumberArray(flatten(values));
10250
10169
  finance_rate = parseNumber(finance_rate);
@@ -10309,18 +10228,6 @@ function _typeof(o) {
10309
10228
  }
10310
10229
  return value;
10311
10230
  }
10312
- function ODDFPRICE() {
10313
- throw new Error("ODDFPRICE is not implemented");
10314
- }
10315
- function ODDFYIELD() {
10316
- throw new Error("ODDFYIELD is not implemented");
10317
- }
10318
- function ODDLPRICE() {
10319
- throw new Error("ODDLPRICE is not implemented");
10320
- }
10321
- function ODDLYIELD() {
10322
- throw new Error("ODDLYIELD is not implemented");
10323
- }
10324
10231
  function PDURATION(rate, pv, fv) {
10325
10232
  rate = parseNumber(rate);
10326
10233
  pv = parseNumber(pv);
@@ -10366,9 +10273,6 @@ function _typeof(o) {
10366
10273
  }
10367
10274
  return PMT(rate, nper, pv, fv, type) - IPMT(rate, per, nper, pv, fv, type);
10368
10275
  }
10369
- function PRICE() {
10370
- throw new Error("PRICE is not implemented");
10371
- }
10372
10276
  function PRICEDISC(settlement, maturity, discount, redemption, basis) {
10373
10277
  settlement = parseDate(settlement);
10374
10278
  maturity = parseDate(maturity);
@@ -10417,9 +10321,6 @@ function _typeof(o) {
10417
10321
  }
10418
10322
  return redemption - discount * redemption * diff / basisVal;
10419
10323
  }
10420
- function PRICEMAT() {
10421
- throw new Error("PRICEMAT is not implemented");
10422
- }
10423
10324
  function PV(rate, per, pmt, fv, type) {
10424
10325
  fv = fv || 0;
10425
10326
  type = type || 0;
@@ -10476,9 +10377,6 @@ function _typeof(o) {
10476
10377
  }
10477
10378
  return rate;
10478
10379
  }
10479
- function RECEIVED() {
10480
- throw new Error("RECEIVED is not implemented");
10481
- }
10482
10380
  function RRI(nper, pv, fv) {
10483
10381
  nper = parseNumber(nper);
10484
10382
  pv = parseNumber(pv);
@@ -10574,9 +10472,6 @@ function _typeof(o) {
10574
10472
  }
10575
10473
  return (100 - pr) * 360 / (pr * DAYS360(settlement, maturity, false));
10576
10474
  }
10577
- function VDB() {
10578
- throw new Error("VDB is not implemented");
10579
- }
10580
10475
  function XIRR(values, dates, guess) {
10581
10476
  values = parseNumberArray(flatten(values));
10582
10477
  dates = parseDateArray(flatten(dates));
@@ -10641,15 +10536,6 @@ function _typeof(o) {
10641
10536
  }
10642
10537
  return result;
10643
10538
  }
10644
- function YIELD() {
10645
- throw new Error("YIELD is not implemented");
10646
- }
10647
- function YIELDDISC() {
10648
- throw new Error("YIELDDISC is not implemented");
10649
- }
10650
- function YIELDMAT() {
10651
- throw new Error("YIELDMAT is not implemented");
10652
- }
10653
10539
  function AND() {
10654
10540
  var args = flatten(arguments);
10655
10541
  var result = value;
@@ -10841,21 +10727,18 @@ function _typeof(o) {
10841
10727
  }
10842
10728
  var utils = {
10843
10729
  errors: errors,
10844
- symbols: symbols
10730
+ symbols: symbols,
10731
+ date: date
10845
10732
  };
10846
10733
  exports.ABS = ABS;
10847
10734
  exports.ACCRINT = ACCRINT;
10848
- exports.ACCRINTM = ACCRINTM;
10849
10735
  exports.ACOS = ACOS;
10850
10736
  exports.ACOSH = ACOSH;
10851
10737
  exports.ACOT = ACOT;
10852
10738
  exports.ACOTH = ACOTH;
10853
10739
  exports.AGGREGATE = AGGREGATE;
10854
- exports.AMORDEGRC = AMORDEGRC;
10855
- exports.AMORLINC = AMORLINC;
10856
10740
  exports.AND = AND;
10857
10741
  exports.ARABIC = ARABIC;
10858
- exports.ASC = ASC;
10859
10742
  exports.ASIN = ASIN;
10860
10743
  exports.ASINH = ASINH;
10861
10744
  exports.ATAN = ATAN;
@@ -10866,7 +10749,6 @@ function _typeof(o) {
10866
10749
  exports.AVERAGEA = AVERAGEA;
10867
10750
  exports.AVERAGEIF = AVERAGEIF;
10868
10751
  exports.AVERAGEIFS = AVERAGEIFS;
10869
- exports.BAHTTEXT = BAHTTEXT;
10870
10752
  exports.BASE = BASE;
10871
10753
  exports.BESSELI = BESSELI;
10872
10754
  exports.BESSELJ = BESSELJ;
@@ -10888,7 +10770,6 @@ function _typeof(o) {
10888
10770
  exports.CEILING = CEILING;
10889
10771
  exports.CEILINGMATH = CEILINGMATH;
10890
10772
  exports.CEILINGPRECISE = CEILINGPRECISE;
10891
- exports.CELL = CELL;
10892
10773
  exports.CHAR = CHAR;
10893
10774
  exports.CHIDIST = CHIDIST;
10894
10775
  exports.CHIDISTRT = CHIDISTRT;
@@ -10918,12 +10799,7 @@ function _typeof(o) {
10918
10799
  exports.COUNTBLANK = COUNTBLANK;
10919
10800
  exports.COUNTIF = COUNTIF;
10920
10801
  exports.COUNTIFS = COUNTIFS;
10921
- exports.COUPDAYBS = COUPDAYBS;
10922
10802
  exports.COUPDAYS = COUPDAYS;
10923
- exports.COUPDAYSNC = COUPDAYSNC;
10924
- exports.COUPNCD = COUPNCD;
10925
- exports.COUPNUM = COUPNUM;
10926
- exports.COUPPCD = COUPPCD;
10927
10803
  exports.COVAR = COVAR;
10928
10804
  exports.COVARIANCE = COVARIANCE;
10929
10805
  exports.COVARIANCEP = COVARIANCEP;
@@ -10941,7 +10817,6 @@ function _typeof(o) {
10941
10817
  exports.DAYS = DAYS;
10942
10818
  exports.DAYS360 = DAYS360;
10943
10819
  exports.DB = DB;
10944
- exports.DBCS = DBCS;
10945
10820
  exports.DCOUNT = DCOUNT;
10946
10821
  exports.DCOUNTA = DCOUNTA;
10947
10822
  exports.DDB = DDB;
@@ -10963,7 +10838,6 @@ function _typeof(o) {
10963
10838
  exports.DSTDEV = DSTDEV;
10964
10839
  exports.DSTDEVP = DSTDEVP;
10965
10840
  exports.DSUM = DSUM;
10966
- exports.DURATION = DURATION;
10967
10841
  exports.DVAR = DVAR;
10968
10842
  exports.DVARP = DVARP;
10969
10843
  exports.EDATE = EDATE;
@@ -11048,17 +10922,14 @@ function _typeof(o) {
11048
10922
  exports.IMSUM = IMSUM;
11049
10923
  exports.IMTAN = IMTAN;
11050
10924
  exports.INDEX = INDEX;
11051
- exports.INFO = INFO;
11052
10925
  exports.INT = INT;
11053
10926
  exports.INTERCEPT = INTERCEPT;
11054
- exports.INTRATE = INTRATE;
11055
10927
  exports.IPMT = IPMT;
11056
10928
  exports.IRR = IRR;
11057
10929
  exports.ISBLANK = ISBLANK;
11058
10930
  exports.ISERR = ISERR;
11059
10931
  exports.ISERROR = ISERROR;
11060
10932
  exports.ISEVEN = ISEVEN;
11061
- exports.ISFORMULA = ISFORMULA;
11062
10933
  exports.ISLOGICAL = ISLOGICAL;
11063
10934
  exports.ISNA = ISNA;
11064
10935
  exports.ISNONTEXT = ISNONTEXT;
@@ -11067,7 +10938,6 @@ function _typeof(o) {
11067
10938
  exports.ISODD = ISODD;
11068
10939
  exports.ISOWEEKNUM = ISOWEEKNUM;
11069
10940
  exports.ISPMT = ISPMT;
11070
- exports.ISREF = ISREF;
11071
10941
  exports.ISTEXT = ISTEXT;
11072
10942
  exports.KURT = KURT;
11073
10943
  exports.LARGE = LARGE;
@@ -11089,7 +10959,6 @@ function _typeof(o) {
11089
10959
  exports.MAX = MAX;
11090
10960
  exports.MAXA = MAXA;
11091
10961
  exports.MAXIFS = MAXIFS;
11092
- exports.MDURATION = MDURATION;
11093
10962
  exports.MEDIAN = MEDIAN;
11094
10963
  exports.MID = MID;
11095
10964
  exports.MIN = MIN;
@@ -11127,10 +10996,6 @@ function _typeof(o) {
11127
10996
  exports.OCT2DEC = OCT2DEC;
11128
10997
  exports.OCT2HEX = OCT2HEX;
11129
10998
  exports.ODD = ODD;
11130
- exports.ODDFPRICE = ODDFPRICE;
11131
- exports.ODDFYIELD = ODDFYIELD;
11132
- exports.ODDLPRICE = ODDLPRICE;
11133
- exports.ODDLYIELD = ODDLYIELD;
11134
10999
  exports.OR = OR;
11135
11000
  exports.PDURATION = PDURATION;
11136
11001
  exports.PEARSON = PEARSON;
@@ -11149,12 +11014,9 @@ function _typeof(o) {
11149
11014
  exports.POISSONDIST = POISSONDIST;
11150
11015
  exports.POWER = POWER;
11151
11016
  exports.PPMT = PPMT;
11152
- exports.PRICE = PRICE;
11153
11017
  exports.PRICEDISC = PRICEDISC;
11154
- exports.PRICEMAT = PRICEMAT;
11155
11018
  exports.PROB = PROB;
11156
11019
  exports.PRODUCT = PRODUCT;
11157
- exports.PRONETIC = PRONETIC;
11158
11020
  exports.PROPER = PROPER;
11159
11021
  exports.PV = PV;
11160
11022
  exports.QUARTILE = QUARTILE;
@@ -11168,7 +11030,6 @@ function _typeof(o) {
11168
11030
  exports.RANKAVG = RANKAVG;
11169
11031
  exports.RANKEQ = RANKEQ;
11170
11032
  exports.RATE = RATE;
11171
- exports.RECEIVED = RECEIVED;
11172
11033
  exports.REPLACE = REPLACE;
11173
11034
  exports.REPT = REPT;
11174
11035
  exports.RIGHT = RIGHT;
@@ -11185,8 +11046,6 @@ function _typeof(o) {
11185
11046
  exports.SECH = SECH;
11186
11047
  exports.SECOND = SECOND;
11187
11048
  exports.SERIESSUM = SERIESSUM;
11188
- exports.SHEET = SHEET;
11189
- exports.SHEETS = SHEETS;
11190
11049
  exports.SIGN = SIGN;
11191
11050
  exports.SIN = SIN;
11192
11051
  exports.SINH = SINH;
@@ -11249,7 +11108,6 @@ function _typeof(o) {
11249
11108
  exports.VARP = VARP;
11250
11109
  exports.VARPA = VARPA;
11251
11110
  exports.VARS = VARS;
11252
- exports.VDB = VDB;
11253
11111
  exports.VLOOKUP = VLOOKUP;
11254
11112
  exports.WEEKDAY = WEEKDAY;
11255
11113
  exports.WEEKNUM = WEEKNUM;
@@ -11262,9 +11120,6 @@ function _typeof(o) {
11262
11120
  exports.XOR = XOR;
11263
11121
  exports.YEAR = YEAR;
11264
11122
  exports.YEARFRAC = YEARFRAC;
11265
- exports.YIELD = YIELD;
11266
- exports.YIELDDISC = YIELDDISC;
11267
- exports.YIELDMAT = YIELDMAT;
11268
11123
  exports.Z = Z;
11269
11124
  exports.ZTEST = ZTEST;
11270
11125
  exports.utils = utils;