impact-ui 5.0.5-beta.1 → 5.0.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/_virtual/index15.js +2 -2
  2. package/dist/_virtual/index16.js +2 -2
  3. package/dist/_virtual/index3.js +2 -4
  4. package/dist/_virtual/index4.js +3 -3
  5. package/dist/_virtual/index5.js +4 -2
  6. package/dist/components/EmptyState/index.js +1 -1
  7. package/dist/components/Header/ChristmasCursorSparkles.d.ts.map +1 -1
  8. package/dist/components/Header/ChristmasCursorSparkles.js +3 -25
  9. package/dist/components/Header/ChristmasHeaderAssetVars.d.ts.map +1 -1
  10. package/dist/components/Header/ChristmasHeaderAssetVars.js +7 -6
  11. package/dist/components/Header/ChristmasHeaderLights.d.ts +1 -1
  12. package/dist/components/Header/ChristmasHeaderLights.d.ts.map +1 -1
  13. package/dist/components/Header/ChristmasHeaderLights.js +6 -4
  14. package/dist/components/Header/ChristmasSnowfall.d.ts +1 -1
  15. package/dist/components/Header/ChristmasSnowfall.d.ts.map +1 -1
  16. package/dist/components/Header/ChristmasSnowfall.js +3 -25
  17. package/dist/components/Header/christmasThemeAssets.d.ts +4 -2
  18. package/dist/components/Header/christmasThemeAssets.d.ts.map +1 -1
  19. package/dist/components/Header/christmasThemeAssets.js +12 -3
  20. package/dist/components/Header/index.js +1 -1
  21. package/dist/components/Header/winterHolidayInterfaceStyle.d.ts +4 -0
  22. package/dist/components/Header/winterHolidayInterfaceStyle.d.ts.map +1 -0
  23. package/dist/components/Header/winterHolidayInterfaceStyle.js +35 -0
  24. package/dist/components/InterfaceStyleIntro/InterfaceStyleIntroProvider.d.ts.map +1 -1
  25. package/dist/components/InterfaceStyleIntro/InterfaceStyleIntroProvider.js +65 -15
  26. package/dist/components/InterfaceStyleIntro/assets/icon-double-arrow-right.svg.js +4 -0
  27. package/dist/components/Loader/InterfaceStyleLoaderSlides.d.ts.map +1 -1
  28. package/dist/components/Loader/InterfaceStyleLoaderSlides.js +73 -45
  29. package/dist/components/Loader/index.js +1 -1
  30. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  31. package/dist/components/MonthRangePicker/index.js +3 -2
  32. package/dist/components/TableChat/EmptyContainer.js +1 -1
  33. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  34. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  35. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  36. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
  37. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
  38. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  39. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
  40. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
  41. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
  42. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  43. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
  44. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  45. package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
  46. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  47. package/dist/components/TableV36/index.js +1 -1
  48. package/dist/components/ThemingPanel/ThemingPanel.d.ts.map +1 -1
  49. package/dist/components/ThemingPanel/ThemingPanel.js +7 -5
  50. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts +1 -1
  51. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts.map +1 -1
  52. package/dist/components/ThemingPanel/themingPanel.constants.d.ts.map +1 -1
  53. package/dist/components/ThemingPanel/themingPanel.constants.js +5 -2
  54. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  55. package/dist/components/common/MentionEditor/index.js +1 -1
  56. package/dist/interfaceStyles/config.d.ts +12 -0
  57. package/dist/interfaceStyles/config.d.ts.map +1 -1
  58. package/dist/interfaceStyles/config.js +17 -0
  59. package/dist/interfaceStyles/winterHolidayInterfaceStyle.d.ts +8 -0
  60. package/dist/interfaceStyles/winterHolidayInterfaceStyle.d.ts.map +1 -0
  61. package/dist/interfaceStyles/winterHolidayInterfaceStyle.js +13 -0
  62. package/dist/locales/de-DE.json.d.ts +2 -1
  63. package/dist/locales/de-DE.json.js +2 -1
  64. package/dist/locales/en-US.json.d.ts +2 -1
  65. package/dist/locales/en-US.json.js +2 -1
  66. package/dist/locales/es-ES.json.d.ts +2 -1
  67. package/dist/locales/es-ES.json.js +2 -1
  68. package/dist/mcp-component-registry.json +1 -1
  69. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +1142 -196
  70. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  71. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  72. package/dist/node_modules/is-symbol/index.js +1 -1
  73. package/dist/node_modules/object-inspect/index.js +288 -23
  74. package/dist/node_modules/object-inspect/stringWidth.js +73 -0
  75. package/dist/node_modules/object-inspect/stringWidthRanges.js +41 -0
  76. package/dist/node_modules/react-is/index.js +1 -1
  77. package/dist/styles/style.css +1 -1
  78. package/dist/tokens/impactUiPreferences.d.ts +1 -1
  79. package/dist/tokens/impactUiPreferences.d.ts.map +1 -1
  80. package/dist/tokens/impactUiPreferences.js +2 -1
  81. package/dist/tokens/interfaceStyleDom.d.ts.map +1 -1
  82. package/dist/tokens/interfaceStyleDom.js +2 -1
  83. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
