antd-mobile 5.17.2 → 5.18.0

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 (66) hide show
  1. package/2x/bundle/antd-mobile.cjs.js +1127 -1325
  2. package/2x/bundle/antd-mobile.es.js +1127 -1325
  3. package/2x/bundle/style.css +9 -0
  4. package/2x/cjs/components/calendar/calendar.d.ts +2 -2
  5. package/2x/cjs/components/calendar/index.d.ts +1 -1
  6. package/2x/cjs/components/form/form-item.js +6 -4
  7. package/2x/cjs/components/notice-bar/notice-bar.css +9 -0
  8. package/2x/cjs/components/notice-bar/notice-bar.js +5 -3
  9. package/2x/cjs/components/rate/rate.js +7 -2
  10. package/2x/cjs/components/rate/star.js +0 -10
  11. package/2x/cjs/components/switch/switch.d.ts +2 -1
  12. package/2x/cjs/components/switch/switch.js +16 -3
  13. package/2x/cjs/utils/merge-locale.d.ts +1 -1
  14. package/2x/cjs/utils/merge-locale.js +15 -5
  15. package/2x/cjs/utils/use-drag-and-pinch.d.ts +1 -1
  16. package/2x/cjs/utils/use-props-value.js +1 -1
  17. package/2x/cjs/utils/with-default-props.js +2 -6
  18. package/2x/es/components/calendar/calendar.d.ts +2 -2
  19. package/2x/es/components/calendar/index.d.ts +1 -1
  20. package/2x/es/components/form/form-item.js +5 -4
  21. package/2x/es/components/notice-bar/notice-bar.css +9 -0
  22. package/2x/es/components/notice-bar/notice-bar.js +5 -3
  23. package/2x/es/components/rate/rate.js +7 -2
  24. package/2x/es/components/rate/star.js +0 -10
  25. package/2x/es/components/switch/switch.d.ts +2 -1
  26. package/2x/es/components/switch/switch.js +15 -3
  27. package/2x/es/utils/merge-locale.d.ts +1 -1
  28. package/2x/es/utils/merge-locale.js +17 -3
  29. package/2x/es/utils/use-drag-and-pinch.d.ts +1 -1
  30. package/2x/es/utils/use-props-value.js +1 -1
  31. package/2x/es/utils/with-default-props.js +2 -4
  32. package/2x/package.json +4 -4
  33. package/2x/umd/antd-mobile.js +1 -1
  34. package/bundle/antd-mobile.cjs.js +1127 -1325
  35. package/bundle/antd-mobile.es.js +1127 -1325
  36. package/bundle/style.css +8 -0
  37. package/cjs/components/calendar/calendar.d.ts +2 -2
  38. package/cjs/components/calendar/index.d.ts +1 -1
  39. package/cjs/components/form/form-item.js +6 -4
  40. package/cjs/components/notice-bar/notice-bar.css +8 -0
  41. package/cjs/components/notice-bar/notice-bar.js +5 -3
  42. package/cjs/components/rate/rate.js +7 -2
  43. package/cjs/components/rate/star.js +0 -10
  44. package/cjs/components/switch/switch.d.ts +2 -1
  45. package/cjs/components/switch/switch.js +16 -3
  46. package/cjs/utils/merge-locale.d.ts +1 -1
  47. package/cjs/utils/merge-locale.js +15 -5
  48. package/cjs/utils/use-drag-and-pinch.d.ts +1 -1
  49. package/cjs/utils/use-props-value.js +1 -1
  50. package/cjs/utils/with-default-props.js +2 -6
  51. package/es/components/calendar/calendar.d.ts +2 -2
  52. package/es/components/calendar/index.d.ts +1 -1
  53. package/es/components/form/form-item.js +5 -4
  54. package/es/components/notice-bar/notice-bar.css +8 -0
  55. package/es/components/notice-bar/notice-bar.js +5 -3
  56. package/es/components/rate/rate.js +7 -2
  57. package/es/components/rate/star.js +0 -10
  58. package/es/components/switch/switch.d.ts +2 -1
  59. package/es/components/switch/switch.js +15 -3
  60. package/es/utils/merge-locale.d.ts +1 -1
  61. package/es/utils/merge-locale.js +17 -3
  62. package/es/utils/use-drag-and-pinch.d.ts +1 -1
  63. package/es/utils/use-props-value.js +1 -1
  64. package/es/utils/with-default-props.js +2 -4
  65. package/package.json +4 -4
  66. package/umd/antd-mobile.js +1 -1
@@ -43,1213 +43,20 @@ if (canUseDom) {
43
43
  document.addEventListener("touchstart", () => {
44
44
  }, true);
45
45
  }
