@amazon-devices/lottie-react-native 2.0.9000000000 → 2.0.9000000001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SystemBundles/{0f9a823a0428769691985a052cfca6c63d74d3743f6ae4264266f0c4e2f9c458.bundle → 8f72a938b1af8d0daaf5f64d4c18782d15ce410669c9c51e343c75934a54f327.bundle} +648 -1327
- package/SystemBundles/{0f9a823a0428769691985a052cfca6c63d74d3743f6ae4264266f0c4e2f9c458.map → 8f72a938b1af8d0daaf5f64d4c18782d15ce410669c9c51e343c75934a54f327.map} +128 -409
- package/SystemModules/amzn__lottie-react-native-2.private.modules.txt +29 -36
- package/kepler-compatibility.json +3 -2
- package/lib/commonjs/LottieView.js +3 -3
- package/lib/commonjs/LottieView.js.map +1 -1
- package/lib/commonjs/LottieView.types.js.map +1 -1
- package/lib/commonjs/specs/LottieAnimationViewNativeComponent.js +1 -1
- package/lib/commonjs/specs/LottieAnimationViewNativeComponent.js.map +1 -1
- package/lib/module/LottieView.js +3 -3
- package/lib/module/LottieView.js.map +1 -1
- package/lib/module/LottieView.types.js.map +1 -1
- package/lib/module/specs/LottieAnimationViewNativeComponent.js +1 -1
- package/lib/module/specs/LottieAnimationViewNativeComponent.js.map +1 -1
- package/package.json +1 -1
- package/react-native.config.js +3 -1
- package/src/LottieView.tsx +3 -3
- package/src/LottieView.types.ts +1 -1
- package/src/specs/LottieAnimationViewNativeComponent.ts +2 -2
|
@@ -1,640 +1,27 @@
|
|
|
1
1
|
var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||"production";
|
|
2
2
|
(function (global) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* This pipes all of our console logging functions to native logging so that
|
|
21
|
-
* JavaScript errors in required modules show up in Xcode via NSLog.
|
|
22
|
-
*/
|
|
23
|
-
var inspect = function () {
|
|
24
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
25
|
-
//
|
|
26
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
27
|
-
// copy of this software and associated documentation files (the
|
|
28
|
-
// "Software"), to deal in the Software without restriction, including
|
|
29
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
30
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
31
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
32
|
-
// following conditions:
|
|
33
|
-
//
|
|
34
|
-
// The above copyright notice and this permission notice shall be included
|
|
35
|
-
// in all copies or substantial portions of the Software.
|
|
36
|
-
//
|
|
37
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
38
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
39
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
40
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
41
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
42
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
43
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
44
|
-
//
|
|
45
|
-
// https://github.com/joyent/node/blob/master/lib/util.js
|
|
46
|
-
|
|
47
|
-
function inspect(obj, opts) {
|
|
48
|
-
var ctx = {
|
|
49
|
-
seen: [],
|
|
50
|
-
formatValueCalls: 0,
|
|
51
|
-
stylize: stylizeNoColor
|
|
52
|
-
};
|
|
53
|
-
return formatValue(ctx, obj, opts.depth);
|
|
54
|
-
}
|
|
55
|
-
function stylizeNoColor(str, styleType) {
|
|
56
|
-
return str;
|
|
57
|
-
}
|
|
58
|
-
function arrayToHash(array) {
|
|
59
|
-
var hash = {};
|
|
60
|
-
array.forEach(function (val, idx) {
|
|
61
|
-
hash[val] = true;
|
|
62
|
-
});
|
|
63
|
-
return hash;
|
|
64
|
-
}
|
|
65
|
-
function formatValue(ctx, value, recurseTimes) {
|
|
66
|
-
ctx.formatValueCalls++;
|
|
67
|
-
if (ctx.formatValueCalls > 200) {
|
|
68
|
-
return `[TOO BIG formatValueCalls ${ctx.formatValueCalls} exceeded limit of 200]`;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Primitive types cannot have properties
|
|
72
|
-
var primitive = formatPrimitive(ctx, value);
|
|
73
|
-
if (primitive) {
|
|
74
|
-
return primitive;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// Look up the keys of the object.
|
|
78
|
-
var keys = Object.keys(value);
|
|
79
|
-
var visibleKeys = arrayToHash(keys);
|
|
80
|
-
|
|
81
|
-
// IE doesn't make error fields non-enumerable
|
|
82
|
-
// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
|
|
83
|
-
if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
|
|
84
|
-
return formatError(value);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Some type of object without properties can be shortcutted.
|
|
88
|
-
if (keys.length === 0) {
|
|
89
|
-
if (isFunction(value)) {
|
|
90
|
-
var name = value.name ? ': ' + value.name : '';
|
|
91
|
-
return ctx.stylize('[Function' + name + ']', 'special');
|
|
92
|
-
}
|
|
93
|
-
if (isRegExp(value)) {
|
|
94
|
-
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
95
|
-
}
|
|
96
|
-
if (isDate(value)) {
|
|
97
|
-
return ctx.stylize(Date.prototype.toString.call(value), 'date');
|
|
98
|
-
}
|
|
99
|
-
if (isError(value)) {
|
|
100
|
-
return formatError(value);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
var base = '',
|
|
104
|
-
array = false,
|
|
105
|
-
braces = ['{', '}'];
|
|
106
|
-
|
|
107
|
-
// Make Array say that they are Array
|
|
108
|
-
if (isArray(value)) {
|
|
109
|
-
array = true;
|
|
110
|
-
braces = ['[', ']'];
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Make functions say that they are functions
|
|
114
|
-
if (isFunction(value)) {
|
|
115
|
-
var n = value.name ? ': ' + value.name : '';
|
|
116
|
-
base = ' [Function' + n + ']';
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// Make RegExps say that they are RegExps
|
|
120
|
-
if (isRegExp(value)) {
|
|
121
|
-
base = ' ' + RegExp.prototype.toString.call(value);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// Make dates with properties first say the date
|
|
125
|
-
if (isDate(value)) {
|
|
126
|
-
base = ' ' + Date.prototype.toUTCString.call(value);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// Make error with message first say the error
|
|
130
|
-
if (isError(value)) {
|
|
131
|
-
base = ' ' + formatError(value);
|
|
132
|
-
}
|
|
133
|
-
if (keys.length === 0 && (!array || value.length == 0)) {
|
|
134
|
-
return braces[0] + base + braces[1];
|
|
135
|
-
}
|
|
136
|
-
if (recurseTimes < 0) {
|
|
137
|
-
if (isRegExp(value)) {
|
|
138
|
-
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
139
|
-
} else {
|
|
140
|
-
return ctx.stylize('[Object]', 'special');
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
ctx.seen.push(value);
|
|
144
|
-
var output;
|
|
145
|
-
if (array) {
|
|
146
|
-
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
|
147
|
-
} else {
|
|
148
|
-
output = keys.map(function (key) {
|
|
149
|
-
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
ctx.seen.pop();
|
|
153
|
-
return reduceToSingleString(output, base, braces);
|
|
154
|
-
}
|
|
155
|
-
function formatPrimitive(ctx, value) {
|
|
156
|
-
if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');
|
|
157
|
-
if (isString(value)) {
|
|
158
|
-
var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
159
|
-
return ctx.stylize(simple, 'string');
|
|
160
|
-
}
|
|
161
|
-
if (isNumber(value)) return ctx.stylize('' + value, 'number');
|
|
162
|
-
if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');
|
|
163
|
-
// For some reason typeof null is "object", so special case here.
|
|
164
|
-
if (isNull(value)) return ctx.stylize('null', 'null');
|
|
165
|
-
}
|
|
166
|
-
function formatError(value) {
|
|
167
|
-
return '[' + Error.prototype.toString.call(value) + ']';
|
|
168
|
-
}
|
|
169
|
-
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
|
170
|
-
var output = [];
|
|
171
|
-
for (var i = 0, l = value.length; i < l; ++i) {
|
|
172
|
-
if (hasOwnProperty(value, String(i))) {
|
|
173
|
-
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));
|
|
174
|
-
} else {
|
|
175
|
-
output.push('');
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
keys.forEach(function (key) {
|
|
179
|
-
if (!key.match(/^\d+$/)) {
|
|
180
|
-
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
return output;
|
|
184
|
-
}
|
|
185
|
-
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
186
|
-
var name, str, desc;
|
|
187
|
-
desc = Object.getOwnPropertyDescriptor(value, key) || {
|
|
188
|
-
value: value[key]
|
|
189
|
-
};
|
|
190
|
-
if (desc.get) {
|
|
191
|
-
if (desc.set) {
|
|
192
|
-
str = ctx.stylize('[Getter/Setter]', 'special');
|
|
193
|
-
} else {
|
|
194
|
-
str = ctx.stylize('[Getter]', 'special');
|
|
195
|
-
}
|
|
196
|
-
} else {
|
|
197
|
-
if (desc.set) {
|
|
198
|
-
str = ctx.stylize('[Setter]', 'special');
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
if (!hasOwnProperty(visibleKeys, key)) {
|
|
202
|
-
name = '[' + key + ']';
|
|
203
|
-
}
|
|
204
|
-
if (!str) {
|
|
205
|
-
if (ctx.seen.indexOf(desc.value) < 0) {
|
|
206
|
-
if (isNull(recurseTimes)) {
|
|
207
|
-
str = formatValue(ctx, desc.value, null);
|
|
208
|
-
} else {
|
|
209
|
-
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
|
210
|
-
}
|
|
211
|
-
if (str.indexOf('\n') > -1) {
|
|
212
|
-
if (array) {
|
|
213
|
-
str = str.split('\n').map(function (line) {
|
|
214
|
-
return ' ' + line;
|
|
215
|
-
}).join('\n').slice(2);
|
|
216
|
-
} else {
|
|
217
|
-
str = '\n' + str.split('\n').map(function (line) {
|
|
218
|
-
return ' ' + line;
|
|
219
|
-
}).join('\n');
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
} else {
|
|
223
|
-
str = ctx.stylize('[Circular]', 'special');
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
if (isUndefined(name)) {
|
|
227
|
-
if (array && key.match(/^\d+$/)) {
|
|
228
|
-
return str;
|
|
229
|
-
}
|
|
230
|
-
name = JSON.stringify('' + key);
|
|
231
|
-
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
232
|
-
name = name.slice(1, name.length - 1);
|
|
233
|
-
name = ctx.stylize(name, 'name');
|
|
234
|
-
} else {
|
|
235
|
-
name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
|
|
236
|
-
name = ctx.stylize(name, 'string');
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
return name + ': ' + str;
|
|
240
|
-
}
|
|
241
|
-
function reduceToSingleString(output, base, braces) {
|
|
242
|
-
var numLinesEst = 0;
|
|
243
|
-
var length = output.reduce(function (prev, cur) {
|
|
244
|
-
numLinesEst++;
|
|
245
|
-
if (cur.indexOf('\n') >= 0) numLinesEst++;
|
|
246
|
-
return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
|
|
247
|
-
}, 0);
|
|
248
|
-
if (length > 60) {
|
|
249
|
-
return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1];
|
|
250
|
-
}
|
|
251
|
-
return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// NOTE: These type checking functions intentionally don't use `instanceof`
|
|
255
|
-
// because it is fragile and can be easily faked with `Object.create()`.
|
|
256
|
-
function isArray(ar) {
|
|
257
|
-
return Array.isArray(ar);
|
|
258
|
-
}
|
|
259
|
-
function isBoolean(arg) {
|
|
260
|
-
return typeof arg === 'boolean';
|
|
261
|
-
}
|
|
262
|
-
function isNull(arg) {
|
|
263
|
-
return arg === null;
|
|
264
|
-
}
|
|
265
|
-
function isNumber(arg) {
|
|
266
|
-
return typeof arg === 'number';
|
|
267
|
-
}
|
|
268
|
-
function isString(arg) {
|
|
269
|
-
return typeof arg === 'string';
|
|
270
|
-
}
|
|
271
|
-
function isUndefined(arg) {
|
|
272
|
-
return arg === undefined;
|
|
273
|
-
}
|
|
274
|
-
function isRegExp(re) {
|
|
275
|
-
return isObject(re) && objectToString(re) === '[object RegExp]';
|
|
276
|
-
}
|
|
277
|
-
function isObject(arg) {
|
|
278
|
-
return typeof arg === 'object' && arg !== null;
|
|
279
|
-
}
|
|
280
|
-
function isDate(d) {
|
|
281
|
-
return isObject(d) && objectToString(d) === '[object Date]';
|
|
282
|
-
}
|
|
283
|
-
function isError(e) {
|
|
284
|
-
return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);
|
|
285
|
-
}
|
|
286
|
-
function isFunction(arg) {
|
|
287
|
-
return typeof arg === 'function';
|
|
288
|
-
}
|
|
289
|
-
function objectToString(o) {
|
|
290
|
-
return Object.prototype.toString.call(o);
|
|
291
|
-
}
|
|
292
|
-
function hasOwnProperty(obj, prop) {
|
|
293
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
294
|
-
}
|
|
295
|
-
return inspect;
|
|
296
|
-
}();
|
|
297
|
-
var INDEX_COLUMN_NAME = '(index)';
|
|
298
|
-
var LOG_LEVELS = {
|
|
299
|
-
trace: 0,
|
|
300
|
-
info: 1,
|
|
301
|
-
warn: 2,
|
|
302
|
-
error: 3
|
|
303
|
-
};
|
|
304
|
-
function getNativeLogFunction(level) {
|
|
305
|
-
return function () {
|
|
306
|
-
var str;
|
|
307
|
-
if (arguments.length === 1 && typeof arguments[0] === 'string') {
|
|
308
|
-
str = arguments[0];
|
|
309
|
-
} else {
|
|
310
|
-
str = Array.prototype.map.call(arguments, function (arg) {
|
|
311
|
-
return inspect(arg, {
|
|
312
|
-
depth: 10
|
|
313
|
-
});
|
|
314
|
-
}).join(', ');
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// TRICKY
|
|
318
|
-
// If more than one argument is provided, the code above collapses them all
|
|
319
|
-
// into a single formatted string. This transform wraps string arguments in
|
|
320
|
-
// single quotes (e.g. "foo" -> "'foo'") which then breaks the "Warning:"
|
|
321
|
-
// check below. So it's important that we look at the first argument, rather
|
|
322
|
-
// than the formatted argument string.
|
|
323
|
-
var firstArg = arguments[0];
|
|
324
|
-
var logLevel = level;
|
|
325
|
-
if (typeof firstArg === 'string' && firstArg.slice(0, 9) === 'Warning: ' && logLevel >= LOG_LEVELS.error) {
|
|
326
|
-
// React warnings use console.error so that a stack trace is shown,
|
|
327
|
-
// but we don't (currently) want these to show a redbox
|
|
328
|
-
// (Note: Logic duplicated in ExceptionsManager.js.)
|
|
329
|
-
logLevel = LOG_LEVELS.warn;
|
|
330
|
-
}
|
|
331
|
-
if (groupStack.length) {
|
|
332
|
-
str = groupFormat('', str);
|
|
333
|
-
}
|
|
334
|
-
global.nativeLoggingHook(str, logLevel);
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
function repeat(element, n) {
|
|
338
|
-
return Array.apply(null, Array(n)).map(function () {
|
|
339
|
-
return element;
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
function formatCellValue(cell, key) {
|
|
343
|
-
if (key === INDEX_COLUMN_NAME) {
|
|
344
|
-
return cell[key];
|
|
345
|
-
}
|
|
346
|
-
if (cell.hasOwnProperty(key)) {
|
|
347
|
-
var cellValue = cell[key];
|
|
348
|
-
switch (typeof cellValue) {
|
|
349
|
-
case 'function':
|
|
350
|
-
return 'ƒ';
|
|
351
|
-
case 'string':
|
|
352
|
-
return "'" + cellValue + "'";
|
|
353
|
-
case 'object':
|
|
354
|
-
return cellValue == null ? 'null' : '{…}';
|
|
355
|
-
}
|
|
356
|
-
return String(cellValue);
|
|
357
|
-
}
|
|
358
|
-
return '';
|
|
359
|
-
}
|
|
360
|
-
function consoleTablePolyfill(data, columns) {
|
|
361
|
-
var rows;
|
|
362
|
-
|
|
363
|
-
// convert object -> array
|
|
364
|
-
if (Array.isArray(data)) {
|
|
365
|
-
rows = data.map(function (row, index) {
|
|
366
|
-
var processedRow = {};
|
|
367
|
-
processedRow[INDEX_COLUMN_NAME] = String(index);
|
|
368
|
-
Object.assign(processedRow, row);
|
|
369
|
-
return processedRow;
|
|
370
|
-
});
|
|
371
|
-
} else {
|
|
372
|
-
rows = [];
|
|
373
|
-
for (var key in data) {
|
|
374
|
-
if (data.hasOwnProperty(key)) {
|
|
375
|
-
var processedRow = {};
|
|
376
|
-
processedRow[INDEX_COLUMN_NAME] = key;
|
|
377
|
-
Object.assign(processedRow, data[key]);
|
|
378
|
-
rows.push(processedRow);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
if (rows.length === 0) {
|
|
383
|
-
global.nativeLoggingHook('', LOG_LEVELS.info);
|
|
384
|
-
return;
|
|
385
|
-
}
|
|
386
|
-
if (Array.isArray(columns)) {
|
|
387
|
-
columns = [INDEX_COLUMN_NAME].concat(columns);
|
|
388
|
-
} else {
|
|
389
|
-
columns = Array.from(rows.reduce(function (columnSet, row) {
|
|
390
|
-
Object.keys(row).forEach(function (key) {
|
|
391
|
-
return columnSet.add(key);
|
|
392
|
-
});
|
|
393
|
-
return columnSet;
|
|
394
|
-
}, new Set()));
|
|
395
|
-
}
|
|
396
|
-
var stringRows = [];
|
|
397
|
-
var columnWidths = [];
|
|
398
|
-
|
|
399
|
-
// Convert each cell to a string. Also
|
|
400
|
-
// figure out max cell width for each column
|
|
401
|
-
columns.forEach(function (k, i) {
|
|
402
|
-
columnWidths[i] = k.length;
|
|
403
|
-
for (var j = 0; j < rows.length; j++) {
|
|
404
|
-
var cellStr = formatCellValue(rows[j], k);
|
|
405
|
-
stringRows[j] = stringRows[j] || [];
|
|
406
|
-
stringRows[j][i] = cellStr;
|
|
407
|
-
columnWidths[i] = Math.max(columnWidths[i], cellStr.length);
|
|
408
|
-
}
|
|
409
|
-
});
|
|
410
|
-
|
|
411
|
-
// Join all elements in the row into a single string with | separators
|
|
412
|
-
// (appends extra spaces to each cell to make separators | aligned)
|
|
413
|
-
function joinRow(row, space) {
|
|
414
|
-
var cells = row.map(function (cell, i) {
|
|
415
|
-
var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');
|
|
416
|
-
return cell + extraSpaces;
|
|
417
|
-
});
|
|
418
|
-
space = space || ' ';
|
|
419
|
-
return '| ' + cells.join(space + '|' + space) + ' |';
|
|
420
|
-
}
|
|
421
|
-
var separators = columnWidths.map(function (columnWidth) {
|
|
422
|
-
return repeat('-', columnWidth).join('');
|
|
423
|
-
});
|
|
424
|
-
var separatorRow = joinRow(separators);
|
|
425
|
-
var header = joinRow(columns);
|
|
426
|
-
var table = [header, separatorRow];
|
|
427
|
-
for (var i = 0; i < rows.length; i++) {
|
|
428
|
-
table.push(joinRow(stringRows[i]));
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
// Notice extra empty line at the beginning.
|
|
432
|
-
// Native logging hook adds "RCTLog >" at the front of every
|
|
433
|
-
// logged string, which would shift the header and screw up
|
|
434
|
-
// the table
|
|
435
|
-
global.nativeLoggingHook('\n' + table.join('\n'), LOG_LEVELS.info);
|
|
436
|
-
}
|
|
437
|
-
var GROUP_PAD = "\u2502"; // Box light vertical
|
|
438
|
-
var GROUP_OPEN = "\u2510"; // Box light down+left
|
|
439
|
-
var GROUP_CLOSE = "\u2518"; // Box light up+left
|
|
440
|
-
|
|
441
|
-
var groupStack = [];
|
|
442
|
-
function groupFormat(prefix, msg) {
|
|
443
|
-
// Insert group formatting before the console message
|
|
444
|
-
return groupStack.join('') + prefix + ' ' + (msg || '');
|
|
445
|
-
}
|
|
446
|
-
function consoleGroupPolyfill(label) {
|
|
447
|
-
global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);
|
|
448
|
-
groupStack.push(GROUP_PAD);
|
|
449
|
-
}
|
|
450
|
-
function consoleGroupCollapsedPolyfill(label) {
|
|
451
|
-
global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);
|
|
452
|
-
groupStack.push(GROUP_PAD);
|
|
453
|
-
}
|
|
454
|
-
function consoleGroupEndPolyfill() {
|
|
455
|
-
groupStack.pop();
|
|
456
|
-
global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);
|
|
457
|
-
}
|
|
458
|
-
function consoleAssertPolyfill(expression, label) {
|
|
459
|
-
if (!expression) {
|
|
460
|
-
global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
function stub() {}
|
|
464
|
-
if (global.nativeLoggingHook) {
|
|
465
|
-
var originalConsole = global.console;
|
|
466
|
-
// Preserve the original `console` as `originalConsole`
|
|
467
|
-
|
|
468
|
-
global.console = Object.assign({
|
|
469
|
-
time: stub,
|
|
470
|
-
timeEnd: stub,
|
|
471
|
-
timeStamp: stub,
|
|
472
|
-
count: stub,
|
|
473
|
-
countReset: stub
|
|
474
|
-
}, originalConsole != null ? originalConsole : {}, {
|
|
475
|
-
error: getNativeLogFunction(LOG_LEVELS.error),
|
|
476
|
-
info: getNativeLogFunction(LOG_LEVELS.info),
|
|
477
|
-
log: getNativeLogFunction(LOG_LEVELS.info),
|
|
478
|
-
warn: getNativeLogFunction(LOG_LEVELS.warn),
|
|
479
|
-
trace: getNativeLogFunction(LOG_LEVELS.trace),
|
|
480
|
-
debug: getNativeLogFunction(LOG_LEVELS.trace),
|
|
481
|
-
table: consoleTablePolyfill,
|
|
482
|
-
group: consoleGroupPolyfill,
|
|
483
|
-
groupEnd: consoleGroupEndPolyfill,
|
|
484
|
-
groupCollapsed: consoleGroupCollapsedPolyfill,
|
|
485
|
-
assert: consoleAssertPolyfill
|
|
486
|
-
});
|
|
487
|
-
|
|
488
|
-
// TODO(T206796580): This was copy-pasted from ExceptionsManager.js
|
|
489
|
-
// Delete the copy there after the c++ pipeline is rolled out everywhere.
|
|
490
|
-
if (global.RN$useAlwaysAvailableJSErrorHandling === true) {
|
|
491
|
-
var stringifySafe = function stringifySafe(arg) {
|
|
492
|
-
return inspect(arg, {
|
|
493
|
-
depth: 10
|
|
494
|
-
}).replace(/\n\s*/g, ' ');
|
|
495
|
-
};
|
|
496
|
-
var originalConsoleError = console.error;
|
|
497
|
-
console.reportErrorsAsExceptions = true;
|
|
498
|
-
console.error = function () {
|
|
499
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
500
|
-
args[_key] = arguments[_key];
|
|
501
|
-
}
|
|
502
|
-
originalConsoleError.apply(this, args);
|
|
503
|
-
if (!console.reportErrorsAsExceptions) {
|
|
504
|
-
return;
|
|
505
|
-
}
|
|
506
|
-
if (global.RN$inExceptionHandler != null && global.RN$inExceptionHandler()) {
|
|
507
|
-
return;
|
|
508
|
-
}
|
|
509
|
-
var error;
|
|
510
|
-
var firstArg = args[0];
|
|
511
|
-
if (firstArg != null && firstArg.stack) {
|
|
512
|
-
// RN$handleException will console.error this with high enough fidelity.
|
|
513
|
-
error = firstArg;
|
|
514
|
-
} else {
|
|
515
|
-
if (typeof firstArg === 'string' && firstArg.startsWith('Warning: ')) {
|
|
516
|
-
// React warnings use console.error so that a stack trace is shown, but
|
|
517
|
-
// we don't (currently) want these to show a redbox
|
|
518
|
-
return;
|
|
519
|
-
}
|
|
520
|
-
var message = args.map(function (arg) {
|
|
521
|
-
return typeof arg === 'string' ? arg : stringifySafe(arg);
|
|
522
|
-
}).join(' ');
|
|
523
|
-
error = new Error(message);
|
|
524
|
-
error.name = 'console.error';
|
|
525
|
-
}
|
|
526
|
-
var isFatal = false;
|
|
527
|
-
var reportToConsole = false;
|
|
528
|
-
global.RN$handleException(error, isFatal, reportToConsole);
|
|
529
|
-
};
|
|
530
|
-
}
|
|
531
|
-
Object.defineProperty(console, '_isPolyfilled', {
|
|
532
|
-
value: true,
|
|
533
|
-
enumerable: false
|
|
534
|
-
});
|
|
535
|
-
|
|
536
|
-
// If available, also call the original `console` method since that is
|
|
537
|
-
// sometimes useful. Ex: on OS X, this will let you see rich output in
|
|
538
|
-
// the Safari Web Inspector console.
|
|
539
|
-
} else if (!global.console) {
|
|
540
|
-
var log = global.print || stub;
|
|
541
|
-
global.console = {
|
|
542
|
-
debug: log,
|
|
543
|
-
error: log,
|
|
544
|
-
info: log,
|
|
545
|
-
log: log,
|
|
546
|
-
trace: log,
|
|
547
|
-
warn: log,
|
|
548
|
-
assert: function assert(expression, label) {
|
|
549
|
-
if (!expression) {
|
|
550
|
-
log('Assertion failed: ' + label);
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
clear: stub,
|
|
554
|
-
count: stub,
|
|
555
|
-
countReset: stub,
|
|
556
|
-
dir: stub,
|
|
557
|
-
dirxml: stub,
|
|
558
|
-
group: stub,
|
|
559
|
-
groupCollapsed: stub,
|
|
560
|
-
groupEnd: stub,
|
|
561
|
-
profile: stub,
|
|
562
|
-
profileEnd: stub,
|
|
563
|
-
table: stub,
|
|
564
|
-
time: stub,
|
|
565
|
-
timeEnd: stub,
|
|
566
|
-
timeStamp: stub
|
|
567
|
-
};
|
|
568
|
-
Object.defineProperty(console, '_isPolyfilled', {
|
|
569
|
-
value: true,
|
|
570
|
-
enumerable: false
|
|
571
|
-
});
|
|
572
|
-
}
|
|
573
|
-
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
574
|
-
(function (global) {
|
|
575
|
-
var _inGuard = 0;
|
|
576
|
-
var _globalHandler = global.RN$useAlwaysAvailableJSErrorHandling === true ? global.RN$handleException : function (e, isFatal) {
|
|
577
|
-
throw e;
|
|
578
|
-
};
|
|
579
|
-
var ErrorUtils = {
|
|
580
|
-
setGlobalHandler: function setGlobalHandler(fun) {
|
|
581
|
-
_globalHandler = fun;
|
|
582
|
-
},
|
|
583
|
-
getGlobalHandler: function getGlobalHandler() {
|
|
584
|
-
return _globalHandler;
|
|
585
|
-
},
|
|
586
|
-
reportError: function reportError(error) {
|
|
587
|
-
_globalHandler && _globalHandler(error, false);
|
|
588
|
-
},
|
|
589
|
-
reportFatalError: function reportFatalError(error) {
|
|
590
|
-
_globalHandler && _globalHandler(error, true);
|
|
591
|
-
},
|
|
592
|
-
applyWithGuard: function applyWithGuard(fun, context, args, unused_onError, unused_name) {
|
|
593
|
-
try {
|
|
594
|
-
_inGuard++;
|
|
595
|
-
return fun.apply(context, args);
|
|
596
|
-
} catch (e) {
|
|
597
|
-
ErrorUtils.reportError(e);
|
|
598
|
-
} finally {
|
|
599
|
-
_inGuard--;
|
|
600
|
-
}
|
|
601
|
-
return null;
|
|
602
|
-
},
|
|
603
|
-
applyWithGuardIfNeeded: function applyWithGuardIfNeeded(fun, context, args) {
|
|
604
|
-
if (ErrorUtils.inGuard()) {
|
|
605
|
-
return fun.apply(context, args);
|
|
606
|
-
} else {
|
|
607
|
-
ErrorUtils.applyWithGuard(fun, context, args);
|
|
608
|
-
}
|
|
609
|
-
return null;
|
|
610
|
-
},
|
|
611
|
-
inGuard: function inGuard() {
|
|
612
|
-
return !!_inGuard;
|
|
613
|
-
},
|
|
614
|
-
guard: function guard(fun, name, context) {
|
|
615
|
-
var _ref;
|
|
616
|
-
if (typeof fun !== 'function') {
|
|
617
|
-
console.warn('A function must be passed to ErrorUtils.guard, got ', fun);
|
|
618
|
-
return null;
|
|
619
|
-
}
|
|
620
|
-
var guardName = (_ref = name != null ? name : fun.name) != null ? _ref : '<generated guard>';
|
|
621
|
-
function guarded() {
|
|
622
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
623
|
-
args[_key] = arguments[_key];
|
|
624
|
-
}
|
|
625
|
-
return ErrorUtils.applyWithGuard(fun, context != null ? context : this, args, null, guardName);
|
|
626
|
-
}
|
|
627
|
-
return guarded;
|
|
628
|
-
}
|
|
629
|
-
};
|
|
630
|
-
global.ErrorUtils = ErrorUtils;
|
|
3
|
+
global._majorVersionToNoVersionIdMap["ceea208f6a8446e06c66"] = "ddd0467d3b5eee0350d2";
|
|
4
|
+
global._majorVersionToNoVersionIdMap["807579f3d54647a8dea9"] = "4cd184685e26aa4331c6";
|
|
5
|
+
global._majorVersionToNoVersionIdMap["083725a142f7385d4b7f"] = "e36532385c5619d96941";
|
|
6
|
+
global._majorVersionToNoVersionIdMap["5ef9ca6fab6ecb248c29"] = "7e93292179f77b76f011";
|
|
7
|
+
global._majorVersionToNoVersionIdMap["111c4abba135854cb047"] = "59008939638aeb6debaa";
|
|
8
|
+
global._majorVersionToNoVersionIdMap["ba078774c948795ab18d"] = "5f625fb266a55509f474";
|
|
9
|
+
global._majorVersionToNoVersionIdMap["cdb5955deb854f94bf5f"] = "8196cfe58960a6d72cd0";
|
|
10
|
+
global._majorVersionToNoVersionIdMap["0f174f5666f1f445955c"] = "840f78d1973a5a2f075f";
|
|
11
|
+
global._majorVersionToNoVersionIdMap["88a5bc5265d21ae1c180"] = "d914e2a42320775d476d";
|
|
12
|
+
global._majorVersionToNoVersionIdMap["f04f9fcb55b80b1ab9da"] = "805f55d6a3fe4b62a421";
|
|
13
|
+
global._majorVersionToNoVersionIdMap["a142cc095c158160c29a"] = "8a2fc65d1b34c8d500f0";
|
|
14
|
+
global._majorVersionToNoVersionIdMap["0de81493c38c4bab7674"] = "70328ddb88004bc452a2";
|
|
15
|
+
global._majorVersionToNoVersionIdMap["498b9e4796ab5dcb2286"] = "5201c078e06ccbb6b98c";
|
|
16
|
+
global._majorVersionToNoVersionIdMap["6cedb1eb47d4981c0a15"] = "99c9b9635ad6f640a3ab";
|
|
17
|
+
global._majorVersionToNoVersionIdMap["6c63b2c71102f268734d"] = "39b9eccbdb7da098b65a";
|
|
631
18
|
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
632
19
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
633
20
|
"use strict";
|
|
634
21
|
|
|
635
22
|
var _excluded = ["style", "source", "autoSize", "autoPlay", "duration", "textFiltersAndroid", "textFiltersIOS", "textFiltersKepler"];
|
|
636
23
|
function _callSuper(t, o, e) { return o = _$$_REQUIRE(_dependencyMap[0])(o), _$$_REQUIRE(_dependencyMap[1])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _$$_REQUIRE(_dependencyMap[0])(t).constructor) : o.apply(t, e)); }
|
|
637
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
24
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
638
25
|
Object.defineProperty(exports, "__esModule", {
|
|
639
26
|
value: true
|
|
640
27
|
});
|
|
@@ -646,7 +33,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
646
33
|
if ("function" != typeof WeakMap) return null;
|
|
647
34
|
var r = new WeakMap(),
|
|
648
35
|
t = new WeakMap();
|
|
649
|
-
return (_getRequireWildcardCache = function
|
|
36
|
+
return (_getRequireWildcardCache = function (e) {
|
|
650
37
|
return e ? t : r;
|
|
651
38
|
})(e);
|
|
652
39
|
}
|
|
@@ -741,39 +128,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
741
128
|
_$$_REQUIRE(_dependencyMap[5])(this, AnimatedLottieView);
|
|
742
129
|
_this = _callSuper(this, AnimatedLottieView, [props]);
|
|
743
130
|
_defineProperty(_this, "_lottieAnimationViewRef", undefined);
|
|
744
|
-
_defineProperty(_this, "onAnimationFinish",
|
|
131
|
+
_defineProperty(_this, "onAnimationFinish", evt => {
|
|
745
132
|
if (_this.props.onAnimationFinish) {
|
|
746
133
|
_this.props.onAnimationFinish(evt.nativeEvent.isCancelled);
|
|
747
134
|
}
|
|
748
135
|
});
|
|
749
136
|
// amznmod_react - onAnimationLoad callback
|
|
750
|
-
_defineProperty(_this, "onAnimationLoad",
|
|
137
|
+
_defineProperty(_this, "onAnimationLoad", () => {
|
|
751
138
|
if (_this.props.onAnimationLoad) {
|
|
752
139
|
_this.props.onAnimationLoad();
|
|
753
140
|
}
|
|
754
141
|
});
|
|
755
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
142
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
756
143
|
// amznmod_react - onAnimationLoad callback
|
|
757
|
-
_defineProperty(_this, "onAnimationJsonLoad",
|
|
758
|
-
console.warn("onAnimationJsonLoad will be deprecated in favor of onAnimationLoad
|
|
144
|
+
_defineProperty(_this, "onAnimationJsonLoad", () => {
|
|
145
|
+
console.warn("onAnimationJsonLoad will be deprecated in favor of onAnimationLoad. Migrate to use onAnimationLoad.");
|
|
759
146
|
if (_this.props.onAnimationJsonLoad) {
|
|
760
147
|
_this.props.onAnimationJsonLoad();
|
|
761
148
|
}
|
|
762
149
|
});
|
|
763
150
|
// amznmod_react - onAnimationPlay callback
|
|
764
|
-
_defineProperty(_this, "onAnimationPlay",
|
|
151
|
+
_defineProperty(_this, "onAnimationPlay", () => {
|
|
765
152
|
if (_this.props.onAnimationPlay) {
|
|
766
153
|
_this.props.onAnimationPlay();
|
|
767
154
|
}
|
|
768
155
|
});
|
|
769
156
|
// amznmod_react - onAnimationPause callback
|
|
770
|
-
_defineProperty(_this, "onAnimationPause",
|
|
157
|
+
_defineProperty(_this, "onAnimationPause", () => {
|
|
771
158
|
if (_this.props.onAnimationPause) {
|
|
772
159
|
_this.props.onAnimationPause();
|
|
773
160
|
}
|
|
774
161
|
});
|
|
775
162
|
// amznmod_react - onAnimationResume callback
|
|
776
|
-
_defineProperty(_this, "onAnimationResume",
|
|
163
|
+
_defineProperty(_this, "onAnimationResume", () => {
|
|
777
164
|
if (_this.props.onAnimationResume) {
|
|
778
165
|
_this.props.onAnimationResume();
|
|
779
166
|
}
|
|
@@ -861,11 +248,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
861
248
|
} : _reactNative.StyleSheet.absoluteFill;
|
|
862
249
|
}
|
|
863
250
|
var speed = duration && sourceJson && source.fr ? Math.round(source.op / source.fr * 1000 / duration) : this.props.speed;
|
|
864
|
-
var colorFilters = (_this$props$colorFilt = this.props.colorFilters) === null || _this$props$colorFilt === undefined ? undefined : _this$props$colorFilt.map(
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
});
|
|
251
|
+
var colorFilters = (_this$props$colorFilt = this.props.colorFilters) === null || _this$props$colorFilt === undefined ? undefined : _this$props$colorFilt.map(colorFilter => ({
|
|
252
|
+
...colorFilter,
|
|
253
|
+
color: (0, _reactNative.processColor)(colorFilter.color)
|
|
254
|
+
}));
|
|
869
255
|
// amznmod_react - Clip LottieView on ReactNative
|
|
870
256
|
var baseStyle = {
|
|
871
257
|
overflow: 'hidden'
|
|
@@ -903,7 +289,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
903
289
|
onAnimationPlay: this.onAnimationPlay,
|
|
904
290
|
onAnimationPause: this.onAnimationPause,
|
|
905
291
|
onAnimationResume: this.onAnimationResume
|
|
906
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
292
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
907
293
|
,
|
|
908
294
|
|
|
909
295
|
onAnimationJsonLoad: this.onAnimationJsonLoad
|
|
@@ -914,7 +300,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
914
300
|
}(_react.default.PureComponent);
|
|
915
301
|
exports.AnimatedLottieView = AnimatedLottieView;
|
|
916
302
|
_defineProperty(AnimatedLottieView, "defaultProps", defaultProps);
|
|
917
|
-
},"807579f3d54647a8dea9",["
|
|
303
|
+
},"807579f3d54647a8dea9",["9c829ff5032996ffdc8e","80a4a0ee188e065108c9","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","111c4abba135854cb047","2bfb5e99807ec81b822f","3ebfecb28bc5857801a2","cc42269051bc9ff17a63","54be67f13f7547a51521"]);
|
|
918
304
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
919
305
|
function _getPrototypeOf(t) {
|
|
920
306
|
return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
@@ -922,7 +308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
922
308
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
|
|
923
309
|
}
|
|
924
310
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
925
|
-
},"
|
|
311
|
+
},"9c829ff5032996ffdc8e",[]);
|
|
926
312
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
927
313
|
function _possibleConstructorReturn(t, e) {
|
|
928
314
|
if (e && ("object" == _$$_REQUIRE(_dependencyMap[0])["default"](e) || "function" == typeof e)) return e;
|
|
@@ -930,7 +316,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
930
316
|
return _$$_REQUIRE(_dependencyMap[1])(t);
|
|
931
317
|
}
|
|
932
318
|
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
933
|
-
},"
|
|
319
|
+
},"80a4a0ee188e065108c9",["7b6247ce00695d888c36","7a9699b26019ae7270f5"]);
|
|
934
320
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
935
321
|
function _typeof(o) {
|
|
936
322
|
"@babel/helpers - typeof";
|
|
@@ -942,14 +328,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
942
328
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
943
329
|
}
|
|
944
330
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
945
|
-
},"
|
|
331
|
+
},"7b6247ce00695d888c36",[]);
|
|
946
332
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
947
333
|
function _assertThisInitialized(e) {
|
|
948
334
|
if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
949
335
|
return e;
|
|
950
336
|
}
|
|
951
337
|
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
952
|
-
},"
|
|
338
|
+
},"7a9699b26019ae7270f5",[]);
|
|
953
339
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
954
340
|
function _interopRequireDefault(e) {
|
|
955
341
|
return e && e.__esModule ? e : {
|
|
@@ -957,55 +343,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
957
343
|
};
|
|
958
344
|
}
|
|
959
345
|
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
960
|
-
},"
|
|
961
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
962
|
-
function _toConsumableArray(r) {
|
|
963
|
-
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r) || _$$_REQUIRE(_dependencyMap[2])(r) || _$$_REQUIRE(_dependencyMap[3])();
|
|
964
|
-
}
|
|
965
|
-
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
966
|
-
},"838d7a057beeb5db50df",["a425fd4fe3cf47759e99","67d028b72bb61755baea","e7044bb724c5bd68e2cc","b4810fa44dd496b7d9f5"]);
|
|
967
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
968
|
-
function _arrayWithoutHoles(r) {
|
|
969
|
-
if (Array.isArray(r)) return _$$_REQUIRE(_dependencyMap[0])(r);
|
|
970
|
-
}
|
|
971
|
-
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
972
|
-
},"a425fd4fe3cf47759e99",["378be3062418cfac9327"]);
|
|
973
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
974
|
-
function _arrayLikeToArray(r, a) {
|
|
975
|
-
(null == a || a > r.length) && (a = r.length);
|
|
976
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
977
|
-
return n;
|
|
978
|
-
}
|
|
979
|
-
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
980
|
-
},"378be3062418cfac9327",[]);
|
|
981
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
982
|
-
function _iterableToArray(r) {
|
|
983
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
984
|
-
}
|
|
985
|
-
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
986
|
-
},"67d028b72bb61755baea",[]);
|
|
987
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
988
|
-
function _unsupportedIterableToArray(r, a) {
|
|
989
|
-
if (r) {
|
|
990
|
-
if ("string" == typeof r) return _$$_REQUIRE(_dependencyMap[0])(r, a);
|
|
991
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
992
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _$$_REQUIRE(_dependencyMap[0])(r, a) : undefined;
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
996
|
-
},"e7044bb724c5bd68e2cc",["378be3062418cfac9327"]);
|
|
997
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
998
|
-
function _nonIterableSpread() {
|
|
999
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1000
|
-
}
|
|
1001
|
-
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1002
|
-
},"b4810fa44dd496b7d9f5",[]);
|
|
346
|
+
},"d3b57c8ff490ba8c7c47",[]);
|
|
1003
347
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1004
348
|
function _classCallCheck(a, n) {
|
|
1005
349
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1006
350
|
}
|
|
1007
351
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1008
|
-
},"
|
|
352
|
+
},"2bfb5e99807ec81b822f",[]);
|
|
1009
353
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1010
354
|
function _defineProperties(e, r) {
|
|
1011
355
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -1019,14 +363,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1019
363
|
}), e;
|
|
1020
364
|
}
|
|
1021
365
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1022
|
-
},"
|
|
366
|
+
},"cc42269051bc9ff17a63",["7519d1b9ea0de500d604"]);
|
|
1023
367
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1024
368
|
function toPropertyKey(t) {
|
|
1025
369
|
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
1026
370
|
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
1027
371
|
}
|
|
1028
372
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1029
|
-
},"
|
|
373
|
+
},"7519d1b9ea0de500d604",["6c47e04d255cdfb1533c","7b6247ce00695d888c36"]);
|
|
1030
374
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1031
375
|
function toPrimitive(t, r) {
|
|
1032
376
|
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
@@ -1039,7 +383,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1039
383
|
return ("string" === r ? String : Number)(t);
|
|
1040
384
|
}
|
|
1041
385
|
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1042
|
-
},"
|
|
386
|
+
},"6c47e04d255cdfb1533c",["7b6247ce00695d888c36"]);
|
|
1043
387
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1044
388
|
/**
|
|
1045
389
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -1060,7 +404,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1060
404
|
* The invariant message will be stripped in production, but the invariant
|
|
1061
405
|
* will remain to ensure logic does not differ in production.
|
|
1062
406
|
*/
|
|
1063
|
-
var invariant = function
|
|
407
|
+
var invariant = function (condition, format, a, b, c, d, e, f) {
|
|
1064
408
|
if (!condition) {
|
|
1065
409
|
var error;
|
|
1066
410
|
if (format === undefined) {
|
|
@@ -1084,13 +428,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1084
428
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r, e) || _$$_REQUIRE(_dependencyMap[2])(r, e) || _$$_REQUIRE(_dependencyMap[3])();
|
|
1085
429
|
}
|
|
1086
430
|
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1087
|
-
},"
|
|
431
|
+
},"8972a767e9133b0e3a28",["ee99881fa9643e7bd96f","1847ec9d510321afd855","0c30490eff100ca51d7c","9ef80b625777ecb8d705"]);
|
|
1088
432
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1089
433
|
function _arrayWithHoles(r) {
|
|
1090
434
|
if (Array.isArray(r)) return r;
|
|
1091
435
|
}
|
|
1092
436
|
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1093
|
-
},"
|
|
437
|
+
},"ee99881fa9643e7bd96f",[]);
|
|
1094
438
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1095
439
|
function _iterableToArrayLimit(r, l) {
|
|
1096
440
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -1120,13 +464,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1120
464
|
}
|
|
1121
465
|
}
|
|
1122
466
|
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1123
|
-
},"
|
|
467
|
+
},"1847ec9d510321afd855",[]);
|
|
468
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
469
|
+
function _unsupportedIterableToArray(r, a) {
|
|
470
|
+
if (r) {
|
|
471
|
+
if ("string" == typeof r) return _$$_REQUIRE(_dependencyMap[0])(r, a);
|
|
472
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
473
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _$$_REQUIRE(_dependencyMap[0])(r, a) : undefined;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
477
|
+
},"0c30490eff100ca51d7c",["93f664c5afc3b3c0ffb9"]);
|
|
478
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
479
|
+
function _arrayLikeToArray(r, a) {
|
|
480
|
+
(null == a || a > r.length) && (a = r.length);
|
|
481
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
482
|
+
return n;
|
|
483
|
+
}
|
|
484
|
+
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
485
|
+
},"93f664c5afc3b3c0ffb9",[]);
|
|
1124
486
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1125
487
|
function _nonIterableRest() {
|
|
1126
488
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1127
489
|
}
|
|
1128
490
|
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1129
|
-
},"
|
|
491
|
+
},"9ef80b625777ecb8d705",[]);
|
|
1130
492
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1131
493
|
'use strict';
|
|
1132
494
|
|
|
@@ -1158,7 +520,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1158
520
|
}), e && _$$_REQUIRE(_dependencyMap[0])(t, e);
|
|
1159
521
|
}
|
|
1160
522
|
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1161
|
-
},"
|
|
523
|
+
},"3ebfecb28bc5857801a2",["ea37d1dec222e5845b2b"]);
|
|
1162
524
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1163
525
|
function _setPrototypeOf(t, e) {
|
|
1164
526
|
return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
@@ -1166,13 +528,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1166
528
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
|
|
1167
529
|
}
|
|
1168
530
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1169
|
-
},"
|
|
531
|
+
},"ea37d1dec222e5845b2b",[]);
|
|
1170
532
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1171
533
|
function _readOnlyError(r) {
|
|
1172
534
|
throw new TypeError('"' + r + '" is read-only');
|
|
1173
535
|
}
|
|
1174
536
|
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1175
|
-
},"
|
|
537
|
+
},"b769be1a7481ccdab905",[]);
|
|
1176
538
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1177
539
|
function _wrapNativeSuper(t) {
|
|
1178
540
|
var r = "function" == typeof Map ? new Map() : undefined;
|
|
@@ -1197,7 +559,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1197
559
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t);
|
|
1198
560
|
}
|
|
1199
561
|
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1200
|
-
},"
|
|
562
|
+
},"b510ad86a9e18c7a79b6",["74c2adc9de6e582a35f1","d66ad0c399283f558869","9c829ff5032996ffdc8e","ea37d1dec222e5845b2b"]);
|
|
1201
563
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1202
564
|
function _isNativeFunction(t) {
|
|
1203
565
|
try {
|
|
@@ -1207,7 +569,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1207
569
|
}
|
|
1208
570
|
}
|
|
1209
571
|
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1210
|
-
},"
|
|
572
|
+
},"74c2adc9de6e582a35f1",[]);
|
|
1211
573
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1212
574
|
function _construct(t, e, r) {
|
|
1213
575
|
if (_$$_REQUIRE(_dependencyMap[0])()) return Reflect.construct.apply(null, arguments);
|
|
@@ -1217,7 +579,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1217
579
|
return r && _$$_REQUIRE(_dependencyMap[1])(p, r.prototype), p;
|
|
1218
580
|
}
|
|
1219
581
|
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1220
|
-
},"
|
|
582
|
+
},"d66ad0c399283f558869",["22840e4117f5dbcb3b06","ea37d1dec222e5845b2b"]);
|
|
1221
583
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1222
584
|
function _isNativeReflectConstruct() {
|
|
1223
585
|
try {
|
|
@@ -1228,7 +590,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1228
590
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
|
|
1229
591
|
}
|
|
1230
592
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1231
|
-
},"
|
|
593
|
+
},"22840e4117f5dbcb3b06",[]);
|
|
1232
594
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1233
595
|
'use strict';
|
|
1234
596
|
|
|
@@ -1599,21 +961,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1599
961
|
}
|
|
1600
962
|
return valuePromise(value);
|
|
1601
963
|
};
|
|
1602
|
-
var
|
|
964
|
+
var iterableToArray = function (iterable) {
|
|
1603
965
|
if (typeof Array.from === 'function') {
|
|
1604
966
|
// ES2015+, iterables exist
|
|
1605
|
-
|
|
967
|
+
iterableToArray = Array.from;
|
|
1606
968
|
return Array.from(iterable);
|
|
1607
969
|
}
|
|
1608
970
|
|
|
1609
971
|
// ES5, only arrays and array-likes exist
|
|
1610
|
-
|
|
972
|
+
iterableToArray = function (x) {
|
|
1611
973
|
return Array.prototype.slice.call(x);
|
|
1612
974
|
};
|
|
1613
975
|
return Array.prototype.slice.call(iterable);
|
|
1614
976
|
};
|
|
1615
977
|
_$$_REQUIRE(_dependencyMap[0]).all = function (arr) {
|
|
1616
|
-
var args =
|
|
978
|
+
var args = iterableToArray(arr);
|
|
1617
979
|
return new (_$$_REQUIRE(_dependencyMap[0]))(function (resolve, reject) {
|
|
1618
980
|
if (args.length === 0) return resolve([]);
|
|
1619
981
|
var remaining = args.length;
|
|
@@ -1675,7 +1037,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1675
1037
|
return onSettledFulfill(item);
|
|
1676
1038
|
}
|
|
1677
1039
|
_$$_REQUIRE(_dependencyMap[0]).allSettled = function (iterable) {
|
|
1678
|
-
return _$$_REQUIRE(_dependencyMap[0]).all(
|
|
1040
|
+
return _$$_REQUIRE(_dependencyMap[0]).all(iterableToArray(iterable).map(mapAllSettled));
|
|
1679
1041
|
};
|
|
1680
1042
|
_$$_REQUIRE(_dependencyMap[0]).reject = function (value) {
|
|
1681
1043
|
return new (_$$_REQUIRE(_dependencyMap[0]))(function (resolve, reject) {
|
|
@@ -1684,7 +1046,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1684
1046
|
};
|
|
1685
1047
|
_$$_REQUIRE(_dependencyMap[0]).race = function (values) {
|
|
1686
1048
|
return new (_$$_REQUIRE(_dependencyMap[0]))(function (resolve, reject) {
|
|
1687
|
-
|
|
1049
|
+
iterableToArray(values).forEach(function (value) {
|
|
1688
1050
|
_$$_REQUIRE(_dependencyMap[0]).resolve(value).then(resolve, reject);
|
|
1689
1051
|
});
|
|
1690
1052
|
});
|
|
@@ -1706,7 +1068,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1706
1068
|
}
|
|
1707
1069
|
_$$_REQUIRE(_dependencyMap[0]).any = function promiseAny(values) {
|
|
1708
1070
|
return new (_$$_REQUIRE(_dependencyMap[0]))(function (resolve, reject) {
|
|
1709
|
-
var promises =
|
|
1071
|
+
var promises = iterableToArray(values);
|
|
1710
1072
|
var hasResolved = false;
|
|
1711
1073
|
var rejectionReasons = [];
|
|
1712
1074
|
function resolveOnce(value) {
|
|
@@ -1765,7 +1127,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1765
1127
|
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
1766
1128
|
define({}, "");
|
|
1767
1129
|
} catch (err) {
|
|
1768
|
-
define = function
|
|
1130
|
+
define = function (obj, key, value) {
|
|
1769
1131
|
return obj[key] = value;
|
|
1770
1132
|
};
|
|
1771
1133
|
}
|
|
@@ -2213,7 +1575,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2213
1575
|
}
|
|
2214
1576
|
Context.prototype = {
|
|
2215
1577
|
constructor: Context,
|
|
2216
|
-
reset: function
|
|
1578
|
+
reset: function (skipTempReset) {
|
|
2217
1579
|
this.prev = 0;
|
|
2218
1580
|
this.next = 0;
|
|
2219
1581
|
// Resetting context._sent for legacy support of Babel's
|
|
@@ -2233,7 +1595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2233
1595
|
}
|
|
2234
1596
|
}
|
|
2235
1597
|
},
|
|
2236
|
-
stop: function
|
|
1598
|
+
stop: function () {
|
|
2237
1599
|
this.done = true;
|
|
2238
1600
|
var rootEntry = this.tryEntries[0];
|
|
2239
1601
|
var rootRecord = rootEntry.completion;
|
|
@@ -2242,7 +1604,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2242
1604
|
}
|
|
2243
1605
|
return this.rval;
|
|
2244
1606
|
},
|
|
2245
|
-
dispatchException: function
|
|
1607
|
+
dispatchException: function (exception) {
|
|
2246
1608
|
if (this.done) {
|
|
2247
1609
|
throw exception;
|
|
2248
1610
|
}
|
|
@@ -2291,7 +1653,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2291
1653
|
}
|
|
2292
1654
|
}
|
|
2293
1655
|
},
|
|
2294
|
-
abrupt: function
|
|
1656
|
+
abrupt: function (type, arg) {
|
|
2295
1657
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
2296
1658
|
var entry = this.tryEntries[i];
|
|
2297
1659
|
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
@@ -2314,7 +1676,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2314
1676
|
}
|
|
2315
1677
|
return this.complete(record);
|
|
2316
1678
|
},
|
|
2317
|
-
complete: function
|
|
1679
|
+
complete: function (record, afterLoc) {
|
|
2318
1680
|
if (record.type === "throw") {
|
|
2319
1681
|
throw record.arg;
|
|
2320
1682
|
}
|
|
@@ -2329,7 +1691,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2329
1691
|
}
|
|
2330
1692
|
return ContinueSentinel;
|
|
2331
1693
|
},
|
|
2332
|
-
finish: function
|
|
1694
|
+
finish: function (finallyLoc) {
|
|
2333
1695
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
2334
1696
|
var entry = this.tryEntries[i];
|
|
2335
1697
|
if (entry.finallyLoc === finallyLoc) {
|
|
@@ -2339,7 +1701,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2339
1701
|
}
|
|
2340
1702
|
}
|
|
2341
1703
|
},
|
|
2342
|
-
"catch": function
|
|
1704
|
+
"catch": function (tryLoc) {
|
|
2343
1705
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
2344
1706
|
var entry = this.tryEntries[i];
|
|
2345
1707
|
if (entry.tryLoc === tryLoc) {
|
|
@@ -2356,7 +1718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2356
1718
|
// argument that corresponds to a known catch block.
|
|
2357
1719
|
throw new Error("illegal catch attempt");
|
|
2358
1720
|
},
|
|
2359
|
-
delegateYield: function
|
|
1721
|
+
delegateYield: function (iterable, resultName, nextLoc) {
|
|
2360
1722
|
this.delegate = {
|
|
2361
1723
|
iterator: values(iterable),
|
|
2362
1724
|
resultName: resultName,
|
|
@@ -2413,14 +1775,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2413
1775
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments);
|
|
2414
1776
|
}
|
|
2415
1777
|
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2416
|
-
},"
|
|
1778
|
+
},"659b028086c2c6f074a3",["263943b885b53437e9e0"]);
|
|
2417
1779
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2418
1780
|
function _superPropBase(t, o) {
|
|
2419
1781
|
for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _$$_REQUIRE(_dependencyMap[0])(t)););
|
|
2420
1782
|
return t;
|
|
2421
1783
|
}
|
|
2422
1784
|
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2423
|
-
},"
|
|
1785
|
+
},"263943b885b53437e9e0",["9c829ff5032996ffdc8e"]);
|
|
2424
1786
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2425
1787
|
/**
|
|
2426
1788
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -2505,8 +1867,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2505
1867
|
*/
|
|
2506
1868
|
function Event(eventTarget, event) {
|
|
2507
1869
|
privateData.set(this, {
|
|
2508
|
-
eventTarget
|
|
2509
|
-
event
|
|
1870
|
+
eventTarget,
|
|
1871
|
+
event,
|
|
2510
1872
|
eventPhase: 2,
|
|
2511
1873
|
currentTarget: eventTarget,
|
|
2512
1874
|
canceled: false,
|
|
@@ -2558,7 +1920,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2558
1920
|
/**
|
|
2559
1921
|
* @returns {EventTarget[]} The composed path of this event.
|
|
2560
1922
|
*/
|
|
2561
|
-
composedPath
|
|
1923
|
+
composedPath() {
|
|
2562
1924
|
var currentTarget = pd(this).currentTarget;
|
|
2563
1925
|
if (currentTarget == null) {
|
|
2564
1926
|
return [];
|
|
@@ -2604,7 +1966,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2604
1966
|
* Stop event bubbling.
|
|
2605
1967
|
* @returns {void}
|
|
2606
1968
|
*/
|
|
2607
|
-
stopPropagation
|
|
1969
|
+
stopPropagation() {
|
|
2608
1970
|
var data = pd(this);
|
|
2609
1971
|
data.stopped = true;
|
|
2610
1972
|
if (typeof data.event.stopPropagation === "function") {
|
|
@@ -2615,7 +1977,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2615
1977
|
* Stop event bubbling.
|
|
2616
1978
|
* @returns {void}
|
|
2617
1979
|
*/
|
|
2618
|
-
stopImmediatePropagation
|
|
1980
|
+
stopImmediatePropagation() {
|
|
2619
1981
|
var data = pd(this);
|
|
2620
1982
|
data.stopped = true;
|
|
2621
1983
|
data.immediateStopped = true;
|
|
@@ -2641,7 +2003,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2641
2003
|
* Cancel this event.
|
|
2642
2004
|
* @returns {void}
|
|
2643
2005
|
*/
|
|
2644
|
-
preventDefault
|
|
2006
|
+
preventDefault() {
|
|
2645
2007
|
setCancelFlag(pd(this));
|
|
2646
2008
|
},
|
|
2647
2009
|
/**
|
|
@@ -2711,7 +2073,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2711
2073
|
* @param {boolean} [cancelable=false] The flag to be possible to cancel.
|
|
2712
2074
|
* @deprecated
|
|
2713
2075
|
*/
|
|
2714
|
-
initEvent
|
|
2076
|
+
initEvent() {
|
|
2715
2077
|
// Do nothing.
|
|
2716
2078
|
}
|
|
2717
2079
|
};
|
|
@@ -2739,10 +2101,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2739
2101
|
*/
|
|
2740
2102
|
function defineRedirectDescriptor(key) {
|
|
2741
2103
|
return {
|
|
2742
|
-
get
|
|
2104
|
+
get() {
|
|
2743
2105
|
return pd(this).event[key];
|
|
2744
2106
|
},
|
|
2745
|
-
set
|
|
2107
|
+
set(value) {
|
|
2746
2108
|
pd(this).event[key] = value;
|
|
2747
2109
|
},
|
|
2748
2110
|
configurable: true,
|
|
@@ -2758,7 +2120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2758
2120
|
*/
|
|
2759
2121
|
function defineCallDescriptor(key) {
|
|
2760
2122
|
return {
|
|
2761
|
-
value
|
|
2123
|
+
value() {
|
|
2762
2124
|
var event = pd(this).event;
|
|
2763
2125
|
return event[key].apply(event, arguments);
|
|
2764
2126
|
},
|
|
@@ -2929,7 +2291,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2929
2291
|
*/
|
|
2930
2292
|
function defineEventAttributeDescriptor(eventName) {
|
|
2931
2293
|
return {
|
|
2932
|
-
get
|
|
2294
|
+
get() {
|
|
2933
2295
|
var listeners = getListeners(this);
|
|
2934
2296
|
var node = listeners.get(eventName);
|
|
2935
2297
|
while (node != null) {
|
|
@@ -2940,7 +2302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2940
2302
|
}
|
|
2941
2303
|
return null;
|
|
2942
2304
|
},
|
|
2943
|
-
set
|
|
2305
|
+
set(listener) {
|
|
2944
2306
|
if (typeof listener !== "function" && !isObject(listener)) {
|
|
2945
2307
|
listener = null; // eslint-disable-line no-param-reassign
|
|
2946
2308
|
}
|
|
@@ -2968,7 +2330,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2968
2330
|
// Add new value.
|
|
2969
2331
|
if (listener !== null) {
|
|
2970
2332
|
var newNode = {
|
|
2971
|
-
listener
|
|
2333
|
+
listener,
|
|
2972
2334
|
listenerType: ATTRIBUTE,
|
|
2973
2335
|
passive: false,
|
|
2974
2336
|
once: false,
|
|
@@ -3062,7 +2424,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3062
2424
|
* @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.
|
|
3063
2425
|
* @returns {void}
|
|
3064
2426
|
*/
|
|
3065
|
-
addEventListener
|
|
2427
|
+
addEventListener(eventName, listener, options) {
|
|
3066
2428
|
if (listener == null) {
|
|
3067
2429
|
return;
|
|
3068
2430
|
}
|
|
@@ -3074,8 +2436,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3074
2436
|
var capture = optionsIsObj ? Boolean(options.capture) : Boolean(options);
|
|
3075
2437
|
var listenerType = capture ? CAPTURE : BUBBLE;
|
|
3076
2438
|
var newNode = {
|
|
3077
|
-
listener
|
|
3078
|
-
listenerType
|
|
2439
|
+
listener,
|
|
2440
|
+
listenerType,
|
|
3079
2441
|
passive: optionsIsObj && Boolean(options.passive),
|
|
3080
2442
|
once: optionsIsObj && Boolean(options.once),
|
|
3081
2443
|
next: null
|
|
@@ -3109,7 +2471,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3109
2471
|
* @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.
|
|
3110
2472
|
* @returns {void}
|
|
3111
2473
|
*/
|
|
3112
|
-
removeEventListener
|
|
2474
|
+
removeEventListener(eventName, listener, options) {
|
|
3113
2475
|
if (listener == null) {
|
|
3114
2476
|
return;
|
|
3115
2477
|
}
|
|
@@ -3138,7 +2500,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3138
2500
|
* @param {Event|{type:string}} event The event to dispatch.
|
|
3139
2501
|
* @returns {boolean} `false` if canceled.
|
|
3140
2502
|
*/
|
|
3141
|
-
dispatchEvent
|
|
2503
|
+
dispatchEvent(event) {
|
|
3142
2504
|
if (event == null || typeof event.type !== "string") {
|
|
3143
2505
|
throw new TypeError('"event.type" should be a string.');
|
|
3144
2506
|
}
|
|
@@ -3374,7 +2736,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3374
2736
|
// Build a destructive iterator for the value list
|
|
3375
2737
|
function iteratorFor(items) {
|
|
3376
2738
|
var iterator = {
|
|
3377
|
-
next: function
|
|
2739
|
+
next: function () {
|
|
3378
2740
|
var value = items.shift();
|
|
3379
2741
|
return {
|
|
3380
2742
|
done: value === undefined,
|
|
@@ -3898,7 +3260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3898
3260
|
return i;
|
|
3899
3261
|
}
|
|
3900
3262
|
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3901
|
-
},"
|
|
3263
|
+
},"54be67f13f7547a51521",["ae112a2672a8a53f82e5"]);
|
|
3902
3264
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3903
3265
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3904
3266
|
if (null == r) return {};
|
|
@@ -3910,7 +3272,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3910
3272
|
return t;
|
|
3911
3273
|
}
|
|
3912
3274
|
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3913
|
-
},"
|
|
3275
|
+
},"ae112a2672a8a53f82e5",[]);
|
|
3914
3276
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3915
3277
|
/**
|
|
3916
3278
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3919,7 +3281,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3919
3281
|
'use strict';
|
|
3920
3282
|
|
|
3921
3283
|
function _callSuper(t, o, e) { return o = _$$_REQUIRE(_dependencyMap[0])(o), _$$_REQUIRE(_dependencyMap[1])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _$$_REQUIRE(_dependencyMap[0])(t).constructor) : o.apply(t, e)); }
|
|
3922
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
3284
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
3923
3285
|
Object.defineProperty(exports, '__esModule', {
|
|
3924
3286
|
value: true
|
|
3925
3287
|
});
|
|
@@ -3944,7 +3306,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3944
3306
|
_$$_REQUIRE(_dependencyMap[3])(AbortSignal, _eventTargetShim$Even);
|
|
3945
3307
|
return _$$_REQUIRE(_dependencyMap[4])(AbortSignal, [{
|
|
3946
3308
|
key: "aborted",
|
|
3947
|
-
get: function
|
|
3309
|
+
get: function () {
|
|
3948
3310
|
var aborted = abortedFlags.get(this);
|
|
3949
3311
|
if (typeof aborted !== "boolean") {
|
|
3950
3312
|
throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`);
|
|
@@ -4010,7 +3372,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4010
3372
|
*/
|
|
4011
3373
|
return _$$_REQUIRE(_dependencyMap[4])(AbortController, [{
|
|
4012
3374
|
key: "signal",
|
|
4013
|
-
get: function
|
|
3375
|
+
get: function () {
|
|
4014
3376
|
return getSignal(this);
|
|
4015
3377
|
}
|
|
4016
3378
|
/**
|
|
@@ -4058,7 +3420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4058
3420
|
module.exports = AbortController;
|
|
4059
3421
|
module.exports.AbortController = module.exports["default"] = AbortController;
|
|
4060
3422
|
module.exports.AbortSignal = AbortSignal;
|
|
4061
|
-
},"ea8fcbd647aab1cfcdaa",["
|
|
3423
|
+
},"ea8fcbd647aab1cfcdaa",["9c829ff5032996ffdc8e","80a4a0ee188e065108c9","2bfb5e99807ec81b822f","3ebfecb28bc5857801a2","cc42269051bc9ff17a63","2bd3f165b1ed6b916de7"]);
|
|
4062
3424
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4063
3425
|
/**
|
|
4064
3426
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -4241,22 +3603,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4241
3603
|
}
|
|
4242
3604
|
var NUMBER = '[-+]?\\d*\\.?\\d+';
|
|
4243
3605
|
var PERCENTAGE = "[-+]?\\d*\\.?\\d+%";
|
|
4244
|
-
function call() {
|
|
4245
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
4246
|
-
args[_key] = arguments[_key];
|
|
4247
|
-
}
|
|
3606
|
+
function call(...args) {
|
|
4248
3607
|
return '\\(\\s*(' + args.join(')\\s*,?\\s*(') + ')\\s*\\)';
|
|
4249
3608
|
}
|
|
4250
|
-
function callWithSlashSeparator() {
|
|
4251
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
4252
|
-
args[_key2] = arguments[_key2];
|
|
4253
|
-
}
|
|
3609
|
+
function callWithSlashSeparator(...args) {
|
|
4254
3610
|
return '\\(\\s*(' + args.slice(0, args.length - 1).join(')\\s*,?\\s*(') + ')\\s*/\\s*(' + args[args.length - 1] + ')\\s*\\)';
|
|
4255
3611
|
}
|
|
4256
|
-
function commaSeparatedCall() {
|
|
4257
|
-
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
4258
|
-
args[_key3] = arguments[_key3];
|
|
4259
|
-
}
|
|
3612
|
+
function commaSeparatedCall(...args) {
|
|
4260
3613
|
return '\\(\\s*(' + args.join(')\\s*,\\s*(') + ')\\s*\\)';
|
|
4261
3614
|
}
|
|
4262
3615
|
var cachedMatchers;
|
|
@@ -4620,17 +3973,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4620
3973
|
}
|
|
4621
3974
|
module.exports = normalizeColor;
|
|
4622
3975
|
},"bab9017c6ff43bb4a95b",[]);
|
|
4623
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4624
|
-
function _defineProperty(e, r, t) {
|
|
4625
|
-
return (r = _$$_REQUIRE(_dependencyMap[0])(r)) in e ? Object.defineProperty(e, r, {
|
|
4626
|
-
value: t,
|
|
4627
|
-
enumerable: true,
|
|
4628
|
-
configurable: true,
|
|
4629
|
-
writable: true
|
|
4630
|
-
}) : e[r] = t, e;
|
|
4631
|
-
}
|
|
4632
|
-
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4633
|
-
},"4926d0dbc109dc5bb6c9",["cbba112244d360ffda7a"]);
|
|
4634
3976
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4635
3977
|
'use strict';
|
|
4636
3978
|
|
|
@@ -4642,8 +3984,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4642
3984
|
return assets[assetId - 1];
|
|
4643
3985
|
}
|
|
4644
3986
|
module.exports = {
|
|
4645
|
-
registerAsset
|
|
4646
|
-
getAssetByID
|
|
3987
|
+
registerAsset,
|
|
3988
|
+
getAssetByID
|
|
4647
3989
|
};
|
|
4648
3990
|
},"05d58bec2a6d939f08d8",[]);
|
|
4649
3991
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -4686,9 +4028,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4686
4028
|
return basePath.startsWith('/') ? basePath.substr(1) : basePath;
|
|
4687
4029
|
}
|
|
4688
4030
|
module.exports = {
|
|
4689
|
-
getAndroidResourceFolderName
|
|
4690
|
-
getAndroidResourceIdentifier
|
|
4691
|
-
getBasePath
|
|
4031
|
+
getAndroidResourceFolderName,
|
|
4032
|
+
getAndroidResourceIdentifier,
|
|
4033
|
+
getBasePath
|
|
4692
4034
|
};
|
|
4693
4035
|
},"914260cfb55fe13c431c",[]);
|
|
4694
4036
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -4745,13 +4087,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4745
4087
|
var l;
|
|
4746
4088
|
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
4747
4089
|
var p = performance;
|
|
4748
|
-
l = function
|
|
4090
|
+
l = function () {
|
|
4749
4091
|
return p.now();
|
|
4750
4092
|
};
|
|
4751
4093
|
} else {
|
|
4752
4094
|
var q = Date,
|
|
4753
4095
|
r = q.now();
|
|
4754
|
-
l = function
|
|
4096
|
+
l = function () {
|
|
4755
4097
|
return q.now() - r;
|
|
4756
4098
|
};
|
|
4757
4099
|
}
|
|
@@ -4874,16 +4216,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4874
4216
|
} else L = false;
|
|
4875
4217
|
}
|
|
4876
4218
|
var M;
|
|
4877
|
-
if ("function" === typeof G) M = function
|
|
4219
|
+
if ("function" === typeof G) M = function () {
|
|
4878
4220
|
G(V);
|
|
4879
4221
|
};else if ("undefined" !== typeof MessageChannel) {
|
|
4880
4222
|
var W = new MessageChannel(),
|
|
4881
4223
|
X = W.port2;
|
|
4882
4224
|
W.port1.onmessage = V;
|
|
4883
|
-
M = function
|
|
4225
|
+
M = function () {
|
|
4884
4226
|
X.postMessage(null);
|
|
4885
4227
|
};
|
|
4886
|
-
} else M = function
|
|
4228
|
+
} else M = function () {
|
|
4887
4229
|
D(V, 0);
|
|
4888
4230
|
};
|
|
4889
4231
|
function N(a, b) {
|
|
@@ -4966,7 +4308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4966
4308
|
/**
|
|
4967
4309
|
* @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js
|
|
4968
4310
|
*/
|
|
4969
|
-
var colorPropType = function
|
|
4311
|
+
var colorPropType = function (isRequired, props, propName, componentName, location, propFullName) {
|
|
4970
4312
|
var color = props[propName];
|
|
4971
4313
|
if (color == null) {
|
|
4972
4314
|
if (isRequired) {
|
|
@@ -5123,7 +4465,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5123
4465
|
/**
|
|
5124
4466
|
* @see facebook/react-native/Libraries/Image/ImageProps.js
|
|
5125
4467
|
*/
|
|
5126
|
-
var DeprecatedImagePropType =
|
|
4468
|
+
var DeprecatedImagePropType = {
|
|
4469
|
+
..._$$_REQUIRE(_dependencyMap[0]),
|
|
5127
4470
|
alt: _$$_REQUIRE(_dependencyMap[1]).string,
|
|
5128
4471
|
blurRadius: _$$_REQUIRE(_dependencyMap[1]).number,
|
|
5129
4472
|
capInsets: _$$_REQUIRE(_dependencyMap[2]),
|
|
@@ -5152,7 +4495,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5152
4495
|
testID: _$$_REQUIRE(_dependencyMap[1]).string,
|
|
5153
4496
|
tintColor: _$$_REQUIRE(_dependencyMap[6]),
|
|
5154
4497
|
width: _$$_REQUIRE(_dependencyMap[1]).number
|
|
5155
|
-
}
|
|
4498
|
+
};
|
|
5156
4499
|
module.exports = DeprecatedImagePropType;
|
|
5157
4500
|
},"9f1779357aba412bb49f",["6a37ec0494ff683c49f2","385f56cce85bf58dda18","e113bc2a6b8133e753f1","00fed86b64880bf848bf","ecd8893ff4b33ee73955","0b77c2d463c8dbef3508","0ff2848f3ff6f1a02356"]);
|
|
5158
4501
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -5225,7 +4568,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5225
4568
|
/**
|
|
5226
4569
|
* @see facebook/react-native/Libraries/Components/View/ViewPropTypes.js
|
|
5227
4570
|
*/
|
|
5228
|
-
var DeprecatedViewPropTypes =
|
|
4571
|
+
var DeprecatedViewPropTypes = {
|
|
4572
|
+
...MouseEventPropTypes,
|
|
4573
|
+
...PointerEventPropTypes,
|
|
4574
|
+
...FocusEventPropTypes,
|
|
4575
|
+
...TouchEventPropTypes,
|
|
4576
|
+
...GestureResponderEventPropTypes,
|
|
5229
4577
|
'aria-busy': _$$_REQUIRE(_dependencyMap[0]).bool,
|
|
5230
4578
|
'aria-checked': _$$_REQUIRE(_dependencyMap[0]).oneOfType([_$$_REQUIRE(_dependencyMap[0]).bool, _$$_REQUIRE(_dependencyMap[0]).oneOf(['mixed'])]),
|
|
5231
4579
|
'aria-disabled': _$$_REQUIRE(_dependencyMap[0]).bool,
|
|
@@ -5275,7 +4623,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5275
4623
|
style: _$$_REQUIRE(_dependencyMap[3])(_$$_REQUIRE(_dependencyMap[4])),
|
|
5276
4624
|
tabIndex: _$$_REQUIRE(_dependencyMap[0]).oneOf([0, -1]),
|
|
5277
4625
|
testID: _$$_REQUIRE(_dependencyMap[0]).string
|
|
5278
|
-
}
|
|
4626
|
+
};
|
|
5279
4627
|
module.exports = DeprecatedViewPropTypes;
|
|
5280
4628
|
},"6a37ec0494ff683c49f2",["385f56cce85bf58dda18","dc269c006cd52aa8a392","e113bc2a6b8133e753f1","ecd8893ff4b33ee73955","b0bd5168a69d8a903511"]);
|
|
5281
4629
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -5316,17 +4664,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5316
4664
|
|
|
5317
4665
|
function DeprecatedStyleSheetPropType(shape) {
|
|
5318
4666
|
var shapePropType = _$$_REQUIRE(_dependencyMap[0])(shape);
|
|
5319
|
-
return function (props, propName, componentName, location) {
|
|
4667
|
+
return function (props, propName, componentName, location, ...rest) {
|
|
5320
4668
|
var newProps = props;
|
|
5321
4669
|
if (props[propName]) {
|
|
5322
4670
|
// Just make a dummy prop object with only the flattened style
|
|
5323
4671
|
newProps = {};
|
|
5324
4672
|
newProps[propName] = flattenStyle(props[propName]);
|
|
5325
4673
|
}
|
|
5326
|
-
|
|
5327
|
-
rest[_key - 4] = arguments[_key];
|
|
5328
|
-
}
|
|
5329
|
-
return shapePropType.apply(undefined, [newProps, propName, componentName, location].concat(rest));
|
|
4674
|
+
return shapePropType(newProps, propName, componentName, location, ...rest);
|
|
5330
4675
|
};
|
|
5331
4676
|
}
|
|
5332
4677
|
function flattenStyle(style) {
|
|
@@ -5362,7 +4707,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5362
4707
|
'use strict';
|
|
5363
4708
|
|
|
5364
4709
|
function deprecatedCreateStrictShapeTypeChecker(shapeTypes) {
|
|
5365
|
-
function checkType(isRequired, props, propName, componentName, location) {
|
|
4710
|
+
function checkType(isRequired, props, propName, componentName, location, ...rest) {
|
|
5366
4711
|
if (!props[propName]) {
|
|
5367
4712
|
if (isRequired) {
|
|
5368
4713
|
_$$_REQUIRE(_dependencyMap[0])(false, `Required object \`${propName}\` was not specified in ` + `\`${componentName}\`.`);
|
|
@@ -5377,26 +4722,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5377
4722
|
}
|
|
5378
4723
|
// We need to check all keys in case some are required but missing from
|
|
5379
4724
|
// props.
|
|
5380
|
-
var allKeys =
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
}
|
|
4725
|
+
var allKeys = {
|
|
4726
|
+
...props[propName],
|
|
4727
|
+
...shapeTypes
|
|
4728
|
+
};
|
|
5384
4729
|
for (var key in allKeys) {
|
|
5385
4730
|
var checker = shapeTypes[key];
|
|
5386
4731
|
if (!checker) {
|
|
5387
4732
|
_$$_REQUIRE(_dependencyMap[0])(false, `Invalid props.${propName} key \`${key}\` supplied to \`${componentName}\`.` + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
|
|
5388
4733
|
}
|
|
5389
|
-
var error = checker
|
|
4734
|
+
var error = checker(propValue, key, componentName, location, ...rest);
|
|
5390
4735
|
if (error) {
|
|
5391
4736
|
_$$_REQUIRE(_dependencyMap[0])(false, error.message + '\nBad object: ' + JSON.stringify(props[propName], null, ' '));
|
|
5392
4737
|
}
|
|
5393
4738
|
}
|
|
5394
4739
|
}
|
|
5395
|
-
function chainedCheckType(props, propName, componentName, location) {
|
|
5396
|
-
|
|
5397
|
-
rest[_key2 - 4] = arguments[_key2];
|
|
5398
|
-
}
|
|
5399
|
-
return checkType.apply(undefined, [false, props, propName, componentName, location].concat(rest));
|
|
4740
|
+
function chainedCheckType(props, propName, componentName, location, ...rest) {
|
|
4741
|
+
return checkType(false, props, propName, componentName, location, ...rest);
|
|
5400
4742
|
}
|
|
5401
4743
|
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
5402
4744
|
return chainedCheckType;
|
|
@@ -5418,7 +4760,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5418
4760
|
/**
|
|
5419
4761
|
* @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js
|
|
5420
4762
|
*/
|
|
5421
|
-
var DeprecatedViewStylePropTypes =
|
|
4763
|
+
var DeprecatedViewStylePropTypes = {
|
|
4764
|
+
..._$$_REQUIRE(_dependencyMap[0]),
|
|
4765
|
+
..._$$_REQUIRE(_dependencyMap[1]),
|
|
4766
|
+
..._$$_REQUIRE(_dependencyMap[2]),
|
|
5422
4767
|
backfaceVisibility: _$$_REQUIRE(_dependencyMap[3]).oneOf(['hidden', 'visible']),
|
|
5423
4768
|
backgroundColor: _$$_REQUIRE(_dependencyMap[4]),
|
|
5424
4769
|
borderBottomColor: _$$_REQUIRE(_dependencyMap[4]),
|
|
@@ -5451,7 +4796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5451
4796
|
elevation: _$$_REQUIRE(_dependencyMap[3]).number,
|
|
5452
4797
|
opacity: _$$_REQUIRE(_dependencyMap[3]).number,
|
|
5453
4798
|
pointerEvents: _$$_REQUIRE(_dependencyMap[3]).oneOf(['auto', 'box-none', 'box-only', 'none'])
|
|
5454
|
-
}
|
|
4799
|
+
};
|
|
5455
4800
|
module.exports = DeprecatedViewStylePropTypes;
|
|
5456
4801
|
},"b0bd5168a69d8a903511",["fdc284a1196df7b8b1c7","c694fefe532e4748da9d","1dd7395967b3c81dc0f2","385f56cce85bf58dda18","0ff2848f3ff6f1a02356"]);
|
|
5457
4802
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -5664,7 +5009,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5664
5009
|
/**
|
|
5665
5010
|
* @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js
|
|
5666
5011
|
*/
|
|
5667
|
-
var DeprecatedImageStylePropTypes =
|
|
5012
|
+
var DeprecatedImageStylePropTypes = {
|
|
5013
|
+
..._$$_REQUIRE(_dependencyMap[0]),
|
|
5014
|
+
..._$$_REQUIRE(_dependencyMap[1]),
|
|
5015
|
+
..._$$_REQUIRE(_dependencyMap[2]),
|
|
5668
5016
|
backfaceVisibility: _$$_REQUIRE(_dependencyMap[3]).oneOf(['hidden', 'visible']),
|
|
5669
5017
|
backgroundColor: _$$_REQUIRE(_dependencyMap[4]),
|
|
5670
5018
|
borderBottomLeftRadius: _$$_REQUIRE(_dependencyMap[3]).number,
|
|
@@ -5680,7 +5028,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5680
5028
|
overlayColor: _$$_REQUIRE(_dependencyMap[3]).string,
|
|
5681
5029
|
tintColor: _$$_REQUIRE(_dependencyMap[4]),
|
|
5682
5030
|
resizeMode: _$$_REQUIRE(_dependencyMap[3]).oneOf(['center', 'contain', 'cover', 'repeat', 'stretch'])
|
|
5683
|
-
}
|
|
5031
|
+
};
|
|
5684
5032
|
module.exports = DeprecatedImageStylePropTypes;
|
|
5685
5033
|
},"0b77c2d463c8dbef3508",["fdc284a1196df7b8b1c7","c694fefe532e4748da9d","1dd7395967b3c81dc0f2","385f56cce85bf58dda18","0ff2848f3ff6f1a02356"]);
|
|
5686
5034
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -5721,7 +5069,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5721
5069
|
/**
|
|
5722
5070
|
* @see facebook/react-native/Libraries/TextInput/TextInput.js
|
|
5723
5071
|
*/
|
|
5724
|
-
var DeprecatedTextInputPropTypes =
|
|
5072
|
+
var DeprecatedTextInputPropTypes = {
|
|
5073
|
+
..._$$_REQUIRE(_dependencyMap[0]),
|
|
5725
5074
|
allowFontScaling: _$$_REQUIRE(_dependencyMap[1]).bool,
|
|
5726
5075
|
autoCapitalize: _$$_REQUIRE(_dependencyMap[1]).oneOf(['none', 'sentences', 'words', 'characters']),
|
|
5727
5076
|
autoComplete: _$$_REQUIRE(_dependencyMap[1]).oneOf(['additional-name', 'address-line1', 'address-line2', 'bday', 'bday-day', 'bday-month', 'bday-year', 'birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year', 'cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number', 'country', 'current-password', 'email', 'family-name', 'gender', 'given-name', 'honorific-prefix', 'honorific-suffix', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'new-password', 'nickname', 'off', 'one-time-code', 'organization', 'organization-title', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'sex', 'sms-otp', 'street-address', 'tel', 'tel-country-code', 'tel-device', 'tel-national', 'url', 'username', 'username-new']),
|
|
@@ -5785,7 +5134,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5785
5134
|
textContentType: _$$_REQUIRE(_dependencyMap[1]).oneOf(['addressCity', 'addressCityAndState', 'addressState', 'countryName', 'creditCardNumber', 'emailAddress', 'familyName', 'fullStreetAddress', 'givenName', 'jobTitle', 'location', 'middleName', 'name', 'namePrefix', 'nameSuffix', 'newPassword', 'nickname', 'none', 'oneTimeCode', 'organizationName', 'password', 'postalCode', 'streetAddressLine1', 'streetAddressLine2', 'sublocality', 'telephoneNumber', 'URL', 'username']),
|
|
5786
5135
|
underlineColorAndroid: _$$_REQUIRE(_dependencyMap[2]),
|
|
5787
5136
|
value: _$$_REQUIRE(_dependencyMap[1]).string
|
|
5788
|
-
}
|
|
5137
|
+
};
|
|
5789
5138
|
module.exports = DeprecatedTextInputPropTypes;
|
|
5790
5139
|
},"a287f54379336e9f732c",["6a37ec0494ff683c49f2","385f56cce85bf58dda18","0ff2848f3ff6f1a02356","14b8482f38362fa2f8cd"]);
|
|
5791
5140
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -5870,7 +5219,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5870
5219
|
/**
|
|
5871
5220
|
* @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js
|
|
5872
5221
|
*/
|
|
5873
|
-
var DeprecatedTextStylePropTypes =
|
|
5222
|
+
var DeprecatedTextStylePropTypes = {
|
|
5223
|
+
..._$$_REQUIRE(_dependencyMap[0]),
|
|
5874
5224
|
color: _$$_REQUIRE(_dependencyMap[1]),
|
|
5875
5225
|
fontFamily: _$$_REQUIRE(_dependencyMap[2]).string,
|
|
5876
5226
|
fontSize: _$$_REQUIRE(_dependencyMap[2]).number,
|
|
@@ -5895,7 +5245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5895
5245
|
userSelect: _$$_REQUIRE(_dependencyMap[2]).oneOf(['all', 'auto', 'contain', 'none', 'text']),
|
|
5896
5246
|
verticalAlign: _$$_REQUIRE(_dependencyMap[2]).oneOf(['auto', 'bottom', 'middle', 'top']),
|
|
5897
5247
|
writingDirection: _$$_REQUIRE(_dependencyMap[2]).oneOf(['auto', 'ltr', 'rtl'])
|
|
5898
|
-
}
|
|
5248
|
+
};
|
|
5899
5249
|
module.exports = DeprecatedTextStylePropTypes;
|
|
5900
5250
|
},"41bd16fe8e2d1af40264",["b0bd5168a69d8a903511","0ff2848f3ff6f1a02356","385f56cce85bf58dda18"]);
|
|
5901
5251
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
@@ -5984,8 +5334,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5984
5334
|
exports.keyExtractor = keyExtractor;
|
|
5985
5335
|
exports.newRangeCount = newRangeCount;
|
|
5986
5336
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
5987
|
-
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics) {
|
|
5988
|
-
var zoomScale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
5337
|
+
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics, zoomScale = 1) {
|
|
5989
5338
|
var itemCount = props.getItemCount(props.data);
|
|
5990
5339
|
var result = [];
|
|
5991
5340
|
for (var offsetIndex = 0; offsetIndex < offsets.length; offsetIndex++) {
|
|
@@ -6050,8 +5399,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6050
5399
|
overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;
|
|
6051
5400
|
last = last == null ? Math.min(overscanLast, first + maxToRenderPerBatch - 1) : last;
|
|
6052
5401
|
var visible = {
|
|
6053
|
-
first
|
|
6054
|
-
last
|
|
5402
|
+
first,
|
|
5403
|
+
last
|
|
6055
5404
|
};
|
|
6056
5405
|
var newCellCount = newRangeCount(prev, visible);
|
|
6057
5406
|
while (true) {
|
|
@@ -6081,78 +5430,76 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6081
5430
|
}
|
|
6082
5431
|
if (!(last >= first && first >= 0 && last < itemCount && first >= overscanFirst && last <= overscanLast && first <= visible.first && last >= visible.last)) {
|
|
6083
5432
|
throw new Error('Bad window calculation ' + JSON.stringify({
|
|
6084
|
-
first
|
|
6085
|
-
last
|
|
6086
|
-
itemCount
|
|
6087
|
-
overscanFirst
|
|
6088
|
-
overscanLast
|
|
6089
|
-
visible
|
|
5433
|
+
first,
|
|
5434
|
+
last,
|
|
5435
|
+
itemCount,
|
|
5436
|
+
overscanFirst,
|
|
5437
|
+
overscanLast,
|
|
5438
|
+
visible
|
|
6090
5439
|
}));
|
|
6091
5440
|
}
|
|
6092
5441
|
return {
|
|
6093
|
-
first
|
|
6094
|
-
last
|
|
5442
|
+
first,
|
|
5443
|
+
last
|
|
6095
5444
|
};
|
|
6096
5445
|
}
|
|
6097
5446
|
function keyExtractor(item, index) {
|
|
6098
|
-
if (typeof item === 'object' &&
|
|
5447
|
+
if (typeof item === 'object' && item?.key != null) {
|
|
6099
5448
|
return item.key;
|
|
6100
5449
|
}
|
|
6101
|
-
if (typeof item === 'object' &&
|
|
5450
|
+
if (typeof item === 'object' && item?.id != null) {
|
|
6102
5451
|
return item.id;
|
|
6103
5452
|
}
|
|
6104
5453
|
return String(index);
|
|
6105
5454
|
}
|
|
6106
|
-
},"a26dbe2a3afa21c3cf22",["
|
|
5455
|
+
},"a26dbe2a3afa21c3cf22",["d3b57c8ff490ba8c7c47","8972a767e9133b0e3a28"]);
|
|
6107
5456
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
6108
|
-
var
|
|
6109
|
-
var
|
|
6110
|
-
var
|
|
6111
|
-
var
|
|
6112
|
-
var
|
|
6113
|
-
var
|
|
6114
|
-
var
|
|
6115
|
-
var
|
|
6116
|
-
var
|
|
6117
|
-
var
|
|
6118
|
-
var
|
|
6119
|
-
var
|
|
6120
|
-
var
|
|
6121
|
-
var
|
|
6122
|
-
var
|
|
6123
|
-
var
|
|
6124
|
-
var
|
|
6125
|
-
var
|
|
6126
|
-
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[19]));
|
|
6127
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
5457
|
+
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
5458
|
+
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
5459
|
+
var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
5460
|
+
var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
5461
|
+
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
5462
|
+
var _reactNative = _$$_REQUIRE(_dependencyMap[6]);
|
|
5463
|
+
var _Batchinator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
5464
|
+
var _clamp = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8]));
|
|
5465
|
+
var _infoLog = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9]));
|
|
5466
|
+
var _ChildListCollection = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
5467
|
+
var _FillRateHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11]));
|
|
5468
|
+
var _StateSafePureComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12]));
|
|
5469
|
+
var _ViewabilityHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13]));
|
|
5470
|
+
var _VirtualizedListCellRenderer = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14]));
|
|
5471
|
+
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15]));
|
|
5472
|
+
var _nullthrows = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16]));
|
|
5473
|
+
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[17]));
|
|
5474
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
6128
5475
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
6129
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
5476
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
6130
5477
|
var ON_EDGE_REACHED_EPSILON = 0.001;
|
|
6131
5478
|
var _usedIndexForKey = false;
|
|
6132
5479
|
var _keylessItemComponentName = '';
|
|
6133
5480
|
function horizontalOrDefault(horizontal) {
|
|
6134
|
-
return horizontal
|
|
5481
|
+
return horizontal ?? false;
|
|
6135
5482
|
}
|
|
6136
5483
|
function initialNumToRenderOrDefault(initialNumToRender) {
|
|
6137
|
-
return initialNumToRender
|
|
5484
|
+
return initialNumToRender ?? 10;
|
|
6138
5485
|
}
|
|
6139
5486
|
function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
|
|
6140
|
-
return maxToRenderPerBatch
|
|
5487
|
+
return maxToRenderPerBatch ?? 10;
|
|
6141
5488
|
}
|
|
6142
5489
|
function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
|
|
6143
|
-
return onStartReachedThreshold
|
|
5490
|
+
return onStartReachedThreshold ?? 2;
|
|
6144
5491
|
}
|
|
6145
5492
|
function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
|
|
6146
|
-
return onEndReachedThreshold
|
|
5493
|
+
return onEndReachedThreshold ?? 2;
|
|
6147
5494
|
}
|
|
6148
5495
|
function getScrollingThreshold(threshold, visibleLength) {
|
|
6149
5496
|
return threshold * visibleLength / 2;
|
|
6150
5497
|
}
|
|
6151
5498
|
function scrollEventThrottleOrDefault(scrollEventThrottle) {
|
|
6152
|
-
return scrollEventThrottle
|
|
5499
|
+
return scrollEventThrottle ?? 50;
|
|
6153
5500
|
}
|
|
6154
5501
|
function windowSizeOrDefault(windowSize) {
|
|
6155
|
-
return windowSize
|
|
5502
|
+
return windowSize ?? 21;
|
|
6156
5503
|
}
|
|
6157
5504
|
function findLastWhere(arr, predicate) {
|
|
6158
5505
|
for (var i = arr.length - 1; i >= 0; i--) {
|
|
@@ -6164,38 +5511,35 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6164
5511
|
}
|
|
6165
5512
|
var VirtualizedList = /*#__PURE__*/function (_StateSafePureCompone) {
|
|
6166
5513
|
function VirtualizedList(_props) {
|
|
6167
|
-
var _this$props$updateCel, _this$props$maintainV, _this$props$maintainV2;
|
|
6168
5514
|
var _this;
|
|
6169
5515
|
(0, _classCallCheck2.default)(this, VirtualizedList);
|
|
6170
5516
|
_this = _callSuper(this, VirtualizedList, [_props]);
|
|
6171
|
-
_this._getScrollMetrics =
|
|
5517
|
+
_this._getScrollMetrics = () => {
|
|
6172
5518
|
return _this._scrollMetrics;
|
|
6173
5519
|
};
|
|
6174
|
-
_this._getOutermostParentListRef =
|
|
5520
|
+
_this._getOutermostParentListRef = () => {
|
|
6175
5521
|
if (_this._isNestedWithSameOrientation()) {
|
|
6176
5522
|
return _this.context.getOutermostParentListRef();
|
|
6177
5523
|
} else {
|
|
6178
5524
|
return _this;
|
|
6179
5525
|
}
|
|
6180
5526
|
};
|
|
6181
|
-
_this._registerAsNestedChild =
|
|
5527
|
+
_this._registerAsNestedChild = childList => {
|
|
6182
5528
|
_this._nestedChildLists.add(childList.ref, childList.cellKey);
|
|
6183
5529
|
if (_this._hasInteracted) {
|
|
6184
5530
|
childList.ref.recordInteraction();
|
|
6185
5531
|
}
|
|
6186
5532
|
};
|
|
6187
|
-
_this._unregisterAsNestedChild =
|
|
5533
|
+
_this._unregisterAsNestedChild = childList => {
|
|
6188
5534
|
_this._nestedChildLists.remove(childList.ref);
|
|
6189
5535
|
};
|
|
6190
|
-
_this._onUpdateSeparators =
|
|
6191
|
-
keys.forEach(
|
|
5536
|
+
_this._onUpdateSeparators = (keys, newProps) => {
|
|
5537
|
+
keys.forEach(key => {
|
|
6192
5538
|
var ref = key != null && _this._cellRefs[key];
|
|
6193
5539
|
ref && ref.updateSeparatorProps(newProps);
|
|
6194
5540
|
});
|
|
6195
5541
|
};
|
|
6196
|
-
_this._getSpacerKey =
|
|
6197
|
-
return isVertical ? 'height' : 'width';
|
|
6198
|
-
};
|
|
5542
|
+
_this._getSpacerKey = isVertical => isVertical ? 'height' : 'width';
|
|
6199
5543
|
_this._averageCellLength = 0;
|
|
6200
5544
|
_this._cellRefs = {};
|
|
6201
5545
|
_this._frames = {};
|
|
@@ -6228,33 +5572,37 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6228
5572
|
_this._totalCellLength = 0;
|
|
6229
5573
|
_this._totalCellsMeasured = 0;
|
|
6230
5574
|
_this._viewabilityTuples = [];
|
|
6231
|
-
_this._captureScrollRef =
|
|
5575
|
+
_this._captureScrollRef = ref => {
|
|
6232
5576
|
_this._scrollRef = ref;
|
|
6233
5577
|
};
|
|
6234
|
-
_this._defaultRenderScrollComponent =
|
|
5578
|
+
_this._defaultRenderScrollComponent = props => {
|
|
6235
5579
|
var onRefresh = props.onRefresh;
|
|
6236
5580
|
if (_this._isNestedWithSameOrientation()) {
|
|
6237
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
5581
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
5582
|
+
...props
|
|
5583
|
+
});
|
|
6238
5584
|
} else if (onRefresh) {
|
|
6239
|
-
|
|
6240
|
-
(0,
|
|
6241
|
-
|
|
6242
|
-
refreshControl: props.refreshControl == null ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
5585
|
+
(0, _invariant.default)(typeof props.refreshing === 'boolean', '`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `' + JSON.stringify(props.refreshing ?? 'undefined') + '`');
|
|
5586
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.ScrollView, {
|
|
5587
|
+
...props,
|
|
5588
|
+
refreshControl: props.refreshControl == null ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.RefreshControl, {
|
|
6243
5589
|
refreshing: props.refreshing,
|
|
6244
5590
|
onRefresh: onRefresh,
|
|
6245
5591
|
progressViewOffset: props.progressViewOffset
|
|
6246
5592
|
}) : props.refreshControl
|
|
6247
|
-
})
|
|
5593
|
+
});
|
|
6248
5594
|
} else {
|
|
6249
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
5595
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.ScrollView, {
|
|
5596
|
+
...props
|
|
5597
|
+
});
|
|
6250
5598
|
}
|
|
6251
5599
|
};
|
|
6252
|
-
_this._onCellLayout =
|
|
5600
|
+
_this._onCellLayout = (e, cellKey, index) => {
|
|
6253
5601
|
var layout = e.nativeEvent.layout;
|
|
6254
5602
|
var next = {
|
|
6255
5603
|
offset: _this._selectOffset(layout),
|
|
6256
5604
|
length: _this._selectLength(layout),
|
|
6257
|
-
index
|
|
5605
|
+
index,
|
|
6258
5606
|
inLayout: true
|
|
6259
5607
|
};
|
|
6260
5608
|
var curr = _this._frames[cellKey];
|
|
@@ -6272,16 +5620,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6272
5620
|
_this._computeBlankness();
|
|
6273
5621
|
_this._updateViewableItems(_this.props, _this.state.cellsAroundViewport);
|
|
6274
5622
|
};
|
|
6275
|
-
_this._onCellUnmount =
|
|
5623
|
+
_this._onCellUnmount = cellKey => {
|
|
6276
5624
|
delete _this._cellRefs[cellKey];
|
|
6277
5625
|
var curr = _this._frames[cellKey];
|
|
6278
5626
|
if (curr) {
|
|
6279
|
-
_this._frames[cellKey] =
|
|
5627
|
+
_this._frames[cellKey] = {
|
|
5628
|
+
...curr,
|
|
6280
5629
|
inLayout: false
|
|
6281
|
-
}
|
|
5630
|
+
};
|
|
6282
5631
|
}
|
|
6283
5632
|
};
|
|
6284
|
-
_this._onLayout =
|
|
5633
|
+
_this._onLayout = e => {
|
|
6285
5634
|
if (_this._isNestedWithSameOrientation()) {
|
|
6286
5635
|
_this.measureLayoutRelativeToContainingList();
|
|
6287
5636
|
} else {
|
|
@@ -6291,17 +5640,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6291
5640
|
_this._scheduleCellsToRenderUpdate();
|
|
6292
5641
|
_this._maybeCallOnEdgeReached();
|
|
6293
5642
|
};
|
|
6294
|
-
_this._onLayoutEmpty =
|
|
5643
|
+
_this._onLayoutEmpty = e => {
|
|
6295
5644
|
_this.props.onLayout && _this.props.onLayout(e);
|
|
6296
5645
|
};
|
|
6297
|
-
_this._onLayoutFooter =
|
|
5646
|
+
_this._onLayoutFooter = e => {
|
|
6298
5647
|
_this._triggerRemeasureForChildListsInCell(_this._getFooterCellKey());
|
|
6299
5648
|
_this._footerLength = _this._selectLength(e.nativeEvent.layout);
|
|
6300
5649
|
};
|
|
6301
|
-
_this._onLayoutHeader =
|
|
5650
|
+
_this._onLayoutHeader = e => {
|
|
6302
5651
|
_this._headerLength = _this._selectLength(e.nativeEvent.layout);
|
|
6303
5652
|
};
|
|
6304
|
-
_this._onContentSizeChange =
|
|
5653
|
+
_this._onContentSizeChange = (width, height) => {
|
|
6305
5654
|
if (width > 0 && height > 0 && _this.props.initialScrollIndex != null && _this.props.initialScrollIndex > 0 && !_this._hasTriggeredInitialScrollToIndex) {
|
|
6306
5655
|
if (_this.props.contentOffset == null) {
|
|
6307
5656
|
if (_this.props.initialScrollIndex < _this.props.getItemCount(_this.props.data)) {
|
|
@@ -6321,26 +5670,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6321
5670
|
_this.props.onContentSizeChange(width, height);
|
|
6322
5671
|
}
|
|
6323
5672
|
_this._scrollMetrics.contentLength = _this._selectLength({
|
|
6324
|
-
height
|
|
6325
|
-
width
|
|
5673
|
+
height,
|
|
5674
|
+
width
|
|
6326
5675
|
});
|
|
6327
5676
|
_this._scheduleCellsToRenderUpdate();
|
|
6328
5677
|
_this._maybeCallOnEdgeReached();
|
|
6329
5678
|
};
|
|
6330
|
-
_this._convertParentScrollMetrics =
|
|
5679
|
+
_this._convertParentScrollMetrics = metrics => {
|
|
6331
5680
|
var offset = metrics.offset - _this._offsetFromParentVirtualizedList;
|
|
6332
5681
|
var visibleLength = metrics.visibleLength;
|
|
6333
5682
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6334
5683
|
var contentLength = _this._scrollMetrics.contentLength;
|
|
6335
5684
|
return {
|
|
6336
|
-
visibleLength
|
|
6337
|
-
contentLength
|
|
6338
|
-
offset
|
|
6339
|
-
dOffset
|
|
5685
|
+
visibleLength,
|
|
5686
|
+
contentLength,
|
|
5687
|
+
offset,
|
|
5688
|
+
dOffset
|
|
6340
5689
|
};
|
|
6341
5690
|
};
|
|
6342
|
-
_this._onScroll =
|
|
6343
|
-
_this._nestedChildLists.forEach(
|
|
5691
|
+
_this._onScroll = e => {
|
|
5692
|
+
_this._nestedChildLists.forEach(childList => {
|
|
6344
5693
|
childList._onScroll(e);
|
|
6345
5694
|
});
|
|
6346
5695
|
if (_this.props.onScroll) {
|
|
@@ -6356,8 +5705,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6356
5705
|
return;
|
|
6357
5706
|
}
|
|
6358
5707
|
var _this$_convertParentS = _this._convertParentScrollMetrics({
|
|
6359
|
-
visibleLength
|
|
6360
|
-
offset
|
|
5708
|
+
visibleLength,
|
|
5709
|
+
offset
|
|
6361
5710
|
});
|
|
6362
5711
|
visibleLength = _this$_convertParentS.visibleLength;
|
|
6363
5712
|
contentLength = _this$_convertParentS.contentLength;
|
|
@@ -6368,29 +5717,27 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6368
5717
|
var velocity = dOffset / dt;
|
|
6369
5718
|
if (dt > 500 && _this._scrollMetrics.dt > 500 && contentLength > 5 * visibleLength && !_this._hasWarned.perf) {
|
|
6370
5719
|
(0, _infoLog.default)("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.", {
|
|
6371
|
-
dt
|
|
5720
|
+
dt,
|
|
6372
5721
|
prevDt: _this._scrollMetrics.dt,
|
|
6373
|
-
contentLength
|
|
5722
|
+
contentLength
|
|
6374
5723
|
});
|
|
6375
5724
|
_this._hasWarned.perf = true;
|
|
6376
5725
|
}
|
|
6377
5726
|
var zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
|
|
6378
5727
|
_this._scrollMetrics = {
|
|
6379
|
-
contentLength
|
|
6380
|
-
dt
|
|
6381
|
-
dOffset
|
|
6382
|
-
offset
|
|
6383
|
-
timestamp
|
|
6384
|
-
velocity
|
|
6385
|
-
visibleLength
|
|
6386
|
-
zoomScale
|
|
5728
|
+
contentLength,
|
|
5729
|
+
dt,
|
|
5730
|
+
dOffset,
|
|
5731
|
+
offset,
|
|
5732
|
+
timestamp,
|
|
5733
|
+
velocity,
|
|
5734
|
+
visibleLength,
|
|
5735
|
+
zoomScale
|
|
6387
5736
|
};
|
|
6388
5737
|
if (_this.state.pendingScrollUpdateCount > 0) {
|
|
6389
|
-
_this.setState(
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
};
|
|
6393
|
-
});
|
|
5738
|
+
_this.setState(state => ({
|
|
5739
|
+
pendingScrollUpdateCount: state.pendingScrollUpdateCount - 1
|
|
5740
|
+
}));
|
|
6394
5741
|
}
|
|
6395
5742
|
_this._updateViewableItems(_this.props, _this.state.cellsAroundViewport);
|
|
6396
5743
|
if (!_this.props) {
|
|
@@ -6403,18 +5750,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6403
5750
|
_this._computeBlankness();
|
|
6404
5751
|
_this._scheduleCellsToRenderUpdate();
|
|
6405
5752
|
};
|
|
6406
|
-
_this._onScrollBeginDrag =
|
|
6407
|
-
_this._nestedChildLists.forEach(
|
|
5753
|
+
_this._onScrollBeginDrag = e => {
|
|
5754
|
+
_this._nestedChildLists.forEach(childList => {
|
|
6408
5755
|
childList._onScrollBeginDrag(e);
|
|
6409
5756
|
});
|
|
6410
|
-
_this._viewabilityTuples.forEach(
|
|
5757
|
+
_this._viewabilityTuples.forEach(tuple => {
|
|
6411
5758
|
tuple.viewabilityHelper.recordInteraction();
|
|
6412
5759
|
});
|
|
6413
5760
|
_this._hasInteracted = true;
|
|
6414
5761
|
_this.props.onScrollBeginDrag && _this.props.onScrollBeginDrag(e);
|
|
6415
5762
|
};
|
|
6416
|
-
_this._onScrollEndDrag =
|
|
6417
|
-
_this._nestedChildLists.forEach(
|
|
5763
|
+
_this._onScrollEndDrag = e => {
|
|
5764
|
+
_this._nestedChildLists.forEach(childList => {
|
|
6418
5765
|
childList._onScrollEndDrag(e);
|
|
6419
5766
|
});
|
|
6420
5767
|
var velocity = e.nativeEvent.velocity;
|
|
@@ -6424,46 +5771,46 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6424
5771
|
_this._computeBlankness();
|
|
6425
5772
|
_this.props.onScrollEndDrag && _this.props.onScrollEndDrag(e);
|
|
6426
5773
|
};
|
|
6427
|
-
_this._onMomentumScrollBegin =
|
|
6428
|
-
_this._nestedChildLists.forEach(
|
|
5774
|
+
_this._onMomentumScrollBegin = e => {
|
|
5775
|
+
_this._nestedChildLists.forEach(childList => {
|
|
6429
5776
|
childList._onMomentumScrollBegin(e);
|
|
6430
5777
|
});
|
|
6431
5778
|
_this.props.onMomentumScrollBegin && _this.props.onMomentumScrollBegin(e);
|
|
6432
5779
|
};
|
|
6433
|
-
_this._onMomentumScrollEnd =
|
|
6434
|
-
_this._nestedChildLists.forEach(
|
|
5780
|
+
_this._onMomentumScrollEnd = e => {
|
|
5781
|
+
_this._nestedChildLists.forEach(childList => {
|
|
6435
5782
|
childList._onMomentumScrollEnd(e);
|
|
6436
5783
|
});
|
|
6437
5784
|
_this._scrollMetrics.velocity = 0;
|
|
6438
5785
|
_this._computeBlankness();
|
|
6439
5786
|
_this.props.onMomentumScrollEnd && _this.props.onMomentumScrollEnd(e);
|
|
6440
5787
|
};
|
|
6441
|
-
_this._updateCellsToRender =
|
|
5788
|
+
_this._updateCellsToRender = () => {
|
|
6442
5789
|
_this._updateViewableItems(_this.props, _this.state.cellsAroundViewport);
|
|
6443
|
-
_this.setState(
|
|
5790
|
+
_this.setState((state, props) => {
|
|
6444
5791
|
var cellsAroundViewport = _this._adjustCellsAroundViewport(props, state.cellsAroundViewport, state.pendingScrollUpdateCount);
|
|
6445
5792
|
var renderMask = VirtualizedList._createRenderMask(props, cellsAroundViewport, _this._getNonViewportRenderRegions(props));
|
|
6446
5793
|
if (cellsAroundViewport.first === state.cellsAroundViewport.first && cellsAroundViewport.last === state.cellsAroundViewport.last && renderMask.equals(state.renderMask)) {
|
|
6447
5794
|
return null;
|
|
6448
5795
|
}
|
|
6449
5796
|
return {
|
|
6450
|
-
cellsAroundViewport
|
|
6451
|
-
renderMask
|
|
5797
|
+
cellsAroundViewport,
|
|
5798
|
+
renderMask
|
|
6452
5799
|
};
|
|
6453
5800
|
});
|
|
6454
5801
|
};
|
|
6455
|
-
_this._createViewToken =
|
|
5802
|
+
_this._createViewToken = (index, isViewable, props) => {
|
|
6456
5803
|
var data = props.data,
|
|
6457
5804
|
getItem = props.getItem;
|
|
6458
5805
|
var item = getItem(data, index);
|
|
6459
5806
|
return {
|
|
6460
|
-
index
|
|
6461
|
-
item
|
|
5807
|
+
index,
|
|
5808
|
+
item,
|
|
6462
5809
|
key: VirtualizedList._keyExtractor(item, index, props),
|
|
6463
|
-
isViewable
|
|
5810
|
+
isViewable
|
|
6464
5811
|
};
|
|
6465
5812
|
};
|
|
6466
|
-
_this._getOffsetApprox =
|
|
5813
|
+
_this._getOffsetApprox = (index, props) => {
|
|
6467
5814
|
if (Number.isInteger(index)) {
|
|
6468
5815
|
return _this.__getFrameMetricsApprox(index, props).offset;
|
|
6469
5816
|
} else {
|
|
@@ -6472,7 +5819,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6472
5819
|
return frameMetrics.offset + remainder * frameMetrics.length;
|
|
6473
5820
|
}
|
|
6474
5821
|
};
|
|
6475
|
-
_this.__getFrameMetricsApprox =
|
|
5822
|
+
_this.__getFrameMetricsApprox = (index, props) => {
|
|
6476
5823
|
var frame = _this._getFrameMetrics(index, props);
|
|
6477
5824
|
if (frame && frame.index === index) {
|
|
6478
5825
|
return frame;
|
|
@@ -6488,7 +5835,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6488
5835
|
};
|
|
6489
5836
|
}
|
|
6490
5837
|
};
|
|
6491
|
-
_this._getFrameMetrics =
|
|
5838
|
+
_this._getFrameMetrics = (index, props) => {
|
|
6492
5839
|
var data = props.data,
|
|
6493
5840
|
getItemCount = props.getItemCount,
|
|
6494
5841
|
getItemLayout = props.getItemLayout;
|
|
@@ -6501,7 +5848,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6501
5848
|
}
|
|
6502
5849
|
return frame;
|
|
6503
5850
|
};
|
|
6504
|
-
_this._getNonViewportRenderRegions =
|
|
5851
|
+
_this._getNonViewportRenderRegions = props => {
|
|
6505
5852
|
if (!(_this._lastFocusedCellKey && _this._cellRefs[_this._lastFocusedCellKey])) {
|
|
6506
5853
|
return [];
|
|
6507
5854
|
}
|
|
@@ -6524,20 +5871,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6524
5871
|
heightOfCellsAfterFocused += _this.__getFrameMetricsApprox(_i, props).length;
|
|
6525
5872
|
}
|
|
6526
5873
|
return [{
|
|
6527
|
-
first
|
|
6528
|
-
last
|
|
5874
|
+
first,
|
|
5875
|
+
last
|
|
6529
5876
|
}];
|
|
6530
5877
|
};
|
|
6531
5878
|
_this._checkProps(_props);
|
|
6532
5879
|
_this._fillRateHelper = new _FillRateHelper.default(_this._getFrameMetrics);
|
|
6533
|
-
_this._updateCellsToRenderBatcher = new _Batchinator.default(_this._updateCellsToRender,
|
|
5880
|
+
_this._updateCellsToRenderBatcher = new _Batchinator.default(_this._updateCellsToRender, _this.props.updateCellsBatchingPeriod ?? 50);
|
|
6534
5881
|
if (_this.props.viewabilityConfigCallbackPairs) {
|
|
6535
|
-
_this._viewabilityTuples = _this.props.viewabilityConfigCallbackPairs.map(
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
};
|
|
6540
|
-
});
|
|
5882
|
+
_this._viewabilityTuples = _this.props.viewabilityConfigCallbackPairs.map(pair => ({
|
|
5883
|
+
viewabilityHelper: new _ViewabilityHelper.default(pair.viewabilityConfig),
|
|
5884
|
+
onViewableItemsChanged: pair.onViewableItemsChanged
|
|
5885
|
+
}));
|
|
6541
5886
|
} else {
|
|
6542
5887
|
var _this$props = _this.props,
|
|
6543
5888
|
onViewableItemsChanged = _this$props.onViewableItemsChanged,
|
|
@@ -6550,7 +5895,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6550
5895
|
}
|
|
6551
5896
|
}
|
|
6552
5897
|
var initialRenderRegion = VirtualizedList._initialRenderRegion(_props);
|
|
6553
|
-
var minIndexForVisible =
|
|
5898
|
+
var minIndexForVisible = _this.props.maintainVisibleContentPosition?.minIndexForVisible ?? 0;
|
|
6554
5899
|
_this.state = {
|
|
6555
5900
|
cellsAroundViewport: initialRenderRegion,
|
|
6556
5901
|
renderMask: VirtualizedList._createRenderMask(_props, initialRenderRegion),
|
|
@@ -6579,10 +5924,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6579
5924
|
}
|
|
6580
5925
|
this._scrollRef.scrollTo(horizontalOrDefault(this.props.horizontal) ? {
|
|
6581
5926
|
x: offset,
|
|
6582
|
-
animated
|
|
5927
|
+
animated
|
|
6583
5928
|
} : {
|
|
6584
5929
|
y: offset,
|
|
6585
|
-
animated
|
|
5930
|
+
animated
|
|
6586
5931
|
});
|
|
6587
5932
|
}
|
|
6588
5933
|
}, {
|
|
@@ -6606,7 +5951,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6606
5951
|
onScrollToIndexFailed({
|
|
6607
5952
|
averageItemLength: this._averageCellLength,
|
|
6608
5953
|
highestMeasuredFrameIndex: this._highestMeasuredFrameIndex,
|
|
6609
|
-
index
|
|
5954
|
+
index
|
|
6610
5955
|
});
|
|
6611
5956
|
return;
|
|
6612
5957
|
}
|
|
@@ -6621,10 +5966,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6621
5966
|
}
|
|
6622
5967
|
this._scrollRef.scrollTo(horizontal ? {
|
|
6623
5968
|
x: offset,
|
|
6624
|
-
animated
|
|
5969
|
+
animated
|
|
6625
5970
|
} : {
|
|
6626
5971
|
y: offset,
|
|
6627
|
-
animated
|
|
5972
|
+
animated
|
|
6628
5973
|
});
|
|
6629
5974
|
}
|
|
6630
5975
|
}, {
|
|
@@ -6638,9 +5983,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6638
5983
|
var itemCount = getItemCount(data);
|
|
6639
5984
|
for (var _index = 0; _index < itemCount; _index++) {
|
|
6640
5985
|
if (getItem(data, _index) === item) {
|
|
6641
|
-
this.scrollToIndex(
|
|
5986
|
+
this.scrollToIndex({
|
|
5987
|
+
...params,
|
|
6642
5988
|
index: _index
|
|
6643
|
-
})
|
|
5989
|
+
});
|
|
6644
5990
|
break;
|
|
6645
5991
|
}
|
|
6646
5992
|
}
|
|
@@ -6659,19 +6005,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6659
6005
|
}
|
|
6660
6006
|
this._scrollRef.scrollTo(horizontalOrDefault(this.props.horizontal) ? {
|
|
6661
6007
|
x: offset,
|
|
6662
|
-
animated
|
|
6008
|
+
animated
|
|
6663
6009
|
} : {
|
|
6664
6010
|
y: offset,
|
|
6665
|
-
animated
|
|
6011
|
+
animated
|
|
6666
6012
|
});
|
|
6667
6013
|
}
|
|
6668
6014
|
}, {
|
|
6669
6015
|
key: "recordInteraction",
|
|
6670
6016
|
value: function recordInteraction() {
|
|
6671
|
-
this._nestedChildLists.forEach(
|
|
6017
|
+
this._nestedChildLists.forEach(childList => {
|
|
6672
6018
|
childList.recordInteraction();
|
|
6673
6019
|
});
|
|
6674
|
-
this._viewabilityTuples.forEach(
|
|
6020
|
+
this._viewabilityTuples.forEach(t => {
|
|
6675
6021
|
t.viewabilityHelper.recordInteraction();
|
|
6676
6022
|
});
|
|
6677
6023
|
this._updateViewableItems(this.props, this.state.cellsAroundViewport);
|
|
@@ -6719,8 +6065,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6719
6065
|
}, {
|
|
6720
6066
|
key: "_getCellKey",
|
|
6721
6067
|
value: function _getCellKey() {
|
|
6722
|
-
|
|
6723
|
-
return ((_this$context = this.context) == null ? undefined : _this$context.cellKey) || 'rootList';
|
|
6068
|
+
return this.context?.cellKey || 'rootList';
|
|
6724
6069
|
}
|
|
6725
6070
|
}, {
|
|
6726
6071
|
key: "hasMore",
|
|
@@ -6769,12 +6114,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6769
6114
|
if (pendingScrollUpdateCount > 0) {
|
|
6770
6115
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
6771
6116
|
}
|
|
6772
|
-
newCellsAroundViewport = (0, _$$_REQUIRE(_dependencyMap[
|
|
6117
|
+
newCellsAroundViewport = (0, _$$_REQUIRE(_dependencyMap[19]).computeWindowedRenderLimits)(props, maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch), windowSizeOrDefault(props.windowSize), cellsAroundViewport, this.__getFrameMetricsApprox, this._scrollMetrics);
|
|
6773
6118
|
(0, _invariant.default)(newCellsAroundViewport.last < getItemCount(data), 'computeWindowedRenderLimits() should return range in-bounds');
|
|
6774
6119
|
}
|
|
6775
6120
|
if (this._nestedChildLists.size() > 0) {
|
|
6776
6121
|
var childIdx = this._findFirstChildWithMore(newCellsAroundViewport.first, newCellsAroundViewport.last);
|
|
6777
|
-
newCellsAroundViewport.last = childIdx
|
|
6122
|
+
newCellsAroundViewport.last = childIdx ?? newCellsAroundViewport.last;
|
|
6778
6123
|
}
|
|
6779
6124
|
return newCellsAroundViewport;
|
|
6780
6125
|
}
|
|
@@ -6783,9 +6128,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6783
6128
|
value: function _findFirstChildWithMore(first, last) {
|
|
6784
6129
|
for (var ii = first; ii <= last; ii++) {
|
|
6785
6130
|
var cellKeyForIndex = this._indicesToKeys.get(ii);
|
|
6786
|
-
if (cellKeyForIndex != null && this._nestedChildLists.anyInCell(cellKeyForIndex,
|
|
6787
|
-
return childList.hasMore();
|
|
6788
|
-
})) {
|
|
6131
|
+
if (cellKeyForIndex != null && this._nestedChildLists.anyInCell(cellKeyForIndex, childList => childList.hasMore())) {
|
|
6789
6132
|
return ii;
|
|
6790
6133
|
}
|
|
6791
6134
|
}
|
|
@@ -6812,7 +6155,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6812
6155
|
this._updateCellsToRenderBatcher.dispose({
|
|
6813
6156
|
abort: true
|
|
6814
6157
|
});
|
|
6815
|
-
this._viewabilityTuples.forEach(
|
|
6158
|
+
this._viewabilityTuples.forEach(tuple => {
|
|
6816
6159
|
tuple.viewabilityHelper.dispose();
|
|
6817
6160
|
});
|
|
6818
6161
|
this._fillRateHelper.deactivateAndFlush();
|
|
@@ -6837,7 +6180,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6837
6180
|
var end = getItemCount(data) - 1;
|
|
6838
6181
|
var prevCellKey;
|
|
6839
6182
|
last = Math.min(end, last);
|
|
6840
|
-
var _loop = function
|
|
6183
|
+
var _loop = function () {
|
|
6841
6184
|
var item = getItem(data, ii);
|
|
6842
6185
|
var key = VirtualizedList._keyExtractor(item, ii, _this2.props);
|
|
6843
6186
|
_this2._indicesToKeys.set(ii, key);
|
|
@@ -6845,7 +6188,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6845
6188
|
stickyHeaderIndices.push(cells.length);
|
|
6846
6189
|
}
|
|
6847
6190
|
var shouldListenForLayout = getItemLayout == null || debug || _this2._fillRateHelper.enabled();
|
|
6848
|
-
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6191
|
+
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_VirtualizedListCellRenderer.default, {
|
|
6849
6192
|
CellRendererComponent: CellRendererComponent,
|
|
6850
6193
|
ItemSeparatorComponent: ii < end ? ItemSeparatorComponent : undefined,
|
|
6851
6194
|
ListItemComponent: ListItemComponent,
|
|
@@ -6856,17 +6199,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6856
6199
|
item: item,
|
|
6857
6200
|
prevCellKey: prevCellKey,
|
|
6858
6201
|
onUpdateSeparators: _this2._onUpdateSeparators,
|
|
6859
|
-
onCellFocusCapture:
|
|
6860
|
-
return _this2._onCellFocusCapture(key);
|
|
6861
|
-
},
|
|
6202
|
+
onCellFocusCapture: e => _this2._onCellFocusCapture(key),
|
|
6862
6203
|
onUnmount: _this2._onCellUnmount,
|
|
6863
|
-
ref:
|
|
6864
|
-
_this2._cellRefs[key] =
|
|
6204
|
+
ref: ref => {
|
|
6205
|
+
_this2._cellRefs[key] = ref;
|
|
6865
6206
|
},
|
|
6866
|
-
renderItem: renderItem
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6207
|
+
renderItem: renderItem,
|
|
6208
|
+
...(shouldListenForLayout && {
|
|
6209
|
+
onCellLayout: _this2._onCellLayout
|
|
6210
|
+
})
|
|
6211
|
+
}, key));
|
|
6870
6212
|
prevCellKey = key;
|
|
6871
6213
|
};
|
|
6872
6214
|
for (var ii = first; ii <= last; ii++) {
|
|
@@ -6882,7 +6224,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6882
6224
|
}, {
|
|
6883
6225
|
key: "render",
|
|
6884
6226
|
value: function render() {
|
|
6885
|
-
var _this3 = this;
|
|
6886
6227
|
this._checkProps(this.props);
|
|
6887
6228
|
var _this$props5 = this.props,
|
|
6888
6229
|
ListEmptyComponent = _this$props5.ListEmptyComponent,
|
|
@@ -6899,10 +6240,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6899
6240
|
if (stickyIndicesFromProps.has(0)) {
|
|
6900
6241
|
stickyHeaderIndices.push(0);
|
|
6901
6242
|
}
|
|
6902
|
-
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6903
|
-
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6243
|
+
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(ListHeaderComponent, {});
|
|
6244
|
+
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_$$_REQUIRE(_dependencyMap[20]).VirtualizedListCellContextProvider, {
|
|
6904
6245
|
cellKey: this._getCellKey() + '-header',
|
|
6905
|
-
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6246
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
6906
6247
|
collapsable: false,
|
|
6907
6248
|
onLayout: this._onLayoutHeader,
|
|
6908
6249
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListHeaderComponentStyle),
|
|
@@ -6912,12 +6253,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6912
6253
|
}
|
|
6913
6254
|
var itemCount = this.props.getItemCount(data);
|
|
6914
6255
|
if (itemCount === 0 && ListEmptyComponent) {
|
|
6915
|
-
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6916
|
-
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6256
|
+
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(ListEmptyComponent, {});
|
|
6257
|
+
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_$$_REQUIRE(_dependencyMap[20]).VirtualizedListCellContextProvider, {
|
|
6917
6258
|
cellKey: this._getCellKey() + '-empty',
|
|
6918
6259
|
children: React.cloneElement(_element2, {
|
|
6919
|
-
onLayout:
|
|
6920
|
-
|
|
6260
|
+
onLayout: event => {
|
|
6261
|
+
this._onLayoutEmpty(event);
|
|
6921
6262
|
if (_element2.props.onLayout) {
|
|
6922
6263
|
_element2.props.onLayout(event);
|
|
6923
6264
|
}
|
|
@@ -6931,9 +6272,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6931
6272
|
_keylessItemComponentName = '';
|
|
6932
6273
|
var spacerKey = this._getSpacerKey(!horizontal);
|
|
6933
6274
|
var renderRegions = this.state.renderMask.enumerateRegions();
|
|
6934
|
-
var lastSpacer = findLastWhere(renderRegions,
|
|
6935
|
-
return r.isSpacer;
|
|
6936
|
-
});
|
|
6275
|
+
var lastSpacer = findLastWhere(renderRegions, r => r.isSpacer);
|
|
6937
6276
|
for (var section of renderRegions) {
|
|
6938
6277
|
if (section.isSpacer) {
|
|
6939
6278
|
if (this.props.disableVirtualization) {
|
|
@@ -6945,8 +6284,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6945
6284
|
var firstMetrics = this.__getFrameMetricsApprox(section.first, this.props);
|
|
6946
6285
|
var lastMetrics = this.__getFrameMetricsApprox(last, this.props);
|
|
6947
6286
|
var spacerSize = lastMetrics.offset + lastMetrics.length - firstMetrics.offset;
|
|
6948
|
-
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6949
|
-
style:
|
|
6287
|
+
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
6288
|
+
style: {
|
|
6289
|
+
[spacerKey]: spacerSize
|
|
6290
|
+
}
|
|
6950
6291
|
}, `$spacer-${section.first}`));
|
|
6951
6292
|
} else {
|
|
6952
6293
|
this._pushCells(cells, stickyHeaderIndices, stickyIndicesFromProps, section.first, section.last, inversionStyle);
|
|
@@ -6958,17 +6299,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6958
6299
|
}
|
|
6959
6300
|
}
|
|
6960
6301
|
if (ListFooterComponent) {
|
|
6961
|
-
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6962
|
-
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6302
|
+
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(ListFooterComponent, {});
|
|
6303
|
+
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_$$_REQUIRE(_dependencyMap[20]).VirtualizedListCellContextProvider, {
|
|
6963
6304
|
cellKey: this._getFooterCellKey(),
|
|
6964
|
-
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6305
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
6965
6306
|
onLayout: this._onLayoutFooter,
|
|
6966
6307
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListFooterComponentStyle),
|
|
6967
6308
|
children: _element3
|
|
6968
6309
|
})
|
|
6969
6310
|
}, "$footer"));
|
|
6970
6311
|
}
|
|
6971
|
-
var scrollProps =
|
|
6312
|
+
var scrollProps = {
|
|
6313
|
+
...this.props,
|
|
6972
6314
|
onContentSizeChange: this._onContentSizeChange,
|
|
6973
6315
|
onLayout: this._onLayout,
|
|
6974
6316
|
onScroll: this._onScroll,
|
|
@@ -6978,15 +6320,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6978
6320
|
onMomentumScrollEnd: this._onMomentumScrollEnd,
|
|
6979
6321
|
scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
|
|
6980
6322
|
invertStickyHeaders: this.props.invertStickyHeaders !== undefined ? this.props.invertStickyHeaders : this.props.inverted,
|
|
6981
|
-
stickyHeaderIndices
|
|
6323
|
+
stickyHeaderIndices,
|
|
6982
6324
|
style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style,
|
|
6983
6325
|
isInvertedVirtualizedList: this.props.inverted,
|
|
6984
|
-
maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ?
|
|
6326
|
+
maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ? {
|
|
6327
|
+
...this.props.maintainVisibleContentPosition,
|
|
6985
6328
|
minIndexForVisible: this.props.maintainVisibleContentPosition.minIndexForVisible + (this.props.ListHeaderComponent ? 1 : 0)
|
|
6986
|
-
}
|
|
6987
|
-
}
|
|
6329
|
+
} : undefined
|
|
6330
|
+
};
|
|
6988
6331
|
this._hasMore = this.state.cellsAroundViewport.last < itemCount - 1;
|
|
6989
|
-
var innerRet = /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6332
|
+
var innerRet = /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_$$_REQUIRE(_dependencyMap[20]).VirtualizedListContextProvider, {
|
|
6990
6333
|
value: {
|
|
6991
6334
|
cellKey: null,
|
|
6992
6335
|
getScrollMetrics: this._getScrollMetrics,
|
|
@@ -7001,7 +6344,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7001
6344
|
});
|
|
7002
6345
|
var ret = innerRet;
|
|
7003
6346
|
if (this.props.debug) {
|
|
7004
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6347
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsxs)(_reactNative.View, {
|
|
7005
6348
|
style: styles.debug,
|
|
7006
6349
|
children: [ret, this._renderDebugOverlay()]
|
|
7007
6350
|
});
|
|
@@ -7016,7 +6359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7016
6359
|
data = _this$props7.data,
|
|
7017
6360
|
extraData = _this$props7.extraData;
|
|
7018
6361
|
if (data !== prevProps.data || extraData !== prevProps.extraData) {
|
|
7019
|
-
this._viewabilityTuples.forEach(
|
|
6362
|
+
this._viewabilityTuples.forEach(tuple => {
|
|
7020
6363
|
tuple.viewabilityHelper.resetViewableIndices();
|
|
7021
6364
|
});
|
|
7022
6365
|
}
|
|
@@ -7040,37 +6383,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7040
6383
|
}, {
|
|
7041
6384
|
key: "_triggerRemeasureForChildListsInCell",
|
|
7042
6385
|
value: function _triggerRemeasureForChildListsInCell(cellKey) {
|
|
7043
|
-
this._nestedChildLists.forEachInCell(cellKey,
|
|
6386
|
+
this._nestedChildLists.forEachInCell(cellKey, childList => {
|
|
7044
6387
|
childList.measureLayoutRelativeToContainingList();
|
|
7045
6388
|
});
|
|
7046
6389
|
}
|
|
7047
6390
|
}, {
|
|
7048
6391
|
key: "measureLayoutRelativeToContainingList",
|
|
7049
6392
|
value: function measureLayoutRelativeToContainingList() {
|
|
7050
|
-
var _this4 = this;
|
|
7051
6393
|
try {
|
|
7052
6394
|
if (!this._scrollRef) {
|
|
7053
6395
|
return;
|
|
7054
6396
|
}
|
|
7055
|
-
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(),
|
|
7056
|
-
|
|
7057
|
-
x
|
|
7058
|
-
y
|
|
6397
|
+
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(), (x, y, width, height) => {
|
|
6398
|
+
this._offsetFromParentVirtualizedList = this._selectOffset({
|
|
6399
|
+
x,
|
|
6400
|
+
y
|
|
7059
6401
|
});
|
|
7060
|
-
|
|
7061
|
-
width
|
|
7062
|
-
height
|
|
6402
|
+
this._scrollMetrics.contentLength = this._selectLength({
|
|
6403
|
+
width,
|
|
6404
|
+
height
|
|
7063
6405
|
});
|
|
7064
|
-
var scrollMetrics =
|
|
7065
|
-
var metricsChanged =
|
|
6406
|
+
var scrollMetrics = this._convertParentScrollMetrics(this.context.getScrollMetrics());
|
|
6407
|
+
var metricsChanged = this._scrollMetrics.visibleLength !== scrollMetrics.visibleLength || this._scrollMetrics.offset !== scrollMetrics.offset;
|
|
7066
6408
|
if (metricsChanged) {
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
6409
|
+
this._scrollMetrics.visibleLength = scrollMetrics.visibleLength;
|
|
6410
|
+
this._scrollMetrics.offset = scrollMetrics.offset;
|
|
6411
|
+
this._nestedChildLists.forEach(childList => {
|
|
7070
6412
|
childList.measureLayoutRelativeToContainingList();
|
|
7071
6413
|
});
|
|
7072
6414
|
}
|
|
7073
|
-
},
|
|
6415
|
+
}, error => {
|
|
7074
6416
|
console.warn("VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.");
|
|
7075
6417
|
});
|
|
7076
6418
|
} catch (error) {
|
|
@@ -7099,21 +6441,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7099
6441
|
var windowLen = frameLast.offset + frameLast.length - windowTop;
|
|
7100
6442
|
var visTop = this._scrollMetrics.offset;
|
|
7101
6443
|
var visLen = this._scrollMetrics.visibleLength;
|
|
7102
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6444
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsxs)(_reactNative.View, {
|
|
7103
6445
|
style: [styles.debugOverlayBase, styles.debugOverlay],
|
|
7104
|
-
children: [framesInLayout.map(
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
}, 'f' + ii);
|
|
7111
|
-
}), /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
6446
|
+
children: [framesInLayout.map((f, ii) => /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
6447
|
+
style: [styles.debugOverlayBase, styles.debugOverlayFrame, {
|
|
6448
|
+
top: f.offset * normalize,
|
|
6449
|
+
height: f.length * normalize
|
|
6450
|
+
}]
|
|
6451
|
+
}, 'f' + ii)), /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
7112
6452
|
style: [styles.debugOverlayBase, styles.debugOverlayFrameLast, {
|
|
7113
6453
|
top: windowTop * normalize,
|
|
7114
6454
|
height: windowLen * normalize
|
|
7115
6455
|
}]
|
|
7116
|
-
}), /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[
|
|
6456
|
+
}), /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, {
|
|
7117
6457
|
style: [styles.debugOverlayBase, styles.debugOverlayFrameVis, {
|
|
7118
6458
|
top: visTop * normalize,
|
|
7119
6459
|
height: visLen * normalize
|
|
@@ -7164,12 +6504,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7164
6504
|
if (onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength) {
|
|
7165
6505
|
this._sentEndForContentLength = this._scrollMetrics.contentLength;
|
|
7166
6506
|
onEndReached({
|
|
7167
|
-
distanceFromEnd
|
|
6507
|
+
distanceFromEnd
|
|
7168
6508
|
});
|
|
7169
6509
|
} else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
7170
6510
|
this._sentStartForContentLength = this._scrollMetrics.contentLength;
|
|
7171
6511
|
onStartReached({
|
|
7172
|
-
distanceFromStart
|
|
6512
|
+
distanceFromStart
|
|
7173
6513
|
});
|
|
7174
6514
|
} else {
|
|
7175
6515
|
this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0;
|
|
@@ -7212,12 +6552,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7212
6552
|
}, {
|
|
7213
6553
|
key: "_updateViewableItems",
|
|
7214
6554
|
value: function _updateViewableItems(props, cellsAroundViewport) {
|
|
7215
|
-
var _this5 = this;
|
|
7216
6555
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7217
6556
|
return;
|
|
7218
6557
|
}
|
|
7219
|
-
this._viewabilityTuples.forEach(
|
|
7220
|
-
tuple.viewabilityHelper.onUpdate(props,
|
|
6558
|
+
this._viewabilityTuples.forEach(tuple => {
|
|
6559
|
+
tuple.viewabilityHelper.onUpdate(props, this._scrollMetrics.offset, this._scrollMetrics.visibleLength, this._getFrameMetrics, this._createViewToken, tuple.onViewableItemsChanged, cellsAroundViewport);
|
|
7221
6560
|
});
|
|
7222
6561
|
}
|
|
7223
6562
|
}], [{
|
|
@@ -7249,9 +6588,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7249
6588
|
value: function _createRenderMask(props, cellsAroundViewport, additionalRegions) {
|
|
7250
6589
|
var itemCount = props.getItemCount(props.data);
|
|
7251
6590
|
(0, _invariant.default)(cellsAroundViewport.first >= 0 && cellsAroundViewport.last >= cellsAroundViewport.first - 1 && cellsAroundViewport.last < itemCount, `Invalid cells around viewport "[${cellsAroundViewport.first}, ${cellsAroundViewport.last}]" was passed to VirtualizedList._createRenderMask`);
|
|
7252
|
-
var renderMask = new (_$$_REQUIRE(_dependencyMap[
|
|
6591
|
+
var renderMask = new (_$$_REQUIRE(_dependencyMap[21]).CellRenderMask)(itemCount);
|
|
7253
6592
|
if (itemCount > 0) {
|
|
7254
|
-
var allRegions = [cellsAroundViewport
|
|
6593
|
+
var allRegions = [cellsAroundViewport, ...(additionalRegions ?? [])];
|
|
7255
6594
|
for (var region of allRegions) {
|
|
7256
6595
|
renderMask.addCells(region);
|
|
7257
6596
|
}
|
|
@@ -7267,9 +6606,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7267
6606
|
}, {
|
|
7268
6607
|
key: "_initialRenderRegion",
|
|
7269
6608
|
value: function _initialRenderRegion(props) {
|
|
7270
|
-
var _props$initialScrollI;
|
|
7271
6609
|
var itemCount = props.getItemCount(props.data);
|
|
7272
|
-
var firstCellIndex = Math.max(0, Math.min(itemCount - 1, Math.floor(
|
|
6610
|
+
var firstCellIndex = Math.max(0, Math.min(itemCount - 1, Math.floor(props.initialScrollIndex ?? 0)));
|
|
7273
6611
|
var lastCellIndex = Math.min(itemCount, firstCellIndex + initialNumToRenderOrDefault(props.initialNumToRender)) - 1;
|
|
7274
6612
|
return {
|
|
7275
6613
|
first: firstCellIndex,
|
|
@@ -7293,14 +6631,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7293
6631
|
}, {
|
|
7294
6632
|
key: "getDerivedStateFromProps",
|
|
7295
6633
|
value: function getDerivedStateFromProps(newProps, prevState) {
|
|
7296
|
-
var _newProps$maintainVis, _newProps$maintainVis2;
|
|
7297
6634
|
var itemCount = newProps.getItemCount(newProps.data);
|
|
7298
6635
|
if (itemCount === prevState.renderMask.numCells()) {
|
|
7299
6636
|
return prevState;
|
|
7300
6637
|
}
|
|
7301
6638
|
var maintainVisibleContentPositionAdjustment = null;
|
|
7302
6639
|
var prevFirstVisibleItemKey = prevState.firstVisibleItemKey;
|
|
7303
|
-
var minIndexForVisible =
|
|
6640
|
+
var minIndexForVisible = newProps.maintainVisibleContentPosition?.minIndexForVisible ?? 0;
|
|
7304
6641
|
var newFirstVisibleItemKey = newProps.getItemCount(newProps.data) > minIndexForVisible ? VirtualizedList._getItemKey(newProps, minIndexForVisible) : null;
|
|
7305
6642
|
if (newProps.maintainVisibleContentPosition != null && prevFirstVisibleItemKey != null && newFirstVisibleItemKey != null) {
|
|
7306
6643
|
if (newFirstVisibleItemKey !== prevFirstVisibleItemKey) {
|
|
@@ -7330,7 +6667,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7330
6667
|
var maxToRenderPerBatch = maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch);
|
|
7331
6668
|
return {
|
|
7332
6669
|
first: (0, _clamp.default)(0, itemCount - 1 - maxToRenderPerBatch, cells.first),
|
|
7333
|
-
last
|
|
6670
|
+
last
|
|
7334
6671
|
};
|
|
7335
6672
|
}
|
|
7336
6673
|
}, {
|
|
@@ -7339,7 +6676,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7339
6676
|
if (props.keyExtractor != null) {
|
|
7340
6677
|
return props.keyExtractor(item, index);
|
|
7341
6678
|
}
|
|
7342
|
-
var key = (0, _$$_REQUIRE(_dependencyMap[
|
|
6679
|
+
var key = (0, _$$_REQUIRE(_dependencyMap[19]).keyExtractor)(item, index);
|
|
7343
6680
|
if (key === String(index)) {
|
|
7344
6681
|
_usedIndexForKey = true;
|
|
7345
6682
|
if (item.type && item.type.displayName) {
|
|
@@ -7350,7 +6687,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7350
6687
|
}
|
|
7351
6688
|
}]);
|
|
7352
6689
|
}(_StateSafePureComponent.default);
|
|
7353
|
-
VirtualizedList.contextType = _$$_REQUIRE(_dependencyMap[
|
|
6690
|
+
VirtualizedList.contextType = _$$_REQUIRE(_dependencyMap[20]).VirtualizedListContext;
|
|
7354
6691
|
var styles = _reactNative.StyleSheet.create({
|
|
7355
6692
|
verticallyInverted: _reactNative.Platform.OS === 'android' ? {
|
|
7356
6693
|
transform: [{
|
|
@@ -7396,7 +6733,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7396
6733
|
}
|
|
7397
6734
|
});
|
|
7398
6735
|
module.exports = VirtualizedList;
|
|
7399
|
-
},"c4b46015e44050527820",["
|
|
6736
|
+
},"c4b46015e44050527820",["d3b57c8ff490ba8c7c47","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","80a4a0ee188e065108c9","9c829ff5032996ffdc8e","3ebfecb28bc5857801a2","26ef620f86acf7f6932a","1953ac0cbf7ac32b33d6","a30729068ebd0dea58f8","4fd7218f700134f011e9","718d6cdfb3fb081a232d","3e01a5bc929e85870fe5","04ffc79d4da370644bce","8bafab90a37cab64b100","ce5f423367f40f3628a8","fd099686726b2dfb6f66","afd4874b36ccd4e13961","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","a26dbe2a3afa21c3cf22","e6b1ef1f5b720d640981","de5ab026f9499640d730"]);
|
|
7400
6737
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7401
6738
|
'use strict';
|
|
7402
6739
|
|
|
@@ -7410,10 +6747,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7410
6747
|
}
|
|
7411
6748
|
return _$$_REQUIRE(_dependencyMap[2])(Batchinator, [{
|
|
7412
6749
|
key: "dispose",
|
|
7413
|
-
value: function dispose(
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
};
|
|
6750
|
+
value: function dispose(options = {
|
|
6751
|
+
abort: false
|
|
6752
|
+
}) {
|
|
7417
6753
|
if (this._taskHandle) {
|
|
7418
6754
|
this._taskHandle.cancel();
|
|
7419
6755
|
if (!options.abort) {
|
|
@@ -7425,26 +6761,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7425
6761
|
}, {
|
|
7426
6762
|
key: "schedule",
|
|
7427
6763
|
value: function schedule() {
|
|
7428
|
-
var _this = this;
|
|
7429
6764
|
if (this._taskHandle) {
|
|
7430
6765
|
return;
|
|
7431
6766
|
}
|
|
7432
|
-
var timeoutHandle = setTimeout(
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
6767
|
+
var timeoutHandle = setTimeout(() => {
|
|
6768
|
+
this._taskHandle = InteractionManager.runAfterInteractions(() => {
|
|
6769
|
+
this._taskHandle = null;
|
|
6770
|
+
this._callback();
|
|
7436
6771
|
});
|
|
7437
6772
|
}, this._delay);
|
|
7438
6773
|
this._taskHandle = {
|
|
7439
|
-
cancel:
|
|
7440
|
-
return clearTimeout(timeoutHandle);
|
|
7441
|
-
}
|
|
6774
|
+
cancel: () => clearTimeout(timeoutHandle)
|
|
7442
6775
|
};
|
|
7443
6776
|
}
|
|
7444
6777
|
}]);
|
|
7445
6778
|
}();
|
|
7446
6779
|
module.exports = Batchinator;
|
|
7447
|
-
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","
|
|
6780
|
+
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","2bfb5e99807ec81b822f","cc42269051bc9ff17a63"]);
|
|
7448
6781
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7449
6782
|
'use strict';
|
|
7450
6783
|
|
|
@@ -7462,9 +6795,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7462
6795
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7463
6796
|
'use strict';
|
|
7464
6797
|
|
|
7465
|
-
function infoLog() {
|
|
7466
|
-
|
|
7467
|
-
return (_console = console).log.apply(_console, arguments);
|
|
6798
|
+
function infoLog(...args) {
|
|
6799
|
+
return console.log(...args);
|
|
7468
6800
|
}
|
|
7469
6801
|
module.exports = infoLog;
|
|
7470
6802
|
},"4fd7218f700134f011e9",[]);
|
|
@@ -7485,9 +6817,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7485
6817
|
return (0, _createClass2.default)(ChildListCollection, [{
|
|
7486
6818
|
key: "add",
|
|
7487
6819
|
value: function add(list, cellKey) {
|
|
7488
|
-
var _this$_cellKeyToChild;
|
|
7489
6820
|
(0, _invariant.default)(!this._childrenToCellKey.has(list), 'Trying to add already present child list');
|
|
7490
|
-
var cellLists =
|
|
6821
|
+
var cellLists = this._cellKeyToChildren.get(cellKey) ?? new Set();
|
|
7491
6822
|
cellLists.add(list);
|
|
7492
6823
|
this._cellKeyToChildren.set(cellKey, cellLists);
|
|
7493
6824
|
this._childrenToCellKey.set(list, cellKey);
|
|
@@ -7517,8 +6848,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7517
6848
|
}, {
|
|
7518
6849
|
key: "forEachInCell",
|
|
7519
6850
|
value: function forEachInCell(cellKey, fn) {
|
|
7520
|
-
var
|
|
7521
|
-
var listSet = (_this$_cellKeyToChild2 = this._cellKeyToChildren.get(cellKey)) != null ? _this$_cellKeyToChild2 : [];
|
|
6851
|
+
var listSet = this._cellKeyToChildren.get(cellKey) ?? [];
|
|
7522
6852
|
for (var list of listSet) {
|
|
7523
6853
|
fn(list);
|
|
7524
6854
|
}
|
|
@@ -7526,8 +6856,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7526
6856
|
}, {
|
|
7527
6857
|
key: "anyInCell",
|
|
7528
6858
|
value: function anyInCell(cellKey, fn) {
|
|
7529
|
-
var
|
|
7530
|
-
var listSet = (_this$_cellKeyToChild3 = this._cellKeyToChildren.get(cellKey)) != null ? _this$_cellKeyToChild3 : [];
|
|
6859
|
+
var listSet = this._cellKeyToChildren.get(cellKey) ?? [];
|
|
7531
6860
|
for (var list of listSet) {
|
|
7532
6861
|
if (fn(list)) {
|
|
7533
6862
|
return true;
|
|
@@ -7542,7 +6871,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7542
6871
|
}
|
|
7543
6872
|
}]);
|
|
7544
6873
|
}();
|
|
7545
|
-
},"718d6cdfb3fb081a232d",["
|
|
6874
|
+
},"718d6cdfb3fb081a232d",["d3b57c8ff490ba8c7c47","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","fd099686726b2dfb6f66"]);
|
|
7546
6875
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7547
6876
|
'use strict';
|
|
7548
6877
|
|
|
@@ -7599,12 +6928,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7599
6928
|
return;
|
|
7600
6929
|
}
|
|
7601
6930
|
var total_time_spent = global.performance.now() - start;
|
|
7602
|
-
var info =
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
});
|
|
6931
|
+
var info = {
|
|
6932
|
+
...this._info,
|
|
6933
|
+
total_time_spent
|
|
6934
|
+
};
|
|
6935
|
+
_listeners.forEach(listener => listener(info));
|
|
7608
6936
|
this._resetData();
|
|
7609
6937
|
}
|
|
7610
6938
|
}, {
|
|
@@ -7688,10 +7016,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7688
7016
|
}
|
|
7689
7017
|
_listeners.push(callback);
|
|
7690
7018
|
return {
|
|
7691
|
-
remove:
|
|
7692
|
-
_listeners = _listeners.filter(
|
|
7693
|
-
return callback !== listener;
|
|
7694
|
-
});
|
|
7019
|
+
remove: () => {
|
|
7020
|
+
_listeners = _listeners.filter(listener => callback !== listener);
|
|
7695
7021
|
}
|
|
7696
7022
|
};
|
|
7697
7023
|
}
|
|
@@ -7708,7 +7034,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7708
7034
|
}]);
|
|
7709
7035
|
}();
|
|
7710
7036
|
module.exports = FillRateHelper;
|
|
7711
|
-
},"3e01a5bc929e85870fe5",["
|
|
7037
|
+
},"3e01a5bc929e85870fe5",["cc42269051bc9ff17a63","2bfb5e99807ec81b822f"]);
|
|
7712
7038
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7713
7039
|
Object.defineProperty(exports, "__esModule", {
|
|
7714
7040
|
value: true
|
|
@@ -7722,9 +7048,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7722
7048
|
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
7723
7049
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
7724
7050
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
7725
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function
|
|
7051
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
7726
7052
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
7727
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
7053
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
7728
7054
|
function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
7729
7055
|
var StateSafePureComponent = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
7730
7056
|
function StateSafePureComponent(props) {
|
|
@@ -7739,17 +7065,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7739
7065
|
return (0, _createClass2.default)(StateSafePureComponent, [{
|
|
7740
7066
|
key: "setState",
|
|
7741
7067
|
value: function setState(partialState, callback) {
|
|
7742
|
-
var _this2 = this;
|
|
7743
7068
|
if (typeof partialState === 'function') {
|
|
7744
|
-
_superPropGet(StateSafePureComponent, "setState", this, 3)([
|
|
7745
|
-
|
|
7069
|
+
_superPropGet(StateSafePureComponent, "setState", this, 3)([(state, props) => {
|
|
7070
|
+
this._inAsyncStateUpdate = true;
|
|
7746
7071
|
var ret;
|
|
7747
7072
|
try {
|
|
7748
7073
|
ret = partialState(state, props);
|
|
7749
7074
|
} catch (err) {
|
|
7750
7075
|
throw err;
|
|
7751
7076
|
} finally {
|
|
7752
|
-
|
|
7077
|
+
this._inAsyncStateUpdate = false;
|
|
7753
7078
|
}
|
|
7754
7079
|
return ret;
|
|
7755
7080
|
}, callback]);
|
|
@@ -7764,35 +7089,34 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7764
7089
|
var props = this.props,
|
|
7765
7090
|
state = this.state;
|
|
7766
7091
|
Object.defineProperty(this, 'props', {
|
|
7767
|
-
get
|
|
7092
|
+
get() {
|
|
7768
7093
|
(0, _invariant.default)(!that._inAsyncStateUpdate, '"this.props" should not be accessed during state updates');
|
|
7769
7094
|
return props;
|
|
7770
7095
|
},
|
|
7771
|
-
set
|
|
7096
|
+
set(newProps) {
|
|
7772
7097
|
props = newProps;
|
|
7773
7098
|
}
|
|
7774
7099
|
});
|
|
7775
7100
|
Object.defineProperty(this, 'state', {
|
|
7776
|
-
get
|
|
7101
|
+
get() {
|
|
7777
7102
|
(0, _invariant.default)(!that._inAsyncStateUpdate, '"this.state" should not be acceessed during state updates');
|
|
7778
7103
|
return state;
|
|
7779
7104
|
},
|
|
7780
|
-
set
|
|
7105
|
+
set(newState) {
|
|
7781
7106
|
state = newState;
|
|
7782
7107
|
}
|
|
7783
7108
|
});
|
|
7784
7109
|
}
|
|
7785
7110
|
}]);
|
|
7786
7111
|
}(React.PureComponent);
|
|
7787
|
-
},"04ffc79d4da370644bce",["
|
|
7112
|
+
},"04ffc79d4da370644bce",["d3b57c8ff490ba8c7c47","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","80a4a0ee188e065108c9","9c829ff5032996ffdc8e","659b028086c2c6f074a3","3ebfecb28bc5857801a2","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f"]);
|
|
7788
7113
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7789
7114
|
'use strict';
|
|
7790
7115
|
|
|
7791
7116
|
var ViewabilityHelper = /*#__PURE__*/function () {
|
|
7792
|
-
function ViewabilityHelper(
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
};
|
|
7117
|
+
function ViewabilityHelper(config = {
|
|
7118
|
+
viewAreaCoveragePercentThreshold: 0
|
|
7119
|
+
}) {
|
|
7796
7120
|
_$$_REQUIRE(_dependencyMap[0])(this, ViewabilityHelper);
|
|
7797
7121
|
this._hasInteracted = false;
|
|
7798
7122
|
this._timers = new Set();
|
|
@@ -7828,8 +7152,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7828
7152
|
last = _ref.last;
|
|
7829
7153
|
if (last >= itemCount) {
|
|
7830
7154
|
console.warn('Invalid render range computing viewability ' + JSON.stringify({
|
|
7831
|
-
renderRange
|
|
7832
|
-
itemCount
|
|
7155
|
+
renderRange,
|
|
7156
|
+
itemCount
|
|
7833
7157
|
}));
|
|
7834
7158
|
return [];
|
|
7835
7159
|
}
|
|
@@ -7854,7 +7178,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7854
7178
|
}, {
|
|
7855
7179
|
key: "onUpdate",
|
|
7856
7180
|
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
7857
|
-
var _this = this;
|
|
7858
7181
|
var itemCount = props.getItemCount(props.data);
|
|
7859
7182
|
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props)) {
|
|
7860
7183
|
return;
|
|
@@ -7863,16 +7186,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7863
7186
|
if (itemCount) {
|
|
7864
7187
|
viewableIndices = this.computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange);
|
|
7865
7188
|
}
|
|
7866
|
-
if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every(
|
|
7867
|
-
return v === viewableIndices[ii];
|
|
7868
|
-
})) {
|
|
7189
|
+
if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every((v, ii) => v === viewableIndices[ii])) {
|
|
7869
7190
|
return;
|
|
7870
7191
|
}
|
|
7871
7192
|
this._viewableIndices = viewableIndices;
|
|
7872
7193
|
if (this._config.minimumViewTime) {
|
|
7873
|
-
var handle = setTimeout(
|
|
7874
|
-
|
|
7875
|
-
|
|
7194
|
+
var handle = setTimeout(() => {
|
|
7195
|
+
this._timers.delete(handle);
|
|
7196
|
+
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
7876
7197
|
}, this._config.minimumViewTime);
|
|
7877
7198
|
this._timers.add(handle);
|
|
7878
7199
|
} else {
|
|
@@ -7892,12 +7213,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7892
7213
|
}, {
|
|
7893
7214
|
key: "_onUpdateSync",
|
|
7894
7215
|
value: function _onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
7895
|
-
|
|
7896
|
-
viewableIndicesToCheck = viewableIndicesToCheck.filter(function (ii) {
|
|
7897
|
-
return _this2._viewableIndices.includes(ii);
|
|
7898
|
-
});
|
|
7216
|
+
viewableIndicesToCheck = viewableIndicesToCheck.filter(ii => this._viewableIndices.includes(ii));
|
|
7899
7217
|
var prevItems = this._viewableItems;
|
|
7900
|
-
var nextItems = new Map(viewableIndicesToCheck.map(
|
|
7218
|
+
var nextItems = new Map(viewableIndicesToCheck.map(ii => {
|
|
7901
7219
|
var viewable = createViewToken(ii, true, props);
|
|
7902
7220
|
return [viewable.key, viewable];
|
|
7903
7221
|
}));
|
|
@@ -7915,16 +7233,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7915
7233
|
var _key = _ref5[0];
|
|
7916
7234
|
var _viewable = _ref5[1];
|
|
7917
7235
|
if (!nextItems.has(_key)) {
|
|
7918
|
-
changed.push(
|
|
7236
|
+
changed.push({
|
|
7237
|
+
..._viewable,
|
|
7919
7238
|
isViewable: false
|
|
7920
|
-
})
|
|
7239
|
+
});
|
|
7921
7240
|
}
|
|
7922
7241
|
}
|
|
7923
7242
|
if (changed.length > 0) {
|
|
7924
7243
|
this._viewableItems = nextItems;
|
|
7925
7244
|
onViewableItemsChanged({
|
|
7926
7245
|
viewableItems: Array.from(nextItems.values()),
|
|
7927
|
-
changed
|
|
7246
|
+
changed,
|
|
7928
7247
|
viewabilityConfig: this._config
|
|
7929
7248
|
});
|
|
7930
7249
|
}
|
|
@@ -7948,7 +7267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7948
7267
|
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
7949
7268
|
}
|
|
7950
7269
|
module.exports = ViewabilityHelper;
|
|
7951
|
-
},"8bafab90a37cab64b100",["
|
|
7270
|
+
},"8bafab90a37cab64b100",["2bfb5e99807ec81b822f","cc42269051bc9ff17a63","fd099686726b2dfb6f66","8972a767e9133b0e3a28"]);
|
|
7952
7271
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7953
7272
|
Object.defineProperty(exports, "__esModule", {
|
|
7954
7273
|
value: true
|
|
@@ -7962,17 +7281,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7962
7281
|
var _reactNative = _$$_REQUIRE(_dependencyMap[6]);
|
|
7963
7282
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
7964
7283
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
7965
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function
|
|
7284
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
7966
7285
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
7967
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
7286
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
7968
7287
|
var CellRenderer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
7969
|
-
function CellRenderer() {
|
|
7288
|
+
function CellRenderer(...args) {
|
|
7970
7289
|
var _this;
|
|
7971
7290
|
(0, _classCallCheck2.default)(this, CellRenderer);
|
|
7972
|
-
|
|
7973
|
-
args[_key] = arguments[_key];
|
|
7974
|
-
}
|
|
7975
|
-
_this = _callSuper(this, CellRenderer, [].concat(args));
|
|
7291
|
+
_this = _callSuper(this, CellRenderer, [...args]);
|
|
7976
7292
|
_this.state = {
|
|
7977
7293
|
separatorProps: {
|
|
7978
7294
|
highlighted: false,
|
|
@@ -7980,7 +7296,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7980
7296
|
}
|
|
7981
7297
|
};
|
|
7982
7298
|
_this._separators = {
|
|
7983
|
-
highlight:
|
|
7299
|
+
highlight: () => {
|
|
7984
7300
|
var _this$props = _this.props,
|
|
7985
7301
|
cellKey = _this$props.cellKey,
|
|
7986
7302
|
prevCellKey = _this$props.prevCellKey;
|
|
@@ -7988,7 +7304,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7988
7304
|
highlighted: true
|
|
7989
7305
|
});
|
|
7990
7306
|
},
|
|
7991
|
-
unhighlight:
|
|
7307
|
+
unhighlight: () => {
|
|
7992
7308
|
var _this$props2 = _this.props,
|
|
7993
7309
|
cellKey = _this$props2.cellKey,
|
|
7994
7310
|
prevCellKey = _this$props2.prevCellKey;
|
|
@@ -7996,14 +7312,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7996
7312
|
highlighted: false
|
|
7997
7313
|
});
|
|
7998
7314
|
},
|
|
7999
|
-
updateProps:
|
|
7315
|
+
updateProps: (select, newProps) => {
|
|
8000
7316
|
var _this$props3 = _this.props,
|
|
8001
7317
|
cellKey = _this$props3.cellKey,
|
|
8002
7318
|
prevCellKey = _this$props3.prevCellKey;
|
|
8003
7319
|
_this.props.onUpdateSeparators([select === 'leading' ? prevCellKey : cellKey], newProps);
|
|
8004
7320
|
}
|
|
8005
7321
|
};
|
|
8006
|
-
_this._onLayout =
|
|
7322
|
+
_this._onLayout = nativeEvent => {
|
|
8007
7323
|
_this.props.onCellLayout && _this.props.onCellLayout(nativeEvent, _this.props.cellKey, _this.props.index);
|
|
8008
7324
|
};
|
|
8009
7325
|
return _this;
|
|
@@ -8012,11 +7328,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8012
7328
|
return (0, _createClass2.default)(CellRenderer, [{
|
|
8013
7329
|
key: "updateSeparatorProps",
|
|
8014
7330
|
value: function updateSeparatorProps(newProps) {
|
|
8015
|
-
this.setState(
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
7331
|
+
this.setState(state => ({
|
|
7332
|
+
separatorProps: {
|
|
7333
|
+
...state.separatorProps,
|
|
7334
|
+
...newProps
|
|
7335
|
+
}
|
|
7336
|
+
}));
|
|
8020
7337
|
}
|
|
8021
7338
|
}, {
|
|
8022
7339
|
key: "componentWillUnmount",
|
|
@@ -8031,15 +7348,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8031
7348
|
}
|
|
8032
7349
|
if (ListItemComponent) {
|
|
8033
7350
|
return React.createElement(ListItemComponent, {
|
|
8034
|
-
item
|
|
8035
|
-
index
|
|
7351
|
+
item,
|
|
7352
|
+
index,
|
|
8036
7353
|
separators: this._separators
|
|
8037
7354
|
});
|
|
8038
7355
|
}
|
|
8039
7356
|
if (renderItem) {
|
|
8040
7357
|
return renderItem({
|
|
8041
|
-
item
|
|
8042
|
-
index
|
|
7358
|
+
item,
|
|
7359
|
+
index,
|
|
8043
7360
|
separators: this._separators
|
|
8044
7361
|
});
|
|
8045
7362
|
}
|
|
@@ -8061,26 +7378,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8061
7378
|
onCellLayout = _this$props4.onCellLayout,
|
|
8062
7379
|
renderItem = _this$props4.renderItem;
|
|
8063
7380
|
var element = this._renderElement(renderItem, ListItemComponent, item, index);
|
|
8064
|
-
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent,
|
|
7381
|
+
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, {
|
|
7382
|
+
...this.state.separatorProps
|
|
7383
|
+
});
|
|
8065
7384
|
var cellStyle = inversionStyle ? horizontal ? [styles.rowReverse, inversionStyle] : [styles.columnReverse, inversionStyle] : horizontal ? [styles.row, inversionStyle] : inversionStyle;
|
|
8066
|
-
var result = !CellRendererComponent ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View,
|
|
7385
|
+
var result = !CellRendererComponent ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, {
|
|
8067
7386
|
style: cellStyle,
|
|
8068
|
-
onFocusCapture: onCellFocusCapture
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
7387
|
+
onFocusCapture: onCellFocusCapture,
|
|
7388
|
+
...(onCellLayout && {
|
|
7389
|
+
onLayout: this._onLayout
|
|
7390
|
+
}),
|
|
8072
7391
|
children: [element, itemSeparator]
|
|
8073
|
-
})
|
|
7392
|
+
}) : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(CellRendererComponent, {
|
|
8074
7393
|
cellKey: cellKey,
|
|
8075
7394
|
index: index,
|
|
8076
7395
|
item: item,
|
|
8077
7396
|
style: cellStyle,
|
|
8078
|
-
onFocusCapture: onCellFocusCapture
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
7397
|
+
onFocusCapture: onCellFocusCapture,
|
|
7398
|
+
...(onCellLayout && {
|
|
7399
|
+
onLayout: this._onLayout
|
|
7400
|
+
}),
|
|
8082
7401
|
children: [element, itemSeparator]
|
|
8083
|
-
})
|
|
7402
|
+
});
|
|
8084
7403
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).VirtualizedListCellContextProvider, {
|
|
8085
7404
|
cellKey: this.props.cellKey,
|
|
8086
7405
|
children: result
|
|
@@ -8090,9 +7409,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8090
7409
|
key: "getDerivedStateFromProps",
|
|
8091
7410
|
value: function getDerivedStateFromProps(props, prevState) {
|
|
8092
7411
|
return {
|
|
8093
|
-
separatorProps:
|
|
7412
|
+
separatorProps: {
|
|
7413
|
+
...prevState.separatorProps,
|
|
8094
7414
|
leadingItem: props.item
|
|
8095
|
-
}
|
|
7415
|
+
}
|
|
8096
7416
|
};
|
|
8097
7417
|
}
|
|
8098
7418
|
}]);
|
|
@@ -8108,7 +7428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8108
7428
|
flexDirection: 'column-reverse'
|
|
8109
7429
|
}
|
|
8110
7430
|
});
|
|
8111
|
-
},"ce5f423367f40f3628a8",["
|
|
7431
|
+
},"ce5f423367f40f3628a8",["d3b57c8ff490ba8c7c47","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","80a4a0ee188e065108c9","9c829ff5032996ffdc8e","3ebfecb28bc5857801a2","26ef620f86acf7f6932a","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","e6b1ef1f5b720d640981"]);
|
|
8112
7432
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8113
7433
|
Object.defineProperty(exports, "__esModule", {
|
|
8114
7434
|
value: true
|
|
@@ -8119,41 +7439,41 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8119
7439
|
exports.VirtualizedListContextResetter = VirtualizedListContextResetter;
|
|
8120
7440
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
8121
7441
|
var React = _react;
|
|
8122
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function
|
|
7442
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
8123
7443
|
var VirtualizedListContext = exports.VirtualizedListContext = React.createContext(null);
|
|
8124
|
-
function VirtualizedListContextResetter(
|
|
8125
|
-
|
|
7444
|
+
function VirtualizedListContextResetter({
|
|
7445
|
+
children
|
|
7446
|
+
}) {
|
|
8126
7447
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
8127
7448
|
value: null,
|
|
8128
7449
|
children: children
|
|
8129
7450
|
});
|
|
8130
7451
|
}
|
|
8131
|
-
function VirtualizedListContextProvider(
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
}, [value.getScrollMetrics, value.horizontal, value.getOutermostParentListRef, value.registerAsNestedChild, value.unregisterAsNestedChild]);
|
|
7452
|
+
function VirtualizedListContextProvider({
|
|
7453
|
+
children,
|
|
7454
|
+
value
|
|
7455
|
+
}) {
|
|
7456
|
+
var context = (0, _react.useMemo)(() => ({
|
|
7457
|
+
cellKey: null,
|
|
7458
|
+
getScrollMetrics: value.getScrollMetrics,
|
|
7459
|
+
horizontal: value.horizontal,
|
|
7460
|
+
getOutermostParentListRef: value.getOutermostParentListRef,
|
|
7461
|
+
registerAsNestedChild: value.registerAsNestedChild,
|
|
7462
|
+
unregisterAsNestedChild: value.unregisterAsNestedChild
|
|
7463
|
+
}), [value.getScrollMetrics, value.horizontal, value.getOutermostParentListRef, value.registerAsNestedChild, value.unregisterAsNestedChild]);
|
|
8144
7464
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
8145
7465
|
value: context,
|
|
8146
7466
|
children: children
|
|
8147
7467
|
});
|
|
8148
7468
|
}
|
|
8149
|
-
function VirtualizedListCellContextProvider(
|
|
8150
|
-
|
|
8151
|
-
|
|
7469
|
+
function VirtualizedListCellContextProvider({
|
|
7470
|
+
cellKey,
|
|
7471
|
+
children
|
|
7472
|
+
}) {
|
|
8152
7473
|
var currContext = (0, _react.useContext)(VirtualizedListContext);
|
|
8153
|
-
var context = (0, _react.useMemo)(
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
});
|
|
7474
|
+
var context = (0, _react.useMemo)(() => currContext == null ? null : {
|
|
7475
|
+
...currContext,
|
|
7476
|
+
cellKey
|
|
8157
7477
|
}, [currContext, cellKey]);
|
|
8158
7478
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
8159
7479
|
value: context,
|
|
@@ -8166,11 +7486,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8166
7486
|
value: true
|
|
8167
7487
|
});
|
|
8168
7488
|
exports.CellRenderMask = undefined;
|
|
8169
|
-
var
|
|
8170
|
-
var
|
|
8171
|
-
var
|
|
8172
|
-
var
|
|
8173
|
-
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
7489
|
+
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
7490
|
+
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
7491
|
+
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
7492
|
+
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
8174
7493
|
var CellRenderMask = exports.CellRenderMask = /*#__PURE__*/function () {
|
|
8175
7494
|
function CellRenderMask(numCells) {
|
|
8176
7495
|
(0, _classCallCheck2.default)(this, CellRenderMask);
|
|
@@ -8194,7 +7513,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8194
7513
|
}, {
|
|
8195
7514
|
key: "addCells",
|
|
8196
7515
|
value: function addCells(cells) {
|
|
8197
|
-
var _this$_regions;
|
|
8198
7516
|
(0, _invariant.default)(cells.first >= 0 && cells.first < this._numCells && cells.last >= -1 && cells.last < this._numCells && cells.last >= cells.first - 1, 'CellRenderMask.addCells called with invalid cell range');
|
|
8199
7517
|
if (cells.last < cells.first) {
|
|
8200
7518
|
return;
|
|
@@ -8212,9 +7530,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8212
7530
|
}
|
|
8213
7531
|
var newLeadRegion = [];
|
|
8214
7532
|
var newTailRegion = [];
|
|
8215
|
-
var newMainRegion =
|
|
7533
|
+
var newMainRegion = {
|
|
7534
|
+
...cells,
|
|
8216
7535
|
isSpacer: false
|
|
8217
|
-
}
|
|
7536
|
+
};
|
|
8218
7537
|
if (firstIntersect.first < newMainRegion.first) {
|
|
8219
7538
|
if (firstIntersect.isSpacer) {
|
|
8220
7539
|
newLeadRegion.push({
|
|
@@ -8237,9 +7556,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8237
7556
|
newMainRegion.last = lastIntersect.last;
|
|
8238
7557
|
}
|
|
8239
7558
|
}
|
|
8240
|
-
var replacementRegions = [
|
|
7559
|
+
var replacementRegions = [...newLeadRegion, newMainRegion, ...newTailRegion];
|
|
8241
7560
|
var numRegionsToDelete = lastIntersectIdx - firstIntersectIdx + 1;
|
|
8242
|
-
|
|
7561
|
+
this._regions.splice(firstIntersectIdx, numRegionsToDelete, ...replacementRegions);
|
|
8243
7562
|
}
|
|
8244
7563
|
}, {
|
|
8245
7564
|
key: "numCells",
|
|
@@ -8249,9 +7568,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8249
7568
|
}, {
|
|
8250
7569
|
key: "equals",
|
|
8251
7570
|
value: function equals(other) {
|
|
8252
|
-
return this._numCells === other._numCells && this._regions.length === other._regions.length && this._regions.every(
|
|
8253
|
-
return region.first === other._regions[i].first && region.last === other._regions[i].last && region.isSpacer === other._regions[i].isSpacer;
|
|
8254
|
-
});
|
|
7571
|
+
return this._numCells === other._numCells && this._regions.length === other._regions.length && this._regions.every((region, i) => region.first === other._regions[i].first && region.last === other._regions[i].last && region.isSpacer === other._regions[i].isSpacer);
|
|
8255
7572
|
}
|
|
8256
7573
|
}, {
|
|
8257
7574
|
key: "_findRegion",
|
|
@@ -8273,7 +7590,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8273
7590
|
}
|
|
8274
7591
|
}]);
|
|
8275
7592
|
}();
|
|
8276
|
-
},"de5ab026f9499640d730",["
|
|
7593
|
+
},"de5ab026f9499640d730",["d3b57c8ff490ba8c7c47","8972a767e9133b0e3a28","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","fd099686726b2dfb6f66"]);
|
|
8277
7594
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8278
7595
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
8279
7596
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -8287,23 +7604,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8287
7604
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
8288
7605
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11]));
|
|
8289
7606
|
var _excluded = ["ItemSeparatorComponent", "SectionSeparatorComponent", "renderItem", "renderSectionFooter", "renderSectionHeader", "sections", "stickySectionHeadersEnabled"];
|
|
8290
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function
|
|
7607
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
8291
7608
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
8292
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
7609
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
8293
7610
|
var VirtualizedSectionList = /*#__PURE__*/function (_React$PureComponent) {
|
|
8294
|
-
function VirtualizedSectionList() {
|
|
7611
|
+
function VirtualizedSectionList(...args) {
|
|
8295
7612
|
var _this;
|
|
8296
7613
|
(0, _classCallCheck2.default)(this, VirtualizedSectionList);
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
}
|
|
8300
|
-
_this = _callSuper(this, VirtualizedSectionList, [].concat(args));
|
|
8301
|
-
_this._keyExtractor = function (item, index) {
|
|
7614
|
+
_this = _callSuper(this, VirtualizedSectionList, [...args]);
|
|
7615
|
+
_this._keyExtractor = (item, index) => {
|
|
8302
7616
|
var info = _this._subExtractor(index);
|
|
8303
7617
|
return info && info.key || String(index);
|
|
8304
7618
|
};
|
|
8305
|
-
_this._convertViewable =
|
|
8306
|
-
var _info$index;
|
|
7619
|
+
_this._convertViewable = viewable => {
|
|
8307
7620
|
(0, _invariant.default)(viewable.index != null, 'Received a broken ViewToken');
|
|
8308
7621
|
var info = _this._subExtractor(viewable.index);
|
|
8309
7622
|
if (!info) {
|
|
@@ -8311,16 +7624,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8311
7624
|
}
|
|
8312
7625
|
var keyExtractorWithNullableIndex = info.section.keyExtractor;
|
|
8313
7626
|
var keyExtractorWithNonNullableIndex = _this.props.keyExtractor || _$$_REQUIRE(_dependencyMap[12]).keyExtractor;
|
|
8314
|
-
var key = keyExtractorWithNullableIndex != null ? keyExtractorWithNullableIndex(viewable.item, info.index) : keyExtractorWithNonNullableIndex(viewable.item,
|
|
8315
|
-
return
|
|
7627
|
+
var key = keyExtractorWithNullableIndex != null ? keyExtractorWithNullableIndex(viewable.item, info.index) : keyExtractorWithNonNullableIndex(viewable.item, info.index ?? 0);
|
|
7628
|
+
return {
|
|
7629
|
+
...viewable,
|
|
8316
7630
|
index: info.index,
|
|
8317
|
-
key
|
|
7631
|
+
key,
|
|
8318
7632
|
section: info.section
|
|
8319
|
-
}
|
|
7633
|
+
};
|
|
8320
7634
|
};
|
|
8321
|
-
_this._onViewableItemsChanged =
|
|
8322
|
-
|
|
8323
|
-
|
|
7635
|
+
_this._onViewableItemsChanged = ({
|
|
7636
|
+
viewableItems,
|
|
7637
|
+
changed
|
|
7638
|
+
}) => {
|
|
8324
7639
|
var onViewableItemsChanged = _this.props.onViewableItemsChanged;
|
|
8325
7640
|
if (onViewableItemsChanged != null) {
|
|
8326
7641
|
onViewableItemsChanged({
|
|
@@ -8329,74 +7644,73 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8329
7644
|
});
|
|
8330
7645
|
}
|
|
8331
7646
|
};
|
|
8332
|
-
_this._renderItem =
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
} else {
|
|
8349
|
-
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8350
|
-
return renderSectionFooter ? renderSectionFooter({
|
|
8351
|
-
section: section
|
|
8352
|
-
}) : null;
|
|
8353
|
-
}
|
|
7647
|
+
_this._renderItem = listItemCount => ({
|
|
7648
|
+
item,
|
|
7649
|
+
index
|
|
7650
|
+
}) => {
|
|
7651
|
+
var info = _this._subExtractor(index);
|
|
7652
|
+
if (!info) {
|
|
7653
|
+
return null;
|
|
7654
|
+
}
|
|
7655
|
+
var infoIndex = info.index;
|
|
7656
|
+
if (infoIndex == null) {
|
|
7657
|
+
var section = info.section;
|
|
7658
|
+
if (info.header === true) {
|
|
7659
|
+
var renderSectionHeader = _this.props.renderSectionHeader;
|
|
7660
|
+
return renderSectionHeader ? renderSectionHeader({
|
|
7661
|
+
section
|
|
7662
|
+
}) : null;
|
|
8354
7663
|
} else {
|
|
8355
|
-
var
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
SeparatorComponent: SeparatorComponent,
|
|
8360
|
-
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8361
|
-
cellKey: info.key,
|
|
8362
|
-
index: infoIndex,
|
|
8363
|
-
item: item,
|
|
8364
|
-
leadingItem: info.leadingItem,
|
|
8365
|
-
leadingSection: info.leadingSection,
|
|
8366
|
-
prevCellKey: (_this._subExtractor(index - 1) || {}).key,
|
|
8367
|
-
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8368
|
-
setSelfUpdatePropsCallback: _this._setUpdatePropsFor,
|
|
8369
|
-
updateHighlightFor: _this._updateHighlightFor,
|
|
8370
|
-
updatePropsFor: _this._updatePropsFor,
|
|
8371
|
-
renderItem: renderItem,
|
|
8372
|
-
section: info.section,
|
|
8373
|
-
trailingItem: info.trailingItem,
|
|
8374
|
-
trailingSection: info.trailingSection,
|
|
8375
|
-
inverted: !!_this.props.inverted
|
|
8376
|
-
});
|
|
7664
|
+
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
7665
|
+
return renderSectionFooter ? renderSectionFooter({
|
|
7666
|
+
section
|
|
7667
|
+
}) : null;
|
|
8377
7668
|
}
|
|
8378
|
-
}
|
|
7669
|
+
} else {
|
|
7670
|
+
var renderItem = info.section.renderItem || _this.props.renderItem;
|
|
7671
|
+
var SeparatorComponent = _this._getSeparatorComponent(index, info, listItemCount);
|
|
7672
|
+
(0, _invariant.default)(renderItem, 'no renderItem!');
|
|
7673
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(ItemWithSeparator, {
|
|
7674
|
+
SeparatorComponent: SeparatorComponent,
|
|
7675
|
+
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
7676
|
+
cellKey: info.key,
|
|
7677
|
+
index: infoIndex,
|
|
7678
|
+
item: item,
|
|
7679
|
+
leadingItem: info.leadingItem,
|
|
7680
|
+
leadingSection: info.leadingSection,
|
|
7681
|
+
prevCellKey: (_this._subExtractor(index - 1) || {}).key,
|
|
7682
|
+
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
7683
|
+
setSelfUpdatePropsCallback: _this._setUpdatePropsFor,
|
|
7684
|
+
updateHighlightFor: _this._updateHighlightFor,
|
|
7685
|
+
updatePropsFor: _this._updatePropsFor,
|
|
7686
|
+
renderItem: renderItem,
|
|
7687
|
+
section: info.section,
|
|
7688
|
+
trailingItem: info.trailingItem,
|
|
7689
|
+
trailingSection: info.trailingSection,
|
|
7690
|
+
inverted: !!_this.props.inverted
|
|
7691
|
+
});
|
|
7692
|
+
}
|
|
8379
7693
|
};
|
|
8380
|
-
_this._updatePropsFor =
|
|
7694
|
+
_this._updatePropsFor = (cellKey, value) => {
|
|
8381
7695
|
var updateProps = _this._updatePropsMap[cellKey];
|
|
8382
7696
|
if (updateProps != null) {
|
|
8383
7697
|
updateProps(value);
|
|
8384
7698
|
}
|
|
8385
7699
|
};
|
|
8386
|
-
_this._updateHighlightFor =
|
|
7700
|
+
_this._updateHighlightFor = (cellKey, value) => {
|
|
8387
7701
|
var updateHighlight = _this._updateHighlightMap[cellKey];
|
|
8388
7702
|
if (updateHighlight != null) {
|
|
8389
7703
|
updateHighlight(value);
|
|
8390
7704
|
}
|
|
8391
7705
|
};
|
|
8392
|
-
_this._setUpdateHighlightFor =
|
|
7706
|
+
_this._setUpdateHighlightFor = (cellKey, updateHighlightFn) => {
|
|
8393
7707
|
if (updateHighlightFn != null) {
|
|
8394
7708
|
_this._updateHighlightMap[cellKey] = updateHighlightFn;
|
|
8395
7709
|
} else {
|
|
8396
7710
|
delete _this._updateHighlightFor[cellKey];
|
|
8397
7711
|
}
|
|
8398
7712
|
};
|
|
8399
|
-
_this._setUpdatePropsFor =
|
|
7713
|
+
_this._setUpdatePropsFor = (cellKey, updatePropsFn) => {
|
|
8400
7714
|
if (updatePropsFn != null) {
|
|
8401
7715
|
_this._updatePropsMap[cellKey] = updatePropsFn;
|
|
8402
7716
|
} else {
|
|
@@ -8405,7 +7719,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8405
7719
|
};
|
|
8406
7720
|
_this._updateHighlightMap = {};
|
|
8407
7721
|
_this._updatePropsMap = {};
|
|
8408
|
-
_this._captureRef =
|
|
7722
|
+
_this._captureRef = ref => {
|
|
8409
7723
|
_this._listRef = ref;
|
|
8410
7724
|
};
|
|
8411
7725
|
return _this;
|
|
@@ -8426,10 +7740,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8426
7740
|
var frame = this._listRef.__getFrameMetricsApprox(index - params.itemIndex, this._listRef.props);
|
|
8427
7741
|
viewOffset += frame.length;
|
|
8428
7742
|
}
|
|
8429
|
-
var toIndexParams =
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
7743
|
+
var toIndexParams = {
|
|
7744
|
+
...params,
|
|
7745
|
+
viewOffset,
|
|
7746
|
+
index
|
|
7747
|
+
};
|
|
8433
7748
|
this._listRef.scrollToIndex(toIndexParams);
|
|
8434
7749
|
}
|
|
8435
7750
|
}, {
|
|
@@ -8440,7 +7755,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8440
7755
|
}, {
|
|
8441
7756
|
key: "render",
|
|
8442
7757
|
value: function render() {
|
|
8443
|
-
var _this2 = this;
|
|
8444
7758
|
var _this$props = this.props,
|
|
8445
7759
|
ItemSeparatorComponent = _this$props.ItemSeparatorComponent,
|
|
8446
7760
|
SectionSeparatorComponent = _this$props.SectionSeparatorComponent,
|
|
@@ -8461,20 +7775,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8461
7775
|
itemCount += this.props.getItemCount(section.data);
|
|
8462
7776
|
}
|
|
8463
7777
|
var renderItem = this._renderItem(itemCount);
|
|
8464
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_VirtualizedList.default,
|
|
7778
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_VirtualizedList.default, {
|
|
7779
|
+
...passThroughProps,
|
|
8465
7780
|
keyExtractor: this._keyExtractor,
|
|
8466
7781
|
stickyHeaderIndices: stickyHeaderIndices,
|
|
8467
7782
|
renderItem: renderItem,
|
|
8468
7783
|
data: this.props.sections,
|
|
8469
|
-
getItem:
|
|
8470
|
-
|
|
8471
|
-
},
|
|
8472
|
-
getItemCount: function getItemCount() {
|
|
8473
|
-
return itemCount;
|
|
8474
|
-
},
|
|
7784
|
+
getItem: (sections, index) => this._getItem(this.props, sections, index),
|
|
7785
|
+
getItemCount: () => itemCount,
|
|
8475
7786
|
onViewableItemsChanged: this.props.onViewableItemsChanged ? this._onViewableItemsChanged : undefined,
|
|
8476
7787
|
ref: this._captureRef
|
|
8477
|
-
})
|
|
7788
|
+
});
|
|
8478
7789
|
}
|
|
8479
7790
|
}, {
|
|
8480
7791
|
key: "_getItem",
|
|
@@ -8515,7 +7826,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8515
7826
|
itemIndex -= getItemCount(sectionData) + 1;
|
|
8516
7827
|
} else if (itemIndex === -1) {
|
|
8517
7828
|
return {
|
|
8518
|
-
section
|
|
7829
|
+
section,
|
|
8519
7830
|
key: key + ':header',
|
|
8520
7831
|
index: null,
|
|
8521
7832
|
header: true,
|
|
@@ -8523,7 +7834,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8523
7834
|
};
|
|
8524
7835
|
} else if (itemIndex === getItemCount(sectionData)) {
|
|
8525
7836
|
return {
|
|
8526
|
-
section
|
|
7837
|
+
section,
|
|
8527
7838
|
key: key + ':footer',
|
|
8528
7839
|
index: null,
|
|
8529
7840
|
header: false,
|
|
@@ -8532,7 +7843,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8532
7843
|
} else {
|
|
8533
7844
|
var extractor = section.keyExtractor || keyExtractor || _$$_REQUIRE(_dependencyMap[12]).keyExtractor;
|
|
8534
7845
|
return {
|
|
8535
|
-
section
|
|
7846
|
+
section,
|
|
8536
7847
|
key: key + ':' + extractor(getItem(sectionData, itemIndex), itemIndex),
|
|
8537
7848
|
index: itemIndex,
|
|
8538
7849
|
leadingItem: getItem(sectionData, itemIndex - 1),
|
|
@@ -8605,59 +7916,70 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8605
7916
|
_React$useState8 = (0, _slicedToArray2.default)(_React$useState7, 2),
|
|
8606
7917
|
separatorProps = _React$useState8[0],
|
|
8607
7918
|
setSeparatorProps = _React$useState8[1];
|
|
8608
|
-
React.useEffect(
|
|
7919
|
+
React.useEffect(() => {
|
|
8609
7920
|
setSelfHighlightCallback(cellKey, setSeparatorHighlighted);
|
|
8610
7921
|
setSelfUpdatePropsCallback(cellKey, setSeparatorProps);
|
|
8611
|
-
return
|
|
7922
|
+
return () => {
|
|
8612
7923
|
setSelfUpdatePropsCallback(cellKey, null);
|
|
8613
7924
|
setSelfHighlightCallback(cellKey, null);
|
|
8614
7925
|
};
|
|
8615
7926
|
}, [cellKey, setSelfHighlightCallback, setSeparatorProps, setSelfUpdatePropsCallback]);
|
|
8616
7927
|
var separators = {
|
|
8617
|
-
highlight:
|
|
7928
|
+
highlight: () => {
|
|
8618
7929
|
setLeadingSeparatorHighlighted(true);
|
|
8619
7930
|
setSeparatorHighlighted(true);
|
|
8620
7931
|
if (prevCellKey != null) {
|
|
8621
7932
|
updateHighlightFor(prevCellKey, true);
|
|
8622
7933
|
}
|
|
8623
7934
|
},
|
|
8624
|
-
unhighlight:
|
|
7935
|
+
unhighlight: () => {
|
|
8625
7936
|
setLeadingSeparatorHighlighted(false);
|
|
8626
7937
|
setSeparatorHighlighted(false);
|
|
8627
7938
|
if (prevCellKey != null) {
|
|
8628
7939
|
updateHighlightFor(prevCellKey, false);
|
|
8629
7940
|
}
|
|
8630
7941
|
},
|
|
8631
|
-
updateProps:
|
|
7942
|
+
updateProps: (select, newProps) => {
|
|
8632
7943
|
if (select === 'leading') {
|
|
8633
7944
|
if (LeadingSeparatorComponent != null) {
|
|
8634
|
-
setLeadingSeparatorProps(
|
|
7945
|
+
setLeadingSeparatorProps({
|
|
7946
|
+
...leadingSeparatorProps,
|
|
7947
|
+
...newProps
|
|
7948
|
+
});
|
|
8635
7949
|
} else if (prevCellKey != null) {
|
|
8636
|
-
updatePropsFor(prevCellKey,
|
|
7950
|
+
updatePropsFor(prevCellKey, {
|
|
7951
|
+
...leadingSeparatorProps,
|
|
7952
|
+
...newProps
|
|
7953
|
+
});
|
|
8637
7954
|
}
|
|
8638
7955
|
} else if (select === 'trailing' && SeparatorComponent != null) {
|
|
8639
|
-
setSeparatorProps(
|
|
7956
|
+
setSeparatorProps({
|
|
7957
|
+
...separatorProps,
|
|
7958
|
+
...newProps
|
|
7959
|
+
});
|
|
8640
7960
|
}
|
|
8641
7961
|
}
|
|
8642
7962
|
};
|
|
8643
7963
|
var element = props.renderItem({
|
|
8644
|
-
item
|
|
8645
|
-
index
|
|
8646
|
-
section
|
|
8647
|
-
separators
|
|
7964
|
+
item,
|
|
7965
|
+
index,
|
|
7966
|
+
section,
|
|
7967
|
+
separators
|
|
7968
|
+
});
|
|
7969
|
+
var leadingSeparator = LeadingSeparatorComponent != null && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(LeadingSeparatorComponent, {
|
|
7970
|
+
highlighted: leadingSeparatorHiglighted,
|
|
7971
|
+
...leadingSeparatorProps
|
|
7972
|
+
});
|
|
7973
|
+
var separator = SeparatorComponent != null && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(SeparatorComponent, {
|
|
7974
|
+
highlighted: separatorHighlighted,
|
|
7975
|
+
...separatorProps
|
|
8648
7976
|
});
|
|
8649
|
-
var leadingSeparator = LeadingSeparatorComponent != null && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(LeadingSeparatorComponent, Object.assign({
|
|
8650
|
-
highlighted: leadingSeparatorHiglighted
|
|
8651
|
-
}, leadingSeparatorProps));
|
|
8652
|
-
var separator = SeparatorComponent != null && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(SeparatorComponent, Object.assign({
|
|
8653
|
-
highlighted: separatorHighlighted
|
|
8654
|
-
}, separatorProps));
|
|
8655
7977
|
return leadingSeparator || separator ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, {
|
|
8656
7978
|
children: [inverted === false ? leadingSeparator : separator, element, inverted === false ? separator : leadingSeparator]
|
|
8657
7979
|
}) : element;
|
|
8658
7980
|
}
|
|
8659
7981
|
module.exports = VirtualizedSectionList;
|
|
8660
|
-
},"d2355175ff6609a3def1",["
|
|
7982
|
+
},"d2355175ff6609a3def1",["d3b57c8ff490ba8c7c47","8972a767e9133b0e3a28","54be67f13f7547a51521","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","80a4a0ee188e065108c9","9c829ff5032996ffdc8e","3ebfecb28bc5857801a2","26ef620f86acf7f6932a","c4b46015e44050527820","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","a26dbe2a3afa21c3cf22","048fed5a64a04bdb7fed"]);
|
|
8661
7983
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8662
7984
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
8663
7985
|
try {
|
|
@@ -8685,7 +8007,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8685
8007
|
};
|
|
8686
8008
|
}
|
|
8687
8009
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8688
|
-
},"
|
|
8010
|
+
},"37d2d0df8e62891cc30d",[]);
|
|
8689
8011
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8690
8012
|
'use strict';
|
|
8691
8013
|
|
|
@@ -8763,14 +8085,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8763
8085
|
return "__private_" + id++ + "_" + e;
|
|
8764
8086
|
}
|
|
8765
8087
|
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8766
|
-
},"
|
|
8088
|
+
},"3998b40f87a7681fa397",[]);
|
|
8767
8089
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8768
8090
|
function _classPrivateFieldBase(e, t) {
|
|
8769
8091
|
if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
|
|
8770
8092
|
return e;
|
|
8771
8093
|
}
|
|
8772
8094
|
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8773
|
-
},"
|
|
8095
|
+
},"8e4a72d63eec1bceb909",[]);
|
|
8774
8096
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8775
8097
|
"use strict";
|
|
8776
8098
|
|
|
@@ -8840,7 +8162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8840
8162
|
captured: 'onAnimationLoadCapture'
|
|
8841
8163
|
}
|
|
8842
8164
|
},
|
|
8843
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8165
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8844
8166
|
topOnAnimationJsonLoad: {
|
|
8845
8167
|
phasedRegistrationNames: {
|
|
8846
8168
|
bubbled: 'onAnimationJsonLoad',
|
|
@@ -8904,9 +8226,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8904
8226
|
var _reactNative = _$$_REQUIRE(_dependencyMap[8]);
|
|
8905
8227
|
var _LottieAnimationViewNativeComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9]));
|
|
8906
8228
|
var _excluded = ["style", "source", "autoSize", "autoPlay", "duration", "textFiltersAndroid", "textFiltersIOS", "textFiltersKepler"];
|
|
8907
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function
|
|
8229
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
8908
8230
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
8909
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
8231
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
8910
8232
|
function _extends() {
|
|
8911
8233
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
8912
8234
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -8980,39 +8302,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8980
8302
|
(0, _classCallCheck2.default)(this, AnimatedLottieView);
|
|
8981
8303
|
_this = _callSuper(this, AnimatedLottieView, [props]);
|
|
8982
8304
|
_defineProperty(_this, "_lottieAnimationViewRef", undefined);
|
|
8983
|
-
_defineProperty(_this, "onAnimationFinish",
|
|
8305
|
+
_defineProperty(_this, "onAnimationFinish", evt => {
|
|
8984
8306
|
if (_this.props.onAnimationFinish) {
|
|
8985
8307
|
_this.props.onAnimationFinish(evt.nativeEvent.isCancelled);
|
|
8986
8308
|
}
|
|
8987
8309
|
});
|
|
8988
8310
|
// amznmod_react - onAnimationLoad callback
|
|
8989
|
-
_defineProperty(_this, "onAnimationLoad",
|
|
8311
|
+
_defineProperty(_this, "onAnimationLoad", () => {
|
|
8990
8312
|
if (_this.props.onAnimationLoad) {
|
|
8991
8313
|
_this.props.onAnimationLoad();
|
|
8992
8314
|
}
|
|
8993
8315
|
});
|
|
8994
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8316
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8995
8317
|
// amznmod_react - onAnimationLoad callback
|
|
8996
|
-
_defineProperty(_this, "onAnimationJsonLoad",
|
|
8997
|
-
console.warn("onAnimationJsonLoad will be deprecated in favor of onAnimationLoad
|
|
8318
|
+
_defineProperty(_this, "onAnimationJsonLoad", () => {
|
|
8319
|
+
console.warn("onAnimationJsonLoad will be deprecated in favor of onAnimationLoad. Migrate to use onAnimationLoad.");
|
|
8998
8320
|
if (_this.props.onAnimationJsonLoad) {
|
|
8999
8321
|
_this.props.onAnimationJsonLoad();
|
|
9000
8322
|
}
|
|
9001
8323
|
});
|
|
9002
8324
|
// amznmod_react - onAnimationPlay callback
|
|
9003
|
-
_defineProperty(_this, "onAnimationPlay",
|
|
8325
|
+
_defineProperty(_this, "onAnimationPlay", () => {
|
|
9004
8326
|
if (_this.props.onAnimationPlay) {
|
|
9005
8327
|
_this.props.onAnimationPlay();
|
|
9006
8328
|
}
|
|
9007
8329
|
});
|
|
9008
8330
|
// amznmod_react - onAnimationPause callback
|
|
9009
|
-
_defineProperty(_this, "onAnimationPause",
|
|
8331
|
+
_defineProperty(_this, "onAnimationPause", () => {
|
|
9010
8332
|
if (_this.props.onAnimationPause) {
|
|
9011
8333
|
_this.props.onAnimationPause();
|
|
9012
8334
|
}
|
|
9013
8335
|
});
|
|
9014
8336
|
// amznmod_react - onAnimationResume callback
|
|
9015
|
-
_defineProperty(_this, "onAnimationResume",
|
|
8337
|
+
_defineProperty(_this, "onAnimationResume", () => {
|
|
9016
8338
|
if (_this.props.onAnimationResume) {
|
|
9017
8339
|
_this.props.onAnimationResume();
|
|
9018
8340
|
}
|
|
@@ -9100,11 +8422,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9100
8422
|
} : _reactNative.StyleSheet.absoluteFill;
|
|
9101
8423
|
}
|
|
9102
8424
|
var speed = duration && sourceJson && source.fr ? Math.round(source.op / source.fr * 1000 / duration) : this.props.speed;
|
|
9103
|
-
var colorFilters = (_this$props$colorFilt = this.props.colorFilters) === null || _this$props$colorFilt === undefined ? undefined : _this$props$colorFilt.map(
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
});
|
|
8425
|
+
var colorFilters = (_this$props$colorFilt = this.props.colorFilters) === null || _this$props$colorFilt === undefined ? undefined : _this$props$colorFilt.map(colorFilter => ({
|
|
8426
|
+
...colorFilter,
|
|
8427
|
+
color: (0, _reactNative.processColor)(colorFilter.color)
|
|
8428
|
+
}));
|
|
9108
8429
|
// amznmod_react - Clip LottieView on ReactNative
|
|
9109
8430
|
var baseStyle = {
|
|
9110
8431
|
overflow: 'hidden'
|
|
@@ -9142,7 +8463,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9142
8463
|
onAnimationPlay: this.onAnimationPlay,
|
|
9143
8464
|
onAnimationPause: this.onAnimationPause,
|
|
9144
8465
|
onAnimationResume: this.onAnimationResume
|
|
9145
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8466
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
9146
8467
|
,
|
|
9147
8468
|
|
|
9148
8469
|
onAnimationJsonLoad: this.onAnimationJsonLoad
|
|
@@ -9152,7 +8473,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9152
8473
|
}]);
|
|
9153
8474
|
}(_react.default.PureComponent);
|
|
9154
8475
|
_defineProperty(AnimatedLottieView, "defaultProps", defaultProps);
|
|
9155
|
-
},"ba078774c948795ab18d",["
|
|
8476
|
+
},"ba078774c948795ab18d",["d3b57c8ff490ba8c7c47","54be67f13f7547a51521","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","80a4a0ee188e065108c9","9c829ff5032996ffdc8e","3ebfecb28bc5857801a2","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","88a5bc5265d21ae1c180"]);
|
|
9156
8477
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9157
8478
|
Object.defineProperty(exports, "__esModule", {
|
|
9158
8479
|
value: true
|
|
@@ -9215,7 +8536,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9215
8536
|
captured: 'onAnimationLoadCapture'
|
|
9216
8537
|
}
|
|
9217
8538
|
},
|
|
9218
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8539
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
9219
8540
|
topOnAnimationJsonLoad: {
|
|
9220
8541
|
phasedRegistrationNames: {
|
|
9221
8542
|
bubbled: 'onAnimationJsonLoad',
|
|
@@ -9247,7 +8568,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9247
8568
|
bubblingEventTypes: bubblingEventTypes
|
|
9248
8569
|
});
|
|
9249
8570
|
var _default = exports.default = LottieNativeComponent;
|
|
9250
|
-
},"88a5bc5265d21ae1c180",["
|
|
8571
|
+
},"88a5bc5265d21ae1c180",["d3b57c8ff490ba8c7c47","276fdf93b5bf06f5ed62","76b52edafd968705fff3"]);
|
|
9251
8572
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9252
8573
|
Object.defineProperty(exports, "__esModule", {
|
|
9253
8574
|
value: true
|
|
@@ -9284,14 +8605,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9284
8605
|
kepler: {
|
|
9285
8606
|
autolink: {
|
|
9286
8607
|
AmazonLottieLib: {
|
|
9287
|
-
provider: '
|
|
8608
|
+
provider: '',
|
|
8609
|
+
uiComponentName: '/com.amazon.kepler.ui.react.lottie_6',
|
|
8610
|
+
components: ['LottieAnimationView']
|
|
9288
8611
|
}
|
|
9289
8612
|
}
|
|
9290
8613
|
}
|
|
9291
8614
|
}
|
|
9292
8615
|
}
|
|
9293
8616
|
};
|
|
9294
|
-
},"a142cc095c158160c29a",["247fb6437636250c8b98","
|
|
8617
|
+
},"a142cc095c158160c29a",["247fb6437636250c8b98","8972a767e9133b0e3a28"]);
|
|
9295
8618
|
__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) {
|
|
9296
8619
|
module.exports = {
|
|
9297
8620
|
"name": "@react-native-community/cli-platform-android",
|
|
@@ -9345,9 +8668,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9345
8668
|
var _reactNative = _$$_REQUIRE(_dependencyMap[8]);
|
|
9346
8669
|
var _LottieAnimationViewNativeComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9]));
|
|
9347
8670
|
var _excluded = ["style", "source", "autoSize", "autoPlay", "duration", "textFiltersAndroid", "textFiltersIOS", "textFiltersKepler"];
|
|
9348
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function
|
|
8671
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
9349
8672
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
9350
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function
|
|
8673
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); } /*
|
|
9351
8674
|
* Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its affiliates. All rights reserved.
|
|
9352
8675
|
*
|
|
9353
8676
|
* PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO LICENSE TERMS.
|
|
@@ -9385,39 +8708,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9385
8708
|
var _this;
|
|
9386
8709
|
(0, _classCallCheck2.default)(this, AnimatedLottieView);
|
|
9387
8710
|
_this = _callSuper(this, AnimatedLottieView, [props]);
|
|
9388
|
-
_this.onAnimationFinish =
|
|
8711
|
+
_this.onAnimationFinish = evt => {
|
|
9389
8712
|
if (_this.props.onAnimationFinish) {
|
|
9390
8713
|
_this.props.onAnimationFinish(evt.nativeEvent.isCancelled);
|
|
9391
8714
|
}
|
|
9392
8715
|
};
|
|
9393
8716
|
// amznmod_react - onAnimationLoad callback
|
|
9394
|
-
_this.onAnimationLoad =
|
|
8717
|
+
_this.onAnimationLoad = () => {
|
|
9395
8718
|
if (_this.props.onAnimationLoad) {
|
|
9396
8719
|
_this.props.onAnimationLoad();
|
|
9397
8720
|
}
|
|
9398
8721
|
};
|
|
9399
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8722
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
9400
8723
|
// amznmod_react - onAnimationLoad callback
|
|
9401
|
-
_this.onAnimationJsonLoad =
|
|
9402
|
-
console.warn("onAnimationJsonLoad will be deprecated in favor of onAnimationLoad
|
|
8724
|
+
_this.onAnimationJsonLoad = () => {
|
|
8725
|
+
console.warn("onAnimationJsonLoad will be deprecated in favor of onAnimationLoad. Migrate to use onAnimationLoad.");
|
|
9403
8726
|
if (_this.props.onAnimationJsonLoad) {
|
|
9404
8727
|
_this.props.onAnimationJsonLoad();
|
|
9405
8728
|
}
|
|
9406
8729
|
};
|
|
9407
8730
|
// amznmod_react - onAnimationPlay callback
|
|
9408
|
-
_this.onAnimationPlay =
|
|
8731
|
+
_this.onAnimationPlay = () => {
|
|
9409
8732
|
if (_this.props.onAnimationPlay) {
|
|
9410
8733
|
_this.props.onAnimationPlay();
|
|
9411
8734
|
}
|
|
9412
8735
|
};
|
|
9413
8736
|
// amznmod_react - onAnimationPause callback
|
|
9414
|
-
_this.onAnimationPause =
|
|
8737
|
+
_this.onAnimationPause = () => {
|
|
9415
8738
|
if (_this.props.onAnimationPause) {
|
|
9416
8739
|
_this.props.onAnimationPause();
|
|
9417
8740
|
}
|
|
9418
8741
|
};
|
|
9419
8742
|
// amznmod_react - onAnimationResume callback
|
|
9420
|
-
_this.onAnimationResume =
|
|
8743
|
+
_this.onAnimationResume = () => {
|
|
9421
8744
|
if (_this.props.onAnimationResume) {
|
|
9422
8745
|
_this.props.onAnimationResume();
|
|
9423
8746
|
}
|
|
@@ -9447,7 +8770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9447
8770
|
}, {
|
|
9448
8771
|
key: "play",
|
|
9449
8772
|
value: function play(startFrame, endFrame) {
|
|
9450
|
-
_LottieAnimationViewNativeComponent.Commands.play(this._lottieAnimationViewRef, startFrame
|
|
8773
|
+
_LottieAnimationViewNativeComponent.Commands.play(this._lottieAnimationViewRef, startFrame ?? -1, endFrame ?? -1);
|
|
9451
8774
|
}
|
|
9452
8775
|
}, {
|
|
9453
8776
|
key: "reset",
|
|
@@ -9479,7 +8802,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9479
8802
|
}, {
|
|
9480
8803
|
key: "render",
|
|
9481
8804
|
value: function render() {
|
|
9482
|
-
var _this$props$colorFilt;
|
|
9483
8805
|
// amznmod_react - add textFiltersKepler prop
|
|
9484
8806
|
var _this$props = this.props,
|
|
9485
8807
|
style = _this$props.style,
|
|
@@ -9505,11 +8827,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9505
8827
|
} : _reactNative.StyleSheet.absoluteFill;
|
|
9506
8828
|
}
|
|
9507
8829
|
var speed = duration && sourceJson && source.fr ? Math.round(source.op / source.fr * 1000 / duration) : this.props.speed;
|
|
9508
|
-
var colorFilters =
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
});
|
|
8830
|
+
var colorFilters = this.props.colorFilters?.map(colorFilter => ({
|
|
8831
|
+
...colorFilter,
|
|
8832
|
+
color: (0, _reactNative.processColor)(colorFilter.color)
|
|
8833
|
+
}));
|
|
9513
8834
|
// amznmod_react - Clip LottieView on ReactNative
|
|
9514
8835
|
var baseStyle = {
|
|
9515
8836
|
overflow: 'hidden'
|
|
@@ -9519,9 +8840,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9519
8840
|
// amznmod_react - Clip LottieView on ReactNative
|
|
9520
8841
|
(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, {
|
|
9521
8842
|
style: [aspectRatioStyle, sizeStyle, style, baseStyle],
|
|
9522
|
-
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(AnimatedNativeLottieView,
|
|
9523
|
-
ref: this._captureRef
|
|
9524
|
-
|
|
8843
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(AnimatedNativeLottieView, {
|
|
8844
|
+
ref: this._captureRef,
|
|
8845
|
+
...rest,
|
|
9525
8846
|
// amznmod_react - add autoPlay prop
|
|
9526
8847
|
autoPlay: autoPlay,
|
|
9527
8848
|
colorFilters: colorFilters,
|
|
@@ -9546,17 +8867,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9546
8867
|
onAnimationPlay: this.onAnimationPlay,
|
|
9547
8868
|
onAnimationPause: this.onAnimationPause,
|
|
9548
8869
|
onAnimationResume: this.onAnimationResume
|
|
9549
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8870
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
9550
8871
|
,
|
|
9551
8872
|
onAnimationJsonLoad: this.onAnimationJsonLoad
|
|
9552
|
-
})
|
|
8873
|
+
})
|
|
9553
8874
|
})
|
|
9554
8875
|
);
|
|
9555
8876
|
}
|
|
9556
8877
|
}]);
|
|
9557
8878
|
}(_react.default.PureComponent);
|
|
9558
8879
|
AnimatedLottieView.defaultProps = defaultProps;
|
|
9559
|
-
},"0de81493c38c4bab7674",["
|
|
8880
|
+
},"0de81493c38c4bab7674",["d3b57c8ff490ba8c7c47","54be67f13f7547a51521","2bfb5e99807ec81b822f","cc42269051bc9ff17a63","80a4a0ee188e065108c9","9c829ff5032996ffdc8e","3ebfecb28bc5857801a2","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6c63b2c71102f268734d","048fed5a64a04bdb7fed"]);
|
|
9560
8881
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9561
8882
|
Object.defineProperty(exports, "__esModule", {
|
|
9562
8883
|
value: true
|
|
@@ -9619,7 +8940,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9619
8940
|
captured: 'onAnimationLoadCapture'
|
|
9620
8941
|
}
|
|
9621
8942
|
},
|
|
9622
|
-
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
8943
|
+
// PROJ*-136246 - deprecate onAnimationJsonLoad
|
|
9623
8944
|
topOnAnimationJsonLoad: {
|
|
9624
8945
|
phasedRegistrationNames: {
|
|
9625
8946
|
bubbled: 'onAnimationJsonLoad',
|
|
@@ -9651,7 +8972,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9651
8972
|
bubblingEventTypes: bubblingEventTypes
|
|
9652
8973
|
});
|
|
9653
8974
|
var _default = exports.default = LottieNativeComponent;
|
|
9654
|
-
},"6c63b2c71102f268734d",["
|
|
8975
|
+
},"6c63b2c71102f268734d",["d3b57c8ff490ba8c7c47","276fdf93b5bf06f5ed62","76b52edafd968705fff3"]);
|
|
9655
8976
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9656
8977
|
Object.defineProperty(exports, "__esModule", {
|
|
9657
8978
|
value: true
|