@microsoft/1ds-core-js 4.1.0-nightly3.2401-02 → 4.1.0-nightly3.2401-05

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.
Files changed (42) hide show
  1. package/bundle/es5/{ms.core-4.1.0-nightly3.2401-02.gbl.js → ms.core-4.1.0-nightly3.2401-05.gbl.js} +109 -85
  2. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.gbl.js.map +1 -0
  3. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.gbl.min.js +7 -0
  4. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.integrity.json +46 -0
  6. package/bundle/es5/{ms.core-4.1.0-nightly3.2401-02.js → ms.core-4.1.0-nightly3.2401-05.js} +109 -85
  7. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.js.map +1 -0
  8. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.min.js +7 -0
  9. package/bundle/es5/ms.core-4.1.0-nightly3.2401-05.min.js.map +1 -0
  10. package/bundle/es5/ms.core.gbl.js +108 -84
  11. package/bundle/es5/ms.core.gbl.js.map +1 -1
  12. package/bundle/es5/ms.core.gbl.min.js +2 -2
  13. package/bundle/es5/ms.core.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.core.integrity.json +17 -17
  15. package/bundle/es5/ms.core.js +108 -84
  16. package/bundle/es5/ms.core.js.map +1 -1
  17. package/bundle/es5/ms.core.min.js +2 -2
  18. package/bundle/es5/ms.core.min.js.map +1 -1
  19. package/dist/es5/ms.core.js +106 -82
  20. package/dist/es5/ms.core.js.map +1 -1
  21. package/dist/es5/ms.core.min.js +2 -2
  22. package/dist/es5/ms.core.min.js.map +1 -1
  23. package/dist-es5/AppInsightsCore.js +1 -1
  24. package/dist-es5/BaseCore.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/Enums.js +1 -1
  27. package/dist-es5/Index.js +1 -1
  28. package/dist-es5/InternalConstants.js +1 -1
  29. package/dist-es5/Utils.js +2 -2
  30. package/dist-es5/Utils.js.map +1 -1
  31. package/dist-es5/ValueSanitizer.js +1 -1
  32. package/dist-es5/__DynamicConstants.js +1 -1
  33. package/package.json +2 -2
  34. package/types/1ds-core-js.d.ts +2 -2
  35. package/types/1ds-core-js.namespaced.d.ts +2 -2
  36. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.gbl.js.map +0 -1
  37. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.gbl.min.js +0 -7
  38. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.gbl.min.js.map +0 -1
  39. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.integrity.json +0 -46
  40. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.js.map +0 -1
  41. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.min.js +0 -7
  42. package/bundle/es5/ms.core-4.1.0-nightly3.2401-02.min.js.map +0 -1
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "ms.core",
3
+ "version": "4.1.0-nightly3.2401-05",
4
+ "ext": {
5
+ "@gbl.js": {
6
+ "file": "ms.core-4.1.0-nightly3.2401-05.gbl.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-2hBZRiHC1hLoDAKePs/APTaEC9xGnk3ThFGu5riGAq8= sha384-jnoMM8Yh8F9W1RQFhDgpfve04LQAhTrZbWdoMUGIB7wFr3NsKmJn5rbPbP4pJq1f sha512-7LiSbla1KK0NMCtKF4v/MjWRFDDRF/oNkpHkkMRjKSm3j5KZacvSbNsYLAkthoCL+3K8px8LuKpRrllui6Vy/Q==",
9
+ "hashes": {
10
+ "sha256": "2hBZRiHC1hLoDAKePs/APTaEC9xGnk3ThFGu5riGAq8=",
11
+ "sha384": "jnoMM8Yh8F9W1RQFhDgpfve04LQAhTrZbWdoMUGIB7wFr3NsKmJn5rbPbP4pJq1f",
12
+ "sha512": "7LiSbla1KK0NMCtKF4v/MjWRFDDRF/oNkpHkkMRjKSm3j5KZacvSbNsYLAkthoCL+3K8px8LuKpRrllui6Vy/Q=="
13
+ }
14
+ },
15
+ "@gbl.min.js": {
16
+ "file": "ms.core-4.1.0-nightly3.2401-05.gbl.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-fuBdx21vr37x1VP4yfR0yGS3JRMcAWgbXFiUWZePibs= sha384-3TNnDQF7OHNDVspSln8Xt3O+8q9G2wNXNAQckUIA5DjRsyhcklP70aWk6qrG/IPz sha512-/UyAF7aRh7hQv5mUiVmiIaKfZZPk42F8FGiLMQvbnHQZSxkjyKS7iff/AxY+vbH6xRzRhKnqSpU7gMTdpL9hXA==",
19
+ "hashes": {
20
+ "sha256": "fuBdx21vr37x1VP4yfR0yGS3JRMcAWgbXFiUWZePibs=",
21
+ "sha384": "3TNnDQF7OHNDVspSln8Xt3O+8q9G2wNXNAQckUIA5DjRsyhcklP70aWk6qrG/IPz",
22
+ "sha512": "/UyAF7aRh7hQv5mUiVmiIaKfZZPk42F8FGiLMQvbnHQZSxkjyKS7iff/AxY+vbH6xRzRhKnqSpU7gMTdpL9hXA=="
23
+ }
24
+ },
25
+ "@js": {
26
+ "file": "ms.core-4.1.0-nightly3.2401-05.js",
27
+ "type": "text/javascript; charset=utf-8",
28
+ "integrity": "sha256-7N5kIcu0ijaWQEr2nrIOGRwidrRtXTuP6LYJskAIaIU= sha384-dwFHfAQINQd5V49e/82RFPT+trGUlLrDpynQnssXpFJMwdVEwbJn1KCB1Tt+bjwo sha512-B1+8i9ka3s4FdJbB8vYZrrSySdOCfEb9wy2XCOezE09aBmBOALOZS6+YMBQDSpR6YbmQxrN/Z38gZ/6NVp+x/w==",
29
+ "hashes": {
30
+ "sha256": "7N5kIcu0ijaWQEr2nrIOGRwidrRtXTuP6LYJskAIaIU=",
31
+ "sha384": "dwFHfAQINQd5V49e/82RFPT+trGUlLrDpynQnssXpFJMwdVEwbJn1KCB1Tt+bjwo",
32
+ "sha512": "B1+8i9ka3s4FdJbB8vYZrrSySdOCfEb9wy2XCOezE09aBmBOALOZS6+YMBQDSpR6YbmQxrN/Z38gZ/6NVp+x/w=="
33
+ }
34
+ },
35
+ "@min.js": {
36
+ "file": "ms.core-4.1.0-nightly3.2401-05.min.js",
37
+ "type": "text/javascript; charset=utf-8",
38
+ "integrity": "sha256-nrHV/JzhT7K4f8450BDXHm6w4G8Ktc6K6+E4hLf0iRk= sha384-aLzyl7ftOlMdlpr9Sq1a/Z8KOweWD4BbFpVWWmqC4oXQ/mXuphhFTy85IAgZEz/k sha512-NOSX27zlZq3ocJaW4BsWhDn8YfoB9ykPJqks0rALwdIvmBtNwnjUHNqf/jjV5q9kdICcPXGqaA2FbW0vW1ZbLA==",
39
+ "hashes": {
40
+ "sha256": "nrHV/JzhT7K4f8450BDXHm6w4G8Ktc6K6+E4hLf0iRk=",
41
+ "sha384": "aLzyl7ftOlMdlpr9Sq1a/Z8KOweWD4BbFpVWWmqC4oXQ/mXuphhFTy85IAgZEz/k",
42
+ "sha512": "NOSX27zlZq3ocJaW4BsWhDn8YfoB9ykPJqks0rALwdIvmBtNwnjUHNqf/jjV5q9kdICcPXGqaA2FbW0vW1ZbLA=="
43
+ }
44
+ }
45
+ }
46
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK Core, 4.1.0-nightly3.2401-02
2
+ * 1DS JS SDK Core, 4.1.0-nightly3.2401-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -8,8 +8,8 @@
8
8
  typeof exports === "object" && typeof module !== undef ? factory(exports) :