46
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
47
- function listCacheClear$1() {
48
- this.__data__ = [];
49
- this.size = 0;
50
- }
51
- var _listCacheClear = listCacheClear$1;
52
- function eq$5(value, other) {
53
- return value === other || value !== value && other !== other;
54
- }
55
- var eq_1 = eq$5;
56
- var eq$4 = eq_1;
57
- function assocIndexOf$4(array, key) {
58
- var length = array.length;
59
- while (length--) {
60
- if (eq$4(array[length][0], key)) {
61
- return length;
62
- }
63
- }
64
- return -1;
65
- }
66
- var _assocIndexOf = assocIndexOf$4;
67
- var assocIndexOf$3 = _assocIndexOf;
68
- var arrayProto = Array.prototype;
69
- var splice = arrayProto.splice;
70
- function listCacheDelete$1(key) {
71
- var data = this.__data__, index2 = assocIndexOf$3(data, key);
72
- if (index2 < 0) {
73
- return false;
74
- }
75
- var lastIndex = data.length - 1;
76
- if (index2 == lastIndex) {
77
- data.pop();
78
- } else {
79
- splice.call(data, index2, 1);
80
- }
81
- --this.size;
82
- return true;
83
- }
84
- var _listCacheDelete = listCacheDelete$1;
85
- var assocIndexOf$2 = _assocIndexOf;
86
- function listCacheGet$1(key) {
87
- var data = this.__data__, index2 = assocIndexOf$2(data, key);
88
- return index2 < 0 ? void 0 : data[index2][1];
89
- }
90
- var _listCacheGet = listCacheGet$1;
91
- var assocIndexOf$1 = _assocIndexOf;
92
- function listCacheHas$1(key) {
93
- return assocIndexOf$1(this.__data__, key) > -1;
94
- }
95
- var _listCacheHas = listCacheHas$1;
96
- var assocIndexOf = _assocIndexOf;
97
- function listCacheSet$1(key, value) {
98
- var data = this.__data__, index2 = assocIndexOf(data, key);
99
- if (index2 < 0) {
100
- ++this.size;
101
- data.push([key, value]);
102
- } else {
103
- data[index2][1] = value;
104
- }
105
- return this;
106
- }
107
- var _listCacheSet = listCacheSet$1;
108
- var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
109
- function ListCache$4(entries) {
110
- var index2 = -1, length = entries == null ? 0 : entries.length;
111
- this.clear();
112
- while (++index2 < length) {
113
- var entry = entries[index2];
114
- this.set(entry[0], entry[1]);
115
- }
116
- }
117
- ListCache$4.prototype.clear = listCacheClear;
118
- ListCache$4.prototype["delete"] = listCacheDelete;
119
- ListCache$4.prototype.get = listCacheGet;
120
- ListCache$4.prototype.has = listCacheHas;
121
- ListCache$4.prototype.set = listCacheSet;
122
- var _ListCache = ListCache$4;
123
- var ListCache$3 = _ListCache;
124
- function stackClear$1() {
125
- this.__data__ = new ListCache$3();
126
- this.size = 0;
127
- }
128
- var _stackClear = stackClear$1;
129
- function stackDelete$1(key) {
130
- var data = this.__data__, result2 = data["delete"](key);
131
- this.size = data.size;
132
- return result2;
133
- }
134
- var _stackDelete = stackDelete$1;
135
- function stackGet$1(key) {
136
- return this.__data__.get(key);
137
- }
138
- var _stackGet = stackGet$1;
139
- function stackHas$1(key) {
140
- return this.__data__.has(key);
141
- }
142
- var _stackHas = stackHas$1;
143
- var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
144
- var _freeGlobal = freeGlobal$1;
145
- var freeGlobal = _freeGlobal;
146
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
147
- var root$8 = freeGlobal || freeSelf || Function("return this")();
148
- var _root = root$8;
149
- var root$7 = _root;
150
- var Symbol$5 = root$7.Symbol;
151
- var _Symbol = Symbol$5;
152
- var Symbol$4 = _Symbol;
153
- var objectProto$g = Object.prototype;
154
- var hasOwnProperty$d = objectProto$g.hasOwnProperty;
155
- var nativeObjectToString$1 = objectProto$g.toString;
156
- var symToStringTag$1 = Symbol$4 ? Symbol$4.toStringTag : void 0;
157
- function getRawTag$1(value) {
158
- var isOwn = hasOwnProperty$d.call(value, symToStringTag$1), tag2 = value[symToStringTag$1];
159
- try {
160
- value[symToStringTag$1] = void 0;
161
- var unmasked = true;
162
- } catch (e2) {
163
- }
164
- var result2 = nativeObjectToString$1.call(value);
165
- if (unmasked) {
166
- if (isOwn) {
167
- value[symToStringTag$1] = tag2;
168
- } else {
169
- delete value[symToStringTag$1];
170
- }
171
- }
172
- return result2;
173
- }
174
- var _getRawTag = getRawTag$1;
175
- var objectProto$f = Object.prototype;
176
- var nativeObjectToString = objectProto$f.toString;
177
- function objectToString$1(value) {
178
- return nativeObjectToString.call(value);
179
- }
180
- var _objectToString = objectToString$1;
181
- var Symbol$3 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
182
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
183
- var symToStringTag = Symbol$3 ? Symbol$3.toStringTag : void 0;
184
- function baseGetTag$5(value) {
185
- if (value == null) {
186
- return value === void 0 ? undefinedTag : nullTag;
187
- }
188
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
189
- }
190
- var _baseGetTag = baseGetTag$5;
191
- function isObject$8(value) {
192
- var type = typeof value;
193
- return value != null && (type == "object" || type == "function");
194
- }
195
- var isObject_1 = isObject$8;
196
- var baseGetTag$4 = _baseGetTag, isObject$7 = isObject_1;
197
- var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
198
- function isFunction$3(value) {
199
- if (!isObject$7(value)) {
200
- return false;
201
- }
202
- var tag2 = baseGetTag$4(value);
203
- return tag2 == funcTag$2 || tag2 == genTag$1 || tag2 == asyncTag || tag2 == proxyTag;
204
- }
205
- var isFunction_1 = isFunction$3;
206
- var root$6 = _root;
207
- var coreJsData$1 = root$6["__core-js_shared__"];
208
- var _coreJsData = coreJsData$1;
209
- var coreJsData = _coreJsData;
210
- var maskSrcKey = function() {
211
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
212
- return uid ? "Symbol(src)_1." + uid : "";
213
- }();
214
- function isMasked$1(func) {
215
- return !!maskSrcKey && maskSrcKey in func;
216
- }
217
- var _isMasked = isMasked$1;
218
- var funcProto$2 = Function.prototype;
219
- var funcToString$2 = funcProto$2.toString;
220
- function toSource$2(func) {
221
- if (func != null) {
222
- try {
223
- return funcToString$2.call(func);
224
- } catch (e2) {
225
- }
226
- try {
227
- return func + "";
228
- } catch (e2) {
229
- }
230
- }
231
- return "";
232
- }
233
- var _toSource = toSource$2;
234
- var isFunction$2 = isFunction_1, isMasked = _isMasked, isObject$6 = isObject_1, toSource$1 = _toSource;
235
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
236
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
237
- var funcProto$1 = Function.prototype, objectProto$e = Object.prototype;
238
- var funcToString$1 = funcProto$1.toString;
239
- var hasOwnProperty$c = objectProto$e.hasOwnProperty;
240
- var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
241
- function baseIsNative$1(value) {
242
- if (!isObject$6(value) || isMasked(value)) {
243
- return false;
244
- }
245
- var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
246
- return pattern.test(toSource$1(value));
247
- }
248
- var _baseIsNative = baseIsNative$1;
249
- function getValue$1(object, key) {
250
- return object == null ? void 0 : object[key];
251
- }
252
- var _getValue = getValue$1;
253
- var baseIsNative = _baseIsNative, getValue = _getValue;
254
- function getNative$7(object, key) {
255
- var value = getValue(object, key);
256
- return baseIsNative(value) ? value : void 0;
257
- }
258
- var _getNative = getNative$7;
259
- var getNative$6 = _getNative, root$5 = _root;
260
- var Map$4 = getNative$6(root$5, "Map");
261
- var _Map = Map$4;
262
- var getNative$5 = _getNative;
263
- var nativeCreate$4 = getNative$5(Object, "create");
264
- var _nativeCreate = nativeCreate$4;
265
- var nativeCreate$3 = _nativeCreate;
266
- function hashClear$1() {
267
- this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
268
- this.size = 0;
269
- }
270
- var _hashClear = hashClear$1;
271
- function hashDelete$1(key) {
272
- var result2 = this.has(key) && delete this.__data__[key];
273
- this.size -= result2 ? 1 : 0;
274
- return result2;
275
- }
276
- var _hashDelete = hashDelete$1;
277
- var nativeCreate$2 = _nativeCreate;
278
- var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
279
- var objectProto$d = Object.prototype;
280
- var hasOwnProperty$b = objectProto$d.hasOwnProperty;
281
- function hashGet$1(key) {
282
- var data = this.__data__;
283
- if (nativeCreate$2) {
284
- var result2 = data[key];
285
- return result2 === HASH_UNDEFINED$2 ? void 0 : result2;
286
- }
287
- return hasOwnProperty$b.call(data, key) ? data[key] : void 0;
288
- }
289
- var _hashGet = hashGet$1;
290
- var nativeCreate$1 = _nativeCreate;
291
- var objectProto$c = Object.prototype;
292
- var hasOwnProperty$a = objectProto$c.hasOwnProperty;
293
- function hashHas$1(key) {
294
- var data = this.__data__;
295
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$a.call(data, key);
296
- }
297
- var _hashHas = hashHas$1;
298
- var nativeCreate = _nativeCreate;
299
- var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
300
- function hashSet$1(key, value) {
301
- var data = this.__data__;
302
- this.size += this.has(key) ? 0 : 1;
303
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
304
- return this;
305
- }
306
- var _hashSet = hashSet$1;
307
- var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
308
- function Hash$1(entries) {
309
- var index2 = -1, length = entries == null ? 0 : entries.length;
310
- this.clear();
311
- while (++index2 < length) {
312
- var entry = entries[index2];
313
- this.set(entry[0], entry[1]);
314
- }
315
- }
316
- Hash$1.prototype.clear = hashClear;
317
- Hash$1.prototype["delete"] = hashDelete;
318
- Hash$1.prototype.get = hashGet;
319
- Hash$1.prototype.has = hashHas;
320
- Hash$1.prototype.set = hashSet;
321
- var _Hash = Hash$1;
322
- var Hash = _Hash, ListCache$2 = _ListCache, Map$3 = _Map;
323
- function mapCacheClear$1() {
324
- this.size = 0;
325
- this.__data__ = {
326
- "hash": new Hash(),
327
- "map": new (Map$3 || ListCache$2)(),
328
- "string": new Hash()
329
- };
330
- }
331
- var _mapCacheClear = mapCacheClear$1;
332
- function isKeyable$1(value) {
333
- var type = typeof value;
334
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
335
- }
336
- var _isKeyable = isKeyable$1;
337
- var isKeyable = _isKeyable;
338
- function getMapData$4(map, key) {
339
- var data = map.__data__;
340
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
341
- }
342
- var _getMapData = getMapData$4;
343
- var getMapData$3 = _getMapData;
344
- function mapCacheDelete$1(key) {
345
- var result2 = getMapData$3(this, key)["delete"](key);
346
- this.size -= result2 ? 1 : 0;
347
- return result2;
348
- }
349
- var _mapCacheDelete = mapCacheDelete$1;
350
- var getMapData$2 = _getMapData;
351
- function mapCacheGet$1(key) {
352
- return getMapData$2(this, key).get(key);
353
- }
354
- var _mapCacheGet = mapCacheGet$1;
355
- var getMapData$1 = _getMapData;
356
- function mapCacheHas$1(key) {
357
- return getMapData$1(this, key).has(key);
358
- }
359
- var _mapCacheHas = mapCacheHas$1;
360
- var getMapData = _getMapData;
361
- function mapCacheSet$1(key, value) {
362
- var data = getMapData(this, key), size = data.size;
363
- data.set(key, value);
364
- this.size += data.size == size ? 0 : 1;
365
- return this;
366
- }
367
- var _mapCacheSet = mapCacheSet$1;
368
- var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
369
- function MapCache$3(entries) {
370
- var index2 = -1, length = entries == null ? 0 : entries.length;
371
- this.clear();
372
- while (++index2 < length) {
373
- var entry = entries[index2];
374
- this.set(entry[0], entry[1]);
375
- }
376
- }
377
- MapCache$3.prototype.clear = mapCacheClear;
378
- MapCache$3.prototype["delete"] = mapCacheDelete;
379
- MapCache$3.prototype.get = mapCacheGet;
380
- MapCache$3.prototype.has = mapCacheHas;
381
- MapCache$3.prototype.set = mapCacheSet;
382
- var _MapCache = MapCache$3;
383
- var ListCache$1 = _ListCache, Map$2 = _Map, MapCache$2 = _MapCache;
384
- var LARGE_ARRAY_SIZE = 200;
385
- function stackSet$1(key, value) {
386
- var data = this.__data__;
387
- if (data instanceof ListCache$1) {
388
- var pairs = data.__data__;
389
- if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
390
- pairs.push([key, value]);
391
- this.size = ++data.size;
392
- return this;
393
- }
394
- data = this.__data__ = new MapCache$2(pairs);
395
- }
396
- data.set(key, value);
397
- this.size = data.size;
398
- return this;
399
- }
400
- var _stackSet = stackSet$1;
401
- var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
402
- function Stack$3(entries) {
403
- var data = this.__data__ = new ListCache(entries);
404
- this.size = data.size;
405
- }
406
- Stack$3.prototype.clear = stackClear;
407
- Stack$3.prototype["delete"] = stackDelete;
408
- Stack$3.prototype.get = stackGet;
409
- Stack$3.prototype.has = stackHas;
410
- Stack$3.prototype.set = stackSet;
411
- var _Stack = Stack$3;
412
- function arrayEach$1(array, iteratee) {
413
- var index2 = -1, length = array == null ? 0 : array.length;
414
- while (++index2 < length) {
415
- if (iteratee(array[index2], index2, array) === false) {
416
- break;
417
- }
418
- }
419
- return array;
420
- }
421
- var _arrayEach = arrayEach$1;
422
- var getNative$4 = _getNative;
423
- var defineProperty$2 = function() {
424
- try {
425
- var func = getNative$4(Object, "defineProperty");
426
- func({}, "", {});
427
- return func;
428
- } catch (e2) {
429
- }
430
- }();
431
- var _defineProperty = defineProperty$2;
432
- var defineProperty$1 = _defineProperty;
433
- function baseAssignValue$3(object, key, value) {
434
- if (key == "__proto__" && defineProperty$1) {
435
- defineProperty$1(object, key, {
436
- "configurable": true,
437
- "enumerable": true,
438
- "value": value,
439
- "writable": true
440
- });
441
- } else {
442
- object[key] = value;
443
- }
444
- }
445
- var _baseAssignValue = baseAssignValue$3;
446
- var baseAssignValue$2 = _baseAssignValue, eq$3 = eq_1;
447
- var objectProto$b = Object.prototype;
448
- var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
449
- function assignValue$3(object, key, value) {
450
- var objValue = object[key];
451
- if (!(hasOwnProperty$9.call(object, key) && eq$3(objValue, value)) || value === void 0 && !(key in object)) {
452
- baseAssignValue$2(object, key, value);
453
- }
454
- }
455
- var _assignValue = assignValue$3;
456
- var assignValue$2 = _assignValue, baseAssignValue$1 = _baseAssignValue;
457
- function copyObject$7(source, props, object, customizer) {
458
- var isNew = !object;
459
- object || (object = {});
460
- var index2 = -1, length = props.length;
461
- while (++index2 < length) {
462
- var key = props[index2];
463
- var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
464
- if (newValue === void 0) {
465
- newValue = source[key];
466
- }
467
- if (isNew) {
468
- baseAssignValue$1(object, key, newValue);
469
- } else {
470
- assignValue$2(object, key, newValue);
471
- }
472
- }
473
- return object;
474
- }
475
- var _copyObject = copyObject$7;
476
- function baseTimes$1(n2, iteratee) {
477
- var index2 = -1, result2 = Array(n2);
478
- while (++index2 < n2) {
479
- result2[index2] = iteratee(index2);
480
- }
481
- return result2;
482
- }
483
- var _baseTimes = baseTimes$1;
484
- function isObjectLike$8(value) {
485
- return value != null && typeof value == "object";
486
- }
487
- var isObjectLike_1 = isObjectLike$8;
488
- var baseGetTag$3 = _baseGetTag, isObjectLike$7 = isObjectLike_1;
489
- var argsTag$3 = "[object Arguments]";
490
- function baseIsArguments$1(value) {
491
- return isObjectLike$7(value) && baseGetTag$3(value) == argsTag$3;
492
- }
493
- var _baseIsArguments = baseIsArguments$1;
494
- var baseIsArguments = _baseIsArguments, isObjectLike$6 = isObjectLike_1;
495
- var objectProto$a = Object.prototype;
496
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
497
- var propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable;
498
- var isArguments$2 = baseIsArguments(function() {
499
- return arguments;
500
- }()) ? baseIsArguments : function(value) {
501
- return isObjectLike$6(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
502
- };
503
- var isArguments_1 = isArguments$2;
504
- var isArray$5 = Array.isArray;
505
- var isArray_1 = isArray$5;
506
- var isBuffer$4 = { exports: {} };
507
- function stubFalse() {
508
- return false;
509
- }
510
- var stubFalse_1 = stubFalse;
511
- (function(module, exports2) {
512
- var root2 = _root, stubFalse2 = stubFalse_1;
513
- var freeExports = exports2 && !exports2.nodeType && exports2;
514
- var freeModule = freeExports && true && module && !module.nodeType && module;
515
- var moduleExports = freeModule && freeModule.exports === freeExports;
516
- var Buffer = moduleExports ? root2.Buffer : void 0;
517
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
518
- var isBuffer2 = nativeIsBuffer || stubFalse2;
519
- module.exports = isBuffer2;
520
- })(isBuffer$4, isBuffer$4.exports);
521
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
522
- var reIsUint = /^(?:0|[1-9]\d*)$/;
523
- function isIndex$2(value, length) {
524
- var type = typeof value;
525
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
526
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
527
- }
528
- var _isIndex = isIndex$2;
529
- var MAX_SAFE_INTEGER = 9007199254740991;
530
- function isLength$2(value) {
531
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
532
- }
533
- var isLength_1 = isLength$2;
534
- var baseGetTag$2 = _baseGetTag, isLength$1 = isLength_1, isObjectLike$5 = isObjectLike_1;
535
- var argsTag$2 = "[object Arguments]", arrayTag$2 = "[object Array]", boolTag$3 = "[object Boolean]", dateTag$3 = "[object Date]", errorTag$2 = "[object Error]", funcTag$1 = "[object Function]", mapTag$5 = "[object Map]", numberTag$3 = "[object Number]", objectTag$4 = "[object Object]", regexpTag$3 = "[object RegExp]", setTag$5 = "[object Set]", stringTag$3 = "[object String]", weakMapTag$2 = "[object WeakMap]";
536
- var arrayBufferTag$3 = "[object ArrayBuffer]", dataViewTag$4 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
537
- var typedArrayTags = {};
538
- typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
539
- typedArrayTags[argsTag$2] = typedArrayTags[arrayTag$2] = typedArrayTags[arrayBufferTag$3] = typedArrayTags[boolTag$3] = typedArrayTags[dataViewTag$4] = typedArrayTags[dateTag$3] = typedArrayTags[errorTag$2] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$5] = typedArrayTags[numberTag$3] = typedArrayTags[objectTag$4] = typedArrayTags[regexpTag$3] = typedArrayTags[setTag$5] = typedArrayTags[stringTag$3] = typedArrayTags[weakMapTag$2] = false;
540
- function baseIsTypedArray$1(value) {
541
- return isObjectLike$5(value) && isLength$1(value.length) && !!typedArrayTags[baseGetTag$2(value)];
542
- }
543
- var _baseIsTypedArray = baseIsTypedArray$1;
544
- function baseUnary$3(func) {
545
- return function(value) {
546
- return func(value);
547
- };
548
- }
549
- var _baseUnary = baseUnary$3;
550
- var _nodeUtil = { exports: {} };
551
- (function(module, exports2) {
552
- var freeGlobal2 = _freeGlobal;
553
- var freeExports = exports2 && !exports2.nodeType && exports2;
554
- var freeModule = freeExports && true && module && !module.nodeType && module;
555
- var moduleExports = freeModule && freeModule.exports === freeExports;
556
- var freeProcess = moduleExports && freeGlobal2.process;
557
- var nodeUtil2 = function() {
558
- try {
559
- var types = freeModule && freeModule.require && freeModule.require("util").types;
560
- if (types) {
561
- return types;
562
- }
563
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
564
- } catch (e2) {
565
- }
566
- }();
567
- module.exports = nodeUtil2;
568
- })(_nodeUtil, _nodeUtil.exports);
569
- var baseIsTypedArray = _baseIsTypedArray, baseUnary$2 = _baseUnary, nodeUtil$2 = _nodeUtil.exports;
570
- var nodeIsTypedArray = nodeUtil$2 && nodeUtil$2.isTypedArray;
571
- var isTypedArray$3 = nodeIsTypedArray ? baseUnary$2(nodeIsTypedArray) : baseIsTypedArray;
572
- var isTypedArray_1 = isTypedArray$3;
573
- var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$4 = isArray_1, isBuffer$3 = isBuffer$4.exports, isIndex$1 = _isIndex, isTypedArray$2 = isTypedArray_1;
574
- var objectProto$9 = Object.prototype;
575
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
576
- function arrayLikeKeys$2(value, inherited) {
577
- var isArr = isArray$4(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$3(value), isType = !isArr && !isArg && !isBuff && isTypedArray$2(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
578
- for (var key in value) {
579
- if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex$1(key, length)))) {
580
- result2.push(key);
581
- }
582
- }
583
- return result2;
584
- }
585
- var _arrayLikeKeys = arrayLikeKeys$2;
586
- var objectProto$8 = Object.prototype;
587
- function isPrototype$4(value) {
588
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
589
- return value === proto;
590
- }
591
- var _isPrototype = isPrototype$4;
592
- function overArg$2(func, transform) {
593
- return function(arg) {
594
- return func(transform(arg));
595
- };
596
- }
597
- var _overArg = overArg$2;
598
- var overArg$1 = _overArg;
599
- var nativeKeys$1 = overArg$1(Object.keys, Object);
600
- var _nativeKeys = nativeKeys$1;
601
- var isPrototype$3 = _isPrototype, nativeKeys = _nativeKeys;
602
- var objectProto$7 = Object.prototype;
603
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
604
- function baseKeys$1(object) {
605
- if (!isPrototype$3(object)) {
606
- return nativeKeys(object);
607
- }
608
- var result2 = [];
609
- for (var key in Object(object)) {
610
- if (hasOwnProperty$6.call(object, key) && key != "constructor") {
611
- result2.push(key);
612
- }
613
- }
614
- return result2;
615
- }
616
- var _baseKeys = baseKeys$1;
617
- var isFunction$1 = isFunction_1, isLength = isLength_1;
618
- function isArrayLike$5(value) {
619
- return value != null && isLength(value.length) && !isFunction$1(value);
620
- }
621
- var isArrayLike_1 = isArrayLike$5;
622
- var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$4 = isArrayLike_1;
623
- function keys$5(object) {
624
- return isArrayLike$4(object) ? arrayLikeKeys$1(object) : baseKeys(object);
625
- }
626
- var keys_1 = keys$5;
627
- var copyObject$6 = _copyObject, keys$4 = keys_1;
628
- function baseAssign$1(object, source) {
629
- return object && copyObject$6(source, keys$4(source), object);
630
- }
631
- var _baseAssign = baseAssign$1;
632
- function nativeKeysIn$1(object) {
633
- var result2 = [];
634
- if (object != null) {
635
- for (var key in Object(object)) {
636
- result2.push(key);
637
- }
638
- }
639
- return result2;
640
- }
641
- var _nativeKeysIn = nativeKeysIn$1;
642
- var isObject$5 = isObject_1, isPrototype$2 = _isPrototype, nativeKeysIn = _nativeKeysIn;
643
- var objectProto$6 = Object.prototype;
644
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
645
- function baseKeysIn$1(object) {
646
- if (!isObject$5(object)) {
647
- return nativeKeysIn(object);
648
- }
649
- var isProto = isPrototype$2(object), result2 = [];
650
- for (var key in object) {
651
- if (!(key == "constructor" && (isProto || !hasOwnProperty$5.call(object, key)))) {
652
- result2.push(key);
653
- }
654
- }
655
- return result2;
656
- }
657
- var _baseKeysIn = baseKeysIn$1;
658
- var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike$3 = isArrayLike_1;
659
- function keysIn$5(object) {
660
- return isArrayLike$3(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
661
- }
662
- var keysIn_1 = keysIn$5;
663
- var copyObject$5 = _copyObject, keysIn$4 = keysIn_1;
664
- function baseAssignIn$1(object, source) {
665
- return object && copyObject$5(source, keysIn$4(source), object);
666
- }
667
- var _baseAssignIn = baseAssignIn$1;
668
- var _cloneBuffer = { exports: {} };
669
- (function(module, exports2) {
670
- var root2 = _root;
671
- var freeExports = exports2 && !exports2.nodeType && exports2;
672
- var freeModule = freeExports && true && module && !module.nodeType && module;
673
- var moduleExports = freeModule && freeModule.exports === freeExports;
674
- var Buffer = moduleExports ? root2.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
675
- function cloneBuffer2(buffer, isDeep) {
676
- if (isDeep) {
677
- return buffer.slice();
678
- }
679
- var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
680
- buffer.copy(result2);
681
- return result2;
682
- }
683
- module.exports = cloneBuffer2;
684
- })(_cloneBuffer, _cloneBuffer.exports);
685
- function copyArray$2(source, array) {
686
- var index2 = -1, length = source.length;
687
- array || (array = Array(length));
688
- while (++index2 < length) {
689
- array[index2] = source[index2];
690
- }
691
- return array;
692
- }
693
- var _copyArray = copyArray$2;
694
- function arrayFilter$1(array, predicate) {
695
- var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
696
- while (++index2 < length) {
697
- var value = array[index2];
698
- if (predicate(value, index2, array)) {
699
- result2[resIndex++] = value;
700
- }
701
- }
702
- return result2;
703
- }
704
- var _arrayFilter = arrayFilter$1;
705
- function stubArray$2() {
706
- return [];
707
- }
708
- var stubArray_1 = stubArray$2;
709
- var arrayFilter = _arrayFilter, stubArray$1 = stubArray_1;
710
- var objectProto$5 = Object.prototype;
711
- var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
712
- var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
713
- var getSymbols$3 = !nativeGetSymbols$1 ? stubArray$1 : function(object) {
714
- if (object == null) {
715
- return [];
716
- }
717
- object = Object(object);
718
- return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
719
- return propertyIsEnumerable.call(object, symbol);
720
- });
721
- };
722
- var _getSymbols = getSymbols$3;
723
- var copyObject$4 = _copyObject, getSymbols$2 = _getSymbols;
724
- function copySymbols$1(source, object) {
725
- return copyObject$4(source, getSymbols$2(source), object);
726
- }
727
- var _copySymbols = copySymbols$1;
728
- function arrayPush$2(array, values) {
729
- var index2 = -1, length = values.length, offset = array.length;
730
- while (++index2 < length) {
731
- array[offset + index2] = values[index2];
732
- }
733
- return array;
734
- }
735
- var _arrayPush = arrayPush$2;
736
- var overArg = _overArg;
737
- var getPrototype$3 = overArg(Object.getPrototypeOf, Object);
738
- var _getPrototype = getPrototype$3;
739
- var arrayPush$1 = _arrayPush, getPrototype$2 = _getPrototype, getSymbols$1 = _getSymbols, stubArray = stubArray_1;
740
- var nativeGetSymbols = Object.getOwnPropertySymbols;
741
- var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
742
- var result2 = [];
743
- while (object) {
744
- arrayPush$1(result2, getSymbols$1(object));
745
- object = getPrototype$2(object);
746
- }
747
- return result2;
748
- };
749
- var _getSymbolsIn = getSymbolsIn$2;
750
- var copyObject$3 = _copyObject, getSymbolsIn$1 = _getSymbolsIn;
751
- function copySymbolsIn$1(source, object) {
752
- return copyObject$3(source, getSymbolsIn$1(source), object);
753
- }
754
- var _copySymbolsIn = copySymbolsIn$1;
755
- var arrayPush = _arrayPush, isArray$3 = isArray_1;
756
- function baseGetAllKeys$2(object, keysFunc, symbolsFunc) {
757
- var result2 = keysFunc(object);
758
- return isArray$3(object) ? result2 : arrayPush(result2, symbolsFunc(object));
759
- }
760
- var _baseGetAllKeys = baseGetAllKeys$2;
761
- var baseGetAllKeys$1 = _baseGetAllKeys, getSymbols = _getSymbols, keys$3 = keys_1;
762
- function getAllKeys$2(object) {
763
- return baseGetAllKeys$1(object, keys$3, getSymbols);
764
- }
765
- var _getAllKeys = getAllKeys$2;
766
- var baseGetAllKeys = _baseGetAllKeys, getSymbolsIn = _getSymbolsIn, keysIn$3 = keysIn_1;
767
- function getAllKeysIn$1(object) {
768
- return baseGetAllKeys(object, keysIn$3, getSymbolsIn);
769
- }
770
- var _getAllKeysIn = getAllKeysIn$1;
771
- var getNative$3 = _getNative, root$4 = _root;
772
- var DataView$1 = getNative$3(root$4, "DataView");
773
- var _DataView = DataView$1;
774
- var getNative$2 = _getNative, root$3 = _root;
775
- var Promise$2 = getNative$2(root$3, "Promise");
776
- var _Promise = Promise$2;
777
- var getNative$1 = _getNative, root$2 = _root;
778
- var Set$2 = getNative$1(root$2, "Set");
779
- var _Set = Set$2;
780
- var getNative = _getNative, root$1 = _root;
781
- var WeakMap$2 = getNative(root$1, "WeakMap");
782
- var _WeakMap = WeakMap$2;
783
- var DataView = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag$1 = _baseGetTag, toSource = _toSource;
784
- var mapTag$4 = "[object Map]", objectTag$3 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
785
- var dataViewTag$3 = "[object DataView]";
786
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
787
- var getTag$4 = baseGetTag$1;
788
- if (DataView && getTag$4(new DataView(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag$4(new Map$1()) != mapTag$4 || Promise$1 && getTag$4(Promise$1.resolve()) != promiseTag || Set$1 && getTag$4(new Set$1()) != setTag$4 || WeakMap$1 && getTag$4(new WeakMap$1()) != weakMapTag$1) {
789
- getTag$4 = function(value) {
790
- var result2 = baseGetTag$1(value), Ctor = result2 == objectTag$3 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
791
- if (ctorString) {
792
- switch (ctorString) {
793
- case dataViewCtorString:
794
- return dataViewTag$3;
795
- case mapCtorString:
796
- return mapTag$4;
797
- case promiseCtorString:
798
- return promiseTag;
799
- case setCtorString:
800
- return setTag$4;
801
- case weakMapCtorString:
802
- return weakMapTag$1;
803
- }
804
- }
805
- return result2;
806
- };
807
- }
808
- var _getTag = getTag$4;
809
- var objectProto$4 = Object.prototype;
810
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
811
- function initCloneArray$1(array) {
812
- var length = array.length, result2 = new array.constructor(length);
813
- if (length && typeof array[0] == "string" && hasOwnProperty$4.call(array, "index")) {
814
- result2.index = array.index;
815
- result2.input = array.input;
816
- }
817
- return result2;
818
- }
819
- var _initCloneArray = initCloneArray$1;
820
- var root = _root;
821
- var Uint8Array$2 = root.Uint8Array;
822
- var _Uint8Array = Uint8Array$2;
823
- var Uint8Array$1 = _Uint8Array;
824
- function cloneArrayBuffer$3(arrayBuffer) {
825
- var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
826
- new Uint8Array$1(result2).set(new Uint8Array$1(arrayBuffer));
827
- return result2;
828
- }
829
- var _cloneArrayBuffer = cloneArrayBuffer$3;
830
- var cloneArrayBuffer$2 = _cloneArrayBuffer;
831
- function cloneDataView$1(dataView, isDeep) {
832
- var buffer = isDeep ? cloneArrayBuffer$2(dataView.buffer) : dataView.buffer;
833
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
834
- }
835
- var _cloneDataView = cloneDataView$1;
836
- var reFlags = /\w*$/;
837
- function cloneRegExp$1(regexp) {
838
- var result2 = new regexp.constructor(regexp.source, reFlags.exec(regexp));
839
- result2.lastIndex = regexp.lastIndex;
840
- return result2;
841
- }
842
- var _cloneRegExp = cloneRegExp$1;
843
- var Symbol$2 = _Symbol;
844
- var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
845
- function cloneSymbol$1(symbol) {
846
- return symbolValueOf$1 ? Object(symbolValueOf$1.call(symbol)) : {};
847
- }
848
- var _cloneSymbol = cloneSymbol$1;
849
- var cloneArrayBuffer$1 = _cloneArrayBuffer;
850
- function cloneTypedArray$2(typedArray, isDeep) {
851
- var buffer = isDeep ? cloneArrayBuffer$1(typedArray.buffer) : typedArray.buffer;
852
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
853
- }
854
- var _cloneTypedArray = cloneTypedArray$2;
855
- var cloneArrayBuffer = _cloneArrayBuffer, cloneDataView = _cloneDataView, cloneRegExp = _cloneRegExp, cloneSymbol = _cloneSymbol, cloneTypedArray$1 = _cloneTypedArray;
856
- var boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", mapTag$3 = "[object Map]", numberTag$2 = "[object Number]", regexpTag$2 = "[object RegExp]", setTag$3 = "[object Set]", stringTag$2 = "[object String]", symbolTag$2 = "[object Symbol]";
857
- var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
858
- function initCloneByTag$1(object, tag2, isDeep) {
859
- var Ctor = object.constructor;
860
- switch (tag2) {
861
- case arrayBufferTag$2:
862
- return cloneArrayBuffer(object);
863
- case boolTag$2:
864
- case dateTag$2:
865
- return new Ctor(+object);
866
- case dataViewTag$2:
867
- return cloneDataView(object, isDeep);
868
- case float32Tag$1:
869
- case float64Tag$1:
870
- case int8Tag$1:
871
- case int16Tag$1:
872
- case int32Tag$1:
873
- case uint8Tag$1:
874
- case uint8ClampedTag$1:
875
- case uint16Tag$1:
876
- case uint32Tag$1:
877
- return cloneTypedArray$1(object, isDeep);
878
- case mapTag$3:
879
- return new Ctor();
880
- case numberTag$2:
881
- case stringTag$2:
882
- return new Ctor(object);
883
- case regexpTag$2:
884
- return cloneRegExp(object);
885
- case setTag$3:
886
- return new Ctor();
887
- case symbolTag$2:
888
- return cloneSymbol(object);
889
- }
890
- }
891
- var _initCloneByTag = initCloneByTag$1;
892
- var isObject$4 = isObject_1;
893
- var objectCreate = Object.create;
894
- var baseCreate$1 = function() {
895
- function object() {
896
- }
897
- return function(proto) {
898
- if (!isObject$4(proto)) {
899
- return {};
900
- }
901
- if (objectCreate) {
902
- return objectCreate(proto);
903
- }
904
- object.prototype = proto;
905
- var result2 = new object();
906
- object.prototype = void 0;
907
- return result2;
908
- };
909
- }();
910
- var _baseCreate = baseCreate$1;
911
- var baseCreate = _baseCreate, getPrototype$1 = _getPrototype, isPrototype$1 = _isPrototype;
912
- function initCloneObject$2(object) {
913
- return typeof object.constructor == "function" && !isPrototype$1(object) ? baseCreate(getPrototype$1(object)) : {};
914
- }
915
- var _initCloneObject = initCloneObject$2;
916
- var getTag$3 = _getTag, isObjectLike$4 = isObjectLike_1;
917
- var mapTag$2 = "[object Map]";
918
- function baseIsMap$1(value) {
919
- return isObjectLike$4(value) && getTag$3(value) == mapTag$2;
920
- }
921
- var _baseIsMap = baseIsMap$1;
922
- var baseIsMap = _baseIsMap, baseUnary$1 = _baseUnary, nodeUtil$1 = _nodeUtil.exports;
923
- var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
924
- var isMap$1 = nodeIsMap ? baseUnary$1(nodeIsMap) : baseIsMap;
925
- var isMap_1 = isMap$1;
926
- var getTag$2 = _getTag, isObjectLike$3 = isObjectLike_1;
927
- var setTag$2 = "[object Set]";
928
- function baseIsSet$1(value) {
929
- return isObjectLike$3(value) && getTag$2(value) == setTag$2;
930
- }
931
- var _baseIsSet = baseIsSet$1;
932
- var baseIsSet = _baseIsSet, baseUnary = _baseUnary, nodeUtil = _nodeUtil.exports;
933
- var nodeIsSet = nodeUtil && nodeUtil.isSet;
934
- var isSet$1 = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
935
- var isSet_1 = isSet$1;
936
- var Stack$2 = _Stack, arrayEach = _arrayEach, assignValue$1 = _assignValue, baseAssign = _baseAssign, baseAssignIn = _baseAssignIn, cloneBuffer$1 = _cloneBuffer.exports, copyArray$1 = _copyArray, copySymbols = _copySymbols, copySymbolsIn = _copySymbolsIn, getAllKeys$1 = _getAllKeys, getAllKeysIn = _getAllKeysIn, getTag$1 = _getTag, initCloneArray = _initCloneArray, initCloneByTag = _initCloneByTag, initCloneObject$1 = _initCloneObject, isArray$2 = isArray_1, isBuffer$2 = isBuffer$4.exports, isMap = isMap_1, isObject$3 = isObject_1, isSet = isSet_1, keys$2 = keys_1, keysIn$2 = keysIn_1;
937
- var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
938
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag$1 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$1 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]", weakMapTag = "[object WeakMap]";
939
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
940
- var cloneableTags = {};
941
- cloneableTags[argsTag$1] = cloneableTags[arrayTag$1] = cloneableTags[arrayBufferTag$1] = cloneableTags[dataViewTag$1] = cloneableTags[boolTag$1] = cloneableTags[dateTag$1] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag$1] = cloneableTags[numberTag$1] = cloneableTags[objectTag$2] = cloneableTags[regexpTag$1] = cloneableTags[setTag$1] = cloneableTags[stringTag$1] = cloneableTags[symbolTag$1] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
942
- cloneableTags[errorTag$1] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
943
- function baseClone$1(value, bitmask, customizer, key, object, stack) {
944
- var result2, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
945
- if (customizer) {
946
- result2 = object ? customizer(value, key, object, stack) : customizer(value);
947
- }
948
- if (result2 !== void 0) {
949
- return result2;
950
- }
951
- if (!isObject$3(value)) {
952
- return value;
953
- }
954
- var isArr = isArray$2(value);
955
- if (isArr) {
956
- result2 = initCloneArray(value);
957
- if (!isDeep) {
958
- return copyArray$1(value, result2);
959
- }
960
- } else {
961
- var tag2 = getTag$1(value), isFunc = tag2 == funcTag || tag2 == genTag;
962
- if (isBuffer$2(value)) {
963
- return cloneBuffer$1(value, isDeep);
964
- }
965
- if (tag2 == objectTag$2 || tag2 == argsTag$1 || isFunc && !object) {
966
- result2 = isFlat || isFunc ? {} : initCloneObject$1(value);
967
- if (!isDeep) {
968
- return isFlat ? copySymbolsIn(value, baseAssignIn(result2, value)) : copySymbols(value, baseAssign(result2, value));
969
- }
970
- } else {
971
- if (!cloneableTags[tag2]) {
972
- return object ? value : {};
973
- }
974
- result2 = initCloneByTag(value, tag2, isDeep);
975
- }
976
- }
977
- stack || (stack = new Stack$2());
978
- var stacked = stack.get(value);
979
- if (stacked) {
980
- return stacked;
981
- }
982
- stack.set(value, result2);
983
- if (isSet(value)) {
984
- value.forEach(function(subValue) {
985
- result2.add(baseClone$1(subValue, bitmask, customizer, subValue, value, stack));
986
- });
987
- } else if (isMap(value)) {
988
- value.forEach(function(subValue, key2) {
989
- result2.set(key2, baseClone$1(subValue, bitmask, customizer, key2, value, stack));
990
- });
991
- }
992
- var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys$1 : isFlat ? keysIn$2 : keys$2;
993
- var props = isArr ? void 0 : keysFunc(value);
994
- arrayEach(props || value, function(subValue, key2) {
995
- if (props) {
996
- key2 = subValue;
997
- subValue = value[key2];
998
- }
999
- assignValue$1(result2, key2, baseClone$1(subValue, bitmask, customizer, key2, value, stack));
1000
- });
1001
- return result2;
1002
- }
1003
- var _baseClone = baseClone$1;
1004
- var baseClone = _baseClone;
1005
- var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
1006
- function cloneDeep(value) {
1007
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
1008
- }
1009
- var cloneDeep_1 = cloneDeep;
1010
- var baseAssignValue = _baseAssignValue, eq$2 = eq_1;
1011
- function assignMergeValue$2(object, key, value) {
1012
- if (value !== void 0 && !eq$2(object[key], value) || value === void 0 && !(key in object)) {
1013
- baseAssignValue(object, key, value);
1014
- }
1015
- }
1016
- var _assignMergeValue = assignMergeValue$2;
1017
- function createBaseFor$1(fromRight) {
1018
- return function(object, iteratee, keysFunc) {
1019
- var index2 = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1020
- while (length--) {
1021
- var key = props[fromRight ? length : ++index2];
1022
- if (iteratee(iterable[key], key, iterable) === false) {
1023
- break;
1024
- }
1025
- }
1026
- return object;
1027
- };
1028
- }
1029
- var _createBaseFor = createBaseFor$1;
1030
- var createBaseFor = _createBaseFor;
1031
- var baseFor$1 = createBaseFor();
1032
- var _baseFor = baseFor$1;
1033
- var isArrayLike$2 = isArrayLike_1, isObjectLike$2 = isObjectLike_1;
1034
- function isArrayLikeObject$1(value) {
1035
- return isObjectLike$2(value) && isArrayLike$2(value);
1036
- }
1037
- var isArrayLikeObject_1 = isArrayLikeObject$1;
1038
- var baseGetTag = _baseGetTag, getPrototype = _getPrototype, isObjectLike$1 = isObjectLike_1;
1039
- var objectTag$1 = "[object Object]";
1040
- var funcProto = Function.prototype, objectProto$3 = Object.prototype;
1041
- var funcToString = funcProto.toString;
1042
- var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
1043
- var objectCtorString = funcToString.call(Object);
1044
- function isPlainObject$1(value) {
1045
- if (!isObjectLike$1(value) || baseGetTag(value) != objectTag$1) {
1046
- return false;
1047
- }
1048
- var proto = getPrototype(value);
1049
- if (proto === null) {
1050
- return true;
1051
- }
1052
- var Ctor = hasOwnProperty$3.call(proto, "constructor") && proto.constructor;
1053
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
1054
- }
1055
- var isPlainObject_1 = isPlainObject$1;
1056
- function safeGet$2(object, key) {
1057
- if (key === "constructor" && typeof object[key] === "function") {
1058
- return;
1059
- }
1060
- if (key == "__proto__") {
1061
- return;
1062
- }
1063
- return object[key];
1064
- }
1065
- var _safeGet = safeGet$2;
1066
- var copyObject$2 = _copyObject, keysIn$1 = keysIn_1;
1067
- function toPlainObject$1(value) {
1068
- return copyObject$2(value, keysIn$1(value));
1069
- }
1070
- var toPlainObject_1 = toPlainObject$1;
1071
- var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBuffer.exports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray$1 = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer$1 = isBuffer$4.exports, isFunction = isFunction_1, isObject$2 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray$1 = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
1072
- function baseMergeDeep$1(object, source, key, srcIndex, mergeFunc, customizer, stack) {
1073
- var objValue = safeGet$1(object, key), srcValue = safeGet$1(source, key), stacked = stack.get(srcValue);
1074
- if (stacked) {
1075
- assignMergeValue$1(object, key, stacked);
1076
- return;
1077
- }
1078
- var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
1079
- var isCommon = newValue === void 0;
1080
- if (isCommon) {
1081
- var isArr = isArray$1(srcValue), isBuff = !isArr && isBuffer$1(srcValue), isTyped = !isArr && !isBuff && isTypedArray$1(srcValue);
1082
- newValue = srcValue;
1083
- if (isArr || isBuff || isTyped) {
1084
- if (isArray$1(objValue)) {
1085
- newValue = objValue;
1086
- } else if (isArrayLikeObject(objValue)) {
1087
- newValue = copyArray(objValue);
1088
- } else if (isBuff) {
1089
- isCommon = false;
1090
- newValue = cloneBuffer(srcValue, true);
1091
- } else if (isTyped) {
1092
- isCommon = false;
1093
- newValue = cloneTypedArray(srcValue, true);
1094
- } else {
1095
- newValue = [];
1096
- }
1097
- } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
1098
- newValue = objValue;
1099
- if (isArguments(objValue)) {
1100
- newValue = toPlainObject(objValue);
1101
- } else if (!isObject$2(objValue) || isFunction(objValue)) {
1102
- newValue = initCloneObject(srcValue);
1103
- }
1104
- } else {
1105
- isCommon = false;
1106
- }
1107
- }
1108
- if (isCommon) {
1109
- stack.set(srcValue, newValue);
1110
- mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
1111
- stack["delete"](srcValue);
1112
- }
1113
- assignMergeValue$1(object, key, newValue);
1114
- }
1115
- var _baseMergeDeep = baseMergeDeep$1;
1116
- var Stack$1 = _Stack, assignMergeValue = _assignMergeValue, baseFor = _baseFor, baseMergeDeep = _baseMergeDeep, isObject$1 = isObject_1, keysIn = keysIn_1, safeGet = _safeGet;
1117
- function baseMerge$1(object, source, srcIndex, customizer, stack) {
1118
- if (object === source) {
1119
- return;
1120
- }
1121
- baseFor(source, function(srcValue, key) {
1122
- stack || (stack = new Stack$1());
1123
- if (isObject$1(srcValue)) {
1124
- baseMergeDeep(object, source, key, srcIndex, baseMerge$1, customizer, stack);
1125
- } else {
1126
- var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
1127
- if (newValue === void 0) {
1128
- newValue = srcValue;
1129
- }
1130
- assignMergeValue(object, key, newValue);
1131
- }
1132
- }, keysIn);
1133
- }
1134
- var _baseMerge = baseMerge$1;
1135
- function identity$2(value) {
1136
- return value;
1137
- }
1138
- var identity_1 = identity$2;
1139
- function apply$1(func, thisArg, args) {
1140
- switch (args.length) {
1141
- case 0:
1142
- return func.call(thisArg);
1143
- case 1:
1144
- return func.call(thisArg, args[0]);
1145
- case 2:
1146
- return func.call(thisArg, args[0], args[1]);
1147
- case 3:
1148
- return func.call(thisArg, args[0], args[1], args[2]);
1149
- }
1150
- return func.apply(thisArg, args);
1151
- }
1152
- var _apply = apply$1;
1153
- var apply = _apply;
1154
- var nativeMax = Math.max;
1155
- function overRest$1(func, start, transform) {
1156
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
1157
- return function() {
1158
- var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array(length);
1159
- while (++index2 < length) {
1160
- array[index2] = args[start + index2];
1161
- }
1162
- index2 = -1;
1163
- var otherArgs = Array(start + 1);
1164
- while (++index2 < start) {
1165
- otherArgs[index2] = args[index2];
1166
- }
1167
- otherArgs[start] = transform(array);
1168
- return apply(func, this, otherArgs);
1169
- };
1170
- }
1171
- var _overRest = overRest$1;
1172
- function constant$1(value) {
1173
- return function() {
1174
- return value;
1175
- };
1176
- }
1177
- var constant_1 = constant$1;
1178
- var constant = constant_1, defineProperty = _defineProperty, identity$1 = identity_1;
1179
- var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
1180
- return defineProperty(func, "toString", {
1181
- "configurable": true,
1182
- "enumerable": false,
1183
- "value": constant(string),
1184
- "writable": true
1185
- });
1186
- };
1187
- var _baseSetToString = baseSetToString$1;
1188
- var HOT_COUNT = 800, HOT_SPAN = 16;
1189
- var nativeNow = Date.now;
1190
- function shortOut$1(func) {
1191
- var count = 0, lastCalled = 0;
1192
- return function() {
1193
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
1194
- lastCalled = stamp;
1195
- if (remaining > 0) {
1196
- if (++count >= HOT_COUNT) {
1197
- return arguments[0];
46
+ function mergeLocale(base2, patch) {
47
+ function merge2(a, b) {
48
+ if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b)) {
49
+ return b !== void 0 ? b : a;
50
+ }
51
+ const result2 = {};
52
+ for (const key in a) {
53
+ if (a.hasOwnProperty(key)) {
54
+ result2[key] = merge2(a[key], b[key]);
1198
55
  }
1199
- } else {
1200
- count = 0;
1201
56
  }
1202
- return func.apply(void 0, arguments);
1203
- };
1204
- }
1205
- var _shortOut = shortOut$1;
1206
- var baseSetToString = _baseSetToString, shortOut = _shortOut;
1207
- var setToString$1 = shortOut(baseSetToString);
1208
- var _setToString = setToString$1;
1209
- var identity = identity_1, overRest = _overRest, setToString = _setToString;
1210
- function baseRest$1(func, start) {
1211
- return setToString(overRest(func, start, identity), func + "");
1212
- }
1213
- var _baseRest = baseRest$1;
1214
- var eq$1 = eq_1, isArrayLike$1 = isArrayLike_1, isIndex = _isIndex, isObject = isObject_1;
1215
- function isIterateeCall$1(value, index2, object) {
1216
- if (!isObject(object)) {
1217
- return false;
1218
- }
1219
- var type = typeof index2;
1220
- if (type == "number" ? isArrayLike$1(object) && isIndex(index2, object.length) : type == "string" && index2 in object) {
1221
- return eq$1(object[index2], value);
57
+ return result2;
1222
58
  }
1223
- return false;
1224
- }
1225
- var _isIterateeCall = isIterateeCall$1;
1226
- var baseRest = _baseRest, isIterateeCall = _isIterateeCall;
1227
- function createAssigner$3(assigner) {
1228
- return baseRest(function(object, sources) {
1229
- var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
1230
- customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
1231
- if (guard && isIterateeCall(sources[0], sources[1], guard)) {
1232
- customizer = length < 3 ? void 0 : customizer;
1233
- length = 1;
1234
- }
1235
- object = Object(object);
1236
- while (++index2 < length) {
1237
- var source = sources[index2];
1238
- if (source) {
1239
- assigner(object, source, index2, customizer);
1240
- }
1241
- }
1242
- return object;
1243
- });
1244
- }
1245
- var _createAssigner = createAssigner$3;
1246
- var baseMerge = _baseMerge, createAssigner$2 = _createAssigner;
1247
- var merge = createAssigner$2(function(object, source, srcIndex) {
1248
- baseMerge(object, source, srcIndex);
1249
- });
1250
- var merge_1 = merge;
1251
- function mergeLocale(base2, patch) {
1252
- return merge_1(cloneDeep_1(base2), patch);
59
+ return merge2(base2, patch);
1253
60
  }
1254
61
  const typeTemplate$1 = "${label} is not a valid ${type}";
1255
62
  const base = {
@@ -1486,91 +293,509 @@ const zhCN = mergeLocale(base, {
1486
293
  Switch: {
1487
294
  name: "\u5F00\u5173"
1488
295
  }
1489
- });
1490
- const defaultConfigRef = {
1491
- current: {
1492
- locale: zhCN
296
+ });
297
+ const defaultConfigRef = {
298
+ current: {
299
+ locale: zhCN
300
+ }
301
+ };
302
+ function setDefaultConfig(config2) {
303
+ defaultConfigRef.current = config2;
304
+ }
305
+ function getDefaultConfig() {
306
+ return defaultConfigRef.current;
307
+ }
308
+ const ConfigContext = React__default["default"].createContext(null);
309
+ const ConfigProvider = (props) => {
310
+ const {
311
+ children
312
+ } = props, config2 = tslib.__rest(props, ["children"]);
313
+ const parentConfig = useConfig();
314
+ return React__default["default"].createElement(ConfigContext.Provider, {
315
+ value: Object.assign(Object.assign({}, parentConfig), config2)
316
+ }, children);
317
+ };
318
+ function useConfig() {
319
+ var _a;
320
+ return (_a = React$1.useContext(ConfigContext)) !== null && _a !== void 0 ? _a : getDefaultConfig();
321
+ }
322
+ var actionSheet = /* @__PURE__ */ (() => ".adm-action-sheet-popup > .adm-popup-body {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n overflow: hidden;\n}\n.adm-action-sheet-extra {\n display: flex;\n justify-content: center;\n color: var(--adm-color-weak);\n font-size: var(--adm-font-size-7);\n padding: 18px 12px;\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-list {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper:last-child {\n border-bottom: none;\n}\n.adm-action-sheet-button-item {\n text-align: center;\n display: block;\n background-color: var(--adm-color-background);\n padding: 16px;\n}\n.adm-action-sheet-button-item:active {\n background-color: #eeeeee;\n}\n.adm-action-sheet-button-item-disabled {\n cursor: not-allowed;\n pointer-events: none;\n opacity: 0.4;\n}\n.adm-action-sheet-button-item-name {\n color: var(--adm-color-text);\n font-size: var(--adm-font-size-10);\n}\n.adm-action-sheet-button-item-description {\n font-size: var(--adm-font-size-4);\n color: var(--adm-color-weak);\n padding-top: 2px;\n}\n.adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {\n color: var(--adm-color-danger);\n}\n.adm-action-sheet-cancel {\n background-color: var(--adm-color-box);\n padding-top: 8px;\n}\n")();
323
+ function attachPropertiesToComponent(component, properties) {
324
+ const ret = component;
325
+ for (const key in properties) {
326
+ if (properties.hasOwnProperty(key)) {
327
+ ret[key] = properties[key];
328
+ }
329
+ }
330
+ return ret;
331
+ }
332
+ function withNativeProps(props, element) {
333
+ const p2 = Object.assign({}, element.props);
334
+ if (props.className) {
335
+ p2.className = classNames__default["default"](element.props.className, props.className);
336
+ }
337
+ if (props.style) {
338
+ p2.style = Object.assign(Object.assign({}, p2.style), props.style);
339
+ }
340
+ if (props.tabIndex !== void 0) {
341
+ p2.tabIndex = props.tabIndex;
342
+ }
343
+ for (const key in props) {
344
+ if (!props.hasOwnProperty(key))
345
+ continue;
346
+ if (key.startsWith("data-") || key.startsWith("aria-")) {
347
+ p2[key] = props[key];
348
+ }
349
+ }
350
+ return React__default["default"].cloneElement(element, p2);
351
+ }
352
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
353
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
354
+ var _freeGlobal = freeGlobal$1;
355
+ var freeGlobal = _freeGlobal;
356
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
357
+ var root$8 = freeGlobal || freeSelf || Function("return this")();
358
+ var _root = root$8;
359
+ var root$7 = _root;
360
+ var Symbol$4 = root$7.Symbol;
361
+ var _Symbol = Symbol$4;
362
+ var Symbol$3 = _Symbol;
363
+ var objectProto$e = Object.prototype;
364
+ var hasOwnProperty$b = objectProto$e.hasOwnProperty;
365
+ var nativeObjectToString$1 = objectProto$e.toString;
366
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
367
+ function getRawTag$1(value) {
368
+ var isOwn = hasOwnProperty$b.call(value, symToStringTag$1), tag2 = value[symToStringTag$1];
369
+ try {
370
+ value[symToStringTag$1] = void 0;
371
+ var unmasked = true;
372
+ } catch (e2) {
373
+ }
374
+ var result2 = nativeObjectToString$1.call(value);
375
+ if (unmasked) {
376
+ if (isOwn) {
377
+ value[symToStringTag$1] = tag2;
378
+ } else {
379
+ delete value[symToStringTag$1];
380
+ }
381
+ }
382
+ return result2;
383
+ }
384
+ var _getRawTag = getRawTag$1;
385
+ var objectProto$d = Object.prototype;
386
+ var nativeObjectToString = objectProto$d.toString;
387
+ function objectToString$1(value) {
388
+ return nativeObjectToString.call(value);
389
+ }
390
+ var _objectToString = objectToString$1;
391
+ var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
392
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
393
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
394
+ function baseGetTag$5(value) {
395
+ if (value == null) {
396
+ return value === void 0 ? undefinedTag : nullTag;
397
+ }
398
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
399
+ }
400
+ var _baseGetTag = baseGetTag$5;
401
+ function isObject$7(value) {
402
+ var type = typeof value;
403
+ return value != null && (type == "object" || type == "function");
404
+ }
405
+ var isObject_1 = isObject$7;
406
+ var baseGetTag$4 = _baseGetTag, isObject$6 = isObject_1;
407
+ var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
408
+ function isFunction$3(value) {
409
+ if (!isObject$6(value)) {
410
+ return false;
411
+ }
412
+ var tag2 = baseGetTag$4(value);
413
+ return tag2 == funcTag$1 || tag2 == genTag || tag2 == asyncTag || tag2 == proxyTag;
414
+ }
415
+ var isFunction_1 = isFunction$3;
416
+ var root$6 = _root;
417
+ var coreJsData$1 = root$6["__core-js_shared__"];
418
+ var _coreJsData = coreJsData$1;
419
+ var coreJsData = _coreJsData;
420
+ var maskSrcKey = function() {
421
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
422
+ return uid ? "Symbol(src)_1." + uid : "";
423
+ }();
424
+ function isMasked$1(func) {
425
+ return !!maskSrcKey && maskSrcKey in func;
426
+ }
427
+ var _isMasked = isMasked$1;
428
+ var funcProto$2 = Function.prototype;
429
+ var funcToString$2 = funcProto$2.toString;
430
+ function toSource$2(func) {
431
+ if (func != null) {
432
+ try {
433
+ return funcToString$2.call(func);
434
+ } catch (e2) {
435
+ }
436
+ try {
437
+ return func + "";
438
+ } catch (e2) {
439
+ }
440
+ }
441
+ return "";
442
+ }
443
+ var _toSource = toSource$2;
444
+ var isFunction$2 = isFunction_1, isMasked = _isMasked, isObject$5 = isObject_1, toSource$1 = _toSource;
445
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
446
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
447
+ var funcProto$1 = Function.prototype, objectProto$c = Object.prototype;
448
+ var funcToString$1 = funcProto$1.toString;
449
+ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
450
+ var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
451
+ function baseIsNative$1(value) {
452
+ if (!isObject$5(value) || isMasked(value)) {
453
+ return false;
454
+ }
455
+ var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
456
+ return pattern.test(toSource$1(value));
457
+ }
458
+ var _baseIsNative = baseIsNative$1;
459
+ function getValue$1(object, key) {
460
+ return object == null ? void 0 : object[key];
461
+ }
462
+ var _getValue = getValue$1;
463
+ var baseIsNative = _baseIsNative, getValue = _getValue;
464
+ function getNative$7(object, key) {
465
+ var value = getValue(object, key);
466
+ return baseIsNative(value) ? value : void 0;
467
+ }
468
+ var _getNative = getNative$7;
469
+ var getNative$6 = _getNative;
470
+ var defineProperty$2 = function() {
471
+ try {
472
+ var func = getNative$6(Object, "defineProperty");
473
+ func({}, "", {});
474
+ return func;
475
+ } catch (e2) {
476
+ }
477
+ }();
478
+ var _defineProperty = defineProperty$2;
479
+ var defineProperty$1 = _defineProperty;
480
+ function baseAssignValue$3(object, key, value) {
481
+ if (key == "__proto__" && defineProperty$1) {
482
+ defineProperty$1(object, key, {
483
+ "configurable": true,
484
+ "enumerable": true,
485
+ "value": value,
486
+ "writable": true
487
+ });
488
+ } else {
489
+ object[key] = value;
490
+ }
491
+ }
492
+ var _baseAssignValue = baseAssignValue$3;
493
+ function eq$5(value, other) {
494
+ return value === other || value !== value && other !== other;
495
+ }
496
+ var eq_1 = eq$5;
497
+ var baseAssignValue$2 = _baseAssignValue, eq$4 = eq_1;
498
+ var objectProto$b = Object.prototype;
499
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
500
+ function assignValue$1(object, key, value) {
501
+ var objValue = object[key];
502
+ if (!(hasOwnProperty$9.call(object, key) && eq$4(objValue, value)) || value === void 0 && !(key in object)) {
503
+ baseAssignValue$2(object, key, value);
504
+ }
505
+ }
506
+ var _assignValue = assignValue$1;
507
+ var assignValue = _assignValue, baseAssignValue$1 = _baseAssignValue;
508
+ function copyObject$2(source, props, object, customizer) {
509
+ var isNew = !object;
510
+ object || (object = {});
511
+ var index2 = -1, length = props.length;
512
+ while (++index2 < length) {
513
+ var key = props[index2];
514
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
515
+ if (newValue === void 0) {
516
+ newValue = source[key];
517
+ }
518
+ if (isNew) {
519
+ baseAssignValue$1(object, key, newValue);
520
+ } else {
521
+ assignValue(object, key, newValue);
522
+ }
523
+ }
524
+ return object;
525
+ }
526
+ var _copyObject = copyObject$2;
527
+ function identity$2(value) {
528
+ return value;
529
+ }
530
+ var identity_1 = identity$2;
531
+ function apply$1(func, thisArg, args) {
532
+ switch (args.length) {
533
+ case 0:
534
+ return func.call(thisArg);
535
+ case 1:
536
+ return func.call(thisArg, args[0]);
537
+ case 2:
538
+ return func.call(thisArg, args[0], args[1]);
539
+ case 3:
540
+ return func.call(thisArg, args[0], args[1], args[2]);
1493
541
  }
1494
- };
1495
- function setDefaultConfig(config2) {
1496
- defaultConfigRef.current = config2;
542
+ return func.apply(thisArg, args);
1497
543
  }
1498
- function getDefaultConfig() {
1499
- return defaultConfigRef.current;
544
+ var _apply = apply$1;
545
+ var apply = _apply;
546
+ var nativeMax = Math.max;
547
+ function overRest$1(func, start, transform) {
548
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
549
+ return function() {
550
+ var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array(length);
551
+ while (++index2 < length) {
552
+ array[index2] = args[start + index2];
553
+ }
554
+ index2 = -1;
555
+ var otherArgs = Array(start + 1);
556
+ while (++index2 < start) {
557
+ otherArgs[index2] = args[index2];
558
+ }
559
+ otherArgs[start] = transform(array);
560
+ return apply(func, this, otherArgs);
561
+ };
1500
562
  }
1501
- const ConfigContext = React__default["default"].createContext(null);
1502
- const ConfigProvider = (props) => {
1503
- const {
1504
- children
1505
- } = props, config2 = tslib.__rest(props, ["children"]);
1506
- const parentConfig = useConfig();
1507
- return React__default["default"].createElement(ConfigContext.Provider, {
1508
- value: Object.assign(Object.assign({}, parentConfig), config2)
1509
- }, children);
1510
- };
1511
- function useConfig() {
1512
- var _a;
1513
- return (_a = React$1.useContext(ConfigContext)) !== null && _a !== void 0 ? _a : getDefaultConfig();
563
+ var _overRest = overRest$1;
564
+ function constant$1(value) {
565
+ return function() {
566
+ return value;
567
+ };
1514
568
  }
1515
- var actionSheet = /* @__PURE__ */ (() => ".adm-action-sheet-popup > .adm-popup-body {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n overflow: hidden;\n}\n.adm-action-sheet-extra {\n display: flex;\n justify-content: center;\n color: var(--adm-color-weak);\n font-size: var(--adm-font-size-7);\n padding: 18px 12px;\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-list {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper:last-child {\n border-bottom: none;\n}\n.adm-action-sheet-button-item {\n text-align: center;\n display: block;\n background-color: var(--adm-color-background);\n padding: 16px;\n}\n.adm-action-sheet-button-item:active {\n background-color: #eeeeee;\n}\n.adm-action-sheet-button-item-disabled {\n cursor: not-allowed;\n pointer-events: none;\n opacity: 0.4;\n}\n.adm-action-sheet-button-item-name {\n color: var(--adm-color-text);\n font-size: var(--adm-font-size-10);\n}\n.adm-action-sheet-button-item-description {\n font-size: var(--adm-font-size-4);\n color: var(--adm-color-weak);\n padding-top: 2px;\n}\n.adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {\n color: var(--adm-color-danger);\n}\n.adm-action-sheet-cancel {\n background-color: var(--adm-color-box);\n padding-top: 8px;\n}\n")();
1516
- function attachPropertiesToComponent(component, properties) {
1517
- const ret = component;
1518
- for (const key in properties) {
1519
- if (properties.hasOwnProperty(key)) {
1520
- ret[key] = properties[key];
569
+ var constant_1 = constant$1;
570
+ var constant = constant_1, defineProperty = _defineProperty, identity$1 = identity_1;
571
+ var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
572
+ return defineProperty(func, "toString", {
573
+ "configurable": true,
574
+ "enumerable": false,
575
+ "value": constant(string),
576
+ "writable": true
577
+ });
578
+ };
579
+ var _baseSetToString = baseSetToString$1;
580
+ var HOT_COUNT = 800, HOT_SPAN = 16;
581
+ var nativeNow = Date.now;
582
+ function shortOut$1(func) {
583
+ var count = 0, lastCalled = 0;
584
+ return function() {
585
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
586
+ lastCalled = stamp;
587
+ if (remaining > 0) {
588
+ if (++count >= HOT_COUNT) {
589
+ return arguments[0];
590
+ }
591
+ } else {
592
+ count = 0;
1521
593
  }
1522
- }
1523
- return ret;
594
+ return func.apply(void 0, arguments);
595
+ };
1524
596
  }
1525
- function withNativeProps(props, element) {
1526
- const p2 = Object.assign({}, element.props);
1527
- if (props.className) {
1528
- p2.className = classNames__default["default"](element.props.className, props.className);
597
+ var _shortOut = shortOut$1;
598
+ var baseSetToString = _baseSetToString, shortOut = _shortOut;
599
+ var setToString$1 = shortOut(baseSetToString);
600
+ var _setToString = setToString$1;
601
+ var identity = identity_1, overRest = _overRest, setToString = _setToString;
602
+ function baseRest$1(func, start) {
603
+ return setToString(overRest(func, start, identity), func + "");
604
+ }
605
+ var _baseRest = baseRest$1;
606
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
607
+ function isLength$2(value) {
608
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
609
+ }
610
+ var isLength_1 = isLength$2;
611
+ var isFunction$1 = isFunction_1, isLength$1 = isLength_1;
612
+ function isArrayLike$4(value) {
613
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
614
+ }
615
+ var isArrayLike_1 = isArrayLike$4;
616
+ var MAX_SAFE_INTEGER = 9007199254740991;
617
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
618
+ function isIndex$2(value, length) {
619
+ var type = typeof value;
620
+ length = length == null ? MAX_SAFE_INTEGER : length;
621
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
622
+ }
623
+ var _isIndex = isIndex$2;
624
+ var eq$3 = eq_1, isArrayLike$3 = isArrayLike_1, isIndex$1 = _isIndex, isObject$4 = isObject_1;
625
+ function isIterateeCall$1(value, index2, object) {
626
+ if (!isObject$4(object)) {
627
+ return false;
1529
628
  }
1530
- if (props.style) {
1531
- p2.style = Object.assign(Object.assign({}, p2.style), props.style);
629
+ var type = typeof index2;
630
+ if (type == "number" ? isArrayLike$3(object) && isIndex$1(index2, object.length) : type == "string" && index2 in object) {
631
+ return eq$3(object[index2], value);
1532
632
  }
1533
- if (props.tabIndex !== void 0) {
1534
- p2.tabIndex = props.tabIndex;
633
+ return false;
634
+ }
635
+ var _isIterateeCall = isIterateeCall$1;
636
+ var baseRest = _baseRest, isIterateeCall = _isIterateeCall;
637
+ function createAssigner$2(assigner) {
638
+ return baseRest(function(object, sources) {
639
+ var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
640
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
641
+ if (guard && isIterateeCall(sources[0], sources[1], guard)) {
642
+ customizer = length < 3 ? void 0 : customizer;
643
+ length = 1;
644
+ }
645
+ object = Object(object);
646
+ while (++index2 < length) {
647
+ var source = sources[index2];
648
+ if (source) {
649
+ assigner(object, source, index2, customizer);
650
+ }
651
+ }
652
+ return object;
653
+ });
654
+ }
655
+ var _createAssigner = createAssigner$2;
656
+ function baseTimes$1(n2, iteratee) {
657
+ var index2 = -1, result2 = Array(n2);
658
+ while (++index2 < n2) {
659
+ result2[index2] = iteratee(index2);
1535
660
  }
1536
- for (const key in props) {
1537
- if (!props.hasOwnProperty(key))
1538
- continue;
1539
- if (key.startsWith("data-") || key.startsWith("aria-")) {
1540
- p2[key] = props[key];
661
+ return result2;
662
+ }
663
+ var _baseTimes = baseTimes$1;
664
+ function isObjectLike$6(value) {
665
+ return value != null && typeof value == "object";
666
+ }
667
+ var isObjectLike_1 = isObjectLike$6;
668
+ var baseGetTag$3 = _baseGetTag, isObjectLike$5 = isObjectLike_1;
669
+ var argsTag$2 = "[object Arguments]";
670
+ function baseIsArguments$1(value) {
671
+ return isObjectLike$5(value) && baseGetTag$3(value) == argsTag$2;
672
+ }
673
+ var _baseIsArguments = baseIsArguments$1;
674
+ var baseIsArguments = _baseIsArguments, isObjectLike$4 = isObjectLike_1;
675
+ var objectProto$a = Object.prototype;
676
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
677
+ var propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable;
678
+ var isArguments$2 = baseIsArguments(function() {
679
+ return arguments;
680
+ }()) ? baseIsArguments : function(value) {
681
+ return isObjectLike$4(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
682
+ };
683
+ var isArguments_1 = isArguments$2;
684
+ var isArray$4 = Array.isArray;
685
+ var isArray_1 = isArray$4;
686
+ var isBuffer$3 = { exports: {} };
687
+ function stubFalse() {
688
+ return false;
689
+ }
690
+ var stubFalse_1 = stubFalse;
691
+ (function(module, exports2) {
692
+ var root2 = _root, stubFalse2 = stubFalse_1;
693
+ var freeExports = exports2 && !exports2.nodeType && exports2;
694
+ var freeModule = freeExports && true && module && !module.nodeType && module;
695
+ var moduleExports = freeModule && freeModule.exports === freeExports;
696
+ var Buffer = moduleExports ? root2.Buffer : void 0;
697
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
698
+ var isBuffer2 = nativeIsBuffer || stubFalse2;
699
+ module.exports = isBuffer2;
700
+ })(isBuffer$3, isBuffer$3.exports);
701
+ var baseGetTag$2 = _baseGetTag, isLength = isLength_1, isObjectLike$3 = isObjectLike_1;
702
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$3 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
703
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
704
+ var typedArrayTags = {};
705
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
706
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$3] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
707
+ function baseIsTypedArray$1(value) {
708
+ return isObjectLike$3(value) && isLength(value.length) && !!typedArrayTags[baseGetTag$2(value)];
709
+ }
710
+ var _baseIsTypedArray = baseIsTypedArray$1;
711
+ function baseUnary$1(func) {
712
+ return function(value) {
713
+ return func(value);
714
+ };
715
+ }
716
+ var _baseUnary = baseUnary$1;
717
+ var _nodeUtil = { exports: {} };
718
+ (function(module, exports2) {
719
+ var freeGlobal2 = _freeGlobal;
720
+ var freeExports = exports2 && !exports2.nodeType && exports2;
721
+ var freeModule = freeExports && true && module && !module.nodeType && module;
722
+ var moduleExports = freeModule && freeModule.exports === freeExports;
723
+ var freeProcess = moduleExports && freeGlobal2.process;
724
+ var nodeUtil2 = function() {
725
+ try {
726
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
727
+ if (types) {
728
+ return types;
729
+ }
730
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
731
+ } catch (e2) {
732
+ }
733
+ }();
734
+ module.exports = nodeUtil2;
735
+ })(_nodeUtil, _nodeUtil.exports);
736
+ var baseIsTypedArray = _baseIsTypedArray, baseUnary = _baseUnary, nodeUtil = _nodeUtil.exports;
737
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
738
+ var isTypedArray$3 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
739
+ var isTypedArray_1 = isTypedArray$3;
740
+ var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$3 = isArray_1, isBuffer$2 = isBuffer$3.exports, isIndex = _isIndex, isTypedArray$2 = isTypedArray_1;
741
+ var objectProto$9 = Object.prototype;
742
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
743
+ function arrayLikeKeys$2(value, inherited) {
744
+ var isArr = isArray$3(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$2(value), isType = !isArr && !isArg && !isBuff && isTypedArray$2(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
745
+ for (var key in value) {
746
+ if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
747
+ result2.push(key);
1541
748
  }
1542
749
  }
1543
- return React__default["default"].cloneElement(element, p2);
750
+ return result2;
1544
751
  }
1545
- var assignValue = _assignValue, copyObject$1 = _copyObject, createAssigner$1 = _createAssigner, isArrayLike = isArrayLike_1, isPrototype = _isPrototype, keys$1 = keys_1;
1546
- var objectProto$2 = Object.prototype;
1547
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
1548
- var assign = createAssigner$1(function(object, source) {
1549
- if (isPrototype(source) || isArrayLike(source)) {
1550
- copyObject$1(source, keys$1(source), object);
1551
- return;
752
+ var _arrayLikeKeys = arrayLikeKeys$2;
753
+ var objectProto$8 = Object.prototype;
754
+ function isPrototype$3(value) {
755
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
756
+ return value === proto;
757
+ }
758
+ var _isPrototype = isPrototype$3;
759
+ function overArg$2(func, transform) {
760
+ return function(arg) {
761
+ return func(transform(arg));
762
+ };
763
+ }
764
+ var _overArg = overArg$2;
765
+ var overArg$1 = _overArg;
766
+ var nativeKeys$1 = overArg$1(Object.keys, Object);
767
+ var _nativeKeys = nativeKeys$1;
768
+ var isPrototype$2 = _isPrototype, nativeKeys = _nativeKeys;
769
+ var objectProto$7 = Object.prototype;
770
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
771
+ function baseKeys$1(object) {
772
+ if (!isPrototype$2(object)) {
773
+ return nativeKeys(object);
1552
774
  }
1553
- for (var key in source) {
1554
- if (hasOwnProperty$2.call(source, key)) {
1555
- assignValue(object, key, source[key]);
775
+ var result2 = [];
776
+ for (var key in Object(object)) {
777
+ if (hasOwnProperty$6.call(object, key) && key != "constructor") {
778
+ result2.push(key);
1556
779
  }
1557
780
  }
1558
- });
1559
- var assign_1 = assign;
1560
- var copyObject = _copyObject, createAssigner = _createAssigner, keys = keys_1;
1561
- var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
1562
- copyObject(source, keys(source), object, customizer);
781
+ return result2;
782
+ }
783
+ var _baseKeys = baseKeys$1;
784
+ var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$2 = isArrayLike_1;
785
+ function keys$2(object) {
786
+ return isArrayLike$2(object) ? arrayLikeKeys$1(object) : baseKeys(object);
787
+ }
788
+ var keys_1 = keys$2;
789
+ var copyObject$1 = _copyObject, createAssigner$1 = _createAssigner, keys$1 = keys_1;
790
+ var assignWith = createAssigner$1(function(object, source, srcIndex, customizer) {
791
+ copyObject$1(source, keys$1(source), object, customizer);
1563
792
  });
1564
793
  var assignWith_1 = assignWith;
1565
- function isUndefined(value) {
1566
- return value === void 0;
1567
- }
1568
- var isUndefined_1 = isUndefined;
1569
794
  function mergeProps(...items) {
1570
795
  function customizer(objValue, srcValue) {
1571
- return isUndefined_1(srcValue) ? objValue : srcValue;
796
+ return srcValue === void 0 ? objValue : srcValue;
1572
797
  }
1573
- let ret = assign_1({}, items[0]);
798
+ let ret = Object.assign({}, items[0]);
1574
799
  for (let i = 1; i < items.length; i++) {
1575
800
  ret = assignWith_1(ret, items[i], customizer);
1576
801
  }
@@ -9654,7 +8879,7 @@ function usePropsValue(options) {
9654
8879
  return;
9655
8880
  stateRef.current = nextValue;
9656
8881
  update();
9657
- onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
8882
+ return onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
9658
8883
  });
9659
8884
  return [stateRef.current, setState];
9660
8885
  }
@@ -10154,6 +9379,251 @@ function rubberbandIfOutOfBounds(position, min, max, dimension, constant2 = 0.15
10154
9379
  return +rubberband(position - max, dimension, constant2) + max;
10155
9380
  return position;
10156
9381
  }
9382
+ function listCacheClear$1() {
9383
+ this.__data__ = [];
9384
+ this.size = 0;
9385
+ }
9386
+ var _listCacheClear = listCacheClear$1;
9387
+ var eq$2 = eq_1;
9388
+ function assocIndexOf$4(array, key) {
9389
+ var length = array.length;
9390
+ while (length--) {
9391
+ if (eq$2(array[length][0], key)) {
9392
+ return length;
9393
+ }
9394
+ }
9395
+ return -1;
9396
+ }
9397
+ var _assocIndexOf = assocIndexOf$4;
9398
+ var assocIndexOf$3 = _assocIndexOf;
9399
+ var arrayProto = Array.prototype;
9400
+ var splice = arrayProto.splice;
9401
+ function listCacheDelete$1(key) {
9402
+ var data = this.__data__, index2 = assocIndexOf$3(data, key);
9403
+ if (index2 < 0) {
9404
+ return false;
9405
+ }
9406
+ var lastIndex = data.length - 1;
9407
+ if (index2 == lastIndex) {
9408
+ data.pop();
9409
+ } else {
9410
+ splice.call(data, index2, 1);
9411
+ }
9412
+ --this.size;
9413
+ return true;
9414
+ }
9415
+ var _listCacheDelete = listCacheDelete$1;
9416
+ var assocIndexOf$2 = _assocIndexOf;
9417
+ function listCacheGet$1(key) {
9418
+ var data = this.__data__, index2 = assocIndexOf$2(data, key);
9419
+ return index2 < 0 ? void 0 : data[index2][1];
9420
+ }
9421
+ var _listCacheGet = listCacheGet$1;
9422
+ var assocIndexOf$1 = _assocIndexOf;
9423
+ function listCacheHas$1(key) {
9424
+ return assocIndexOf$1(this.__data__, key) > -1;
9425
+ }
9426
+ var _listCacheHas = listCacheHas$1;
9427
+ var assocIndexOf = _assocIndexOf;
9428
+ function listCacheSet$1(key, value) {
9429
+ var data = this.__data__, index2 = assocIndexOf(data, key);
9430
+ if (index2 < 0) {
9431
+ ++this.size;
9432
+ data.push([key, value]);
9433
+ } else {
9434
+ data[index2][1] = value;
9435
+ }
9436
+ return this;
9437
+ }
9438
+ var _listCacheSet = listCacheSet$1;
9439
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
9440
+ function ListCache$4(entries) {
9441
+ var index2 = -1, length = entries == null ? 0 : entries.length;
9442
+ this.clear();
9443
+ while (++index2 < length) {
9444
+ var entry = entries[index2];
9445
+ this.set(entry[0], entry[1]);
9446
+ }
9447
+ }
9448
+ ListCache$4.prototype.clear = listCacheClear;
9449
+ ListCache$4.prototype["delete"] = listCacheDelete;
9450
+ ListCache$4.prototype.get = listCacheGet;
9451
+ ListCache$4.prototype.has = listCacheHas;
9452
+ ListCache$4.prototype.set = listCacheSet;
9453
+ var _ListCache = ListCache$4;
9454
+ var ListCache$3 = _ListCache;
9455
+ function stackClear$1() {
9456
+ this.__data__ = new ListCache$3();
9457
+ this.size = 0;
9458
+ }
9459
+ var _stackClear = stackClear$1;
9460
+ function stackDelete$1(key) {
9461
+ var data = this.__data__, result2 = data["delete"](key);
9462
+ this.size = data.size;
9463
+ return result2;
9464
+ }
9465
+ var _stackDelete = stackDelete$1;
9466
+ function stackGet$1(key) {
9467
+ return this.__data__.get(key);
9468
+ }
9469
+ var _stackGet = stackGet$1;
9470
+ function stackHas$1(key) {
9471
+ return this.__data__.has(key);
9472
+ }
9473
+ var _stackHas = stackHas$1;
9474
+ var getNative$5 = _getNative, root$5 = _root;
9475
+ var Map$4 = getNative$5(root$5, "Map");
9476
+ var _Map = Map$4;
9477
+ var getNative$4 = _getNative;
9478
+ var nativeCreate$4 = getNative$4(Object, "create");
9479
+ var _nativeCreate = nativeCreate$4;
9480
+ var nativeCreate$3 = _nativeCreate;
9481
+ function hashClear$1() {
9482
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
9483
+ this.size = 0;
9484
+ }
9485
+ var _hashClear = hashClear$1;
9486
+ function hashDelete$1(key) {
9487
+ var result2 = this.has(key) && delete this.__data__[key];
9488
+ this.size -= result2 ? 1 : 0;
9489
+ return result2;
9490
+ }
9491
+ var _hashDelete = hashDelete$1;
9492
+ var nativeCreate$2 = _nativeCreate;
9493
+ var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
9494
+ var objectProto$6 = Object.prototype;
9495
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
9496
+ function hashGet$1(key) {
9497
+ var data = this.__data__;
9498
+ if (nativeCreate$2) {
9499
+ var result2 = data[key];
9500
+ return result2 === HASH_UNDEFINED$2 ? void 0 : result2;
9501
+ }
9502
+ return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
9503
+ }
9504
+ var _hashGet = hashGet$1;
9505
+ var nativeCreate$1 = _nativeCreate;
9506
+ var objectProto$5 = Object.prototype;
9507
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
9508
+ function hashHas$1(key) {
9509
+ var data = this.__data__;
9510
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
9511
+ }
9512
+ var _hashHas = hashHas$1;
9513
+ var nativeCreate = _nativeCreate;
9514
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
9515
+ function hashSet$1(key, value) {
9516
+ var data = this.__data__;
9517
+ this.size += this.has(key) ? 0 : 1;
9518
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
9519
+ return this;
9520
+ }
9521
+ var _hashSet = hashSet$1;
9522
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
9523
+ function Hash$1(entries) {
9524
+ var index2 = -1, length = entries == null ? 0 : entries.length;
9525
+ this.clear();
9526
+ while (++index2 < length) {
9527
+ var entry = entries[index2];
9528
+ this.set(entry[0], entry[1]);
9529
+ }
9530
+ }
9531
+ Hash$1.prototype.clear = hashClear;
9532
+ Hash$1.prototype["delete"] = hashDelete;
9533
+ Hash$1.prototype.get = hashGet;
9534
+ Hash$1.prototype.has = hashHas;
9535
+ Hash$1.prototype.set = hashSet;
9536
+ var _Hash = Hash$1;
9537
+ var Hash = _Hash, ListCache$2 = _ListCache, Map$3 = _Map;
9538
+ function mapCacheClear$1() {
9539
+ this.size = 0;
9540
+ this.__data__ = {
9541
+ "hash": new Hash(),
9542
+ "map": new (Map$3 || ListCache$2)(),
9543
+ "string": new Hash()
9544
+ };
9545
+ }
9546
+ var _mapCacheClear = mapCacheClear$1;
9547
+ function isKeyable$1(value) {
9548
+ var type = typeof value;
9549
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
9550
+ }
9551
+ var _isKeyable = isKeyable$1;
9552
+ var isKeyable = _isKeyable;
9553
+ function getMapData$4(map, key) {
9554
+ var data = map.__data__;
9555
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
9556
+ }
9557
+ var _getMapData = getMapData$4;
9558
+ var getMapData$3 = _getMapData;
9559
+ function mapCacheDelete$1(key) {
9560
+ var result2 = getMapData$3(this, key)["delete"](key);
9561
+ this.size -= result2 ? 1 : 0;
9562
+ return result2;
9563
+ }
9564
+ var _mapCacheDelete = mapCacheDelete$1;
9565
+ var getMapData$2 = _getMapData;
9566
+ function mapCacheGet$1(key) {
9567
+ return getMapData$2(this, key).get(key);
9568
+ }
9569
+ var _mapCacheGet = mapCacheGet$1;
9570
+ var getMapData$1 = _getMapData;
9571
+ function mapCacheHas$1(key) {
9572
+ return getMapData$1(this, key).has(key);
9573
+ }
9574
+ var _mapCacheHas = mapCacheHas$1;
9575
+ var getMapData = _getMapData;
9576
+ function mapCacheSet$1(key, value) {
9577
+ var data = getMapData(this, key), size = data.size;
9578
+ data.set(key, value);
9579
+ this.size += data.size == size ? 0 : 1;
9580
+ return this;
9581
+ }
9582
+ var _mapCacheSet = mapCacheSet$1;
9583
+ var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
9584
+ function MapCache$3(entries) {
9585
+ var index2 = -1, length = entries == null ? 0 : entries.length;
9586
+ this.clear();
9587
+ while (++index2 < length) {
9588
+ var entry = entries[index2];
9589
+ this.set(entry[0], entry[1]);
9590
+ }
9591
+ }
9592
+ MapCache$3.prototype.clear = mapCacheClear;
9593
+ MapCache$3.prototype["delete"] = mapCacheDelete;
9594
+ MapCache$3.prototype.get = mapCacheGet;
9595
+ MapCache$3.prototype.has = mapCacheHas;
9596
+ MapCache$3.prototype.set = mapCacheSet;
9597
+ var _MapCache = MapCache$3;
9598
+ var ListCache$1 = _ListCache, Map$2 = _Map, MapCache$2 = _MapCache;
9599
+ var LARGE_ARRAY_SIZE = 200;
9600
+ function stackSet$1(key, value) {
9601
+ var data = this.__data__;
9602
+ if (data instanceof ListCache$1) {
9603
+ var pairs = data.__data__;
9604
+ if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
9605
+ pairs.push([key, value]);
9606
+ this.size = ++data.size;
9607
+ return this;
9608
+ }
9609
+ data = this.__data__ = new MapCache$2(pairs);
9610
+ }
9611
+ data.set(key, value);
9612
+ this.size = data.size;
9613
+ return this;
9614
+ }
9615
+ var _stackSet = stackSet$1;
9616
+ var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
9617
+ function Stack$2(entries) {
9618
+ var data = this.__data__ = new ListCache(entries);
9619
+ this.size = data.size;
9620
+ }
9621
+ Stack$2.prototype.clear = stackClear;
9622
+ Stack$2.prototype["delete"] = stackDelete;
9623
+ Stack$2.prototype.get = stackGet;
9624
+ Stack$2.prototype.has = stackHas;
9625
+ Stack$2.prototype.set = stackSet;
9626
+ var _Stack = Stack$2;
10157
9627
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
10158
9628
  function setCacheAdd$1(value) {
10159
9629
  this.__data__.set(value, HASH_UNDEFINED);
@@ -10235,6 +9705,9 @@ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
10235
9705
  return result2;
10236
9706
  }
10237
9707
  var _equalArrays = equalArrays$2;
9708
+ var root$4 = _root;
9709
+ var Uint8Array$2 = root$4.Uint8Array;
9710
+ var _Uint8Array = Uint8Array$2;
10238
9711
  function mapToArray$1(map) {
10239
9712
  var index2 = -1, result2 = Array(map.size);
10240
9713
  map.forEach(function(value, key) {
@@ -10251,36 +9724,36 @@ function setToArray$1(set) {
10251
9724
  return result2;
10252
9725
  }
10253
9726
  var _setToArray = setToArray$1;
10254
- var Symbol$1 = _Symbol, Uint8Array = _Uint8Array, eq = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
9727
+ var Symbol$1 = _Symbol, Uint8Array$1 = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
10255
9728
  var COMPARE_PARTIAL_FLAG$2 = 1, COMPARE_UNORDERED_FLAG = 2;
10256
- var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
10257
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
9729
+ var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag$1 = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
9730
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]";
10258
9731
  var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
10259
9732
  function equalByTag$1(object, other, tag2, bitmask, customizer, equalFunc, stack) {
10260
9733
  switch (tag2) {
10261
- case dataViewTag:
9734
+ case dataViewTag$1:
10262
9735
  if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
10263
9736
  return false;
10264
9737
  }
10265
9738
  object = object.buffer;
10266
9739
  other = other.buffer;
10267
9740
  case arrayBufferTag:
10268
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
9741
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
10269
9742
  return false;
10270
9743
  }
10271
9744
  return true;
10272
9745
  case boolTag:
10273
9746
  case dateTag:
10274
9747
  case numberTag:
10275
- return eq(+object, +other);
9748
+ return eq$1(+object, +other);
10276
9749
  case errorTag:
10277
9750
  return object.name == other.name && object.message == other.message;
10278
9751
  case regexpTag:
10279
9752
  case stringTag:
10280
9753
  return object == other + "";
10281
- case mapTag:
9754
+ case mapTag$1:
10282
9755
  var convert = mapToArray;
10283
- case setTag:
9756
+ case setTag$1:
10284
9757
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
10285
9758
  convert || (convert = setToArray);
10286
9759
  if (object.size != other.size && !isPartial) {
@@ -10300,13 +9773,61 @@ function equalByTag$1(object, other, tag2, bitmask, customizer, equalFunc, stack
10300
9773
  return symbolValueOf.call(object) == symbolValueOf.call(other);
10301
9774
  }
10302
9775
  }
10303
- return false;
9776
+ return false;
9777
+ }
9778
+ var _equalByTag = equalByTag$1;
9779
+ function arrayPush$1(array, values) {
9780
+ var index2 = -1, length = values.length, offset = array.length;
9781
+ while (++index2 < length) {
9782
+ array[offset + index2] = values[index2];
9783
+ }
9784
+ return array;
9785
+ }
9786
+ var _arrayPush = arrayPush$1;
9787
+ var arrayPush = _arrayPush, isArray$2 = isArray_1;
9788
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
9789
+ var result2 = keysFunc(object);
9790
+ return isArray$2(object) ? result2 : arrayPush(result2, symbolsFunc(object));
9791
+ }
9792
+ var _baseGetAllKeys = baseGetAllKeys$1;
9793
+ function arrayFilter$1(array, predicate) {
9794
+ var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
9795
+ while (++index2 < length) {
9796
+ var value = array[index2];
9797
+ if (predicate(value, index2, array)) {
9798
+ result2[resIndex++] = value;
9799
+ }
9800
+ }
9801
+ return result2;
9802
+ }
9803
+ var _arrayFilter = arrayFilter$1;
9804
+ function stubArray$1() {
9805
+ return [];
9806
+ }
9807
+ var stubArray_1 = stubArray$1;
9808
+ var arrayFilter = _arrayFilter, stubArray = stubArray_1;
9809
+ var objectProto$4 = Object.prototype;
9810
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
9811
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
9812
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
9813
+ if (object == null) {
9814
+ return [];
9815
+ }
9816
+ object = Object(object);
9817
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
9818
+ return propertyIsEnumerable.call(object, symbol);
9819
+ });
9820
+ };
9821
+ var _getSymbols = getSymbols$1;
9822
+ var baseGetAllKeys = _baseGetAllKeys, getSymbols = _getSymbols, keys = keys_1;
9823
+ function getAllKeys$1(object) {
9824
+ return baseGetAllKeys(object, keys, getSymbols);
10304
9825
  }
10305
- var _equalByTag = equalByTag$1;
9826
+ var _getAllKeys = getAllKeys$1;
10306
9827
  var getAllKeys = _getAllKeys;
10307
9828
  var COMPARE_PARTIAL_FLAG$1 = 1;
10308
- var objectProto$1 = Object.prototype;
10309
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
9829
+ var objectProto$3 = Object.prototype;
9830
+ var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
10310
9831
  function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
10311
9832
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
10312
9833
  if (objLength != othLength && !isPartial) {
@@ -10315,7 +9836,7 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
10315
9836
  var index2 = objLength;
10316
9837
  while (index2--) {
10317
9838
  var key = objProps[index2];
10318
- if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
9839
+ if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
10319
9840
  return false;
10320
9841
  }
10321
9842
  }
@@ -10351,48 +9872,86 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
10351
9872
  return result2;
10352
9873
  }
10353
9874
  var _equalObjects = equalObjects$1;
10354
- var Stack = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray = isArray_1, isBuffer = isBuffer$4.exports, isTypedArray = isTypedArray_1;
9875
+ var getNative$3 = _getNative, root$3 = _root;
9876
+ var DataView$1 = getNative$3(root$3, "DataView");
9877
+ var _DataView = DataView$1;
9878
+ var getNative$2 = _getNative, root$2 = _root;
9879
+ var Promise$2 = getNative$2(root$2, "Promise");
9880
+ var _Promise = Promise$2;
9881
+ var getNative$1 = _getNative, root$1 = _root;
9882
+ var Set$2 = getNative$1(root$1, "Set");
9883
+ var _Set = Set$2;
9884
+ var getNative = _getNative, root = _root;
9885
+ var WeakMap$2 = getNative(root, "WeakMap");
9886
+ var _WeakMap = WeakMap$2;
9887
+ var DataView = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag$1 = _baseGetTag, toSource = _toSource;
9888
+ var mapTag = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]";
9889
+ var dataViewTag = "[object DataView]";
9890
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
9891
+ var getTag$1 = baseGetTag$1;
9892
+ if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map$1 && getTag$1(new Map$1()) != mapTag || Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag || Set$1 && getTag$1(new Set$1()) != setTag || WeakMap$1 && getTag$1(new WeakMap$1()) != weakMapTag) {
9893
+ getTag$1 = function(value) {
9894
+ var result2 = baseGetTag$1(value), Ctor = result2 == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
9895
+ if (ctorString) {
9896
+ switch (ctorString) {
9897
+ case dataViewCtorString:
9898
+ return dataViewTag;
9899
+ case mapCtorString:
9900
+ return mapTag;
9901
+ case promiseCtorString:
9902
+ return promiseTag;
9903
+ case setCtorString:
9904
+ return setTag;
9905
+ case weakMapCtorString:
9906
+ return weakMapTag;
9907
+ }
9908
+ }
9909
+ return result2;
9910
+ };
9911
+ }
9912
+ var _getTag = getTag$1;
9913
+ var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$1 = isArray_1, isBuffer$1 = isBuffer$3.exports, isTypedArray$1 = isTypedArray_1;
10355
9914
  var COMPARE_PARTIAL_FLAG = 1;
10356
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
10357
- var objectProto = Object.prototype;
10358
- var hasOwnProperty = objectProto.hasOwnProperty;
9915
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag$1 = "[object Object]";
9916
+ var objectProto$2 = Object.prototype;
9917
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
10359
9918
  function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
10360
- var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
10361
- objTag = objTag == argsTag ? objectTag : objTag;
10362
- othTag = othTag == argsTag ? objectTag : othTag;
10363
- var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
10364
- if (isSameTag && isBuffer(object)) {
10365
- if (!isBuffer(other)) {
9919
+ var objIsArr = isArray$1(object), othIsArr = isArray$1(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
9920
+ objTag = objTag == argsTag ? objectTag$1 : objTag;
9921
+ othTag = othTag == argsTag ? objectTag$1 : othTag;
9922
+ var objIsObj = objTag == objectTag$1, othIsObj = othTag == objectTag$1, isSameTag = objTag == othTag;
9923
+ if (isSameTag && isBuffer$1(object)) {
9924
+ if (!isBuffer$1(other)) {
10366
9925
  return false;
10367
9926
  }
10368
9927
  objIsArr = true;
10369
9928
  objIsObj = false;
10370
9929
  }
10371
9930
  if (isSameTag && !objIsObj) {
10372
- stack || (stack = new Stack());
10373
- return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
9931
+ stack || (stack = new Stack$1());
9932
+ return objIsArr || isTypedArray$1(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
10374
9933
  }
10375
9934
  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
10376
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
9935
+ var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$2.call(other, "__wrapped__");
10377
9936
  if (objIsWrapped || othIsWrapped) {
10378
9937
  var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
10379
- stack || (stack = new Stack());
9938
+ stack || (stack = new Stack$1());
10380
9939
  return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
10381
9940
  }
10382
9941
  }
10383
9942
  if (!isSameTag) {
10384
9943
  return false;
10385
9944
  }
10386
- stack || (stack = new Stack());
9945
+ stack || (stack = new Stack$1());
10387
9946
  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
10388
9947
  }
10389
9948
  var _baseIsEqualDeep = baseIsEqualDeep$1;
10390
- var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike = isObjectLike_1;
9949
+ var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike$2 = isObjectLike_1;
10391
9950
  function baseIsEqual$1(value, other, bitmask, customizer, stack) {
10392
9951
  if (value === other) {
10393
9952
  return true;
10394
9953
  }
10395
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
9954
+ if (value == null || other == null || !isObjectLike$2(value) && !isObjectLike$2(other)) {
10396
9955
  return value !== value && other !== other;
10397
9956
  }
10398
9957
  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$1, stack);
@@ -14003,6 +13562,233 @@ const defaultFormContext = {
14003
13562
  const FormContext = React__default["default"].createContext(defaultFormContext);
14004
13563
  const NoStyleItemContext = React__default["default"].createContext(null);
14005
13564
  const Header = () => null;
13565
+ var baseAssignValue = _baseAssignValue, eq = eq_1;
13566
+ function assignMergeValue$2(object, key, value) {
13567
+ if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
13568
+ baseAssignValue(object, key, value);
13569
+ }
13570
+ }
13571
+ var _assignMergeValue = assignMergeValue$2;
13572
+ function createBaseFor$1(fromRight) {
13573
+ return function(object, iteratee, keysFunc) {
13574
+ var index2 = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
13575
+ while (length--) {
13576
+ var key = props[fromRight ? length : ++index2];
13577
+ if (iteratee(iterable[key], key, iterable) === false) {
13578
+ break;
13579
+ }
13580
+ }
13581
+ return object;
13582
+ };
13583
+ }
13584
+ var _createBaseFor = createBaseFor$1;
13585
+ var createBaseFor = _createBaseFor;
13586
+ var baseFor$1 = createBaseFor();
13587
+ var _baseFor = baseFor$1;
13588
+ var _cloneBuffer = { exports: {} };
13589
+ (function(module, exports2) {
13590
+ var root2 = _root;
13591
+ var freeExports = exports2 && !exports2.nodeType && exports2;
13592
+ var freeModule = freeExports && true && module && !module.nodeType && module;
13593
+ var moduleExports = freeModule && freeModule.exports === freeExports;
13594
+ var Buffer = moduleExports ? root2.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
13595
+ function cloneBuffer2(buffer, isDeep) {
13596
+ if (isDeep) {
13597
+ return buffer.slice();
13598
+ }
13599
+ var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
13600
+ buffer.copy(result2);
13601
+ return result2;
13602
+ }
13603
+ module.exports = cloneBuffer2;
13604
+ })(_cloneBuffer, _cloneBuffer.exports);
13605
+ var Uint8Array = _Uint8Array;
13606
+ function cloneArrayBuffer$1(arrayBuffer) {
13607
+ var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
13608
+ new Uint8Array(result2).set(new Uint8Array(arrayBuffer));
13609
+ return result2;
13610
+ }
13611
+ var _cloneArrayBuffer = cloneArrayBuffer$1;
13612
+ var cloneArrayBuffer = _cloneArrayBuffer;
13613
+ function cloneTypedArray$1(typedArray, isDeep) {
13614
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
13615
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
13616
+ }
13617
+ var _cloneTypedArray = cloneTypedArray$1;
13618
+ function copyArray$1(source, array) {
13619
+ var index2 = -1, length = source.length;
13620
+ array || (array = Array(length));
13621
+ while (++index2 < length) {
13622
+ array[index2] = source[index2];
13623
+ }
13624
+ return array;
13625
+ }
13626
+ var _copyArray = copyArray$1;
13627
+ var isObject$3 = isObject_1;
13628
+ var objectCreate = Object.create;
13629
+ var baseCreate$1 = function() {
13630
+ function object() {
13631
+ }
13632
+ return function(proto) {
13633
+ if (!isObject$3(proto)) {
13634
+ return {};
13635
+ }
13636
+ if (objectCreate) {
13637
+ return objectCreate(proto);
13638
+ }
13639
+ object.prototype = proto;
13640
+ var result2 = new object();
13641
+ object.prototype = void 0;
13642
+ return result2;
13643
+ };
13644
+ }();
13645
+ var _baseCreate = baseCreate$1;
13646
+ var overArg = _overArg;
13647
+ var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
13648
+ var _getPrototype = getPrototype$2;
13649
+ var baseCreate = _baseCreate, getPrototype$1 = _getPrototype, isPrototype$1 = _isPrototype;
13650
+ function initCloneObject$1(object) {
13651
+ return typeof object.constructor == "function" && !isPrototype$1(object) ? baseCreate(getPrototype$1(object)) : {};
13652
+ }
13653
+ var _initCloneObject = initCloneObject$1;
13654
+ var isArrayLike$1 = isArrayLike_1, isObjectLike$1 = isObjectLike_1;
13655
+ function isArrayLikeObject$1(value) {
13656
+ return isObjectLike$1(value) && isArrayLike$1(value);
13657
+ }
13658
+ var isArrayLikeObject_1 = isArrayLikeObject$1;
13659
+ var baseGetTag = _baseGetTag, getPrototype = _getPrototype, isObjectLike = isObjectLike_1;
13660
+ var objectTag = "[object Object]";
13661
+ var funcProto = Function.prototype, objectProto$1 = Object.prototype;
13662
+ var funcToString = funcProto.toString;
13663
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
13664
+ var objectCtorString = funcToString.call(Object);
13665
+ function isPlainObject$1(value) {
13666
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
13667
+ return false;
13668
+ }
13669
+ var proto = getPrototype(value);
13670
+ if (proto === null) {
13671
+ return true;
13672
+ }
13673
+ var Ctor = hasOwnProperty$1.call(proto, "constructor") && proto.constructor;
13674
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
13675
+ }
13676
+ var isPlainObject_1 = isPlainObject$1;
13677
+ function safeGet$2(object, key) {
13678
+ if (key === "constructor" && typeof object[key] === "function") {
13679
+ return;
13680
+ }
13681
+ if (key == "__proto__") {
13682
+ return;
13683
+ }
13684
+ return object[key];
13685
+ }
13686
+ var _safeGet = safeGet$2;
13687
+ function nativeKeysIn$1(object) {
13688
+ var result2 = [];
13689
+ if (object != null) {
13690
+ for (var key in Object(object)) {
13691
+ result2.push(key);
13692
+ }
13693
+ }
13694
+ return result2;
13695
+ }
13696
+ var _nativeKeysIn = nativeKeysIn$1;
13697
+ var isObject$2 = isObject_1, isPrototype = _isPrototype, nativeKeysIn = _nativeKeysIn;
13698
+ var objectProto = Object.prototype;
13699
+ var hasOwnProperty = objectProto.hasOwnProperty;
13700
+ function baseKeysIn$1(object) {
13701
+ if (!isObject$2(object)) {
13702
+ return nativeKeysIn(object);
13703
+ }
13704
+ var isProto = isPrototype(object), result2 = [];
13705
+ for (var key in object) {
13706
+ if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
13707
+ result2.push(key);
13708
+ }
13709
+ }
13710
+ return result2;
13711
+ }
13712
+ var _baseKeysIn = baseKeysIn$1;
13713
+ var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike = isArrayLike_1;
13714
+ function keysIn$2(object) {
13715
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
13716
+ }
13717
+ var keysIn_1 = keysIn$2;
13718
+ var copyObject = _copyObject, keysIn$1 = keysIn_1;
13719
+ function toPlainObject$1(value) {
13720
+ return copyObject(value, keysIn$1(value));
13721
+ }
13722
+ var toPlainObject_1 = toPlainObject$1;
13723
+ var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBuffer.exports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer = isBuffer$3.exports, isFunction = isFunction_1, isObject$1 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
13724
+ function baseMergeDeep$1(object, source, key, srcIndex, mergeFunc, customizer, stack) {
13725
+ var objValue = safeGet$1(object, key), srcValue = safeGet$1(source, key), stacked = stack.get(srcValue);
13726
+ if (stacked) {
13727
+ assignMergeValue$1(object, key, stacked);
13728
+ return;
13729
+ }
13730
+ var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
13731
+ var isCommon = newValue === void 0;
13732
+ if (isCommon) {
13733
+ var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
13734
+ newValue = srcValue;
13735
+ if (isArr || isBuff || isTyped) {
13736
+ if (isArray(objValue)) {
13737
+ newValue = objValue;
13738
+ } else if (isArrayLikeObject(objValue)) {
13739
+ newValue = copyArray(objValue);
13740
+ } else if (isBuff) {
13741
+ isCommon = false;
13742
+ newValue = cloneBuffer(srcValue, true);
13743
+ } else if (isTyped) {
13744
+ isCommon = false;
13745
+ newValue = cloneTypedArray(srcValue, true);
13746
+ } else {
13747
+ newValue = [];
13748
+ }
13749
+ } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
13750
+ newValue = objValue;
13751
+ if (isArguments(objValue)) {
13752
+ newValue = toPlainObject(objValue);
13753
+ } else if (!isObject$1(objValue) || isFunction(objValue)) {
13754
+ newValue = initCloneObject(srcValue);
13755
+ }
13756
+ } else {
13757
+ isCommon = false;
13758
+ }
13759
+ }
13760
+ if (isCommon) {
13761
+ stack.set(srcValue, newValue);
13762
+ mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
13763
+ stack["delete"](srcValue);
13764
+ }
13765
+ assignMergeValue$1(object, key, newValue);
13766
+ }
13767
+ var _baseMergeDeep = baseMergeDeep$1;
13768
+ var Stack = _Stack, assignMergeValue = _assignMergeValue, baseFor = _baseFor, baseMergeDeep = _baseMergeDeep, isObject = isObject_1, keysIn = keysIn_1, safeGet = _safeGet;
13769
+ function baseMerge$1(object, source, srcIndex, customizer, stack) {
13770
+ if (object === source) {
13771
+ return;
13772
+ }
13773
+ baseFor(source, function(srcValue, key) {
13774
+ stack || (stack = new Stack());
13775
+ if (isObject(srcValue)) {
13776
+ baseMergeDeep(object, source, key, srcIndex, baseMerge$1, customizer, stack);
13777
+ } else {
13778
+ var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
13779
+ if (newValue === void 0) {
13780
+ newValue = srcValue;
13781
+ }
13782
+ assignMergeValue(object, key, newValue);
13783
+ }
13784
+ }, keysIn);
13785
+ }
13786
+ var _baseMerge = baseMerge$1;
13787
+ var baseMerge = _baseMerge, createAssigner = _createAssigner;
13788
+ var merge = createAssigner(function(object, source, srcIndex) {
13789
+ baseMerge(object, source, srcIndex);
13790
+ });
13791
+ var merge_1 = merge;
14006
13792
  const FormArray = (props) => {
14007
13793
  return React__default["default"].createElement(RcForm.List, {
14008
13794
  name: props.name,
@@ -14104,15 +13890,6 @@ const Form = React$1.forwardRef((p2, ref) => {
14104
13890
  }, footer));
14105
13891
  });
14106
13892
  var FieldContext = {};
14107
- var interopRequireDefault = { exports: {} };
14108
- (function(module) {
14109
- function _interopRequireDefault2(obj) {
14110
- return obj && obj.__esModule ? obj : {
14111
- "default": obj
14112
- };
14113
- }
14114
- module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
14115
- })(interopRequireDefault);
14116
13893
  var interopRequireWildcard = { exports: {} };
14117
13894
  var _typeof = { exports: {} };
14118
13895
  (function(module) {
@@ -14170,6 +13947,15 @@ var _typeof = { exports: {} };
14170
13947
  }
14171
13948
  module.exports = _interopRequireWildcard2, module.exports.__esModule = true, module.exports["default"] = module.exports;
14172
13949
  })(interopRequireWildcard);
13950
+ var interopRequireDefault = { exports: {} };
13951
+ (function(module) {
13952
+ function _interopRequireDefault2(obj) {
13953
+ return obj && obj.__esModule ? obj : {
13954
+ "default": obj
13955
+ };
13956
+ }
13957
+ module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
13958
+ })(interopRequireDefault);
14173
13959
  var warning$1 = {};
14174
13960
  Object.defineProperty(warning$1, "__esModule", {
14175
13961
  value: true
@@ -14203,14 +13989,14 @@ function noteOnce(valid, message) {
14203
13989
  }
14204
13990
  var _default$1 = warningOnce;
14205
13991
  warning$1.default = _default$1;
14206
- var _interopRequireDefault = interopRequireDefault.exports;
14207
- var _interopRequireWildcard = interopRequireWildcard.exports;
13992
+ var _interopRequireWildcard = interopRequireWildcard.exports.default;
13993
+ var _interopRequireDefault = interopRequireDefault.exports.default;
14208
13994
  Object.defineProperty(FieldContext, "__esModule", {
14209
13995
  value: true
14210
13996
  });
14211
13997
  var default_1 = FieldContext.default = FieldContext.HOOK_MARK = void 0;
14212
- var React = _interopRequireWildcard(React__default["default"]);
14213
13998
  var _warning = _interopRequireDefault(warning$1);
13999
+ var React = _interopRequireWildcard(React__default["default"]);
14214
14000
  var HOOK_MARK = "RC_FORM_INTERNAL_HOOKS";
14215
14001
  FieldContext.HOOK_MARK = HOOK_MARK;
14216
14002
  var warningFunc = function warningFunc2() {
@@ -14228,6 +14014,7 @@ var Context = /* @__PURE__ */ React.createContext({
14228
14014
  isFieldsValidating: warningFunc,
14229
14015
  resetFields: warningFunc,
14230
14016
  setFields: warningFunc,
14017
+ setFieldValue: warningFunc,
14231
14018
  setFieldsValue: warningFunc,
14232
14019
  validateFields: warningFunc,
14233
14020
  submit: warningFunc,
@@ -14594,7 +14381,7 @@ const FormItemLayout = (props) => {
14594
14381
  key: `warning-${index2}`,
14595
14382
  className: `${classPrefix$I}-feedback-warning`
14596
14383
  }, warning2)))) : null;
14597
- return React__default["default"].createElement(List.Item, {
14384
+ return withNativeProps(props, React__default["default"].createElement(List.Item, {
14598
14385
  style,
14599
14386
  title: layout === "vertical" && labelElement,
14600
14387
  prefix: layout === "horizontal" && labelElement,
@@ -14612,7 +14399,7 @@ const FormItemLayout = (props) => {
14612
14399
  className: classNames__default["default"](`${classPrefix$I}-child`, `${classPrefix$I}-child-position-${childElementPosition}`)
14613
14400
  }, React__default["default"].createElement("div", {
14614
14401
  className: classNames__default["default"](`${classPrefix$I}-child-inner`)
14615
- }, children)));
14402
+ }, children))));
14616
14403
  };
14617
14404
  const FormItem = (props) => {
14618
14405
  const {
@@ -14687,7 +14474,7 @@ const FormItem = (props) => {
14687
14474
  }
14688
14475
  return subWarnings;
14689
14476
  }, curWarnings);
14690
- return React__default["default"].createElement(FormItemLayout, {
14477
+ return withNativeProps(props, React__default["default"].createElement(FormItemLayout, {
14691
14478
  className,
14692
14479
  style,
14693
14480
  label,
@@ -14708,7 +14495,7 @@ const FormItem = (props) => {
14708
14495
  arrow
14709
14496
  }, React__default["default"].createElement(NoStyleItemContext.Provider, {
14710
14497
  value: onSubMetaChange
14711
- }, baseChildren));
14498
+ }, baseChildren)));
14712
14499
  }
14713
14500
  const isRenderProps = typeof children === "function";
14714
14501
  if (!name && !isRenderProps && !props.dependencies) {
@@ -16140,7 +15927,7 @@ const NavBar = (p2) => {
16140
15927
  className: `${classPrefix$v}-right`
16141
15928
  }, props.right)));
16142
15929
  };
