@microsoft/1ds-post-js 4.3.7-nightly3.2504-10 → 4.3.7-nightly3.2504-11

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 (48) hide show
  1. package/bundle/es5/{ms.post-4.3.7-nightly3.2504-10.gbl.js → ms.post-4.3.7-nightly3.2504-11.gbl.js} +297 -120
  2. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.gbl.js.map +1 -0
  3. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.gbl.min.js +7 -0
  4. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.3.7-nightly3.2504-10.js → ms.post-4.3.7-nightly3.2504-11.js} +297 -120
  7. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.js.map +1 -0
  8. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.min.js +7 -0
  9. package/bundle/es5/ms.post-4.3.7-nightly3.2504-11.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +296 -119
  11. package/bundle/es5/ms.post.gbl.js.map +1 -1
  12. package/bundle/es5/ms.post.gbl.min.js +2 -2
  13. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.post.integrity.json +17 -17
  15. package/bundle/es5/ms.post.js +296 -119
  16. package/bundle/es5/ms.post.js.map +1 -1
  17. package/bundle/es5/ms.post.min.js +2 -2
  18. package/bundle/es5/ms.post.min.js.map +1 -1
  19. package/dist/es5/ms.post.js +294 -117
  20. package/dist/es5/ms.post.js.map +1 -1
  21. package/dist/es5/ms.post.min.js +2 -2
  22. package/dist/es5/ms.post.min.js.map +1 -1
  23. package/dist-es5/BatchNotificationActions.js +1 -1
  24. package/dist-es5/ClockSkewManager.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/EventBatch.js +1 -1
  27. package/dist-es5/HttpManager.js +1 -1
  28. package/dist-es5/Index.js +1 -1
  29. package/dist-es5/InternalConstants.js +1 -1
  30. package/dist-es5/KillSwitch.js +1 -1
  31. package/dist-es5/PostChannel.js +2 -2
  32. package/dist-es5/PostChannel.js.map +1 -1
  33. package/dist-es5/RetryPolicy.js +1 -1
  34. package/dist-es5/Serializer.js +3 -2
  35. package/dist-es5/Serializer.js.map +1 -1
  36. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  37. package/dist-es5/__DynamicConstants.js +1 -1
  38. package/dist-es5/typings/XDomainRequest.js +1 -1
  39. package/package.json +2 -2
  40. package/types/1ds-post-js.d.ts +1 -1
  41. package/types/1ds-post-js.namespaced.d.ts +1 -1
  42. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.gbl.js.map +0 -1
  43. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.gbl.min.js +0 -7
  44. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.gbl.min.js.map +0 -1
  45. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.integrity.json +0 -46
  46. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.js.map +0 -1
  47. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.min.js +0 -7
  48. package/bundle/es5/ms.post-4.3.7-nightly3.2504-10.min.js.map +0 -1
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "ms.post",
3
+ "version": "4.3.7-nightly3.2504-11",
4
+ "ext": {
5
+ "@gbl.js": {
6
+ "file": "ms.post-4.3.7-nightly3.2504-11.gbl.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-OAEVNTj0nXDXwJmFrCXQeum6FIAlTxe5jXTcMyg77y8= sha384-zyMoBOse3UEhYmac0lUUuZLwJ+f3k+jIeDlRyEYkhO8jo3OY//qQBibW6icnrWS1 sha512-vEAApJwS/mItyxZzTr2rwR3QFq7MiW8S3pSOYlV2m2rsjtl879OUbeUnPGIWE/CdkOVZRzvIgBsIUjGU/gIsBA==",
9
+ "hashes": {
10
+ "sha256": "OAEVNTj0nXDXwJmFrCXQeum6FIAlTxe5jXTcMyg77y8=",
11
+ "sha384": "zyMoBOse3UEhYmac0lUUuZLwJ+f3k+jIeDlRyEYkhO8jo3OY//qQBibW6icnrWS1",
12
+ "sha512": "vEAApJwS/mItyxZzTr2rwR3QFq7MiW8S3pSOYlV2m2rsjtl879OUbeUnPGIWE/CdkOVZRzvIgBsIUjGU/gIsBA=="
13
+ }
14
+ },
15
+ "@gbl.min.js": {
16
+ "file": "ms.post-4.3.7-nightly3.2504-11.gbl.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-GNGtMD0Sd9jFaL13OOQxEPSWyFS4Jmx/8sYwSItw3pk= sha384-xH9I9n6f1KIs5e/5VA2/PaLyGmAIHSXomsWXaRoN5KxuADVf+DeSS9VkkTbXIlYE sha512-S2u3k1xzeejYta764FBn/5D2F5QgSU58rs5qfXaw3fzx+VIWP6nMUK6aH5A5f5BEAgV2aIYHeNexJMr70R4t2w==",
19
+ "hashes": {
20
+ "sha256": "GNGtMD0Sd9jFaL13OOQxEPSWyFS4Jmx/8sYwSItw3pk=",
21
+ "sha384": "xH9I9n6f1KIs5e/5VA2/PaLyGmAIHSXomsWXaRoN5KxuADVf+DeSS9VkkTbXIlYE",
22
+ "sha512": "S2u3k1xzeejYta764FBn/5D2F5QgSU58rs5qfXaw3fzx+VIWP6nMUK6aH5A5f5BEAgV2aIYHeNexJMr70R4t2w=="
23
+ }
24
+ },
25
+ "@js": {
26
+ "file": "ms.post-4.3.7-nightly3.2504-11.js",
27
+ "type": "text/javascript; charset=utf-8",
28
+ "integrity": "sha256-QJKB49bDDFamNI+F0cV+X4vb20JuqLHehWyZ9HE4CoY= sha384-rtOEoX89O7CtzC6veU5gqY6dy2PGCilbkVZ/cyUEHhPLm2OVJ7gd4MkmIxOupYah sha512-gldakh1NhHpIip5VF+Fl1g3zoho6VAJ3EMEEcgloG8lSpJQ1MX1z3NhQWPZhXXWToecvSWKwgQJ4oY+uhCfrwA==",
29
+ "hashes": {
30
+ "sha256": "QJKB49bDDFamNI+F0cV+X4vb20JuqLHehWyZ9HE4CoY=",
31
+ "sha384": "rtOEoX89O7CtzC6veU5gqY6dy2PGCilbkVZ/cyUEHhPLm2OVJ7gd4MkmIxOupYah",
32
+ "sha512": "gldakh1NhHpIip5VF+Fl1g3zoho6VAJ3EMEEcgloG8lSpJQ1MX1z3NhQWPZhXXWToecvSWKwgQJ4oY+uhCfrwA=="
33
+ }
34
+ },
35
+ "@min.js": {
36
+ "file": "ms.post-4.3.7-nightly3.2504-11.min.js",
37
+ "type": "text/javascript; charset=utf-8",
38
+ "integrity": "sha256-CQXBVdfI8u9PBteXoyIyr3F1gIpSVpMYcZjG+5qBTyo= sha384-nQme2aI/ZHtOUkbD+9rKCQ+5grtqevsZ059oXb1P+8O4zvAR4WBKGOvs1yfPYhU5 sha512-5LOzfdFkBXgt0EO47BVx3xOGr5ZDc03xcJeYnAJrlkBqNdDAio1sq/y+aTs/TNsWDoM4WS3i0n7VhcAoxkNltA==",
39
+ "hashes": {
40
+ "sha256": "CQXBVdfI8u9PBteXoyIyr3F1gIpSVpMYcZjG+5qBTyo=",
41
+ "sha384": "nQme2aI/ZHtOUkbD+9rKCQ+5grtqevsZ059oXb1P+8O4zvAR4WBKGOvs1yfPYhU5",
42
+ "sha512": "5LOzfdFkBXgt0EO47BVx3xOGr5ZDc03xcJeYnAJrlkBqNdDAio1sq/y+aTs/TNsWDoM4WS3i0n7VhcAoxkNltA=="
43
+ }
44
+ }
45
+ }
46
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.3.7-nightly3.2504-10
2
+ * 1DS JS SDK POST plugin, 4.3.7-nightly3.2504-11
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_post_4_3_7_nightly3_2504_10", msMod="__ms$mod__";
12
- var mods={}, modDetail=mods[modName]={}, ver="4.3.7-nightly3.2504-10";
11
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_7_nightly3_2504_11", msMod="__ms$mod__";
12
+ var mods={}, modDetail=mods[modName]={}, ver="4.3.7-nightly3.2504-11";
13
13
  // Versioned namespace "oneDS4"