9
9
  typeof define === "function" && define.amd ? define(["exports"], factory) :
10
10
  (function(global){
11
- var nsKey, key, nm, theExports = {}, modName = "es5_ms_core_4_1_0_nightly3_2401_02", msMod="__ms$mod__";
12
- var mods={}, modDetail=mods[modName]={}, ver="4.1.0-nightly3.2401-02";
11
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_core_4_1_0_nightly3_2401_05", msMod="__ms$mod__";
12
+ var mods={}, modDetail=mods[modName]={}, ver="4.1.0-nightly3.2401-05";
13
13
  // Versioned namespace "oneDS4"
14
14
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
15
15
  // Global namespace "oneDS"
@@ -52,11 +52,13 @@ var CONSTRUCTOR = "constructor";
52
52
  var SYMBOL = "Symbol";
53
53
  var POLYFILL_TAG = "_polyfill";
54
54
  var INDEX_OF = "indexOf";
55
+ var LAST_INDEX_OF = "lastIndexOf";
55
56
  var LENGTH = "length";
56
57
  var DONE = "done";
57
58
  var VALUE = "value";
58
59
  var NAME = "name";
59
60
  var SLICE = "slice";
61
+ var CALL = "call";
60
62
  var ObjClass = Object;
61
63
  var ObjProto = ObjClass[PROTOTYPE];
62
64
  var StrCls = String;
@@ -88,7 +90,7 @@ function _createObjIs(theName) {
88
90
  };
89
91
  }
90
92
  function objToString(value) {
91
- return ObjProto.toString.call(value);
93
+ return ObjProto.toString[CALL](value);
92
94
  }
93
95
  function isTypeof(value, theType) {
94
96
  return typeof value === theType;
@@ -105,11 +107,11 @@ function isStrictNullOrUndefined(value) {
105
107
  function isDefined(arg) {
106
108
  return !!arg || arg !== UNDEF_VALUE;
107
109
  }
108
- var isPrimitiveType = function (theType) {
110
+ function isPrimitiveType(theType) {
109
111
  return theType !== OBJECT && PRIMITIVE_TYPES.indexOf(theType) !== -1;
110
- };
111
- var isString = _createIs(STRING);
112
- var isFunction = _createIs(FUNCTION);
112
+ }
113
+ var isString = ( _createIs(STRING));
114
+ var isFunction = ( _createIs(FUNCTION));
113
115
  function isObject(value) {
114
116
  if (!value && isNullOrUndefined(value)) {
115
117
  return false;
@@ -117,12 +119,12 @@ function isObject(value) {
117
119
  return !!value && typeof value === OBJECT;
118
120
  }
119
121
  var isArray = ArrCls.isArray;
120
- var isDate = _createObjIs("Date");
121
- var isNumber = _createIs(NUMBER);
122
- var isBoolean = _createIs(BOOLEAN);
123
- var isError = _createObjIs("Error");
122
+ var isDate = ( _createObjIs("Date"));
123
+ var isNumber = ( _createIs(NUMBER));
124
+ var isBoolean = ( _createIs(BOOLEAN));
125
+ var isError = ( _createObjIs("Error"));
124
126
  function isPromiseLike(value) {
125
- return !!value && isFunction(value.then);
127
+ return !!(value && value.then && isFunction(value.then));
126
128
  }
127
129
  function isNotTruthy(value) {
128
130
  return !value || !safeGet(function () { return (value && (0 + value)); }, value);
@@ -134,7 +136,7 @@ function isTruthy(value) {
134
136
  var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
135
137
 
136
138
  function objHasOwnProperty(obj, prop) {
137
- return obj && ObjProto.hasOwnProperty.call(obj, prop);
139
+ return obj && ObjProto.hasOwnProperty[CALL](obj, prop);
138
140
  }
139
141
 
140
142
  var objHasOwn = ObjClass["hasOwn"] || polyObjHasOwn;
@@ -146,7 +148,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
146
148
  if (theObject && isObject(theObject)) {
147
149
  for (var prop in theObject) {
148
150
  if (objHasOwn(theObject, prop)) {
149
- if (callbackfn.call(thisArg || theObject, prop, theObject[prop]) === -1) {
151
+ if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
150
152
  break;
151
153
  }
152
154
  }
@@ -171,8 +173,12 @@ function throwTypeError(message) {
171
173
  }
172
174
 
173
175
  var _objFreeze = ObjClass["freeze"];
174
- var _doNothing = function (value) { return value; };
175
- var _getProto = function (value) { return value[__PROTO__] || NULL_VALUE; };
176
+ function _doNothing(value) {
177
+ return value;
178
+ }
179
+ function _getProto(value) {
180
+ return value[__PROTO__] || NULL_VALUE;
181
+ }
176
182
  var objAssign = ObjClass["assign"];
177
183
  function objKeys(value) {
178
184
  if (!isObject(value) || value === NULL_VALUE) {
@@ -201,7 +207,7 @@ function createEnumKeyMap(values) {
201
207
  return _createKeyValueMap(values, 0 , 0 , objDeepFreeze);
202
208
  }
203
209
 
204
- var _wellKnownSymbolMap = createEnumKeyMap({
210
+ var _wellKnownSymbolMap = createEnumKeyMap({
205
211
  asyncIterator: 0 ,
206
212
  hasInstance: 1 ,
207
213
  isConcatSpreadable: 2 ,
@@ -261,36 +267,39 @@ function dumpObj(object, format) {
261
267
  return objToString(object) + ": " + propertyValueDump;
262
268
  }
263
269
 
264
- var _arrSlice = ArrProto[SLICE];
265
- var _throwMissingFunction = function (funcName, thisArg) {
270
+ var _slice;
271
+ function _throwMissingFunction(funcName, thisArg) {
266
272
  throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
267
- };
268
- var _unwrapInstFunction = function (funcName) {
273
+ }
274
+ function _unwrapInstFunction(funcName) {
275
+ _slice = _slice || ArrProto[SLICE];
269
276
  return function (thisArg) {
270
- return thisArg[funcName].apply(thisArg, _arrSlice.call(arguments, 1));
277
+ return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
271
278
  };
272
- };
273
- var _unwrapFunction = function (funcName, clsProto) {
279
+ }
280
+ function _unwrapFunction(funcName, clsProto) {
281
+ _slice = _slice || ArrProto[SLICE];
274
282
  var clsFn = clsProto && clsProto[funcName];
275
283
  return function (thisArg) {
276
284
  var theFunc = (thisArg && thisArg[funcName]) || clsFn;
277
285
  if (theFunc) {
278
- return theFunc.apply(thisArg, _arrSlice.call(arguments, 1));
286
+ return theFunc.apply(thisArg, _slice[CALL](arguments, 1));
279
287
  }
280
288
  _throwMissingFunction(funcName, thisArg);
281
289
  };
282
- };
283
- var _unwrapFunctionWithPoly = function (funcName, clsProto, polyFunc) {
290
+ }
291
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
292
+ _slice = _slice || ArrProto[SLICE];
284
293
  var clsFn = clsProto && clsProto[funcName];
285
294
  return function (thisArg) {
286
295
  var theFunc = (thisArg && thisArg[funcName]) || clsFn;
287
296
  if (theFunc || polyFunc) {
288
297
  var theArgs = arguments;
289
- return (theFunc || polyFunc).apply(thisArg, theFunc ? _arrSlice.call(theArgs, 1) : theArgs);
298
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? _slice[CALL](theArgs, 1) : theArgs);
290
299
  }
291
300
  _throwMissingFunction(funcName, thisArg);
292
301
  };
293
- };
302
+ }
294
303
  function _unwrapProp(propName) {
295
304
  return function (thisArg) {
296
305
  return thisArg[propName];
@@ -299,10 +308,10 @@ function _unwrapProp(propName) {
299
308
 
300
309
  var mathMax = MathCls.max;
301
310
 
302
- var strSlice = _unwrapFunction(SLICE, StrProto);
311
+ var strSlice = ( _unwrapFunction(SLICE, StrProto));
303
312
 
304
- var strSubstring = _unwrapFunction("substring", StrProto);
305
- var strSubstr = _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr);
313
+ var strSubstring = ( _unwrapFunction("substring", StrProto));
314
+ var strSubstr = ( _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
306
315
  function polyStrSubstr(value, start, length) {
307
316
  if (isNullOrUndefined(value)) {
308
317
  throwTypeError("'polyStrSubstr called with invalid " + dumpObj(value));
@@ -323,7 +332,7 @@ function strLeft(value, count) {
323
332
  return strSubstring(value, 0, count);
324
333
  }
325
334
 
326
- var strStartsWith = _unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith);
335
+ var strStartsWith = ( _unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith));
327
336
  function polyStrStartsWith(value, searchString, position) {
328
337
  if (!isString(value)) {
329
338
  throwTypeError("'" + dumpObj(value) + "' is not a string");
@@ -457,12 +466,14 @@ var _cachedDocument;
457
466
  var _cachedNavigator;
458
467
  var _cachedHistory;
459
468
  var _isNode;
460
- var lazySafeGetInst = function (name) { return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE); };
461
- var getGlobal = function (useCached) {
469
+ function lazySafeGetInst(name) {
470
+ return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
471
+ }
472
+ function getGlobal(useCached) {
462
473
  (!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
463
474
  return _cachedGlobal.v;
464
- };
465
- var getInst = function (name, useCached) {
475
+ }
476
+ function getInst(name, useCached) {
466
477
  var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
467
478
  if (gbl && gbl[name]) {
468
479
  return gbl[name];
@@ -471,31 +482,39 @@ var getInst = function (name, useCached) {
471
482
  return _cachedWindow.v;
472
483
  }
473
484
  return NULL_VALUE;
474
- };
475
- var hasDocument = function () { return !!getDocument(); };
476
- var getDocument = function () {
485
+ }
486
+ function hasDocument() {
487
+ return !!getDocument();
488
+ }
489
+ function getDocument() {
477
490
  (!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
478
491
  return _cachedDocument.v;
479
- };
480
- var hasWindow = function () { return !!getWindow(); };
481
- var getWindow = function () {
492
+ }
493
+ function hasWindow() {
494
+ return !!getWindow();
495
+ }
496
+ function getWindow() {
482
497
  (!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
483
498
  return _cachedWindow.v;
484
- };
485
- var hasNavigator = function () { return !!getNavigator(); };
486
- var getNavigator = function () {
499
+ }
500
+ function hasNavigator() {
501
+ return !!getNavigator();
502
+ }
503
+ function getNavigator() {
487
504
  (!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
488
505
  return _cachedNavigator.v;
489
- };
490
- var hasHistory = function () { return !!getHistory(); };
491
- var getHistory = function () {
506
+ }
507
+ function hasHistory() {
508
+ return !!getHistory();
509
+ }
510
+ function getHistory() {
492
511
  (!_cachedHistory || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedHistory.b)) && (_cachedHistory = lazySafeGetInst("history"));
493
512
  return _cachedHistory.v;
494
- };
495
- var isNode = function () {
513
+ }
514
+ function isNode() {
496
515
  !_isNode && (_isNode = safeGetLazy(function () { return !!(process && (process.versions || {}).node); }, false));
497
516
  return _isNode.v;
498
- };
517
+ }
499
518
 
500
519
  var _symbol;
501
520
  var _symbolFor;
@@ -549,7 +568,7 @@ function iterForOf(iter, callbackfn, thisArg) {
549
568
  try {
550
569
  var count = 0;
551
570
  while (!(iterResult = iter.next())[DONE]) {
552
- if (callbackfn.call(thisArg || iter, iterResult[VALUE], count, iter) === -1) {
571
+ if (callbackfn[CALL](thisArg || iter, iterResult[VALUE], count, iter) === -1) {
553
572
  break;
554
573
  }
555
574
  count++;
@@ -578,7 +597,7 @@ function iterForOf(iter, callbackfn, thisArg) {
578
597
  }
579
598
  }
580
599
 
581
- var fnApply = _unwrapInstFunction("apply");
600
+ var fnApply = ( _unwrapInstFunction("apply"));
582
601
 
583
602
  function arrAppend(target, elms) {
584
603
  if (!isUndefined(elms) && target) {
@@ -602,7 +621,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
602
621
  var len = theArray[LENGTH] >>> 0;
603
622
  for (var idx = 0; idx < len; idx++) {
604
623
  if (idx in theArray) {
605
- if (callbackfn.call(thisArg || theArray, theArray[idx], idx, theArray) === -1) {
624
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
606
625
  break;
607
626
  }
608
627
  }
@@ -610,24 +629,22 @@ function arrForEach(theArray, callbackfn, thisArg) {
610
629
  }
611
630
  }
612
631
 
613
- var arrIndexOf = _unwrapFunction(INDEX_OF, ArrProto);
632
+ var arrIndexOf = ( _unwrapFunction(INDEX_OF, ArrProto));
633
+ ( _unwrapFunction(LAST_INDEX_OF, ArrProto));
614
634
 
615
- var arrMap = _unwrapFunction("map", ArrProto);
635
+ var arrMap = ( _unwrapFunction("map", ArrProto));
616
636
 
617
- var arrSlice = _unwrapFunction(SLICE, ArrProto);
618
-
619
- var fnCall = _unwrapInstFunction("call");
637
+ var arrSlice = ( _unwrapFunction(SLICE, ArrProto));
620
638
 
621
639
  function polyArrIncludes(theArray, searchElement, fromIndex) {
622
640
  return arrIndexOf(theArray, searchElement, fromIndex) !== -1;
623
641
  }
624
642
 
625
- var arrIncludes = _unwrapFunctionWithPoly("includes", ArrProto, polyArrIncludes);
643
+ var arrIncludes = ( _unwrapFunctionWithPoly("includes", ArrProto, polyArrIncludes));
626
644
 
627
- var arrReduce = _unwrapFunction("reduce", ArrProto);
645
+ var arrReduce = ( _unwrapFunction("reduce", ArrProto));
628
646
 
629
- var _objCreate = ObjClass["create"];
630
- var objCreate = _objCreate || polyObjCreate;
647
+ var objCreate = ObjClass["create"] || polyObjCreate;
631
648
  function polyObjCreate(obj) {
632
649
  if (!obj) {
633
650
  return {};
@@ -654,7 +671,7 @@ function objSetPrototypeOf(obj, proto) {
654
671
  return fn(obj, proto);
655
672
  }
656
673
 
657
- var _createCustomError = function (name, d, b) {
674
+ function _createCustomError(name, d, b) {
658
675
  _safeDefineName(d, name);
659
676
  d = objSetPrototypeOf(d, b);
660
677
  function __() {
@@ -663,7 +680,7 @@ var _createCustomError = function (name, d, b) {
663
680
  }
664
681
  d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
665
682
  return d;
666
- };
683
+ }
667
684
  var _safeSetName = function (baseClass, name) {
668
685
  try {
669
686
  name && (baseClass[NAME] = name);
@@ -721,9 +738,13 @@ function _createTrimFn(exp) {
721
738
  return value;
722
739
  };
723
740
  }
724
- var polyStrTrim = _createTrimFn(/^\s+|(?=\s)\s+$/g);
741
+ var polyStrTrim = ( _createTrimFn(/^\s+|(?=\s)\s+$/g));
742
+ var polyStrTrimStart = ( _createTrimFn(/^\s+/g));
743
+ var polyStrTrimEnd = ( _createTrimFn(/(?=\s)\s+$/g));
725
744
 
726
- var strTrim = _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim);
745
+ var strTrim = ( _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
746
+ ( _unwrapFunctionWithPoly("trimStart", StrProto, polyStrTrimStart));
747
+ ( _unwrapFunctionWithPoly("trimEnd", StrProto, polyStrTrimEnd));
727
748
 
728
749
  var _fnToString;
729
750
  var _objCtrFnString;
@@ -739,7 +760,7 @@ function isPlainObject(value) {
739
760
  if (value !== _gblWindow) {
740
761
  if (!_objCtrFnString) {
741
762
  _fnToString = Function[PROTOTYPE].toString;
742
- _objCtrFnString = fnCall(_fnToString, ObjClass);
763
+ _objCtrFnString = _fnToString[CALL](ObjClass);
743
764
  }
744
765
  try {
745
766
  var proto = objGetPrototypeOf(value);
@@ -748,7 +769,7 @@ function isPlainObject(value) {
748
769
  if (objHasOwnProperty(proto, CONSTRUCTOR)) {
749
770
  proto = proto[CONSTRUCTOR];
750
771
  }
751
- result = proto && typeof proto === FUNCTION && _fnToString.call(proto) === _objCtrFnString;
772
+ result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
752
773
  }
753
774
  }
754
775
  catch (ex) {
@@ -826,12 +847,12 @@ function _deepCopy(visitMap, value, ctx, key) {
826
847
  });
827
848
  var idx = 0;
828
849
  var handler = userHandler;
829
- while (!fnCall(handler || (idx < defaultDeepCopyHandlers.length ? defaultDeepCopyHandlers[idx++] : _defaultDeepCopyHandler), ctx, details)) {
850
+ while (!(handler || (idx < defaultDeepCopyHandlers.length ? defaultDeepCopyHandlers[idx++] : _defaultDeepCopyHandler))[CALL](ctx, details)) {
830
851
  handler = NULL_VALUE;
831
852
  }
832
853
  });
833
854
  }
834
- if (userHandler && fnCall(userHandler, ctx, details)) {
855
+ if (userHandler && userHandler[CALL](ctx, details)) {
835
856
  return details.result;
836
857
  }
837
858
  return value;
@@ -903,7 +924,7 @@ function deepExtend(target, obj1, obj2, obj3, obj4, obj5, obj6) {
903
924
  return _doExtend(objDeepCopy(target) || {}, arrSlice(arguments));
904
925
  }
905
926
 
906
- var getLength = _unwrapProp(LENGTH);
927
+ var getLength = ( _unwrapProp(LENGTH));
907
928
 
908
929
  var _perf;
909
930
  function getPerformance() {
@@ -918,7 +939,7 @@ function perfNow() {
918
939
  return utcNow();
919
940
  }
920
941
 
921
- var strEndsWith = _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith);
942
+ var strEndsWith = ( _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith));
922
943
  function polyStrEndsWith(value, searchString, length) {
923
944
  if (!isString(value)) {
924
945
  throwTypeError("'" + dumpObj(value) + "' is not a string");
@@ -930,7 +951,8 @@ function polyStrEndsWith(value, searchString, length) {
930
951
  return strSubstring(value, end - chkLen, end) === searchValue;
931
952
  }
932
953
 
933
- var strIndexOf = _unwrapFunction(INDEX_OF, StrProto);
954
+ var strIndexOf = ( _unwrapFunction(INDEX_OF, StrProto));
955
+ ( _unwrapFunction(LAST_INDEX_OF, StrProto));
934
956
 
935
957
  var REF = "ref";
936
958
  var UNREF = "un" + REF;
@@ -1393,15 +1415,15 @@ function throwAggregationError(message, sourceErrors) {
1393
1415
 
1394
1416
  function doAwaitResponse(value, cb) {
1395
1417
  return doAwait(value, function (value) {
1396
- cb && cb({
1418
+ return cb ? cb({
1397
1419
  value: value,
1398
1420
  rejected: false
1399
- });
1421
+ }) : value;
1400
1422
  }, function (reason) {
1401
- cb && cb({
1423
+ return cb ? cb({
1402
1424
  rejected: true,
1403
1425
  reason: reason
1404
- });
1426
+ }) : reason;
1405
1427
  });
1406
1428
  }
1407
1429
  function doAwait(value, resolveFn, rejectFn, finallyFn) {
@@ -1412,10 +1434,12 @@ function doAwait(value, resolveFn, rejectFn, finallyFn) {
1412
1434
  }
1413
1435
  }
1414
1436
  else {
1415
- resolveFn && resolveFn(value);
1437
+ if (resolveFn) {
1438
+ result = resolveFn(value);
1439
+ }
1416
1440
  }
1417
1441
  if (finallyFn) {
1418
- result = doFinally(result, finallyFn);
1442
+ doFinally(result, finallyFn);
1419
1443
  }
1420
1444
  return result;
1421
1445
  }
@@ -2126,7 +2150,7 @@ function newId(maxLength) {
2126
2150
  return result;
2127
2151
  }
2128
2152
 
2129
- var version = '3.1.0-nightly3.2401-02';
2153
+ var version = '3.1.0-nightly3.2401-05';
2130
2154
  var instanceName = "." + newId(6);
2131
2155
  var _dataUid = 0;
2132
2156
  function _canAcceptData(target) {
@@ -5614,7 +5638,7 @@ var _DYN_RM_FIELD_SANITIZER = "rmFieldSanitizer";
5614
5638
  var _DYN_CAN_HANDLE = "canHandle";
5615
5639
 
5616
5640
  var _a;
5617
- var Version = '4.1.0-nightly3.2401-02';
5641
+ var Version = '4.1.0-nightly3.2401-05';
5618
5642
  var FullVersionString = "1DS-Web-JS-" + Version;
5619
5643
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
5620
5644
  var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";
@@ -6348,4 +6372,4 @@ exports.toISOString = toISOString;
6348
6372
  exports.useXDomainRequest = useXDomainRequest;
6349
6373
 
6350
6374
  }));
6351
- //# sourceMappingURL=ms.core-4.1.0-nightly3.2401-02.js.map
6375
+ //# sourceMappingURL=ms.core-4.1.0-nightly3.2401-05.js.map