16143
- var noticeBar = /* @__PURE__ */ (() => ".adm-notice-bar {\n --background-color: #ababab;\n --border-color: #999999;\n --text-color: var(--adm-color-white);\n --font-size: var(--adm-font-size-7);\n --icon-font-size: var(--adm-font-size-10);\n --height: 38px;\n height: var(--height);\n box-sizing: border-box;\n font-size: var(--font-size);\n line-height: var(--height);\n padding: 0 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border: solid 1px var(--border-color);\n border-left: none;\n border-right: none;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n.adm-notice-bar > span[role='img'] {\n color: var(--text-color);\n}\n.adm-notice-bar.adm-notice-bar-alert {\n --background-color: #fff9ed;\n --border-color: #fff3e9;\n --text-color: #ff6010;\n}\n.adm-notice-bar.adm-notice-bar-error {\n --background-color: #ff3b30;\n --border-color: #d9281e;\n --text-color: #ffffff;\n}\n.adm-notice-bar.adm-notice-bar-info {\n --background-color: #d0e4ff;\n --border-color: #bcd8ff;\n --text-color: #1677ff;\n}\n.adm-notice-bar .adm-notice-bar-left {\n flex-shrink: 0;\n margin-right: 8px;\n font-size: var(--icon-font-size);\n line-height: var(--height);\n}\n.adm-notice-bar .adm-notice-bar-content {\n flex: 1;\n overflow: hidden;\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n}\n.adm-notice-bar .adm-notice-bar-content .adm-notice-bar-content-inner {\n width: auto;\n transition-timing-function: linear;\n position: absolute;\n white-space: nowrap;\n}\n.adm-notice-bar .adm-notice-bar-right {\n flex-shrink: 0;\n margin-left: 12px;\n}\n.adm-notice-bar-close-icon {\n font-size: var(--adm-font-size-10);\n}\n")();
15930
+ var noticeBar = /* @__PURE__ */ (() => ".adm-notice-bar {\n --background-color: #ababab;\n --border-color: #999999;\n --text-color: var(--adm-color-white);\n --font-size: var(--adm-font-size-7);\n --icon-font-size: var(--adm-font-size-10);\n --height: 38px;\n height: var(--height);\n box-sizing: border-box;\n font-size: var(--font-size);\n line-height: var(--height);\n padding: 0 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border: solid 1px var(--border-color);\n border-left: none;\n border-right: none;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n.adm-notice-bar > span[role='img'] {\n color: var(--text-color);\n}\n.adm-notice-bar.adm-notice-bar-alert {\n --background-color: #fff9ed;\n --border-color: #fff3e9;\n --text-color: #ff6010;\n}\n.adm-notice-bar.adm-notice-bar-error {\n --background-color: #ff3b30;\n --border-color: #d9281e;\n --text-color: #ffffff;\n}\n.adm-notice-bar.adm-notice-bar-info {\n --background-color: #d0e4ff;\n --border-color: #bcd8ff;\n --text-color: #1677ff;\n}\n.adm-notice-bar .adm-notice-bar-left {\n flex-shrink: 0;\n margin-right: 8px;\n font-size: var(--icon-font-size);\n line-height: var(--height);\n}\n.adm-notice-bar .adm-notice-bar-content {\n flex: 1;\n overflow: hidden;\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n}\n.adm-notice-bar .adm-notice-bar-content .adm-notice-bar-content-inner {\n width: auto;\n transition-timing-function: linear;\n position: absolute;\n white-space: nowrap;\n}\n.adm-notice-bar .adm-notice-bar-right {\n flex-shrink: 0;\n margin-left: 12px;\n}\n.adm-notice-bar-close {\n width: 24px;\n height: 24px;\n margin-right: -3px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.adm-notice-bar-close-icon {\n font-size: var(--adm-font-size-10);\n}\n")();
16144
15931
  const classPrefix$u = `adm-notice-bar`;
