@microsoft/1ds-post-js 4.1.0-nightly3.2401-09 → 4.1.0-nightly3.2401-20
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/bundle/es5/{ms.post-4.1.0-nightly3.2401-09.gbl.js → ms.post-4.1.0-nightly3.2401-20.gbl.js} +104 -72
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.1.0-nightly3.2401-09.js → ms.post-4.1.0-nightly3.2401-20.js} +104 -72
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.js.map +1 -0
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.min.js +7 -0
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +103 -71
- package/bundle/es5/ms.post.gbl.js.map +1 -1
- package/bundle/es5/ms.post.gbl.min.js +2 -2
- package/bundle/es5/ms.post.gbl.min.js.map +1 -1
- package/bundle/es5/ms.post.integrity.json +17 -17
- package/bundle/es5/ms.post.js +103 -71
- package/bundle/es5/ms.post.js.map +1 -1
- package/bundle/es5/ms.post.min.js +2 -2
- package/bundle/es5/ms.post.min.js.map +1 -1
- package/dist/es5/ms.post.js +101 -69
- package/dist/es5/ms.post.js.map +1 -1
- package/dist/es5/ms.post.min.js +2 -2
- package/dist/es5/ms.post.min.js.map +1 -1
- package/dist-es5/BatchNotificationActions.js +1 -1
- package/dist-es5/ClockSkewManager.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/EventBatch.js +1 -1
- package/dist-es5/HttpManager.js +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/KillSwitch.js +1 -1
- package/dist-es5/PostChannel.js +2 -2
- package/dist-es5/PostChannel.js.map +1 -1
- package/dist-es5/RetryPolicy.js +2 -2
- package/dist-es5/RetryPolicy.js.map +1 -1
- package/dist-es5/Serializer.js +1 -1
- package/dist-es5/TimeoutOverrideWrapper.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/typings/XDomainRequest.js +1 -1
- package/package.json +4 -4
- package/types/1ds-post-js.d.ts +1 -1
- package/types/1ds-post-js.namespaced.d.ts +1 -1
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.integrity.json +0 -46
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.js.map +0 -1
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.min.js +0 -7
- package/bundle/es5/ms.post-4.1.0-nightly3.2401-09.min.js.map +0 -1
package/bundle/es5/{ms.post-4.1.0-nightly3.2401-09.gbl.js → ms.post-4.1.0-nightly3.2401-20.gbl.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK POST plugin, 4.1.0-nightly3.2401-
|
|
2
|
+
* 1DS JS SDK POST plugin, 4.1.0-nightly3.2401-20
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
* (Microsoft Internal Only)
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
7
|
var undef = "undefined";
|
|
8
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
9
|
-
var mods={}, modDetail=mods[modName]={}, ver="4.1.0-nightly3.2401-
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_1_0_nightly3_2401_20", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.1.0-nightly3.2401-20";
|
|
10
10
|
// Versioned namespace "oneDS4"
|
|
11
11
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
12
12
|
// Global namespace "oneDS"
|
|
@@ -52,7 +52,6 @@ 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";
|
|
56
55
|
var LENGTH = "length";
|
|
57
56
|
var DONE = "done";
|
|
58
57
|
var VALUE = "value";
|
|
@@ -77,34 +76,42 @@ function safeGet(cb, defValue) {
|
|
|
77
76
|
return result;
|
|
78
77
|
}
|
|
79
78
|
|
|
79
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
80
80
|
function _createIs(theType) {
|
|
81
81
|
return function (value) {
|
|
82
82
|
return typeof value === theType;
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
85
86
|
function _createObjIs(theName) {
|
|
86
87
|
var theType = "[object " + theName + "]";
|
|
87
88
|
return function (value) {
|
|
88
89
|
return !!(value && objToString(value) === theType);
|
|
89
90
|
};
|
|
90
91
|
}
|
|
92
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
91
93
|
function objToString(value) {
|
|
92
94
|
return ObjProto.toString[CALL](value);
|
|
93
95
|
}
|
|
96
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
94
97
|
function isUndefined(value) {
|
|
95
98
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
96
99
|
}
|
|
100
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
97
101
|
function isNullOrUndefined(value) {
|
|
98
102
|
return value === NULL_VALUE || isUndefined(value);
|
|
99
103
|
}
|
|
104
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
100
105
|
function isStrictNullOrUndefined(value) {
|
|
101
106
|
return value === NULL_VALUE || !isDefined(value);
|
|
102
107
|
}
|
|
108
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
103
109
|
function isDefined(arg) {
|
|
104
110
|
return !!arg || arg !== UNDEF_VALUE;
|
|
105
111
|
}
|
|
106
|
-
var isString = ( _createIs(STRING));
|
|
107
|
-
var isFunction = ( _createIs(FUNCTION));
|
|
112
|
+
var isString = ( /*#__PURE__*/_createIs(STRING));
|
|
113
|
+
var isFunction = ( /*#__PURE__*/_createIs(FUNCTION));
|
|
114
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
108
115
|
function isObject(value) {
|
|
109
116
|
if (!value && isNullOrUndefined(value)) {
|
|
110
117
|
return false;
|
|
@@ -112,20 +119,23 @@ function isObject(value) {
|
|
|
112
119
|
return !!value && typeof value === OBJECT;
|
|
113
120
|
}
|
|
114
121
|
var isArray = ArrCls.isArray;
|
|
115
|
-
var isNumber = ( _createIs(NUMBER));
|
|
116
|
-
var isBoolean = ( _createIs(BOOLEAN));
|
|
117
|
-
var isError = ( _createObjIs("Error"));
|
|
122
|
+
var isNumber = ( /*#__PURE__*/_createIs(NUMBER));
|
|
123
|
+
var isBoolean = ( /*#__PURE__*/_createIs(BOOLEAN));
|
|
124
|
+
var isError = ( /*#__PURE__*/_createObjIs("Error"));
|
|
125
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
118
126
|
function isPromiseLike(value) {
|
|
119
127
|
return !!(value && value.then && isFunction(value.then));
|
|
120
128
|
}
|
|
121
129
|
|
|
122
130
|
var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
|
|
123
131
|
|
|
132
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
124
133
|
function objHasOwnProperty(obj, prop) {
|
|
125
134
|
return obj && ObjProto.hasOwnProperty[CALL](obj, prop);
|
|
126
135
|
}
|
|
127
136
|
|
|
128
137
|
var objHasOwn = ObjClass["hasOwn"] || polyObjHasOwn;
|
|
138
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
129
139
|
function polyObjHasOwn(obj, prop) {
|
|
130
140
|
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
131
141
|
}
|
|
@@ -142,6 +152,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
|
|
|
142
152
|
}
|
|
143
153
|
}
|
|
144
154
|
|
|
155
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
145
156
|
function _createKeyValueMap(values, keyType, valueType, completeFn) {
|
|
146
157
|
var theMap = {};
|
|
147
158
|
objForEachKey(values, function (key, value) {
|
|
@@ -159,10 +170,12 @@ var _objFreeze = ObjClass["freeze"];
|
|
|
159
170
|
function _doNothing(value) {
|
|
160
171
|
return value;
|
|
161
172
|
}
|
|
173
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
162
174
|
function _getProto(value) {
|
|
163
175
|
return value[__PROTO__] || NULL_VALUE;
|
|
164
176
|
}
|
|
165
177
|
var objAssign = ObjClass["assign"];
|
|
178
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
166
179
|
function objKeys(value) {
|
|
167
180
|
if (!isObject(value) || value === NULL_VALUE) {
|
|
168
181
|
throwTypeError("objKeys called on non-object");
|
|
@@ -182,14 +195,16 @@ function objDeepFreeze(value) {
|
|
|
182
195
|
var objFreeze = _objFreeze || _doNothing;
|
|
183
196
|
var objGetPrototypeOf = ObjClass["getPrototypeOf"] || _getProto;
|
|
184
197
|
|
|
198
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
185
199
|
function createEnum(values) {
|
|
186
200
|
return _createKeyValueMap(values, 1 , 0 , objDeepFreeze);
|
|
187
201
|
}
|
|
202
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
188
203
|
function createEnumKeyMap(values) {
|
|
189
204
|
return _createKeyValueMap(values, 0 , 0 , objDeepFreeze);
|
|
190
205
|
}
|
|
191
206
|
|
|
192
|
-
var _wellKnownSymbolMap =
|
|
207
|
+
var _wellKnownSymbolMap = /*#__PURE__*/ createEnumKeyMap({
|
|
193
208
|
asyncIterator: 0 ,
|
|
194
209
|
hasInstance: 1 ,
|
|
195
210
|
isConcatSpreadable: 2 ,
|
|
@@ -209,6 +224,7 @@ var asString = StrCls;
|
|
|
209
224
|
|
|
210
225
|
var GLOBAL_CONFIG_KEY = "__tsUtils$gblCfg";
|
|
211
226
|
var _globalCfg;
|
|
227
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
212
228
|
function _getGlobalValue() {
|
|
213
229
|
var result;
|
|
214
230
|
if (typeof globalThis !== UNDEFINED) {
|
|
@@ -225,6 +241,7 @@ function _getGlobalValue() {
|
|
|
225
241
|
}
|
|
226
242
|
return result;
|
|
227
243
|
}
|
|
244
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
228
245
|
function _getGlobalConfig() {
|
|
229
246
|
if (!_globalCfg) {
|
|
230
247
|
var gbl = _getGlobalValue() || {};
|
|
@@ -233,6 +250,7 @@ function _getGlobalConfig() {
|
|
|
233
250
|
return _globalCfg;
|
|
234
251
|
}
|
|
235
252
|
|
|
253
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
236
254
|
function dumpObj(object, format) {
|
|
237
255
|
var propertyValueDump = EMPTY;
|
|
238
256
|
if (isError(object)) {
|
|
@@ -253,12 +271,14 @@ var _slice;
|
|
|
253
271
|
function _throwMissingFunction(funcName, thisArg) {
|
|
254
272
|
throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
|
|
255
273
|
}
|
|
274
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
256
275
|
function _unwrapInstFunction(funcName) {
|
|
257
276
|
_slice = _slice || ArrProto[SLICE];
|
|
258
277
|
return function (thisArg) {
|
|
259
278
|
return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
|
|
260
279
|
};
|
|
261
280
|
}
|
|
281
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
262
282
|
function _unwrapFunction(funcName, clsProto) {
|
|
263
283
|
_slice = _slice || ArrProto[SLICE];
|
|
264
284
|
var clsFn = clsProto && clsProto[funcName];
|
|
@@ -270,6 +290,7 @@ function _unwrapFunction(funcName, clsProto) {
|
|
|
270
290
|
_throwMissingFunction(funcName, thisArg);
|
|
271
291
|
};
|
|
272
292
|
}
|
|
293
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
273
294
|
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
274
295
|
_slice = _slice || ArrProto[SLICE];
|
|
275
296
|
var clsFn = clsProto && clsProto[funcName];
|
|
@@ -285,10 +306,11 @@ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
|
285
306
|
|
|
286
307
|
var mathMax = MathCls.max;
|
|
287
308
|
|
|
288
|
-
var strSlice = ( _unwrapFunction(SLICE, StrProto));
|
|
309
|
+
var strSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, StrProto));
|
|
289
310
|
|
|
290
|
-
var strSubstring = ( _unwrapFunction("substring", StrProto));
|
|
291
|
-
var strSubstr = ( _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
|
|
311
|
+
var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
|
|
312
|
+
var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
|
|
313
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
292
314
|
function polyStrSubstr(value, start, length) {
|
|
293
315
|
if (isNullOrUndefined(value)) {
|
|
294
316
|
throwTypeError("'polyStrSubstr called with invalid " + dumpObj(value));
|
|
@@ -305,11 +327,13 @@ function polyStrSubstr(value, start, length) {
|
|
|
305
327
|
}
|
|
306
328
|
return strSlice(value, start, start + length);
|
|
307
329
|
}
|
|
330
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
308
331
|
function strLeft(value, count) {
|
|
309
332
|
return strSubstring(value, 0, count);
|
|
310
333
|
}
|
|
311
334
|
|
|
312
|
-
var strStartsWith = ( _unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith));
|
|
335
|
+
var strStartsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith));
|
|
336
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
313
337
|
function polyStrStartsWith(value, searchString, position) {
|
|
314
338
|
if (!isString(value)) {
|
|
315
339
|
throwTypeError("'" + dumpObj(value) + "' is not a string");
|
|
@@ -322,6 +346,7 @@ function polyStrStartsWith(value, searchString, position) {
|
|
|
322
346
|
|
|
323
347
|
var UNIQUE_REGISTRY_ID = "_urid";
|
|
324
348
|
var _polySymbols;
|
|
349
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
325
350
|
function _globalSymbolRegistry() {
|
|
326
351
|
if (!_polySymbols) {
|
|
327
352
|
var gblCfg = _getGlobalConfig();
|
|
@@ -329,7 +354,8 @@ function _globalSymbolRegistry() {
|
|
|
329
354
|
}
|
|
330
355
|
return _polySymbols;
|
|
331
356
|
}
|
|
332
|
-
var _wellKnownSymbolCache
|
|
357
|
+
var _wellKnownSymbolCache;
|
|
358
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
333
359
|
function polyNewSymbol(description) {
|
|
334
360
|
var theSymbol = {
|
|
335
361
|
description: asString(description),
|
|
@@ -338,6 +364,7 @@ function polyNewSymbol(description) {
|
|
|
338
364
|
theSymbol[POLYFILL_TAG] = true;
|
|
339
365
|
return theSymbol;
|
|
340
366
|
}
|
|
367
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
341
368
|
function polySymbolFor(key) {
|
|
342
369
|
var registry = _globalSymbolRegistry();
|
|
343
370
|
if (!objHasOwn(registry.k, key)) {
|
|
@@ -349,7 +376,9 @@ function polySymbolFor(key) {
|
|
|
349
376
|
}
|
|
350
377
|
return registry.k[key];
|
|
351
378
|
}
|
|
379
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
352
380
|
function polyGetKnownSymbol(name) {
|
|
381
|
+
!_wellKnownSymbolCache && (_wellKnownSymbolCache = {});
|
|
353
382
|
var result;
|
|
354
383
|
var knownName = _wellKnownSymbolMap[name];
|
|
355
384
|
if (knownName) {
|
|
@@ -366,6 +395,7 @@ var propMap = {
|
|
|
366
395
|
g: "get",
|
|
367
396
|
s: "set"
|
|
368
397
|
};
|
|
398
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
369
399
|
function _createProp(value) {
|
|
370
400
|
var prop = {};
|
|
371
401
|
prop[propMap["c"]] = true;
|
|
@@ -429,13 +459,16 @@ var _cachedWindow;
|
|
|
429
459
|
var _cachedDocument;
|
|
430
460
|
var _cachedNavigator;
|
|
431
461
|
var _isNode;
|
|
462
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
432
463
|
function lazySafeGetInst(name) {
|
|
433
464
|
return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
|
|
434
465
|
}
|
|
466
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
435
467
|
function getGlobal(useCached) {
|
|
436
468
|
(!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
|
|
437
469
|
return _cachedGlobal.v;
|
|
438
470
|
}
|
|
471
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
439
472
|
function getInst(name, useCached) {
|
|
440
473
|
var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
|
|
441
474
|
if (gbl && gbl[name]) {
|
|
@@ -446,23 +479,25 @@ function getInst(name, useCached) {
|
|
|
446
479
|
}
|
|
447
480
|
return NULL_VALUE;
|
|
448
481
|
}
|
|
449
|
-
|
|
450
|
-
return !!getDocument();
|
|
451
|
-
}
|
|
482
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
452
483
|
function getDocument() {
|
|
453
484
|
(!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
|
|
454
485
|
return _cachedDocument.v;
|
|
455
486
|
}
|
|
487
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
456
488
|
function hasWindow() {
|
|
457
489
|
return !!getWindow();
|
|
458
490
|
}
|
|
491
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
459
492
|
function getWindow() {
|
|
460
493
|
(!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
|
|
461
494
|
return _cachedWindow.v;
|
|
462
495
|
}
|
|
496
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
463
497
|
function hasNavigator() {
|
|
464
498
|
return !!getNavigator();
|
|
465
499
|
}
|
|
500
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
466
501
|
function getNavigator() {
|
|
467
502
|
(!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
|
|
468
503
|
return _cachedNavigator.v;
|
|
@@ -474,12 +509,13 @@ function isNode() {
|
|
|
474
509
|
|
|
475
510
|
var _symbol;
|
|
476
511
|
var _symbolFor;
|
|
477
|
-
|
|
512
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
478
513
|
function _getSymbolValue(name) {
|
|
479
514
|
return safeGetLazy(function () {
|
|
480
515
|
return (_symbol.v ? _symbol.v[name] : UNDEF_VALUE);
|
|
481
516
|
}, UNDEF_VALUE);
|
|
482
517
|
}
|
|
518
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
483
519
|
function hasSymbol() {
|
|
484
520
|
return !!getSymbol();
|
|
485
521
|
}
|
|
@@ -487,26 +523,30 @@ function getSymbol() {
|
|
|
487
523
|
var resetCache = !_symbol || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_symbol.b);
|
|
488
524
|
resetCache && (_symbol = lazySafeGetInst(SYMBOL));
|
|
489
525
|
(!_symbolFor || resetCache) && (_symbolFor = _getSymbolValue("for"));
|
|
490
|
-
(!_symbolKeyFor || resetCache) && (_symbolKeyFor = _getSymbolValue("keyFor"));
|
|
491
526
|
return _symbol.v;
|
|
492
527
|
}
|
|
528
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
493
529
|
function getKnownSymbol(name, noPoly) {
|
|
494
530
|
var knownName = _wellKnownSymbolMap[name];
|
|
495
531
|
(!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
496
532
|
return _symbol.v ? _symbol.v[knownName || name] : (!noPoly ? polyGetKnownSymbol(name) : UNDEF_VALUE);
|
|
497
533
|
}
|
|
534
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
498
535
|
function newSymbol(description, noPoly) {
|
|
499
536
|
(!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
500
537
|
return _symbol.v ? _symbol.v(description) : (!noPoly ? polyNewSymbol(description) : NULL_VALUE);
|
|
501
538
|
}
|
|
539
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
502
540
|
function symbolFor(key) {
|
|
503
541
|
(!_symbolFor || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
504
542
|
return (_symbolFor.v || polySymbolFor)(key);
|
|
505
543
|
}
|
|
506
544
|
|
|
545
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
507
546
|
function isIterator(value) {
|
|
508
547
|
return !!value && isFunction(value.next);
|
|
509
548
|
}
|
|
549
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
510
550
|
function isIterable(value) {
|
|
511
551
|
return !isStrictNullOrUndefined(value) && isFunction(value[getKnownSymbol(3 )]);
|
|
512
552
|
}
|
|
@@ -553,7 +593,7 @@ function iterForOf(iter, callbackfn, thisArg) {
|
|
|
553
593
|
}
|
|
554
594
|
}
|
|
555
595
|
|
|
556
|
-
var fnApply = ( _unwrapInstFunction("apply"));
|
|
596
|
+
var fnApply = ( /*#__PURE__*/_unwrapInstFunction("apply"));
|
|
557
597
|
|
|
558
598
|
function arrAppend(target, elms) {
|
|
559
599
|
if (!isUndefined(elms) && target) {
|
|
@@ -585,12 +625,12 @@ function arrForEach(theArray, callbackfn, thisArg) {
|
|
|
585
625
|
}
|
|
586
626
|
}
|
|
587
627
|
|
|
588
|
-
var arrIndexOf = ( _unwrapFunction(INDEX_OF, ArrProto));
|
|
589
|
-
( _unwrapFunction(LAST_INDEX_OF, ArrProto));
|
|
628
|
+
var arrIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, ArrProto));
|
|
590
629
|
|
|
591
|
-
var arrSlice = ( _unwrapFunction(SLICE, ArrProto));
|
|
630
|
+
var arrSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, ArrProto));
|
|
592
631
|
|
|
593
632
|
var objCreate = ObjClass["create"] || polyObjCreate;
|
|
633
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
594
634
|
function polyObjCreate(obj) {
|
|
595
635
|
if (!obj) {
|
|
596
636
|
return {};
|
|
@@ -627,20 +667,21 @@ function _createCustomError(name, d, b) {
|
|
|
627
667
|
d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
|
|
628
668
|
return d;
|
|
629
669
|
}
|
|
630
|
-
|
|
670
|
+
function _safeSetName(baseClass, name) {
|
|
631
671
|
try {
|
|
632
672
|
name && (baseClass[NAME] = name);
|
|
633
673
|
}
|
|
634
674
|
catch (e) {
|
|
635
675
|
}
|
|
636
|
-
}
|
|
637
|
-
|
|
676
|
+
}
|
|
677
|
+
function _safeDefineName(target, name) {
|
|
638
678
|
try {
|
|
639
679
|
objDefine(target, NAME, { v: name, c: true, e: false });
|
|
640
680
|
}
|
|
641
681
|
catch (e) {
|
|
642
682
|
}
|
|
643
|
-
}
|
|
683
|
+
}
|
|
684
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
644
685
|
function createCustomError(name, constructCb, errorBase) {
|
|
645
686
|
var theBaseClass = errorBase || Error;
|
|
646
687
|
var orgName = theBaseClass[PROTOTYPE][NAME];
|
|
@@ -666,13 +707,16 @@ function createCustomError(name, constructCb, errorBase) {
|
|
|
666
707
|
}, theBaseClass);
|
|
667
708
|
}
|
|
668
709
|
|
|
710
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
669
711
|
function utcNow() {
|
|
670
712
|
return (Date.now || polyUtcNow)();
|
|
671
713
|
}
|
|
714
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
672
715
|
function polyUtcNow() {
|
|
673
716
|
return new Date().getTime();
|
|
674
717
|
}
|
|
675
718
|
|
|
719
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
676
720
|
function _createTrimFn(exp) {
|
|
677
721
|
return function _doTrim(value) {
|
|
678
722
|
if (isNullOrUndefined(value)) {
|
|
@@ -684,17 +728,14 @@ function _createTrimFn(exp) {
|
|
|
684
728
|
return value;
|
|
685
729
|
};
|
|
686
730
|
}
|
|
687
|
-
var polyStrTrim = ( _createTrimFn(/^\s+|(?=\s)\s+$/g));
|
|
688
|
-
var polyStrTrimStart = ( _createTrimFn(/^\s+/g));
|
|
689
|
-
var polyStrTrimEnd = ( _createTrimFn(/(?=\s)\s+$/g));
|
|
731
|
+
var polyStrTrim = ( /*#__PURE__*/_createTrimFn(/^\s+|(?=\s)\s+$/g));
|
|
690
732
|
|
|
691
|
-
var strTrim = ( _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
|
|
692
|
-
( _unwrapFunctionWithPoly("trimStart", StrProto, polyStrTrimStart));
|
|
693
|
-
( _unwrapFunctionWithPoly("trimEnd", StrProto, polyStrTrimEnd));
|
|
733
|
+
var strTrim = ( /*#__PURE__*/_unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
|
|
694
734
|
|
|
695
735
|
var _fnToString;
|
|
696
736
|
var _objCtrFnString;
|
|
697
737
|
var _gblWindow;
|
|
738
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
698
739
|
function isPlainObject(value) {
|
|
699
740
|
if (!value || typeof value !== OBJECT) {
|
|
700
741
|
return false;
|
|
@@ -724,21 +765,12 @@ function isPlainObject(value) {
|
|
|
724
765
|
return result;
|
|
725
766
|
}
|
|
726
767
|
|
|
727
|
-
|
|
728
|
-
function getPerformance() {
|
|
729
|
-
(!_perf || (!_perf.b && _globalLazyTestHooks && _globalLazyTestHooks.lzy)) && (_perf = lazySafeGetInst("performance"));
|
|
730
|
-
return _perf.v;
|
|
731
|
-
}
|
|
768
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
732
769
|
function perfNow() {
|
|
733
|
-
var perf = getPerformance();
|
|
734
|
-
if (perf && perf.now) {
|
|
735
|
-
return perf.now();
|
|
736
|
-
}
|
|
737
770
|
return utcNow();
|
|
738
771
|
}
|
|
739
772
|
|
|
740
|
-
var strIndexOf = ( _unwrapFunction(INDEX_OF, StrProto));
|
|
741
|
-
( _unwrapFunction(LAST_INDEX_OF, StrProto));
|
|
773
|
+
var strIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, StrProto));
|
|
742
774
|
|
|
743
775
|
var REF = "ref";
|
|
744
776
|
var UNREF = "un" + REF;
|
|
@@ -832,8 +864,6 @@ function scheduleTimeoutWith(overrideFn, callback, timeout) {
|
|
|
832
864
|
return _createTimeoutWith(this, true, overrideFn, arrSlice(arguments, 1));
|
|
833
865
|
}
|
|
834
866
|
|
|
835
|
-
(getGlobal() || {})["Symbol"];
|
|
836
|
-
(getGlobal() || {})["Reflect"];
|
|
837
867
|
var strHasOwnProperty = "hasOwnProperty";
|
|
838
868
|
var extendStaticsFn = function (d, b) {
|
|
839
869
|
extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
|
|
@@ -930,13 +960,13 @@ function _forEachProp(target, func) {
|
|
|
930
960
|
}
|
|
931
961
|
}
|
|
932
962
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
933
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)));
|
|
963
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)) && funcName !== str__Proto && funcName !== Prototype);
|
|
934
964
|
}
|
|
935
965
|
function _throwTypeError(message) {
|
|
936
966
|
throwTypeError("DynamicProto: " + message);
|
|
937
967
|
}
|
|
938
968
|
function _getInstanceFuncs(thisTarget) {
|
|
939
|
-
var instFuncs =
|
|
969
|
+
var instFuncs = objCreate(null);
|
|
940
970
|
_forEachProp(thisTarget, function (name) {
|
|
941
971
|
if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
|
|
942
972
|
instFuncs[name] = thisTarget[name];
|
|
@@ -965,7 +995,7 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
|
|
|
965
995
|
return theFunc.apply(target, arguments);
|
|
966
996
|
};
|
|
967
997
|
}
|
|
968
|
-
var baseFuncs =
|
|
998
|
+
var baseFuncs = objCreate(null);
|
|
969
999
|
_forEachProp(instFuncs, function (name) {
|
|
970
1000
|
baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
|
|
971
1001
|
});
|
|
@@ -985,8 +1015,8 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
|
|
|
985
1015
|
function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
|
|
986
1016
|
var instFunc = null;
|
|
987
1017
|
if (target && objHasOwnProperty(proto, DynClassName)) {
|
|
988
|
-
var instFuncTable = target[DynInstFuncTable] ||
|
|
989
|
-
instFunc = (instFuncTable[proto[DynClassName]] ||
|
|
1018
|
+
var instFuncTable = target[DynInstFuncTable] || objCreate(null);
|
|
1019
|
+
instFunc = (instFuncTable[proto[DynClassName]] || objCreate(null))[funcName];
|
|
990
1020
|
if (!instFunc) {
|
|
991
1021
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
992
1022
|
}
|
|
@@ -1036,20 +1066,24 @@ function _populatePrototype(proto, className, target, baseInstFuncs, setInstance
|
|
|
1036
1066
|
return dynProtoProxy;
|
|
1037
1067
|
}
|
|
1038
1068
|
if (!_isObjectOrArrayPrototype(proto)) {
|
|
1039
|
-
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] ||
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
instFuncTable[DynAllowInstChkTag]
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
if (
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1069
|
+
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || objCreate(null);
|
|
1070
|
+
if (!_isObjectOrArrayPrototype(instFuncTable)) {
|
|
1071
|
+
var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || objCreate(null));
|
|
1072
|
+
if (instFuncTable[DynAllowInstChkTag] !== false) {
|
|
1073
|
+
instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
|
|
1074
|
+
}
|
|
1075
|
+
if (!_isObjectOrArrayPrototype(instFuncs_1)) {
|
|
1076
|
+
_forEachProp(target, function (name) {
|
|
1077
|
+
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
1078
|
+
instFuncs_1[name] = target[name];
|
|
1079
|
+
delete target[name];
|
|
1080
|
+
if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
1081
|
+
proto[name] = _createDynamicPrototype(proto, name);
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
});
|
|
1051
1085
|
}
|
|
1052
|
-
}
|
|
1086
|
+
}
|
|
1053
1087
|
}
|
|
1054
1088
|
}
|
|
1055
1089
|
function _checkPrototype(classProto, thisTarget) {
|
|
@@ -1701,7 +1735,7 @@ function newId(maxLength) {
|
|
|
1701
1735
|
return result;
|
|
1702
1736
|
}
|
|
1703
1737
|
|
|
1704
|
-
var version = '3.1.0-nightly3.2401-
|
|
1738
|
+
var version = '3.1.0-nightly3.2401-20';
|
|
1705
1739
|
var instanceName = "." + newId(6);
|
|
1706
1740
|
var _dataUid = 0;
|
|
1707
1741
|
function _canAcceptData(target) {
|
|
@@ -3530,7 +3564,7 @@ var _DYN_LENGTH$1 = "length";
|
|
|
3530
3564
|
var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
|
|
3531
3565
|
|
|
3532
3566
|
var _a$1;
|
|
3533
|
-
var Version = '4.1.0-nightly3.2401-
|
|
3567
|
+
var Version = '4.1.0-nightly3.2401-20';
|
|
3534
3568
|
var FullVersionString = "1DS-Web-JS-" + Version;
|
|
3535
3569
|
var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
|
|
3536
3570
|
var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";
|
|
@@ -3545,8 +3579,6 @@ var _fieldTypeEventPropMap = (_a$1 = {},
|
|
|
3545
3579
|
_a$1[4096 | 1 ] = 1 ,
|
|
3546
3580
|
_a$1[4096 | 3 ] = 7 ,
|
|
3547
3581
|
_a$1);
|
|
3548
|
-
hasDocument();
|
|
3549
|
-
hasWindow();
|
|
3550
3582
|
function isValueAssigned(value) {
|
|
3551
3583
|
return !(value === STR_EMPTY$1 || isNullOrUndefined(value));
|
|
3552
3584
|
}
|
|
@@ -3989,7 +4021,7 @@ var RandomizationUpperThreshold = 1.2;
|
|
|
3989
4021
|
var BaseBackoff = 3000;
|
|
3990
4022
|
var MaxBackoff = 600000;
|
|
3991
4023
|
function retryPolicyShouldRetryForStatus(httpStatusCode) {
|
|
3992
|
-
return !((httpStatusCode >= 300 && httpStatusCode < 500 && httpStatusCode !=
|
|
4024
|
+
return !((httpStatusCode >= 300 && httpStatusCode < 500 && httpStatusCode != 429)
|
|
3993
4025
|
|| (httpStatusCode == 501)
|
|
3994
4026
|
|| (httpStatusCode == 505));
|
|
3995
4027
|
}
|
|
@@ -5324,7 +5356,7 @@ var PostChannel = /** @class */ (function (_super) {
|
|
|
5324
5356
|
var _this = _super.call(this) || this;
|
|
5325
5357
|
_this.identifier = "PostChannel";
|
|
5326
5358
|
_this.priority = 1011;
|
|
5327
|
-
_this.version = '4.1.0-nightly3.2401-
|
|
5359
|
+
_this.version = '4.1.0-nightly3.2401-20';
|
|
5328
5360
|
var _postConfig;
|
|
5329
5361
|
var _isTeardownCalled = false;
|
|
5330
5362
|
var _flushCallbackQueue = [];
|
|
@@ -6041,4 +6073,4 @@ exports.PostChannel = PostChannel;
|
|
|
6041
6073
|
exports.RT_PROFILE = RT_PROFILE;
|
|
6042
6074
|
|
|
6043
6075
|
}));
|
|
6044
|
-
//# sourceMappingURL=ms.post-4.1.0-nightly3.2401-
|
|
6076
|
+
//# sourceMappingURL=ms.post-4.1.0-nightly3.2401-20.gbl.js.map
|