14
14
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
15
15
  // Global namespace "oneDS"
@@ -41,7 +41,7 @@ var strShimPrototype = "prototype";
41
41
  var ObjClass$1 = Object;
42
42
  var ObjProto$1 = ObjClass$1[strShimPrototype];
43
43
 
44
- /*! https://github.com/nevware21/ts-utils v0.11.8 */
44
+ /*! https://github.com/nevware21/ts-utils v0.12.1 */
45
45
  /*#__NO_SIDE_EFFECTS__*/
46
46
  function _pureAssign(func1, func2) {
47
47
  return func1 || func2;
@@ -60,11 +60,12 @@ var __PROTO__ = "__proto__";
60
60
  var UNDEFINED = "undefined";
61
61
  var CONSTRUCTOR = "constructor";
62
62
  var SYMBOL = "Symbol";
63
- var POLYFILL_TAG = "_polyfill";
64
63
  var LENGTH = "length";
65
64
  var NAME = "name";
66
65
  var CALL = "call";
67
66
  var TO_STRING = "toString";
67
+ var GETTER_NAME = "__lookupGetter__";
68
+ var SETTER_NAME = "__lookupSetter__";
68
69
  var ObjClass = ( /*#__PURE__*/_pureAssign(Object));
69
70
  var ObjProto = ( /*#__PURE__*/_pureRef(ObjClass, PROTOTYPE));
70
71
  var StrCls = ( /*#__PURE__*/_pureAssign(String));
@@ -73,6 +74,8 @@ var MathCls = ( /*#__PURE__*/_pureAssign(Math));
73
74
  var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
74
75
  var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
75
76
  var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
77
+ var POLYFILL_TAG = "_polyfill";
78
+ var POLYFILL_TYPE_NAME = "__nw21$polytype__";
76
79
  function safe(func, argArray) {
77
80
  try {
78
81
  return {
@@ -95,7 +98,7 @@ function isUndefined(value) {
95
98
  }
96
99
  /*#__NO_SIDE_EFFECTS__*/
97
100
  function isStrictUndefined(arg) {
98
- return !isDefined(arg);
101
+ return arg === UNDEF_VALUE;
99
102
  }
100
103
  /*#__NO_SIDE_EFFECTS__*/
101
104
  function isNullOrUndefined(value) {
@@ -103,7 +106,7 @@ function isNullOrUndefined(value) {
103
106
  }
104
107
  /*#__NO_SIDE_EFFECTS__*/
105
108
  function isStrictNullOrUndefined(value) {
106
- return value === NULL_VALUE || !isDefined(value);
109
+ return value === NULL_VALUE || value === UNDEF_VALUE;
107
110
  }
108
111
  /*#__NO_SIDE_EFFECTS__*/
109
112
  function isDefined(arg) {
@@ -125,18 +128,124 @@ var isBoolean = ( /*#__PURE__*/_createIs("boolean"));
125
128
  function isPromiseLike(value) {
126
129
  return !!(value && value.then && isFunction(value.then));
127
130
  }
128
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor"));
131
+ var asString = ( /* #__PURE__ */_pureAssign(StrCls));
132
+ var ERROR_TYPE = "[object Error]";
133
+ /*#__NO_SIDE_EFFECTS__*/
134
+ function dumpObj(object, format) {
135
+ var propertyValueDump = EMPTY;
136
+ var objType = ObjProto[TO_STRING][CALL](object);
137
+ if (objType === ERROR_TYPE) {
138
+ object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
139
+ }
140
+ try {
141
+ propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
142
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
143
+ }
144
+ catch (e) {
145
+ propertyValueDump = " - " + dumpObj(e, format);
146
+ }
147
+ return objType + ": " + propertyValueDump;
148
+ }
149
+ function throwTypeError(message) {
150
+ throw new TypeError(message);
151
+ }
152
+ function _throwIfNullOrUndefined(obj) {
153
+ if (isStrictNullOrUndefined(obj)) {
154
+ throwTypeError("Cannot convert undefined or null to object");
155
+ }
156
+ }
157
+ function _throwIfNotString(value) {
158
+ if (!isString(value)) {
159
+ throwTypeError("'" + dumpObj(value) + "' is not a string");
160
+ }
161
+ }
129
162
  /*#__NO_SIDE_EFFECTS__*/
130
163
  function objHasOwnProperty(obj, prop) {
131
164
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
132
165
  }
133
- var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
166
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
167
+ /*#__NO_SIDE_EFFECTS__*/
168
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
169
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
170
+ return function (thisArg) {
171
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
172
+ if (theFunc || polyFunc) {
173
+ var theArgs = arguments;
174
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
175
+ }
176
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
177
+ };
178
+ }
179
+ function _objPropertyIsEnum(obj, propKey) {
180
+ var desc;
181
+ var fn = ObjClass.getOwnPropertyDescriptor;
182
+ if (!isStrictNullOrUndefined(obj) && fn) {
183
+ desc = safe(fn, [obj, propKey]).v || NULL_VALUE;
184
+ }
185
+ if (!desc) {
186
+ desc = safe(function () {
187
+ for (var key in obj) {
188
+ if (key === propKey) {
189
+ return { enumerable: true };
190
+ }
191
+ }
192
+ }).v;
193
+ }
194
+ return (desc && desc.enumerable) || false;
195
+ }
196
+ var objPropertyIsEnumerable = ( /*#__PURE__*/_unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum));
197
+ function _isPropertyWritable(obj, prop) {
198
+ var result = false;
199
+ if (!(isString(obj) && (prop === LENGTH || isNumber(prop) || (isString(prop) && !isNaN(Number(prop)))))) {
200
+ var originalValue = obj[prop];
201
+ try {
202
+ obj[prop] = originalValue;
203
+ result = true;
204
+ }
205
+ catch (e) {
206
+ }
207
+ }
208
+ return result;
209
+ }
210
+ function polyObjGetOwnPropertyDescriptor(obj, prop) {
211
+ var descriptor;
212
+ _throwIfNullOrUndefined(obj);
213
+ var isLength = (prop === LENGTH && (isArray(obj) || isString(obj)));
214
+ if (isLength || objHasOwnProperty(obj, prop)) {
215
+ descriptor = {
216
+ configurable: !isLength,
217
+ enumerable: !isLength ? objPropertyIsEnumerable(obj, prop) : false
218
+ };
219
+ var isData = true;
220
+ if (GETTER_NAME in ObjProto && SETTER_NAME in ObjProto) {
221
+ var getter = obj[GETTER_NAME](prop);
222
+ var setter = obj[SETTER_NAME](prop);
223
+ if (getter || setter) {
224
+ isData = false;
225
+ if (getter) {
226
+ descriptor.get = getter;
227
+ }
228
+ if (setter) {
229
+ descriptor.set = setter;
230
+ }
231
+ }
232
+ }
233
+ if (isData) {
234
+ descriptor.value = obj[prop];
235
+ descriptor.writable = _isPropertyWritable(obj, prop);
236
+ }
237
+ }
238
+ return descriptor;
239
+ }
240
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), polyObjGetOwnPropertyDescriptor));
134
241
  /*#__NO_SIDE_EFFECTS__*/
135
242
  function polyObjHasOwn(obj, prop) {
243
+ _throwIfNullOrUndefined(obj);
136
244
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
137
245
  }
246
+ var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
138
247
  function objForEachKey(theObject, callbackfn, thisArg) {
139
- if (theObject && isObject(theObject)) {
248
+ if (theObject && (isObject(theObject) || isFunction(theObject))) {
140
249
  for (var prop in theObject) {
141
250
  if (objHasOwn(theObject, prop)) {
142
251
  if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
@@ -146,6 +255,18 @@ function objForEachKey(theObject, callbackfn, thisArg) {
146
255
  }
147
256
  }
148
257
  }
258
+ function arrForEach(theArray, callbackfn, thisArg) {
259
+ if (theArray) {
260
+ var len = theArray[LENGTH] >>> 0;
261
+ for (var idx = 0; idx < len; idx++) {
262
+ if (idx in theArray) {
263
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
264
+ break;
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
149
270
  var propMap = {
150
271
  e: "enumerable",
151
272
  c: "configurable",
@@ -174,6 +295,7 @@ function _createProp(value) {
174
295
  return prop;
175
296
  }
176
297
  var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
298
+ var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
177
299
  function objDefine(target, key, propDesc) {
178
300
  return objDefineProp(target, key, _createProp(propDesc));
179
301
  }
@@ -193,46 +315,50 @@ function _assignMapValue(theMap, key, value, writable) {
193
315
  writable: false
194
316
  });
195
317
  }
196
- var asString = ( /* #__PURE__ */_pureAssign(StrCls));
197
- var ERROR_TYPE = "[object Error]";
198
- /*#__NO_SIDE_EFFECTS__*/
199
- function dumpObj(object, format) {
200
- var propertyValueDump = EMPTY;
201
- var objType = ObjProto[TO_STRING][CALL](object);
202
- if (objType === ERROR_TYPE) {
203
- object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
318
+ function polyObjIsFrozen(obj) {
319
+ if (isStrictNullOrUndefined(obj) || (!isObject(obj) && !isFunction(obj))) {
320
+ return true;
204
321
  }
205
- try {
206
- propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
207
- propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
322
+ if (isFunction(obj)) {
323
+ return false;
208
324
  }
209
- catch (e) {
210
- propertyValueDump = " - " + dumpObj(e, format);
325
+ for (var prop in obj) {
326
+ var desc = objGetOwnPropertyDescriptor(obj, prop);
327
+ if (desc && (desc.configurable || (desc.writable !== false && "value" in desc))) {
328
+ return false;
329
+ }
211
330
  }
212
- return objType + ": " + propertyValueDump;
213
- }
214
- function throwTypeError(message) {
215
- throw new TypeError(message);
331
+ return true;
216
332
  }
333
+ var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), polyObjIsFrozen));
217
334
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
218
335
  function _doNothing(value) {
219
336
  return value;
220
337
  }
221
338
  /*#__NO_SIDE_EFFECTS__*/
222
339
  function _getProto(value) {
340
+ _throwIfNullOrUndefined(value);
223
341
  return value[__PROTO__] || NULL_VALUE;
224
342
  }
225
343
  var objAssign = ( /*#__PURE__*/_pureRef(ObjClass, "assign"));
226
344
  var objKeys = ( /*#__PURE__*/_pureRef(ObjClass, "keys"));
227
- function objDeepFreeze(value) {
228
- if (_objFreeze) {
229
- objForEachKey(value, function (key, value) {
230
- if (isArray(value) || isObject(value)) {
231
- objDeepFreeze(value);
345
+ function _deepFreeze(val, visited) {
346
+ if ((isArray(val) || isObject(val) || isFunction(val)) && !objIsFrozen(val)) {
347
+ for (var lp = 0; lp < visited.length; lp++) {
348
+ if (visited[lp] === val) {
349
+ return val;
232
350
  }
351
+ }
352
+ visited.push(val);
353
+ objForEachKey(val, function (_key, propValue) {
354
+ _deepFreeze(propValue, visited);
233
355
  });
356
+ objFreeze(val);
234
357
  }
235
- return objFreeze(value);
358
+ return val;
359
+ }
360
+ function objDeepFreeze(value) {
361
+ return _objFreeze ? _deepFreeze(value, []) : value;
236
362
  }
237
363
  var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
238
364
  var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "getPrototypeOf")), _getProto));
@@ -286,19 +412,6 @@ function _getGlobalConfig() {
286
412
  }
287
413
  return _globalCfg;
288
414
  }
289
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
290
- /*#__NO_SIDE_EFFECTS__*/
291
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
292
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
293
- return function (thisArg) {
294
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
295
- if (theFunc || polyFunc) {
296
- var theArgs = arguments;
297
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
298
- }
299
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
300
- };
301
- }
302
415
  var mathMin = ( /*#__PURE__*/_pureRef(MathCls, "min"));
303
416
  var mathMax = ( /*#__PURE__*/_pureRef(MathCls, "max"));
304
417
  var strSlice = ( /*#__PURE__*/_unwrapFunction("slice", StrProto));
@@ -306,9 +419,7 @@ var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
306
419
  var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
307
420
  /*#__NO_SIDE_EFFECTS__*/
308
421
  function polyStrSubstr(value, start, length) {
309
- if (isNullOrUndefined(value)) {
310
- throwTypeError("Invalid " + dumpObj(value));
311
- }
422
+ _throwIfNullOrUndefined(value);
312
423
  if (length < 0) {
313
424
  return EMPTY;
314
425
  }
@@ -325,8 +436,109 @@ function polyStrSubstr(value, start, length) {
325
436
  function strLeft(value, count) {
326
437
  return strSubstring(value, 0, count);
327
438
  }
439
+ function _tagAsPolyfill(target, polyfillTypeName) {
440
+ if (target) {
441
+ safe(function () {
442
+ target[POLYFILL_TAG] = true;
443
+ target[POLYFILL_TYPE_NAME] = polyfillTypeName;
444
+ });
445
+ safe(objDefine, [target, POLYFILL_TAG, {
446
+ v: true,
447
+ w: false,
448
+ e: false
449
+ }]);
450
+ safe(objDefine, [target, POLYFILL_TYPE_NAME, {
451
+ v: polyfillTypeName,
452
+ w: false,
453
+ e: false
454
+ }]);
455
+ }
456
+ return target;
457
+ }
458
+ /*#__NO_SIDE_EFFECTS__*/
459
+ function createCachedValue(value) {
460
+ return objDefineProp({
461
+ toJSON: function () { return value; }
462
+ }, "v", { value: value });
463
+ }
464
+ var _isProtoArray;
465
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
466
+ function _polyObjSetPrototypeOf(obj, proto) {
467
+ var _a;
468
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
469
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
470
+ return obj;
471
+ }
472
+ var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
473
+ /*#__NO_SIDE_EFFECTS__*/
474
+ function polyObjCreate(obj, properties) {
475
+ var newObj;
476
+ function tempFunc() { }
477
+ if (!isStrictNullOrUndefined(obj)) {
478
+ var type = typeof obj;
479
+ if (type !== OBJECT && type !== FUNCTION) {
480
+ throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
481
+ }
482
+ tempFunc[PROTOTYPE] = obj;
483
+ safe(function () {
484
+ tempFunc[__PROTO__] = obj;
485
+ });
486
+ newObj = new tempFunc();
487
+ }
488
+ else {
489
+ newObj = {};
490
+ }
491
+ safe(_polyObjSetPrototypeOf, [newObj, obj]);
492
+ if (properties) {
493
+ safe(objDefineProperties, [newObj, properties]);
494
+ }
495
+ return newObj;
496
+ }
497
+ /*#__NO_SIDE_EFFECTS__*/
498
+ function utcNow() {
499
+ return (Date.now || polyUtcNow)();
500
+ }
501
+ /*#__NO_SIDE_EFFECTS__*/
502
+ function polyUtcNow() {
503
+ return new Date().getTime();
504
+ }
505
+ var _globalLazyTestHooks;
506
+ function _initTestHooks() {
507
+ _globalLazyTestHooks = _getGlobalConfig();
508
+ }
509
+ /*#__NO_SIDE_EFFECTS__*/
510
+ function getLazy(cb) {
511
+ var lazyValue = {};
512
+ !_globalLazyTestHooks && _initTestHooks();
513
+ lazyValue.b = _globalLazyTestHooks.lzy;
514
+ objDefineProp(lazyValue, "v", {
515
+ configurable: true,
516
+ get: function () {
517
+ var result = cb();
518
+ if (!_globalLazyTestHooks.lzy) {
519
+ objDefineProp(lazyValue, "v", {
520
+ value: result
521
+ });
522
+ }
523
+ lazyValue.b = _globalLazyTestHooks.lzy;
524
+ return result;
525
+ }
526
+ });
527
+ return lazyValue;
528
+ }
529
+ var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
530
+ var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
531
+ var value = (utcNow().toString(36).slice(2));
532
+ while (value.length < 16) {
533
+ value += mathRandom().toString(36).slice(2);
534
+ }
535
+ value = value.substring(0, 16);
536
+ return value;
537
+ }));
328
538
  var UNIQUE_REGISTRY_ID = "_urid";
539
+ var POLY_SYM = "$nw21sym";
329
540
  var _polySymbols;
541
+ var _polyId = 0;
330
542
  /*#__NO_SIDE_EFFECTS__*/
331
543
  function _globalSymbolRegistry() {
332
544
  if (!_polySymbols) {
@@ -338,12 +550,35 @@ function _globalSymbolRegistry() {
338
550
  var _wellKnownSymbolCache;
339
551
  /*#__NO_SIDE_EFFECTS__*/
340
552
  function polyNewSymbol(description) {
341
- var theSymbol = {
342
- description: asString(description),
343
- toString: function () { return SYMBOL + "(" + description + ")"; }
344
- };
345
- theSymbol[POLYFILL_TAG] = true;
346
- return theSymbol;
553
+ var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
554
+ var symString = SYMBOL + "(" + description + ")";
555
+ var theSymbol = objCreate(null);
556
+ objDefine(theSymbol, "description", {
557
+ v: asString(description),
558
+ e: false,
559
+ w: false
560
+ });
561
+ objDefine(theSymbol, TO_STRING, {
562
+ v: function () { return symString + POLY_SYM + uniqueId; },
563
+ e: false,
564
+ w: false
565
+ });
566
+ objDefine(theSymbol, "valueOf", {
567
+ v: function () { return theSymbol; },
568
+ e: false,
569
+ w: false
570
+ });
571
+ objDefine(theSymbol, "v", {
572
+ v: symString,
573
+ e: false,
574
+ w: false
575
+ });
576
+ objDefine(theSymbol, "_uid", {
577
+ v: uniqueId,
578
+ e: false,
579
+ w: false
580
+ });
581
+ return _tagAsPolyfill(theSymbol, "symbol");
347
582
  }
348
583
  /*#__NO_SIDE_EFFECTS__*/
349
584
  function polySymbolFor(key) {
@@ -367,16 +602,6 @@ function polyGetKnownSymbol(name) {
367
602
  }
368
603
  return result;
369
604
  }
370
- var _globalLazyTestHooks;
371
- function _initTestHooks() {
372
- _globalLazyTestHooks = _getGlobalConfig();
373
- }
374
- /*#__NO_SIDE_EFFECTS__*/
375
- function createCachedValue(value) {
376
- return objDefineProp({
377
- toJSON: function () { return value; }
378
- }, "v", { value: value });
379
- }
380
605
  var WINDOW = "window";
381
606
  var _cachedGlobal;
382
607
  function _getGlobalInstFn(getFn, theArgs) {
@@ -538,46 +763,10 @@ function arrAppend(target, elms) {
538
763
  }
539
764
  return target;
540
765
  }
541
- function arrForEach(theArray, callbackfn, thisArg) {
542
- if (theArray) {
543
- var len = theArray[LENGTH] >>> 0;
544
- for (var idx = 0; idx < len; idx++) {
545
- if (idx in theArray) {
546
- if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
547
- break;
548
- }
549
- }
550
- }
551
- }
552
- }
553
766
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
554
767
  function arrSlice(theArray, start, end) {
555
768
  return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
556
769
  }
557
- var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
558
- /*#__NO_SIDE_EFFECTS__*/
559
- function polyObjCreate(obj) {
560
- if (!obj) {
561
- return {};
562
- }
563
- var type = typeof obj;
564
- if (type !== OBJECT && type !== FUNCTION) {
565
- throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
566
- }
567
- function tempFunc() { }
568
- tempFunc[PROTOTYPE] = obj;
569
- return new tempFunc();
570
- }
571
- var _isProtoArray;
572
- function objSetPrototypeOf(obj, proto) {
573
- var fn = ObjClass["setPrototypeOf"] ||
574
- function (d, b) {
575
- var _a;
576
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
577
- _isProtoArray.v ? d[__PROTO__] = b : objForEachKey(b, function (key, value) { return d[key] = value; });
578
- };
579
- return fn(obj, proto);
580
- }
581
770
  /*#__NO_SIDE_EFFECTS__*/
582
771
  function _createCustomError(name, d, b) {
583
772
  safe(objDefine, [d, NAME, { v: name, c: true, e: false }]);
@@ -619,19 +808,9 @@ function createCustomError(name, constructCb, errorBase) {
619
808
  }, theBaseClass);
620
809
  }
621
810
  /*#__NO_SIDE_EFFECTS__*/
622
- function utcNow() {
623
- return (Date.now || polyUtcNow)();
624
- }
625
- /*#__NO_SIDE_EFFECTS__*/
626
- function polyUtcNow() {
627
- return new Date().getTime();
628
- }
629
- /*#__NO_SIDE_EFFECTS__*/
630
811
  function _createTrimFn(exp) {
631
812
  return function _doTrim(value) {
632
- if (isNullOrUndefined(value)) {
633
- throwTypeError("strTrim called [" + dumpObj(value) + "]");
634
- }
813
+ _throwIfNullOrUndefined(value);
635
814
  if (value && value.replace) {
636
815
  value = value.replace(exp, EMPTY);
637
816
  }
@@ -682,9 +861,7 @@ var strIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", StrProto));
682
861
  var strStartsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith));
683
862
  /*#__NO_SIDE_EFFECTS__*/
684
863
  function polyStrStartsWith(value, searchString, position) {
685
- if (!isString(value)) {
686
- throwTypeError("'" + dumpObj(value) + "' is not a string");
687
- }
864
+ _throwIfNotString(value);
688
865
  var searchValue = isString(searchString) ? searchString : asString(searchString);
689
866
  var pos = position > 0 ? position : 0;
690
867
  return strSubstring(value, pos, pos + searchValue[LENGTH]) === searchValue;
@@ -1823,7 +2000,7 @@ function newId(maxLength) {
1823
2000
  return result;
1824
2001
  }
1825
2002
 
1826
- var version = '3.3.7-nightly3.2504-10';
2003
+ var version = '3.3.7-nightly3.2504-11';
1827
2004
  var instanceName = "." + newId(6);
1828
2005
  var _dataUid = 0;
1829
2006
  function _canAcceptData(target) {
@@ -4082,7 +4259,7 @@ var _DYN_LENGTH$1 = "length";
4082
4259
  var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
4083
4260
 
4084
4261
  var _a$1;
4085
- var Version = '4.3.7-nightly3.2504-10';
4262
+ var Version = '4.3.7-nightly3.2504-11';
4086
4263
  var FullVersionString = "1DS-Web-JS-" + Version;
4087
4264
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
4088
4265
  var _fieldTypeEventPropMap = (_a$1 = {},
@@ -4512,7 +4689,7 @@ function retryPolicyGetMillisToBackoffForRetry(retriesSoFar) {
4512
4689
  }
4513
4690
 
4514
4691
  var _MAX_STRING_JOINS = 20;
4515
- var RequestSizeLimitBytes = 3984588;
4692
+ var RequestSizeLimitBytes = 3145728;
4516
4693
  var BeaconRequestSizeLimitBytes = 65000;
4517
4694
  var MaxRecordSize = 2000000;
4518
4695
  var MaxBeaconRecordSize = mathMin(MaxRecordSize, BeaconRequestSizeLimitBytes);
@@ -5759,7 +5936,7 @@ var PostChannel = /** @class */ (function (_super) {
5759
5936
  var _this = _super.call(this) || this;
5760
5937
  _this.identifier = "PostChannel";
5761
5938
  _this.priority = 1011;
5762
- _this.version = '4.3.7-nightly3.2504-10';
5939
+ _this.version = '4.3.7-nightly3.2504-11';
5763
5940
  var _postConfig;
5764
5941
  var _isTeardownCalled = false;
5765
5942
  var _flushCallbackQueue = [];
@@ -6544,4 +6721,4 @@ exports.PostChannel = PostChannel;
6544
6721
  exports.RT_PROFILE = RT_PROFILE;
6545
6722
 
6546
6723
  }));
6547
- //# sourceMappingURL=ms.post-4.3.7-nightly3.2504-10.js.map
6724
+ //# sourceMappingURL=ms.post-4.3.7-nightly3.2504-11.js.map