16145
15932
  const defaultProps$o = {
16146
15933
  color: "default",
@@ -16215,14 +16002,16 @@ const NoticeBar = React$1.memo((p2) => {
16215
16002
  className: `${classPrefix$u}-content-inner`
16216
16003
  }, props.content)), (props.closeable || props.extra) && React__default["default"].createElement("span", {
16217
16004
  className: `${classPrefix$u}-right`
16218
- }, props.extra, props.closeable && React__default["default"].createElement(antdMobileIcons.CloseOutline, {
16219
- className: `${classPrefix$u}-close-icon`,
16005
+ }, props.extra, props.closeable && React__default["default"].createElement("div", {
16006
+ className: `${classPrefix$u}-close`,
16220
16007
  onClick: () => {
16221
16008
  var _a;
16222
16009
  setVisible(false);
16223
16010
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
16224
16011
  }
16225
- }))));
16012
+ }, React__default["default"].createElement(antdMobileIcons.CloseOutline, {
16013
+ className: `${classPrefix$u}-close-icon`
16014
+ })))));
16226
16015
  });
16227
16016
  var numberKeyboard = /* @__PURE__ */ (() => ".adm-number-keyboard-main {\n display: flex;\n flex-wrap: wrap;\n flex: 1;\n}\n.adm-number-keyboard-main.confirmed-style .sign-key {\n background-color: var(--adm-color-white);\n}\n.adm-number-keyboard-popup.adm-popup {\n width: 100%;\n -webkit-user-select: none;\n user-select: none;\n z-index: 1050;\n}\n.adm-number-keyboard-popup.adm-popup .adm-popup-body {\n background-color: var(--adm-color-box);\n}\n.adm-number-keyboard-wrapper {\n display: flex;\n}\n.adm-number-keyboard-header {\n height: 34px;\n line-height: 34px;\n border-top: solid 1px var(--adm-color-border);\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 12px;\n color: var(--adm-color-weak);\n background-color: var(--adm-color-background);\n}\n.adm-number-keyboard-header-close-button {\n padding: 0 12px;\n font-size: 16px;\n}\n.adm-number-keyboard-header.with-title {\n justify-content: space-between;\n}\n.adm-number-keyboard-header.with-title .adm-number-keyboard-header-close-button {\n padding-right: 0;\n}\n.adm-number-keyboard-footer {\n background: var(--adm-color-white);\n}\n.adm-number-keyboard-title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.adm-number-keyboard-confirm {\n width: 25%;\n}\n.adm-number-keyboard-key {\n flex: 1 33.33%;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 48px;\n font-size: 22px;\n box-sizing: border-box;\n border: solid 1px var(--adm-color-border);\n border-bottom: none;\n border-left: none;\n}\n.adm-number-keyboard-key:nth-child(3n),\n.adm-number-keyboard-key:last-child {\n border-right: none;\n}\n.adm-number-keyboard-key::before {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n background-color: #000;\n border: inherit;\n border-color: #000;\n border-radius: inherit;\n transform: translate(-50%, -50%);\n opacity: 0;\n content: ' ';\n box-sizing: content-box;\n}\n.adm-number-keyboard-key.mid-key {\n flex-basis: 66.67%;\n}\n.adm-number-keyboard-key.sign-key:active::before {\n opacity: 0.1;\n}\n.adm-number-keyboard-key.extra-key {\n border-left: solid 1px var(--adm-color-border);\n border-right: none;\n}\n.adm-number-keyboard-key.extra-key,\n.adm-number-keyboard-key.number-key {\n background-color: var(--adm-color-background);\n}\n.adm-number-keyboard-key.extra-key:active::before,\n.adm-number-keyboard-key.number-key:active::before {\n opacity: 0.1;\n}\n.adm-number-keyboard-key.ok-key {\n background-color: var(--adm-color-primary);\n color: var(--adm-color-white);\n height: 144px;\n font-size: 16px;\n border: none;\n}\n.adm-number-keyboard-bs-key {\n height: 20px;\n}\n")();