- import require$$1 from "../../../_virtual/index3.js";
4
- import require$$2 from "../../../_virtual/index4.js";
3
+ import require$$1 from "../../../_virtual/index4.js";
4
+ import require$$2 from "../../../_virtual/index5.js";
5
5
  var _interopRequireDefault = require$$0;
6
6
  Object.defineProperty(colorManipulator, "__esModule", {
7
7
  value: true
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from "../../../../_virtual/index15.js";
1
+ import { __module as reactIs } from "../../../../_virtual/index16.js";
2
2
  import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
3
3
  import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
4
4
  if (process.env.NODE_ENV === "production") {
@@ -1,4 +1,4 @@
1
- import { __module as isSymbol } from "../../_virtual/index16.js";
1
+ import { __module as isSymbol } from "../../_virtual/index15.js";
2
2
  import { __require as requireCallBound } from "../call-bound/index.js";
3
3
  import { __require as requireHasSymbols } from "../has-symbols/index.js";
4
4
  import { __require as requireSafeRegexTest } from "../safe-regex-test/index.js";
@@ -1,4 +1,5 @@
1
1
  import require$$0 from "../../_virtual/___vite-browser-external.js";
2
+ import { __require as requireStringWidth } from "./stringWidth.js";
2
3
  var objectInspect;
3
4
  var hasRequiredObjectInspect;
4
5
  function requireObjectInspect() {
@@ -8,10 +9,12 @@ function requireObjectInspect() {
8
9
  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
9
10
  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
10
11
  var mapForEach = hasMap && Map.prototype.forEach;
12
+ var mapEntries = hasMap && Map.prototype.entries;
11
13
  var hasSet = typeof Set === "function" && Set.prototype;
12
14
  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
13
15
  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
14
16
  var setForEach = hasSet && Set.prototype.forEach;
17
+ var setValues = hasSet && Set.prototype.values;
15
18
  var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
16
19
  var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
17
20
  var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
@@ -31,15 +34,46 @@ function requireObjectInspect() {
31
34
  var $join = Array.prototype.join;
32
35
  var $arrSlice = Array.prototype.slice;
33
36
  var $floor = Math.floor;
37
+ var $max = Math.max;
38
+ var $min = Math.min;
39
+ var $round = Math.round;
40
+ var $sqrt = Math.sqrt;
34
41
  var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
35
42
  var gOPS = Object.getOwnPropertySymbols;
36
43
  var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
37
44
  var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
38
- var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
45
+ var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (hasShammedSymbols ? typeof Symbol.toStringTag === "object" : typeof Symbol.toStringTag === "symbol") ? Symbol.toStringTag : null;
39
46
  var isEnumerable = Object.prototype.propertyIsEnumerable;
40
47
  var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
41
48
  return O.__proto__;
42
49
  } : null);
50
+ var mapIteratorNext = mapEntries && gPO ? gPO(mapEntries.call(/* @__PURE__ */ new Map())).next : null;
51
+ var setIteratorNext = setValues && gPO ? gPO(setValues.call(/* @__PURE__ */ new Set())).next : null;
52
+ var typedArrayProto = typeof Uint8Array === "function" && gPO ? gPO(Uint8Array.prototype) : null;
53
+ var typedArrayTag = typedArrayProto && toStringTag ? getterOf(typedArrayProto, toStringTag) : null;
54
+ var typedArrayLength = typedArrayProto ? getterOf(typedArrayProto, "length") : null;
55
+ var typedArrayToString = /^\[object (?:Int8|Uint8|Uint8Clamped|Int16|Uint16|Int32|Uint32|Float16|Float32|Float64|BigInt64|BigUint64)Array\]$/;
56
+ var typedArrayLengths = { __proto__: null };
57
+ if (!typedArrayLength) {
58
+ var TypedArrays = [
59
+ typeof Int8Array === "function" && Int8Array,
60
+ typeof Uint8Array === "function" && Uint8Array,
61
+ typeof Uint8ClampedArray === "function" && Uint8ClampedArray,
62
+ typeof Int16Array === "function" && Int16Array,
63
+ typeof Uint16Array === "function" && Uint16Array,
64
+ typeof Int32Array === "function" && Int32Array,
65
+ typeof Uint32Array === "function" && Uint32Array,
66
+ typeof Float32Array === "function" && Float32Array,
67
+ typeof Float64Array === "function" && Float64Array
68
+ ];
69
+ for (var ta = 0; ta < TypedArrays.length; ta++) {
70
+ var TypedArray = TypedArrays[ta];
71
+ var lengthGetter = TypedArray && getterOf(TypedArray.prototype, "length");
72
+ if (lengthGetter) {
73
+ typedArrayLengths[toStr(new TypedArray(0))] = lengthGetter;
74
+ }
75
+ }
76
+ }
43
77
  function addNumericSeparator(num, str) {
44
78
  if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
45
79
  return str;
@@ -56,6 +90,7 @@ function requireObjectInspect() {
56
90
  return $replace.call(str, sepRegex, "$&_");
57
91
  }
58
92
  var utilInspect = require$$0;
93
+ var getStringWidth = requireStringWidth();
59
94
  var inspectCustom = utilInspect.custom;
60
95
  var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
61
96
  var quotes = {
@@ -68,14 +103,18 @@ function requireObjectInspect() {
68
103
  "double": /(["\\])/g,
69
104
  single: /(['\\])/g
70
105
  };
71
- objectInspect = function inspect_(obj, options, depth, seen) {
106
+ objectInspect = function inspect_(obj, options, depth, seen, breakState) {
72
107
  var opts = options || {};
73
108
  if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
74
109
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
75
110
  }
76
111
  if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
77
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
112
+ throw new TypeError('option "maxStringLength", if provided, must be a non-negative integer, Infinity, or `null`');
113
+ }
114
+ if (has(opts, "maxCollectionLength") && opts.maxCollectionLength !== null && opts.maxCollectionLength !== Infinity && !(typeof opts.maxCollectionLength === "number" && opts.maxCollectionLength >= 0 && $floor(opts.maxCollectionLength) === opts.maxCollectionLength)) {
115
+ throw new TypeError('option "maxCollectionLength", if provided, must be a non-negative integer, Infinity, or `null`');
78
116
  }
117
+ var maxCollectionLength = typeof opts.maxCollectionLength === "number" ? opts.maxCollectionLength : Infinity;
79
118
  var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
80
119
  if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
81
120
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
@@ -87,6 +126,13 @@ function requireObjectInspect() {
87
126
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
88
127
  }
89
128
  var numericSeparator = opts.numericSeparator;
129
+ if (has(opts, "multilineStrings") && typeof opts.multilineStrings !== "boolean") {
130
+ throw new TypeError('option "multilineStrings", if provided, must be `true` or `false`');
131
+ }
132
+ var hasBreakLength = has(opts, "breakLength");
133
+ if (hasBreakLength && opts.breakLength !== Infinity && (typeof opts.breakLength !== "number" || opts.breakLength < 0 || parseInt(opts.breakLength, 10) !== opts.breakLength)) {
134
+ throw new TypeError('option "breakLength", if provided, must be a non-negative integer or `Infinity`');
135
+ }
90
136
  if (typeof obj === "undefined") {
91
137
  return "undefined";
92
138
  }
@@ -117,31 +163,60 @@ function requireObjectInspect() {
117
163
  if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
118
164
  return isArray(obj) ? "[Array]" : "[Object]";
119
165
  }
120
- var indent = getIndent(opts, depth);
166
+ var indent = getIndent(hasBreakLength && (typeof opts.indent === "undefined" || opts.indent === null) ? { indent: 2 } : opts, depth);
167
+ var layout = hasBreakLength ? {
168
+ breakLength: opts.breakLength,
169
+ depth,
170
+ indent,
171
+ maxCollectionLength,
172
+ state: breakState || { currentDepth: depth }
173
+ } : null;
121
174
  if (typeof seen === "undefined") {
122
175
  seen = [];
123
176
  } else if (indexOf(seen, obj) >= 0) {
124
177
  return "[Circular]";
125
178
  }
126
179
  function inspect(value, from, noIndent) {
180
+ var nextSeen = seen;
127
181
  if (from) {
128
- seen = $arrSlice.call(seen);
129
- seen.push(from);
182
+ nextSeen = $arrSlice.call(seen);
183
+ nextSeen.push(from);
130
184
  }
131
- if (noIndent) {
185
+ if (noIndent && !layout) {
132
186
  var newOpts = {
133
187
  depth: opts.depth
134
188
  };
135
189
  if (has(opts, "quoteStyle")) {
136
190
  newOpts.quoteStyle = opts.quoteStyle;
137
191
  }
138
- return inspect_(value, newOpts, depth + 1, seen);
192
+ if (has(opts, "maxCollectionLength")) {
193
+ newOpts.maxCollectionLength = opts.maxCollectionLength;
194
+ }
195
+ return inspect_(value, newOpts, depth + 1, nextSeen);
196
+ }
197
+ return inspect_(value, opts, depth + 1, nextSeen, layout ? layout.state : breakState);
198
+ }
199
+ function enter() {
200
+ if (layout) {
201
+ var previousDepth = layout.state.currentDepth;
202
+ layout.state.currentDepth = depth;
203
+ return previousDepth;
204
+ }
205
+ return null;
206
+ }
207
+ function leaveIfEmpty(entries, previousDepth) {
208
+ if (layout && entries.length === 0) {
209
+ layout.state.currentDepth = previousDepth;
139
210
  }
140
- return inspect_(value, opts, depth + 1, seen);
141
211
  }
142
212
  if (typeof obj === "function" && !isRegExp(obj)) {
143
213
  var name = nameOf(obj);
214
+ var fnDepth = enter();
144
215
  var keys = arrObjKeys(obj, inspect);
216
+ leaveIfEmpty(keys, fnDepth);
217
+ if (layout && keys.length > 0) {
218
+ return breakLines(keys, bracesOf("{", "}", "[Function" + (name ? ": " + name : " (anonymous)") + "]", " "), layout);
219
+ }
145
220
  return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys.length > 0 ? " { " + $join.call(keys, ", ") + " }" : "");
146
221
  }
147
222
  if (isSymbol(obj)) {
@@ -165,20 +240,29 @@ function requireObjectInspect() {
165
240
  if (obj.length === 0) {
166
241
  return "[]";
167
242
  }
168
- var xs = arrObjKeys(obj, inspect);
243
+ enter();
244
+ var xs = arrObjKeys(obj, inspect, maxCollectionLength);
245
+ if (layout) {
246
+ return breakLines(xs, bracesOf("[", "]", "", " "), layout, obj);
247
+ }
169
248
  if (indent && !singleLineValues(xs)) {
170
249
  return "[" + indentedJoin(xs, indent) + "]";
171
250
  }
172
251
  return "[ " + $join.call(xs, ", ") + " ]";
173
252
  }
174
253
  if (isError(obj)) {
254
+ var errorDepth = enter();
175
255
  var parts = arrObjKeys(obj, inspect);
176
256
  if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
177
- return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
257
+ parts = $concat.call(["[cause]: " + inspect(obj.cause)], parts);
178
258
  }
259
+ leaveIfEmpty(parts, errorDepth);
179
260
  if (parts.length === 0) {
180
261
  return "[" + String(obj) + "]";
181
262
  }
263
+ if (layout) {
264
+ return breakLines(parts, bracesOf("{ [" + String(obj) + "]", "}", "", " "), layout);
265
+ }
182
266
  return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
183
267
  }
184
268
  if (typeof obj === "object" && customInspect) {
@@ -190,21 +274,55 @@ function requireObjectInspect() {
190
274
  }
191
275
  if (isMap(obj)) {
192
276
  var mapParts = [];
193
- if (mapForEach) {
277
+ var mapDepth = enter();
278
+ if (mapIteratorNext && maxCollectionLength < mapSize.call(obj)) {
279
+ var mapIterator = mapEntries.call(obj);
280
+ var mapStep;
281
+ while (mapParts.length < maxCollectionLength && !(mapStep = mapIteratorNext.call(mapIterator)).done) {
282
+ mapParts.push(inspect(mapStep.value[0], obj, true) + " => " + inspect(mapStep.value[1], obj));
283
+ }
284
+ } else if (mapForEach) {
194
285
  mapForEach.call(obj, function(value, key) {
195
- mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
286
+ if (mapParts.length < maxCollectionLength) {
287
+ mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
288
+ }
196
289
  });
197
290
  }
198
- return collectionOf("Map", mapSize.call(obj), mapParts, indent);
291
+ var mapLength = mapSize.call(obj);
292
+ if (maxCollectionLength !== Infinity && mapLength > mapParts.length) {
293
+ mapParts.push(moreItems(mapLength - mapParts.length));
294
+ }
295
+ leaveIfEmpty(mapParts, mapDepth);
296
+ if (layout) {
297
+ return breakLines(mapParts, bracesOf("Map (" + mapLength + ") {", "}", "", ""), layout);
298
+ }
299
+ return collectionOf("Map", mapLength, mapParts, indent);
199
300
  }
200
301
  if (isSet(obj)) {
201
302
  var setParts = [];
202
- if (setForEach) {
303
+ var setDepth = enter();
304
+ if (setIteratorNext && maxCollectionLength < setSize.call(obj)) {
305
+ var setIterator = setValues.call(obj);
306
+ var setStep;
307
+ while (setParts.length < maxCollectionLength && !(setStep = setIteratorNext.call(setIterator)).done) {
308
+ setParts.push(inspect(setStep.value, obj));
309
+ }
310
+ } else if (setForEach) {
203
311
  setForEach.call(obj, function(value) {
204
- setParts.push(inspect(value, obj));
312
+ if (setParts.length < maxCollectionLength) {
313
+ setParts.push(inspect(value, obj));
314
+ }
205
315
  });
206
316
  }
207
- return collectionOf("Set", setSize.call(obj), setParts, indent);
317
+ var setLength = setSize.call(obj);
318
+ if (maxCollectionLength !== Infinity && setLength > setParts.length) {
319
+ setParts.push(moreItems(setLength - setParts.length));
320
+ }
321
+ leaveIfEmpty(setParts, setDepth);
322
+ if (layout) {
323
+ return breakLines(setParts, bracesOf("Set (" + setLength + ") {", "}", "", ""), layout);
324
+ }
325
+ return collectionOf("Set", setLength, setParts, indent);
208
326
  }
209
327
  if (isWeakMap(obj)) {
210
328
  return weakCollectionOf("WeakMap");
@@ -234,15 +352,20 @@ function requireObjectInspect() {
234
352
  return "{ [object globalThis] }";
235
353
  }
236
354
  if (!isDate(obj) && !isRegExp(obj)) {
237
- var ys = arrObjKeys(obj, inspect);
355
+ var objectDepth = enter();
356
+ var ys = arrObjKeys(obj, inspect, maxCollectionLength);
357
+ leaveIfEmpty(ys, objectDepth);
238
358
  var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
239
- var protoTag = obj instanceof Object ? "" : "null prototype";
359
+ var protoTag = (gPO ? gPO(obj) === null : !(obj instanceof Object)) ? "null prototype" : "";
240
360
  var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
241
361
  var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
242
362
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
243
363
  if (ys.length === 0) {
244
364
  return tag + "{}";
245
365
  }
366
+ if (layout) {
367
+ return breakLines(ys, bracesOf(tag + "{", "}", "", " "), layout);
368
+ }
246
369
  if (indent) {
247
370
  return tag + "{" + indentedJoin(ys, indent) + "}";
248
371
  }
@@ -319,6 +442,26 @@ function requireObjectInspect() {
319
442
  function toStr(obj) {
320
443
  return objectToString.call(obj);
321
444
  }
445
+ function isTypedArray(obj) {
446
+ if (typedArrayTag) {
447
+ return !!typedArrayTag.call(obj);
448
+ }
449
+ return !toStringTag && $test.call(typedArrayToString, toStr(obj));
450
+ }
451
+ function getTypedArrayLength(obj) {
452
+ if (typedArrayLength) {
453
+ return typedArrayLength.call(obj);
454
+ }
455
+ var getter = typedArrayLengths[toStr(obj)];
456
+ return getter ? getter.call(obj) : obj.length;
457
+ }
458
+ function getterOf(obj, key) {
459
+ var descriptor = Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
460
+ return descriptor && typeof descriptor.get === "function" ? descriptor.get : null;
461
+ }
462
+ function moreItems(count) {
463
+ return "... " + count + " more item" + (count > 1 ? "s" : "");
464
+ }
322
465
  function nameOf(f) {
323
466
  if (f.name) {
324
467
  return f.name;
@@ -432,7 +575,7 @@ function requireObjectInspect() {
432
575
  }
433
576
  var quoteRE = quoteREs[opts.quoteStyle || "single"];
434
577
  quoteRE.lastIndex = 0;
435
- var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
578
+ var s = $replace.call($replace.call(str, quoteRE, "\\$1"), opts.multilineStrings ? /[\x00-\x09\x0b-\x1f]/g : /[\x00-\x1f]/g, lowbyte);
436
579
  return wrapQuotes(s, "single", opts);
437
580
  }
438
581
  function lowbyte(c) {
@@ -459,6 +602,112 @@ function requireObjectInspect() {
459
602
  var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
460
603
  return type + " (" + size + ") {" + joinedEntries + "}";
461
604
  }
605
+ function isBelowBreakLength(entries, start, breakLength) {
606
+ if (breakLength === Infinity) {
607
+ return singleLineValues(entries);
608
+ }
609
+ var totalLength = entries.length + start;
610
+ if (totalLength + entries.length > breakLength) {
611
+ return false;
612
+ }
613
+ for (var i = 0; i < entries.length; i++) {
614
+ totalLength += entries[i].length;
615
+ if (totalLength > breakLength) {
616
+ return false;
617
+ }
618
+ }
619
+ return true;
620
+ }
621
+ function padTo(str, width, atStart) {
622
+ var fill = width > str.length ? $join.call(Array(width - str.length + 1), " ") : "";
623
+ return atStart ? fill + str : str + fill;
624
+ }
625
+ function groupArrayElements(entries, layout, value) {
626
+ var separatorSpace = 2;
627
+ var totalLength = 0;
628
+ var maxLength = 0;
629
+ var outputLength = entries.length;
630
+ if (layout.maxCollectionLength < entries.length) {
631
+ outputLength -= 1;
632
+ }
633
+ var dataLen = [];
634
+ for (var i = 0; i < outputLength; i++) {
635
+ dataLen[i] = getStringWidth(entries[i]);
636
+ totalLength += dataLen[i] + separatorSpace;
637
+ if (maxLength < dataLen[i]) {
638
+ maxLength = dataLen[i];
639
+ }
640
+ }
641
+ var actualMax = maxLength + separatorSpace;
642
+ var indentationLvl = layout.indent.prev.length;
643
+ if (actualMax * 3 + indentationLvl >= layout.breakLength || totalLength / actualMax <= 5 && maxLength > 6) {
644
+ return entries;
645
+ }
646
+ var averageBias = $sqrt(actualMax - totalLength / entries.length);
647
+ var biasedMax = $max(actualMax - 3 - averageBias, 1);
648
+ var columns = $min(
649
+ $round($sqrt(2.5 * biasedMax * outputLength) / biasedMax),
650
+ $floor((layout.breakLength - indentationLvl) / actualMax),
651
+ 12,
652
+ // `compact` * 4
653
+ 15
654
+ );
655
+ if (columns <= 1) {
656
+ return entries;
657
+ }
658
+ var maxLineLength = [];
659
+ for (var c = 0; c < columns; c++) {
660
+ var lineMaxLength = 0;
661
+ for (var j = c; j < entries.length; j += columns) {
662
+ if (dataLen[j] > lineMaxLength) {
663
+ lineMaxLength = dataLen[j];
664
+ }
665
+ }
666
+ maxLineLength[c] = lineMaxLength + separatorSpace;
667
+ }
668
+ var numeric = true;
669
+ for (var k = 0; k < entries.length && numeric; k++) {
670
+ numeric = typeof value[k] === "number" || typeof value[k] === "bigint";
671
+ }
672
+ var grouped = [];
673
+ for (var row = 0; row < outputLength; row += columns) {
674
+ var max = $min(row + columns, outputLength);
675
+ var str = "";
676
+ var col = row;
677
+ for (; col < max - 1; col++) {
678
+ str += padTo(entries[col] + ", ", maxLineLength[col - row] + (entries[col].length - dataLen[col]), numeric);
679
+ }
680
+ var lastPadding = maxLineLength[col - row] + (entries[col].length - dataLen[col]) - separatorSpace;
681
+ str += numeric ? padTo(entries[col], lastPadding, true) : entries[col];
682
+ grouped.push(str);
683
+ }
684
+ if (outputLength < entries.length) {
685
+ grouped.push(entries[outputLength]);
686
+ }
687
+ return grouped;
688
+ }
689
+ function bracesOf(opening, closing, base, padding) {
690
+ return [
691
+ opening,
692
+ closing,
693
+ base,
694
+ padding
695
+ ];
696
+ }
697
+ function breakLines(entries, braces, layout, arrayValue) {
698
+ var output = arrayValue && entries.length > 6 ? groupArrayElements(entries, layout, arrayValue) : entries;
699
+ var base = braces[2] ? braces[2] + " " : "";
700
+ if (layout.state.currentDepth - layout.depth < 3 && output.length === entries.length) {
701
+ var start = output.length + layout.indent.prev.length + braces[0].length + braces[2].length + 10;
702
+ if (isBelowBreakLength(output, start, layout.breakLength)) {
703
+ var joined = $join.call(output, ", ");
704
+ if (indexOf(joined, "\n") < 0) {
705
+ return base + braces[0] + braces[3] + joined + braces[3] + braces[1];
706
+ }
707
+ }
708
+ }
709
+ return base + braces[0] + indentedJoin(output, layout.indent) + braces[1];
710
+ }
462
711
  function singleLineValues(xs) {
463
712
  for (var i = 0; i < xs.length; i++) {
464
713
  if (indexOf(xs[i], "\n") >= 0) {
@@ -488,14 +737,27 @@ function requireObjectInspect() {
488
737
  var lineJoiner = "\n" + indent.prev + indent.base;
489
738
  return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
490
739
  }
491
- function arrObjKeys(obj, inspect) {
740
+ function arrObjKeys(obj, inspect, maxLength) {
492
741
  var isArr = isArray(obj);
742
+ var limit = typeof maxLength === "number" ? maxLength : Infinity;
743
+ var typedLength = !isArr && limit !== Infinity && isTypedArray(obj) ? getTypedArrayLength(obj) : null;
744
+ if (typeof typedLength !== "number" || typedLength <= limit) {
745
+ typedLength = null;
746
+ }
493
747
  var xs = [];
494
748
  if (isArr) {
495
- xs.length = obj.length;
496
- for (var i = 0; i < obj.length; i++) {
749
+ xs.length = obj.length < limit ? obj.length : limit;
750
+ for (var i = 0; i < obj.length && i < limit; i++) {
497
751
  xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
498
752
  }
753
+ if (obj.length > limit) {
754
+ xs.push(moreItems(obj.length - limit));
755
+ }
756
+ } else if (typedLength !== null) {
757
+ for (var t = 0; t < limit; t++) {
758
+ xs.push(t + ": " + inspect(obj[t], obj));
759
+ }
760
+ xs.push(moreItems(typedLength - limit));
499
761
  }
500
762
  var syms = typeof gOPS === "function" ? gOPS(obj) : [];
501
763
  var symMap;
@@ -512,6 +774,9 @@ function requireObjectInspect() {
512
774
  if (isArr && String(Number(key)) === key && key < obj.length) {
513
775
  continue;
514
776
  }
777
+ if (typedLength !== null && String(Number(key)) === key && key < typedLength) {
778
+ continue;
779
+ }
515
780
  if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
516
781
  continue;
517
782
  } else if ($test.call(/[^\w$]/, key)) {
@@ -0,0 +1,73 @@
1
+ import { __require as requireStringWidthRanges } from "./stringWidthRanges.js";
2
+ var stringWidth;
3
+ var hasRequiredStringWidth;
4
+ function requireStringWidth() {
5
+ if (hasRequiredStringWidth) return stringWidth;
6
+ hasRequiredStringWidth = 1;
7
+ var $charCodeAt = String.prototype.charCodeAt;
8
+ var $indexOf = String.prototype.indexOf;
9
+ var $normalize = String.prototype.normalize;
10
+ var $slice = String.prototype.slice;
11
+ var $split = String.prototype.split;
12
+ var $floor = Math.floor;
13
+ var $parseInt = parseInt;
14
+ var ranges = requireStringWidthRanges();
15
+ var starts = [];
16
+ var ends = [];
17
+ var widths = [];
18
+ var tokens = $split.call(ranges, ",");
19
+ var previousEnd = -1;
20
+ for (var t = 0; t < tokens.length; t++) {
21
+ var dot = $indexOf.call(tokens[t], ".");
22
+ starts[t] = previousEnd + 1 + $parseInt($slice.call(tokens[t], 1, dot), 36);
23
+ previousEnd = starts[t] + $parseInt($slice.call(tokens[t], dot + 1), 36);
24
+ ends[t] = previousEnd;
25
+ widths[t] = Number($slice.call(tokens[t], 0, 1));
26
+ }
27
+ function codePointWidth(code) {
28
+ var low = 0;
29
+ var high = starts.length - 1;
30
+ while (low <= high) {
31
+ var mid = $floor((low + high) / 2);
32
+ if (code < starts[mid]) {
33
+ high = mid - 1;
34
+ } else if (code > ends[mid]) {
35
+ low = mid + 1;
36
+ } else {
37
+ return widths[mid];
38
+ }
39
+ }
40
+ return 1;
41
+ }
42
+ function unicodeWidth(str) {
43
+ var width = 0;
44
+ for (var i = 0; i < str.length; i++) {
45
+ var code = $charCodeAt.call(str, i);
46
+ if (code >= 55296 && code <= 56319 && i + 1 < str.length) {
47
+ var next = $charCodeAt.call(str, i + 1);
48
+ if (next >= 56320 && next <= 57343) {
49
+ code = (code - 55296) * 1024 + (next - 56320) + 65536;
50
+ i += 1;
51
+ }
52
+ }
53
+ width += codePointWidth(code);
54
+ }
55
+ return width;
56
+ }
57
+ stringWidth = function getStringWidth(str) {
58
+ var width = 0;
59
+ for (var i = 0; i < str.length; i++) {
60
+ var code = $charCodeAt.call(str, i);
61
+ if (code >= 127) {
62
+ var rest = $slice.call(str, i);
63
+ return width + unicodeWidth($normalize ? $normalize.call(rest, "NFC") : rest);
64
+ }
65
+ width += code >= 32 ? 1 : 0;
66
+ }
67
+ return width;
68
+ };
69
+ return stringWidth;
70
+ }
71
+ export {
72
+ requireStringWidth as __require
73
+ };
@@ -0,0 +1,41 @@
1
+ var stringWidthRanges;
2
+ var hasRequiredStringWidthRanges;
3
+ function requireStringWidthRanges() {
4
+ if (hasRequiredStringWidthRanges) return stringWidthRanges;
5
+ hasRequiredStringWidthRanges = 1;
6
+ var $join = Array.prototype.join;
7
+ stringWidthRanges = $join.call([
8
+ "00.v,02n.w,0gw.33,07n.6,07b.18,01.0,01.1,01.1,01.0,01k.5,0a.a,01.0,01a.k,0g.0,02t.7,01.5,02.1,01.3,",
9
+ "0x.0,01.0,0u.q,02j.a,01m.8,09.0,0o.3,01.8,01.2,01.4,017.2,01g.1,05.8,016.1k,01j.0,01.0,04.7,04.0,",
10
+ "03.6,0a.1,0t.0,01m.0,04.3,08.0,0k.1,0q.0,02.1,01l.0,04.1,04.1,02.2,03.0,0u.1,03.0,0b.1,01l.0,04.4,",
11
+ "01.1,04.0,0k.1,0m.5,01.0,01m.0,02.0,01.3,08.0,07.1,0b.1,0u.0,01p.0,0c.0,01e.0,03.0,01j.0,01.2,05.2,",
12
+ "01.3,07.1,0b.1,0t.0,01m.0,02.0,06.0,05.1,0k.1,0s.1,01l.1,04.3,08.0,0k.1,0t.0,020.0,07.2,01.0,02i.0,",
13
+ "02.6,0c.7,02q.0,02.8,0b.6,021.1,0r.0,01.0,01.0,01j.d,01.4,01.1,05.a,01.z,09.0,02u.3,01.5,01.1,02.1,",
14
+ "0p.1,04.2,0g.3,0d.0,02.1,06.0,0f.0,22q.2n,0e5.2,0qa.2,0t.1,0u.1,0u.1,01s.1,01.6,08.0,02.a,09.0,",
15
+ "019.4,039.1,0y.0,03a.2,04.1,09.0,06.2,063.1,02.0,01m.0,01.6,01.0,01.0,02.7,06.9,02.0,01c.19,02.b,",
16
+ "0k.3,01c.0,01.4,01.0,05.0,014.8,0c.1,0w.3,02.1,01.2,01k.0,01.1,03.0,01.2,01m.7,02.1,048.2,01.c,01.6,",
17
+ "04.0,06.0,03.1,05i.1r,0ej.4,0q.4,01d.4,01.9,02o.w,2fd.1,2d.1,25a.3,23.0,22.0,2eh.1,2l.1,2q.7,2g.b,",
18
+ "217.0,2a.5,23.0,2d.0,28.1,2h.1,25.1,28.0,25.0,2l.0,27.1,21.0,24.0,22.0,27.0,24.1,2s.0,2z.0,21.0,",
19
+ "24.2,21.0,21p.2,2o.0,2e.0,2nv.1,21f.0,24.0,0bd.2,03x.0,02o.v,23k.p,21.2g,2c.5x,2q.26,22.2d,22.2u,",
20
+ "25.16,21.2l,21.2d,29.1b,21.13,28.mkc,23.1i,0bs.3,01.9,0w.1,028.1,07k.0,03.0,04.0,0p.1,05.0,047.1,",
21
+ "0q.h,0d.0,012.7,0p.a,2e.s,03.2,01c.0,02.3,02.1,013.0,01v.5,02.1,02.1,0c.0,08.0,01b.0,01f.0,01.2,",
22
+ "02.1,05.1,01.0,016.1,08.0,06m.0,02.0,04.0,2i.8mb,26l8.e7,0u.0,0kh.f,20.9,06.f,20.y,21.i,21.3,043.0,",
23
+ "21.2n,23j.6,0i.2,0e9.0,06a.0,045.4,01ae.2,01.1,05.3,014.2,04.0,04l.1,0fx.3,01t.4,08t.1,025.5,01y.a,",
24
+ "01d.3,03f.0,01i.e,015.0,02.1,0a.2,01d.3,02.1,02.0,04.0,0a.0,01e.2,010.4,01.7,01q.0,0c.1,01g.8,0a.3,",
25
+ "02.0,02n.2,02.0,01.1,06.0,02.0,04d.0,03.7,0l.1,01l.1,03.0,011.6,03.4,01y.5,0d.0,01.0,01.0,0e.1,",
26
+ "02d.7,02.2,01.0,0n.0,02c.5,01.0,04.1,01.1,06m.3,06.1,01.1,0r.1,02d.7,02.0,01.1,02y.0,01.0,02.5,01.0,",
27
+ "02t.0,01.0,02.3,01.4,077.8,01.1,074.1,01.0,04.0,040.3,02.1,04.0,0w.9,014.5,02.3,08.0,09.5,02.2,",
28
+ "01a.c,01.1,05i.0,01.2,01.0,05l.6,01.5,01.0,02a.l,02.6,01.1,01.1,03e.5,03.0,01.1,01.6,01.0,020.1,",
29
+ "03.0,01.0,09n.1,0b.1,01g.4,05.0,01.0,0n.0,0445.g,06.e,08ug.b,03.2,01xc.4,01n.6,0t4.0,01r.3,225.4,",
30
+ "2b.6,29.5p1,215.v,22p.36,26pp.3,21.6,21.1,21.82,2f.0,2t.2,22.0,2e.3,28.az,01wh.1,01.3,03mk.19,02.m,",
31
+ "2ev.1,30.4,02.2,09.f,02.6,0u.3,2d.1,30.3,03l.2,257.2e,29.m,01ah.1i,04.1d,08.0,0e.0,0m.4,01.e,011s.6,",
32
+ "01.g,02.6,01.1,01.4,02s.0,04g.6,0af.0,01p.3,0e4.3,072.1,06r.0,02.0,07.1,05.0,0d6.6,031.6,21bt.0,",
33
+ "25m.0,25a.0,22.9,223.s,2d.17,24.8,27.1,2e.5,24a.w,2c.8,21.1x,21.l,2c.16,24.4,2c.g,23.0,23.1y,21.0,",
34
+ "21.56,22.1q,2d.3,21.n,2i.0,2q.1,2d.0,22e.2c,21c.1x,26.0,23.2,22.3,23.3,2b.1,27.8,26b.b,24.0,27v.1a,",
35
+ "21.9,21.54,234.c,23.a,23.1k,21.0,24.f,22.b,24.9,2zr.1ekd,22.1ekd,0e1oj.0,0u.2n,03k.6n"
36
+ ], "");
37
+ return stringWidthRanges;
38
+ }
39
+ export {
40
+ requireStringWidthRanges as __require
41
+ };
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from "../../_virtual/index5.js";
1
+ import { __module as reactIs } from "../../_virtual/index3.js";
2
2
  import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
3
3
  import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
4
4
  if (process.env.NODE_ENV === "production") {