16228
16017
  function shuffle(array) {
@@ -16891,11 +16680,16 @@ const Rate = (p2) => {
16891
16680
  } else {
16892
16681
  setValue(v2);
16893
16682
  }
16894
- }
16683
+ },
16684
+ role: "radio",
16685
+ "aria-checked": value >= v2,
16686
+ "aria-label": "" + v2
16895
16687
  }, props.character);
16896
16688
  }
16897
16689
  return withNativeProps(props, React__default["default"].createElement("div", {
16898
- className: classPrefix$m
16690
+ className: classPrefix$m,
16691
+ role: "radiogroup",
16692
+ "aria-readonly": props.readOnly
16899
16693
  }, starList.map((_, i) => React__default["default"].createElement("div", {
16900
16694
  key: i,
16901
16695
  className: classNames__default["default"](`${classPrefix$m}-box`)
@@ -18217,14 +18011,22 @@ const Switch = (p2) => {
18217
18011
  setChanging(true);
18218
18012
  try {
18219
18013
  yield props.beforeChange(nextChecked);
18220
- setChecked(nextChecked);
18221
18014
  setChanging(false);
18222
18015
  } catch (e2) {
18223
18016
  setChanging(false);
18224
18017
  throw e2;
18225
18018
  }
18226
- } else {
18227
- setChecked(nextChecked);
18019
+ }
18020
+ const result2 = setChecked(nextChecked);
18021
+ if (isPromise(result2)) {
18022
+ setChanging(true);
18023
+ try {
18024
+ yield result2;
18025
+ setChanging(false);
18026
+ } catch (e2) {
18027
+ setChanging(false);
18028
+ throw e2;
18029
+ }
18228
18030
  }
18229
18031
  });
18230
18032
  }