@amazon-devices/react-native-safe-area-context 2.0.1758683737 → 2.0.9000000000
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/{e3c0cdeab56b8b622d4f0fd5a80812eafe199fa2287d0e3a09c5e573a1035350.bundle → 85c8d24b7f717b77a2deb00e32cc2aaa293a5a16c46eecebca21e95bda425730.bundle} +388 -1074
- package/SystemBundles/85c8d24b7f717b77a2deb00e32cc2aaa293a5a16c46eecebca21e95bda425730.map +4335 -0
- package/SystemModules/amzn__react-native-safe-area-context-2.private.modules.txt +39 -40
- package/THIRD_PARTY_NOTICES.txt +1 -1
- package/kepler-compatibility.json +1 -3
- package/lib/commonjs/CompatNativeSafeAreaProvider.js +1 -2
- package/lib/commonjs/CompatNativeSafeAreaProvider.js.map +1 -1
- package/lib/commonjs/NativeSafeAreaProvider.js +1 -2
- package/lib/commonjs/NativeSafeAreaProvider.js.map +1 -1
- package/lib/commonjs/SafeAreaContext.js +1 -2
- package/lib/commonjs/SafeAreaContext.js.map +1 -1
- package/lib/commonjs/SafeAreaView.js +1 -2
- package/lib/commonjs/SafeAreaView.js.map +1 -1
- package/package.json +1 -1
- package/SystemBundles/e3c0cdeab56b8b622d4f0fd5a80812eafe199fa2287d0e3a09c5e573a1035350.map +0 -1
|
@@ -6,12 +6,15 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*
|
|
9
|
-
* @polyfill
|
|
10
|
-
* @nolint
|
|
11
9
|
* @format
|
|
10
|
+
*
|
|
11
|
+
* @nolint
|
|
12
|
+
* @polyfill
|
|
12
13
|
*/
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
'use client';
|
|
16
|
+
|
|
17
|
+
/* eslint-disable no-shadow, eqeqeq, no-unused-vars, no-control-regex */
|
|
15
18
|
|
|
16
19
|
/**
|
|
17
20
|
* This pipes all of our console logging functions to native logging so that
|
|
@@ -209,7 +212,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
209
212
|
if (array) {
|
|
210
213
|
str = str.split('\n').map(function (line) {
|
|
211
214
|
return ' ' + line;
|
|
212
|
-
}).join('\n').
|
|
215
|
+
}).join('\n').slice(2);
|
|
213
216
|
} else {
|
|
214
217
|
str = '\n' + str.split('\n').map(function (line) {
|
|
215
218
|
return ' ' + line;
|
|
@@ -226,7 +229,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
226
229
|
}
|
|
227
230
|
name = JSON.stringify('' + key);
|
|
228
231
|
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
229
|
-
name = name.
|
|
232
|
+
name = name.slice(1, name.length - 1);
|
|
230
233
|
name = ctx.stylize(name, 'name');
|
|
231
234
|
} else {
|
|
232
235
|
name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
|
|
@@ -291,22 +294,13 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
291
294
|
}
|
|
292
295
|
return inspect;
|
|
293
296
|
}();
|
|
294
|
-
var
|
|
297
|
+
var INDEX_COLUMN_NAME = '(index)';
|
|
295
298
|
var LOG_LEVELS = {
|
|
296
299
|
trace: 0,
|
|
297
300
|
info: 1,
|
|
298
301
|
warn: 2,
|
|
299
302
|
error: 3
|
|
300
303
|
};
|
|
301
|
-
var INSPECTOR_LEVELS = [];
|
|
302
|
-
INSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';
|
|
303
|
-
INSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';
|
|
304
|
-
INSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';
|
|
305
|
-
INSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';
|
|
306
|
-
|
|
307
|
-
// Strip the inner function in getNativeLogFunction(), if in dev also
|
|
308
|
-
// strip method printing to originalConsole.
|
|
309
|
-
var INSPECTOR_FRAMES_TO_SKIP = 1;
|
|
310
304
|
function getNativeLogFunction(level) {
|
|
311
305
|
return function () {
|
|
312
306
|
var str;
|
|
@@ -334,9 +328,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
334
328
|
// (Note: Logic duplicated in ExceptionsManager.js.)
|
|
335
329
|
logLevel = LOG_LEVELS.warn;
|
|
336
330
|
}
|
|
337
|
-
if (global.__inspectorLog) {
|
|
338
|
-
global.__inspectorLog(INSPECTOR_LEVELS[logLevel], str, [].slice.call(arguments), INSPECTOR_FRAMES_TO_SKIP);
|
|
339
|
-
}
|
|
340
331
|
if (groupStack.length) {
|
|
341
332
|
str = groupFormat('', str);
|
|
342
333
|
}
|
|
@@ -348,16 +339,43 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
348
339
|
return element;
|
|
349
340
|
});
|
|
350
341
|
}
|
|
351
|
-
function
|
|
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
|
+
|
|
352
363
|
// convert object -> array
|
|
353
|
-
if (
|
|
354
|
-
|
|
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 {
|
|
355
372
|
rows = [];
|
|
356
373
|
for (var key in data) {
|
|
357
374
|
if (data.hasOwnProperty(key)) {
|
|
358
|
-
var
|
|
359
|
-
|
|
360
|
-
|
|
375
|
+
var processedRow = {};
|
|
376
|
+
processedRow[INDEX_COLUMN_NAME] = key;
|
|
377
|
+
Object.assign(processedRow, data[key]);
|
|
378
|
+
rows.push(processedRow);
|
|
361
379
|
}
|
|
362
380
|
}
|
|
363
381
|
}
|
|
@@ -365,7 +383,16 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
365
383
|
global.nativeLoggingHook('', LOG_LEVELS.info);
|
|
366
384
|
return;
|
|
367
385
|
}
|
|
368
|
-
|
|
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
|
+
}
|
|
369
396
|
var stringRows = [];
|
|
370
397
|
var columnWidths = [];
|
|
371
398
|
|
|
@@ -374,7 +401,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
374
401
|
columns.forEach(function (k, i) {
|
|
375
402
|
columnWidths[i] = k.length;
|
|
376
403
|
for (var j = 0; j < rows.length; j++) {
|
|
377
|
-
var cellStr = (rows[j]
|
|
404
|
+
var cellStr = formatCellValue(rows[j], k);
|
|
378
405
|
stringRows[j] = stringRows[j] || [];
|
|
379
406
|
stringRows[j][i] = cellStr;
|
|
380
407
|
columnWidths[i] = Math.max(columnWidths[i], cellStr.length);
|
|
@@ -389,12 +416,12 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
389
416
|
return cell + extraSpaces;
|
|
390
417
|
});
|
|
391
418
|
space = space || ' ';
|
|
392
|
-
return cells.join(space + '|' + space);
|
|
419
|
+
return '| ' + cells.join(space + '|' + space) + ' |';
|
|
393
420
|
}
|
|
394
421
|
var separators = columnWidths.map(function (columnWidth) {
|
|
395
422
|
return repeat('-', columnWidth).join('');
|
|
396
423
|
});
|
|
397
|
-
var separatorRow = joinRow(separators
|
|
424
|
+
var separatorRow = joinRow(separators);
|
|
398
425
|
var header = joinRow(columns);
|
|
399
426
|
var table = [header, separatorRow];
|
|
400
427
|
for (var i = 0; i < rows.length; i++) {
|
|
@@ -433,11 +460,18 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
433
460
|
global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);
|
|
434
461
|
}
|
|
435
462
|
}
|
|
463
|
+
function stub() {}
|
|
436
464
|
if (global.nativeLoggingHook) {
|
|
437
465
|
var originalConsole = global.console;
|
|
438
466
|
// Preserve the original `console` as `originalConsole`
|
|
439
467
|
|
|
440
|
-
global.console = {
|
|
468
|
+
global.console = Object.assign({
|
|
469
|
+
time: stub,
|
|
470
|
+
timeEnd: stub,
|
|
471
|
+
timeStamp: stub,
|
|
472
|
+
count: stub,
|
|
473
|
+
countReset: stub
|
|
474
|
+
}, originalConsole != null ? originalConsole : {}, {
|
|
441
475
|
error: getNativeLogFunction(LOG_LEVELS.error),
|
|
442
476
|
info: getNativeLogFunction(LOG_LEVELS.info),
|
|
443
477
|
log: getNativeLogFunction(LOG_LEVELS.info),
|
|
@@ -449,7 +483,51 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
449
483
|
groupEnd: consoleGroupEndPolyfill,
|
|
450
484
|
groupCollapsed: consoleGroupCollapsedPolyfill,
|
|
451
485
|
assert: consoleAssertPolyfill
|
|
452
|
-
};
|
|
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
|
+
}
|
|
453
531
|
Object.defineProperty(console, '_isPolyfilled', {
|
|
454
532
|
value: true,
|
|
455
533
|
enumerable: false
|
|
@@ -459,7 +537,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
459
537
|
// sometimes useful. Ex: on OS X, this will let you see rich output in
|
|
460
538
|
// the Safari Web Inspector console.
|
|
461
539
|
} else if (!global.console) {
|
|
462
|
-
var stub = function stub() {};
|
|
463
540
|
var log = global.print || stub;
|
|
464
541
|
global.console = {
|
|
465
542
|
debug: log,
|
|
@@ -474,6 +551,8 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
474
551
|
}
|
|
475
552
|
},
|
|
476
553
|
clear: stub,
|
|
554
|
+
count: stub,
|
|
555
|
+
countReset: stub,
|
|
477
556
|
dir: stub,
|
|
478
557
|
dirxml: stub,
|
|
479
558
|
group: stub,
|
|
@@ -481,7 +560,10 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
481
560
|
groupEnd: stub,
|
|
482
561
|
profile: stub,
|
|
483
562
|
profileEnd: stub,
|
|
484
|
-
table: stub
|
|
563
|
+
table: stub,
|
|
564
|
+
time: stub,
|
|
565
|
+
timeEnd: stub,
|
|
566
|
+
timeStamp: stub
|
|
485
567
|
};
|
|
486
568
|
Object.defineProperty(console, '_isPolyfilled', {
|
|
487
569
|
value: true,
|
|
@@ -490,35 +572,10 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
490
572
|
}
|
|
491
573
|
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
492
574
|
(function (global) {
|
|
493
|
-
/**
|
|
494
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
495
|
-
*
|
|
496
|
-
* This source code is licensed under the MIT license found in the
|
|
497
|
-
* LICENSE file in the root directory of this source tree.
|
|
498
|
-
*
|
|
499
|
-
* @format
|
|
500
|
-
*
|
|
501
|
-
* @polyfill
|
|
502
|
-
*/
|
|
503
|
-
|
|
504
575
|
var _inGuard = 0;
|
|
505
|
-
|
|
506
|
-
* This is the error handler that is called when we encounter an exception
|
|
507
|
-
* when loading a module. This will report any errors encountered before
|
|
508
|
-
* ExceptionsManager is configured.
|
|
509
|
-
*/
|
|
510
|
-
var _globalHandler = function onError(e, isFatal) {
|
|
576
|
+
var _globalHandler = global.RN$useAlwaysAvailableJSErrorHandling === true ? global.RN$handleException : function (e, isFatal) {
|
|
511
577
|
throw e;
|
|
512
578
|
};
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* The particular require runtime that we are using looks for a global
|
|
516
|
-
* `ErrorUtils` object and if it exists, then it requires modules with the
|
|
517
|
-
* error handler specified via ErrorUtils.setGlobalHandler by calling the
|
|
518
|
-
* require function with applyWithGuard. Since the require module is loaded
|
|
519
|
-
* before any of the modules, this ErrorUtils must be defined (and the handler
|
|
520
|
-
* set) globally before requiring anything.
|
|
521
|
-
*/
|
|
522
579
|
var ErrorUtils = {
|
|
523
580
|
setGlobalHandler: function setGlobalHandler(fun) {
|
|
524
581
|
_globalHandler = fun;
|
|
@@ -530,20 +587,11 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
530
587
|
_globalHandler && _globalHandler(error, false);
|
|
531
588
|
},
|
|
532
589
|
reportFatalError: function reportFatalError(error) {
|
|
533
|
-
// NOTE: This has an untyped call site in Metro.
|
|
534
590
|
_globalHandler && _globalHandler(error, true);
|
|
535
591
|
},
|
|
536
|
-
applyWithGuard: function applyWithGuard(fun, context, args,
|
|
537
|
-
// Unused, but some code synced from www sets it to null.
|
|
538
|
-
unused_onError,
|
|
539
|
-
// Some callers pass a name here, which we ignore.
|
|
540
|
-
unused_name) {
|
|
592
|
+
applyWithGuard: function applyWithGuard(fun, context, args, unused_onError, unused_name) {
|
|
541
593
|
try {
|
|
542
594
|
_inGuard++;
|
|
543
|
-
/* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,
|
|
544
|
-
* null) is fine. (2) array -> rest array should work */
|
|
545
|
-
/* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,
|
|
546
|
-
* null) is fine. (2) array -> rest array should work */
|
|
547
595
|
return fun.apply(context, args);
|
|
548
596
|
} catch (e) {
|
|
549
597
|
ErrorUtils.reportError(e);
|
|
@@ -554,10 +602,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
554
602
|
},
|
|
555
603
|
applyWithGuardIfNeeded: function applyWithGuardIfNeeded(fun, context, args) {
|
|
556
604
|
if (ErrorUtils.inGuard()) {
|
|
557
|
-
/* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,
|
|
558
|
-
* null) is fine. (2) array -> rest array should work */
|
|
559
|
-
/* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,
|
|
560
|
-
* null) is fine. (2) array -> rest array should work */
|
|
561
605
|
return fun.apply(context, args);
|
|
562
606
|
} else {
|
|
563
607
|
ErrorUtils.applyWithGuard(fun, context, args);
|
|
@@ -569,15 +613,11 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
569
613
|
},
|
|
570
614
|
guard: function guard(fun, name, context) {
|
|
571
615
|
var _ref;
|
|
572
|
-
// TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types
|
|
573
|
-
// should be sufficient.
|
|
574
616
|
if (typeof fun !== 'function') {
|
|
575
617
|
console.warn('A function must be passed to ErrorUtils.guard, got ', fun);
|
|
576
618
|
return null;
|
|
577
619
|
}
|
|
578
620
|
var guardName = (_ref = name != null ? name : fun.name) != null ? _ref : '<generated guard>';
|
|
579
|
-
/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
|
|
580
|
-
* Flow's LTI update could not be added via codemod */
|
|
581
621
|
function guarded() {
|
|
582
622
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
583
623
|
args[_key] = arguments[_key];
|
|
@@ -589,64 +629,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
589
629
|
};
|
|
590
630
|
global.ErrorUtils = ErrorUtils;
|
|
591
631
|
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
592
|
-
(function (global) {
|
|
593
|
-
/**
|
|
594
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
595
|
-
*
|
|
596
|
-
* This source code is licensed under the MIT license found in the
|
|
597
|
-
* LICENSE file in the root directory of this source tree.
|
|
598
|
-
*
|
|
599
|
-
* @format
|
|
600
|
-
* @polyfill
|
|
601
|
-
* @nolint
|
|
602
|
-
*/
|
|
603
|
-
|
|
604
|
-
(function () {
|
|
605
|
-
'use strict';
|
|
606
|
-
|
|
607
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Returns an array of the given object's own enumerable entries.
|
|
611
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
|
|
612
|
-
*/
|
|
613
|
-
if (typeof Object.entries !== 'function') {
|
|
614
|
-
Object.entries = function (object) {
|
|
615
|
-
// `null` and `undefined` values are not allowed.
|
|
616
|
-
if (object == null) {
|
|
617
|
-
throw new TypeError('Object.entries called on non-object');
|
|
618
|
-
}
|
|
619
|
-
var entries = [];
|
|
620
|
-
for (var key in object) {
|
|
621
|
-
if (hasOwnProperty.call(object, key)) {
|
|
622
|
-
entries.push([key, object[key]]);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
return entries;
|
|
626
|
-
};
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Returns an array of the given object's own enumerable entries.
|
|
631
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values
|
|
632
|
-
*/
|
|
633
|
-
if (typeof Object.values !== 'function') {
|
|
634
|
-
Object.values = function (object) {
|
|
635
|
-
// `null` and `undefined` values are not allowed.
|
|
636
|
-
if (object == null) {
|
|
637
|
-
throw new TypeError('Object.values called on non-object');
|
|
638
|
-
}
|
|
639
|
-
var values = [];
|
|
640
|
-
for (var key in object) {
|
|
641
|
-
if (hasOwnProperty.call(object, key)) {
|
|
642
|
-
values.push(object[key]);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
return values;
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
})();
|
|
649
|
-
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
650
632
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
651
633
|
"use strict";
|
|
652
634
|
|
|
@@ -662,30 +644,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
662
644
|
default: e
|
|
663
645
|
};
|
|
664
646
|
}
|
|
665
|
-
function
|
|
666
|
-
if ("function"
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
685
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
686
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
687
|
-
}
|
|
688
|
-
return n.default = e, t && t.set(e, n), n;
|
|
647
|
+
function _interopRequireWildcard(e, t) {
|
|
648
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
649
|
+
n = new WeakMap();
|
|
650
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
651
|
+
if (!t && e && e.__esModule) return e;
|
|
652
|
+
var o,
|
|
653
|
+
i,
|
|
654
|
+
f = {
|
|
655
|
+
__proto__: null,
|
|
656
|
+
default: e
|
|
657
|
+
};
|
|
658
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
659
|
+
if (o = t ? n : r) {
|
|
660
|
+
if (o.has(e)) return o.get(e);
|
|
661
|
+
o.set(e, f);
|
|
662
|
+
}
|
|
663
|
+
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]);
|
|
664
|
+
return f;
|
|
665
|
+
})(e, t);
|
|
689
666
|
}
|
|
690
667
|
function CompatNativeSafeAreaProvider(_ref) {
|
|
691
668
|
var children = _ref.children,
|
|
@@ -725,19 +702,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
725
702
|
};
|
|
726
703
|
}
|
|
727
704
|
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
728
|
-
},"
|
|
705
|
+
},"277a84013d7e1a1ace05",[]);
|
|
729
706
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
730
707
|
function _toConsumableArray(r) {
|
|
731
708
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r) || _$$_REQUIRE(_dependencyMap[2])(r) || _$$_REQUIRE(_dependencyMap[3])();
|
|
732
709
|
}
|
|
733
710
|
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
734
|
-
},"
|
|
711
|
+
},"838d7a057beeb5db50df",["a425fd4fe3cf47759e99","67d028b72bb61755baea","e7044bb724c5bd68e2cc","b4810fa44dd496b7d9f5"]);
|
|
735
712
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
736
713
|
function _arrayWithoutHoles(r) {
|
|
737
714
|
if (Array.isArray(r)) return _$$_REQUIRE(_dependencyMap[0])(r);
|
|
738
715
|
}
|
|
739
716
|
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
740
|
-
},"
|
|
717
|
+
},"a425fd4fe3cf47759e99",["378be3062418cfac9327"]);
|
|
741
718
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
742
719
|
function _arrayLikeToArray(r, a) {
|
|
743
720
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -745,13 +722,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
745
722
|
return n;
|
|
746
723
|
}
|
|
747
724
|
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
748
|
-
},"
|
|
725
|
+
},"378be3062418cfac9327",[]);
|
|
749
726
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
750
727
|
function _iterableToArray(r) {
|
|
751
728
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
752
729
|
}
|
|
753
730
|
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
754
|
-
},"
|
|
731
|
+
},"67d028b72bb61755baea",[]);
|
|
755
732
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
756
733
|
function _unsupportedIterableToArray(r, a) {
|
|
757
734
|
if (r) {
|
|
@@ -761,19 +738,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
761
738
|
}
|
|
762
739
|
}
|
|
763
740
|
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
764
|
-
},"
|
|
741
|
+
},"e7044bb724c5bd68e2cc",["378be3062418cfac9327"]);
|
|
765
742
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
766
743
|
function _nonIterableSpread() {
|
|
767
744
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
768
745
|
}
|
|
769
746
|
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
770
|
-
},"
|
|
747
|
+
},"b4810fa44dd496b7d9f5",[]);
|
|
771
748
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
772
749
|
function _classCallCheck(a, n) {
|
|
773
750
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
774
751
|
}
|
|
775
752
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
776
|
-
},"
|
|
753
|
+
},"cb664999166f9660a878",[]);
|
|
777
754
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
778
755
|
function _defineProperties(e, r) {
|
|
779
756
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -787,14 +764,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
787
764
|
}), e;
|
|
788
765
|
}
|
|
789
766
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
790
|
-
},"
|
|
767
|
+
},"68819e29ebee24bb0e88",["cbba112244d360ffda7a"]);
|
|
791
768
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
792
769
|
function toPropertyKey(t) {
|
|
793
770
|
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
794
771
|
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
795
772
|
}
|
|
796
773
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
797
|
-
},"
|
|
774
|
+
},"cbba112244d360ffda7a",["ad82d340d0b5dc5f0801","e08c69ed06cf526909e3"]);
|
|
798
775
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
799
776
|
function toPrimitive(t, r) {
|
|
800
777
|
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
@@ -807,7 +784,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
807
784
|
return ("string" === r ? String : Number)(t);
|
|
808
785
|
}
|
|
809
786
|
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
810
|
-
},"
|
|
787
|
+
},"ad82d340d0b5dc5f0801",["e08c69ed06cf526909e3"]);
|
|
811
788
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
812
789
|
function _typeof(o) {
|
|
813
790
|
"@babel/helpers - typeof";
|
|
@@ -819,7 +796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
819
796
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
820
797
|
}
|
|
821
798
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
822
|
-
},"
|
|
799
|
+
},"e08c69ed06cf526909e3",[]);
|
|
823
800
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
824
801
|
/**
|
|
825
802
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -864,13 +841,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
864
841
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r, e) || _$$_REQUIRE(_dependencyMap[2])(r, e) || _$$_REQUIRE(_dependencyMap[3])();
|
|
865
842
|
}
|
|
866
843
|
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
867
|
-
},"
|
|
844
|
+
},"d73b3a84588342abd1b6",["c18fba4833d885627fc3","db861c9134e305a92464","e7044bb724c5bd68e2cc","d2c95b166a5bd41ca703"]);
|
|
868
845
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
869
846
|
function _arrayWithHoles(r) {
|
|
870
847
|
if (Array.isArray(r)) return r;
|
|
871
848
|
}
|
|
872
849
|
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
873
|
-
},"
|
|
850
|
+
},"c18fba4833d885627fc3",[]);
|
|
874
851
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
875
852
|
function _iterableToArrayLimit(r, l) {
|
|
876
853
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -900,13 +877,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
900
877
|
}
|
|
901
878
|
}
|
|
902
879
|
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
903
|
-
},"
|
|
880
|
+
},"db861c9134e305a92464",[]);
|
|
904
881
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
905
882
|
function _nonIterableRest() {
|
|
906
883
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
907
884
|
}
|
|
908
885
|
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
909
|
-
},"
|
|
886
|
+
},"d2c95b166a5bd41ca703",[]);
|
|
910
887
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
911
888
|
'use strict';
|
|
912
889
|
|
|
@@ -931,14 +908,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
931
908
|
return _$$_REQUIRE(_dependencyMap[1])(t);
|
|
932
909
|
}
|
|
933
910
|
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
934
|
-
},"
|
|
911
|
+
},"aab42168bb4cb23540ec",["e08c69ed06cf526909e3","0716ce96f45f287fb302"]);
|
|
935
912
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
936
913
|
function _assertThisInitialized(e) {
|
|
937
914
|
if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
938
915
|
return e;
|
|
939
916
|
}
|
|
940
917
|
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
941
|
-
},"
|
|
918
|
+
},"0716ce96f45f287fb302",[]);
|
|
942
919
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
943
920
|
function _getPrototypeOf(t) {
|
|
944
921
|
return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
@@ -946,7 +923,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
946
923
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
|
|
947
924
|
}
|
|
948
925
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
949
|
-
},"
|
|
926
|
+
},"ba9efe5c53f1d07f5c9d",[]);
|
|
950
927
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
951
928
|
function _inherits(t, e) {
|
|
952
929
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -961,7 +938,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
961
938
|
}), e && _$$_REQUIRE(_dependencyMap[0])(t, e);
|
|
962
939
|
}
|
|
963
940
|
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
964
|
-
},"
|
|
941
|
+
},"9822a58ca7726d551fe0",["79c731bcf4b10abe8e4d"]);
|
|
965
942
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
966
943
|
function _setPrototypeOf(t, e) {
|
|
967
944
|
return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
@@ -969,13 +946,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
969
946
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
|
|
970
947
|
}
|
|
971
948
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
972
|
-
},"
|
|
949
|
+
},"79c731bcf4b10abe8e4d",[]);
|
|
973
950
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
974
951
|
function _readOnlyError(r) {
|
|
975
952
|
throw new TypeError('"' + r + '" is read-only');
|
|
976
953
|
}
|
|
977
954
|
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
978
|
-
},"
|
|
955
|
+
},"9a3a31f49f0e1fee57b0",[]);
|
|
979
956
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
980
957
|
function _wrapNativeSuper(t) {
|
|
981
958
|
var r = "function" == typeof Map ? new Map() : undefined;
|
|
@@ -1000,7 +977,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1000
977
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t);
|
|
1001
978
|
}
|
|
1002
979
|
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1003
|
-
},"
|
|
980
|
+
},"66be7ef871ad04671969",["9cf198b81404c8b483b0","20524c8783215c6329fe","ba9efe5c53f1d07f5c9d","79c731bcf4b10abe8e4d"]);
|
|
1004
981
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1005
982
|
function _isNativeFunction(t) {
|
|
1006
983
|
try {
|
|
@@ -1010,7 +987,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1010
987
|
}
|
|
1011
988
|
}
|
|
1012
989
|
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1013
|
-
},"
|
|
990
|
+
},"9cf198b81404c8b483b0",[]);
|
|
1014
991
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1015
992
|
function _construct(t, e, r) {
|
|
1016
993
|
if (_$$_REQUIRE(_dependencyMap[0])()) return Reflect.construct.apply(null, arguments);
|
|
@@ -1020,7 +997,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1020
997
|
return r && _$$_REQUIRE(_dependencyMap[1])(p, r.prototype), p;
|
|
1021
998
|
}
|
|
1022
999
|
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1023
|
-
},"
|
|
1000
|
+
},"20524c8783215c6329fe",["df21df9938c0adbd59f1","79c731bcf4b10abe8e4d"]);
|
|
1024
1001
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1025
1002
|
function _isNativeReflectConstruct() {
|
|
1026
1003
|
try {
|
|
@@ -1031,7 +1008,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1031
1008
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
|
|
1032
1009
|
}
|
|
1033
1010
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1034
|
-
},"
|
|
1011
|
+
},"df21df9938c0adbd59f1",[]);
|
|
1035
1012
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1036
1013
|
'use strict';
|
|
1037
1014
|
|
|
@@ -1054,7 +1031,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1054
1031
|
return stack;
|
|
1055
1032
|
}, []);
|
|
1056
1033
|
}
|
|
1057
|
-
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1034
|
+
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1058
1035
|
var chromeEvalRe = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
1059
1036
|
function parseChrome(line) {
|
|
1060
1037
|
var parts = chromeRe.exec(line);
|
|
@@ -1082,7 +1059,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1082
1059
|
column: parts[4] ? +parts[4] : null
|
|
1083
1060
|
};
|
|
1084
1061
|
}
|
|
1085
|
-
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1062
|
+
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1086
1063
|
function parseWinjs(line) {
|
|
1087
1064
|
var parts = winjsRe.exec(line);
|
|
1088
1065
|
if (!parts) {
|
|
@@ -1096,7 +1073,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1096
1073
|
column: parts[4] ? +parts[4] : null
|
|
1097
1074
|
};
|
|
1098
1075
|
}
|
|
1099
|
-
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1076
|
+
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1100
1077
|
var geckoEvalRe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
1101
1078
|
function parseGecko(line) {
|
|
1102
1079
|
var parts = geckoRe.exec(line);
|
|
@@ -1148,7 +1125,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1148
1125
|
};
|
|
1149
1126
|
}
|
|
1150
1127
|
exports.parse = parse;
|
|
1151
|
-
},"
|
|
1128
|
+
},"aa725aa4c0b37e1add33",[]);
|
|
1152
1129
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1153
1130
|
'use strict';
|
|
1154
1131
|
|
|
@@ -2216,14 +2193,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2216
2193
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments);
|
|
2217
2194
|
}
|
|
2218
2195
|
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2219
|
-
},"
|
|
2196
|
+
},"55062adb34159de0ea92",["d53f05ad44723a08f608"]);
|
|
2220
2197
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2221
2198
|
function _superPropBase(t, o) {
|
|
2222
2199
|
for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _$$_REQUIRE(_dependencyMap[0])(t)););
|
|
2223
2200
|
return t;
|
|
2224
2201
|
}
|
|
2225
2202
|
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2226
|
-
},"
|
|
2203
|
+
},"d53f05ad44723a08f608",["ba9efe5c53f1d07f5c9d"]);
|
|
2227
2204
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2228
2205
|
/**
|
|
2229
2206
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3695,25 +3672,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3695
3672
|
r,
|
|
3696
3673
|
i = _$$_REQUIRE(_dependencyMap[0])(e, t);
|
|
3697
3674
|
if (Object.getOwnPropertySymbols) {
|
|
3698
|
-
var
|
|
3699
|
-
for (r = 0; r <
|
|
3675
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3676
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3700
3677
|
}
|
|
3701
3678
|
return i;
|
|
3702
3679
|
}
|
|
3703
3680
|
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3704
|
-
},"
|
|
3681
|
+
},"a2c8e692f78bae5b8b98",["5927789db7c756c318ed"]);
|
|
3705
3682
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3706
3683
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3707
3684
|
if (null == r) return {};
|
|
3708
3685
|
var t = {};
|
|
3709
3686
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3710
|
-
if (e.
|
|
3687
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3711
3688
|
t[n] = r[n];
|
|
3712
3689
|
}
|
|
3713
3690
|
return t;
|
|
3714
3691
|
}
|
|
3715
3692
|
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3716
|
-
},"
|
|
3693
|
+
},"5927789db7c756c318ed",[]);
|
|
3717
3694
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3718
3695
|
/**
|
|
3719
3696
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3861,7 +3838,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3861
3838
|
module.exports = AbortController;
|
|
3862
3839
|
module.exports.AbortController = module.exports["default"] = AbortController;
|
|
3863
3840
|
module.exports.AbortSignal = AbortSignal;
|
|
3864
|
-
},"ea8fcbd647aab1cfcdaa",["
|
|
3841
|
+
},"ea8fcbd647aab1cfcdaa",["ba9efe5c53f1d07f5c9d","aab42168bb4cb23540ec","cb664999166f9660a878","9822a58ca7726d551fe0","68819e29ebee24bb0e88","2bd3f165b1ed6b916de7"]);
|
|
3865
3842
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3866
3843
|
/**
|
|
3867
3844
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -4433,24 +4410,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4433
4410
|
}) : e[r] = t, e;
|
|
4434
4411
|
}
|
|
4435
4412
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4436
|
-
},"
|
|
4413
|
+
},"4926d0dbc109dc5bb6c9",["cbba112244d360ffda7a"]);
|
|
4437
4414
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4438
|
-
/**
|
|
4439
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4440
|
-
*
|
|
4441
|
-
* This source code is licensed under the MIT license found in the
|
|
4442
|
-
* LICENSE file in the root directory of this source tree.
|
|
4443
|
-
*
|
|
4444
|
-
*
|
|
4445
|
-
* @format
|
|
4446
|
-
*/
|
|
4447
|
-
|
|
4448
4415
|
'use strict';
|
|
4449
4416
|
|
|
4450
4417
|
var assets = [];
|
|
4451
4418
|
function registerAsset(asset) {
|
|
4452
|
-
// `push` returns new array length, so the first asset will
|
|
4453
|
-
// get id 1 (not 0) to make the value truthy
|
|
4454
4419
|
return assets.push(asset);
|
|
4455
4420
|
}
|
|
4456
4421
|
function getAssetByID(assetId) {
|
|
@@ -4462,16 +4427,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4462
4427
|
};
|
|
4463
4428
|
},"05d58bec2a6d939f08d8",[]);
|
|
4464
4429
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4465
|
-
/**
|
|
4466
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4467
|
-
*
|
|
4468
|
-
* This source code is licensed under the MIT license found in the
|
|
4469
|
-
* LICENSE file in the root directory of this source tree.
|
|
4470
|
-
*
|
|
4471
|
-
* @format
|
|
4472
|
-
*
|
|
4473
|
-
*/
|
|
4474
|
-
|
|
4475
4430
|
'use strict';
|
|
4476
4431
|
|
|
4477
4432
|
var androidScaleSuffix = {
|
|
@@ -4483,24 +4438,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4483
4438
|
'4': 'xxxhdpi'
|
|
4484
4439
|
};
|
|
4485
4440
|
var ANDROID_BASE_DENSITY = 160;
|
|
4486
|
-
|
|
4487
|
-
/**
|
|
4488
|
-
* FIXME: using number to represent discrete scale numbers is fragile in essence because of
|
|
4489
|
-
* floating point numbers imprecision.
|
|
4490
|
-
*/
|
|
4491
4441
|
function getAndroidAssetSuffix(scale) {
|
|
4492
4442
|
if (scale.toString() in androidScaleSuffix) {
|
|
4493
4443
|
return androidScaleSuffix[scale.toString()];
|
|
4494
4444
|
}
|
|
4495
|
-
// NOTE: Android Gradle Plugin does not fully support the nnndpi format.
|
|
4496
|
-
// See https://issuetracker.google.com/issues/72884435
|
|
4497
4445
|
if (Number.isFinite(scale) && scale > 0) {
|
|
4498
4446
|
return Math.round(scale * ANDROID_BASE_DENSITY) + 'dpi';
|
|
4499
4447
|
}
|
|
4500
4448
|
throw new Error('no such scale ' + scale.toString());
|
|
4501
4449
|
}
|
|
4502
|
-
|
|
4503
|
-
// See https://developer.android.com/guide/topics/resources/drawable-resource.html
|
|
4504
4450
|
var drawableFileTypes = new Set(['gif', 'jpeg', 'jpg', 'ktx', 'png', 'svg', 'webp', 'xml']);
|
|
4505
4451
|
function getAndroidResourceFolderName(asset, scale) {
|
|
4506
4452
|
if (!drawableFileTypes.has(asset.type)) {
|
|
@@ -4513,9 +4459,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4513
4459
|
return 'drawable-' + suffix;
|
|
4514
4460
|
}
|
|
4515
4461
|
function getAndroidResourceIdentifier(asset) {
|
|
4516
|
-
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_')
|
|
4517
|
-
.replace(/([^a-z0-9_])/g, '') // Remove illegal chars
|
|
4518
|
-
.replace(/^assets_/, ''); // Remove "assets_" prefix
|
|
4462
|
+
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_').replace(/([^a-z0-9_])/g, '').replace(/^assets_/, '');
|
|
4519
4463
|
}
|
|
4520
4464
|
function getBasePath(asset) {
|
|
4521
4465
|
var basePath = asset.httpServerLocation;
|
|
@@ -4761,16 +4705,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4761
4705
|
exports.unstable_wrapCallback = Z;
|
|
4762
4706
|
},"9daefd1335ff675770cb",[]);
|
|
4763
4707
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4764
|
-
/**
|
|
4765
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4766
|
-
*
|
|
4767
|
-
* This source code is licensed under the MIT license found in the
|
|
4768
|
-
* LICENSE file in the root directory of this source tree.
|
|
4769
|
-
*
|
|
4770
|
-
* @format
|
|
4771
|
-
*
|
|
4772
|
-
*/
|
|
4773
|
-
|
|
4774
4708
|
'use strict';
|
|
4775
4709
|
|
|
4776
4710
|
module.exports = {
|
|
@@ -5797,16 +5731,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5797
5731
|
module.exports = memoizeOne;
|
|
5798
5732
|
},"d381691ed29bec5a2050",[]);
|
|
5799
5733
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
5800
|
-
/**
|
|
5801
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5802
|
-
*
|
|
5803
|
-
* This source code is licensed under the MIT license found in the
|
|
5804
|
-
* LICENSE file in the root directory of this source tree.
|
|
5805
|
-
*
|
|
5806
|
-
* @format
|
|
5807
|
-
*
|
|
5808
|
-
*/
|
|
5809
|
-
|
|
5810
5734
|
'use strict';
|
|
5811
5735
|
|
|
5812
5736
|
module.exports = {
|
|
@@ -5830,16 +5754,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5830
5754
|
};
|
|
5831
5755
|
},"27b237d1799650306cb9",["a26dbe2a3afa21c3cf22","c4b46015e44050527820","d2355175ff6609a3def1","e6b1ef1f5b720d640981","8bafab90a37cab64b100","3e01a5bc929e85870fe5"]);
|
|
5832
5756
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
5833
|
-
/**
|
|
5834
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5835
|
-
*
|
|
5836
|
-
* This source code is licensed under the MIT license found in the
|
|
5837
|
-
* LICENSE file in the root directory of this source tree.
|
|
5838
|
-
*
|
|
5839
|
-
*
|
|
5840
|
-
* @format
|
|
5841
|
-
*/
|
|
5842
|
-
|
|
5843
5757
|
'use strict';
|
|
5844
5758
|
|
|
5845
5759
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5850,11 +5764,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5850
5764
|
exports.keyExtractor = keyExtractor;
|
|
5851
5765
|
exports.newRangeCount = newRangeCount;
|
|
5852
5766
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
5853
|
-
/**
|
|
5854
|
-
* Used to find the indices of the frames that overlap the given offsets. Useful for finding the
|
|
5855
|
-
* items that bound different windows of content, such as the visible area or the buffered overscan
|
|
5856
|
-
* area.
|
|
5857
|
-
*/
|
|
5858
5767
|
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics) {
|
|
5859
5768
|
var zoomScale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
5860
5769
|
var itemCount = props.getItemCount(props.data);
|
|
@@ -5864,14 +5773,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5864
5773
|
var left = 0;
|
|
5865
5774
|
var right = itemCount - 1;
|
|
5866
5775
|
while (left <= right) {
|
|
5867
|
-
// eslint-disable-next-line no-bitwise
|
|
5868
5776
|
var mid = left + (right - left >>> 1);
|
|
5869
5777
|
var frame = getFrameMetrics(mid, props);
|
|
5870
5778
|
var scaledOffsetStart = frame.offset * zoomScale;
|
|
5871
5779
|
var scaledOffsetEnd = (frame.offset + frame.length) * zoomScale;
|
|
5872
|
-
|
|
5873
|
-
// We want the first frame that contains the offset, with inclusive bounds. Thus, for the
|
|
5874
|
-
// first frame the scaledOffsetStart is inclusive, while for other frames it is exclusive.
|
|
5875
5780
|
if (mid === 0 && currentOffset < scaledOffsetStart || mid !== 0 && currentOffset <= scaledOffsetStart) {
|
|
5876
5781
|
right = mid - 1;
|
|
5877
5782
|
} else if (currentOffset > scaledOffsetEnd) {
|
|
@@ -5884,23 +5789,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5884
5789
|
}
|
|
5885
5790
|
return result;
|
|
5886
5791
|
}
|
|
5887
|
-
|
|
5888
|
-
/**
|
|
5889
|
-
* Computes the number of elements in the `next` range that are new compared to the `prev` range.
|
|
5890
|
-
* Handy for calculating how many new items will be rendered when the render window changes so we
|
|
5891
|
-
* can restrict the number of new items render at once so that content can appear on the screen
|
|
5892
|
-
* faster.
|
|
5893
|
-
*/
|
|
5894
5792
|
function newRangeCount(prev, next) {
|
|
5895
5793
|
return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));
|
|
5896
5794
|
}
|
|
5897
|
-
|
|
5898
|
-
/**
|
|
5899
|
-
* Custom logic for determining which items should be rendered given the current frame and scroll
|
|
5900
|
-
* metrics, as well as the previous render state. The algorithm may evolve over time, but generally
|
|
5901
|
-
* prioritizes the visible area first, then expands that with overscan regions ahead and behind,
|
|
5902
|
-
* biased in the direction of scroll.
|
|
5903
|
-
*/
|
|
5904
5795
|
function computeWindowedRenderLimits(props, maxToRenderPerBatch, windowSize, prev, getFrameMetricsApprox, scrollMetrics) {
|
|
5905
5796
|
var itemCount = props.getItemCount(props.data);
|
|
5906
5797
|
if (itemCount === 0) {
|
|
@@ -5914,30 +5805,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5914
5805
|
visibleLength = scrollMetrics.visibleLength,
|
|
5915
5806
|
_scrollMetrics$zoomSc = scrollMetrics.zoomScale,
|
|
5916
5807
|
zoomScale = _scrollMetrics$zoomSc === undefined ? 1 : _scrollMetrics$zoomSc;
|
|
5917
|
-
|
|
5918
|
-
// Start with visible area, then compute maximum overscan region by expanding from there, biased
|
|
5919
|
-
// in the direction of scroll. Total overscan area is capped, which should cap memory consumption
|
|
5920
|
-
// too.
|
|
5921
5808
|
var visibleBegin = Math.max(0, offset);
|
|
5922
5809
|
var visibleEnd = visibleBegin + visibleLength;
|
|
5923
5810
|
var overscanLength = (windowSize - 1) * visibleLength;
|
|
5924
|
-
|
|
5925
|
-
// Considering velocity seems to introduce more churn than it's worth.
|
|
5926
|
-
var leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));
|
|
5927
|
-
|
|
5811
|
+
var leadFactor = 0.5;
|
|
5928
5812
|
var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';
|
|
5929
5813
|
var overscanBegin = Math.max(0, visibleBegin - 0.5 * overscanLength);
|
|
5930
5814
|
var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);
|
|
5931
5815
|
var lastItemOffset = getFrameMetricsApprox(itemCount - 1, props).offset * zoomScale;
|
|
5932
5816
|
if (lastItemOffset < overscanBegin) {
|
|
5933
|
-
// Entire list is before our overscan window
|
|
5934
5817
|
return {
|
|
5935
5818
|
first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),
|
|
5936
5819
|
last: itemCount - 1
|
|
5937
5820
|
};
|
|
5938
5821
|
}
|
|
5939
|
-
|
|
5940
|
-
// Find the indices that correspond to the items at the render boundaries we're targeting.
|
|
5941
5822
|
var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props, getFrameMetricsApprox, zoomScale),
|
|
5942
5823
|
_elementsThatOverlapO2 = (0, _slicedToArray2.default)(_elementsThatOverlapO, 4),
|
|
5943
5824
|
overscanFirst = _elementsThatOverlapO2[0],
|
|
@@ -5952,15 +5833,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5952
5833
|
first: first,
|
|
5953
5834
|
last: last
|
|
5954
5835
|
};
|
|
5955
|
-
|
|
5956
|
-
// We want to limit the number of new cells we're rendering per batch so that we can fill the
|
|
5957
|
-
// content on the screen quickly. If we rendered the entire overscan window at once, the user
|
|
5958
|
-
// could be staring at white space for a long time waiting for a bunch of offscreen content to
|
|
5959
|
-
// render.
|
|
5960
5836
|
var newCellCount = newRangeCount(prev, visible);
|
|
5961
5837
|
while (true) {
|
|
5962
5838
|
if (first <= overscanFirst && last >= overscanLast) {
|
|
5963
|
-
// If we fill the entire overscan range, we're done.
|
|
5964
5839
|
break;
|
|
5965
5840
|
}
|
|
5966
5841
|
var maxNewCells = newCellCount >= maxToRenderPerBatch;
|
|
@@ -5969,10 +5844,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5969
5844
|
var lastWillAddMore = last >= prev.last || last < prev.first;
|
|
5970
5845
|
var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);
|
|
5971
5846
|
if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {
|
|
5972
|
-
// We only want to stop if we've hit maxNewCells AND we cannot increment first or last
|
|
5973
|
-
// without rendering new items. This let's us preserve as many already rendered items as
|
|
5974
|
-
// possible, reducing render churn and keeping the rendered overscan range as large as
|
|
5975
|
-
// possible.
|
|
5976
5847
|
break;
|
|
5977
5848
|
}
|
|
5978
5849
|
if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {
|
|
@@ -6012,7 +5883,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6012
5883
|
}
|
|
6013
5884
|
return String(index);
|
|
6014
5885
|
}
|
|
6015
|
-
},"a26dbe2a3afa21c3cf22",["
|
|
5886
|
+
},"a26dbe2a3afa21c3cf22",["277a84013d7e1a1ace05","d73b3a84588342abd1b6"]);
|
|
6016
5887
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
6017
5888
|
var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
6018
5889
|
var _defineProperty2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -6033,62 +5904,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6033
5904
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17]));
|
|
6034
5905
|
var _nullthrows = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18]));
|
|
6035
5906
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[19]));
|
|
6036
|
-
function
|
|
6037
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
5907
|
+
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); }
|
|
6038
5908
|
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)); }
|
|
6039
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6040
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6041
|
-
*
|
|
6042
|
-
* This source code is licensed under the MIT license found in the
|
|
6043
|
-
* LICENSE file in the root directory of this source tree.
|
|
6044
|
-
*
|
|
6045
|
-
*
|
|
6046
|
-
* @format
|
|
6047
|
-
*/
|
|
5909
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6048
5910
|
var ON_EDGE_REACHED_EPSILON = 0.001;
|
|
6049
5911
|
var _usedIndexForKey = false;
|
|
6050
5912
|
var _keylessItemComponentName = '';
|
|
6051
|
-
/**
|
|
6052
|
-
* Default Props Helper Functions
|
|
6053
|
-
* Use the following helper functions for default values
|
|
6054
|
-
*/
|
|
6055
|
-
|
|
6056
|
-
// horizontalOrDefault(this.props.horizontal)
|
|
6057
5913
|
function horizontalOrDefault(horizontal) {
|
|
6058
5914
|
return horizontal != null ? horizontal : false;
|
|
6059
5915
|
}
|
|
6060
|
-
|
|
6061
|
-
// initialNumToRenderOrDefault(this.props.initialNumToRender)
|
|
6062
5916
|
function initialNumToRenderOrDefault(initialNumToRender) {
|
|
6063
5917
|
return initialNumToRender != null ? initialNumToRender : 10;
|
|
6064
5918
|
}
|
|
6065
|
-
|
|
6066
|
-
// maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)
|
|
6067
5919
|
function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
|
|
6068
5920
|
return maxToRenderPerBatch != null ? maxToRenderPerBatch : 10;
|
|
6069
5921
|
}
|
|
6070
|
-
|
|
6071
|
-
// onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold)
|
|
6072
5922
|
function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
|
|
6073
5923
|
return onStartReachedThreshold != null ? onStartReachedThreshold : 2;
|
|
6074
5924
|
}
|
|
6075
|
-
|
|
6076
|
-
// onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)
|
|
6077
5925
|
function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
|
|
6078
5926
|
return onEndReachedThreshold != null ? onEndReachedThreshold : 2;
|
|
6079
5927
|
}
|
|
6080
|
-
|
|
6081
|
-
// getScrollingThreshold(visibleLength, onEndReachedThreshold)
|
|
6082
5928
|
function getScrollingThreshold(threshold, visibleLength) {
|
|
6083
5929
|
return threshold * visibleLength / 2;
|
|
6084
5930
|
}
|
|
6085
|
-
|
|
6086
|
-
// scrollEventThrottleOrDefault(this.props.scrollEventThrottle)
|
|
6087
5931
|
function scrollEventThrottleOrDefault(scrollEventThrottle) {
|
|
6088
5932
|
return scrollEventThrottle != null ? scrollEventThrottle : 50;
|
|
6089
5933
|
}
|
|
6090
|
-
|
|
6091
|
-
// windowSizeOrDefault(this.props.windowSize)
|
|
6092
5934
|
function windowSizeOrDefault(windowSize) {
|
|
6093
5935
|
return windowSize != null ? windowSize : 21;
|
|
6094
5936
|
}
|
|
@@ -6100,47 +5942,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6100
5942
|
}
|
|
6101
5943
|
return null;
|
|
6102
5944
|
}
|
|
6103
|
-
|
|
6104
|
-
/**
|
|
6105
|
-
* Base implementation for the more convenient [`<FlatList>`](https://reactnative.dev/docs/flatlist)
|
|
6106
|
-
* and [`<SectionList>`](https://reactnative.dev/docs/sectionlist) components, which are also better
|
|
6107
|
-
* documented. In general, this should only really be used if you need more flexibility than
|
|
6108
|
-
* `FlatList` provides, e.g. for use with immutable data instead of plain arrays.
|
|
6109
|
-
*
|
|
6110
|
-
* Virtualization massively improves memory consumption and performance of large lists by
|
|
6111
|
-
* maintaining a finite render window of active items and replacing all items outside of the render
|
|
6112
|
-
* window with appropriately sized blank space. The window adapts to scrolling behavior, and items
|
|
6113
|
-
* are rendered incrementally with low-pri (after any running interactions) if they are far from the
|
|
6114
|
-
* visible area, or with hi-pri otherwise to minimize the potential of seeing blank space.
|
|
6115
|
-
*
|
|
6116
|
-
* Some caveats:
|
|
6117
|
-
*
|
|
6118
|
-
* - Internal state is not preserved when content scrolls out of the render window. Make sure all
|
|
6119
|
-
* your data is captured in the item data or external stores like Flux, Redux, or Relay.
|
|
6120
|
-
* - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-
|
|
6121
|
-
* equal. Make sure that everything your `renderItem` function depends on is passed as a prop
|
|
6122
|
-
* (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on
|
|
6123
|
-
* changes. This includes the `data` prop and parent component state.
|
|
6124
|
-
* - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously
|
|
6125
|
-
* offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see
|
|
6126
|
-
* blank content. This is a tradeoff that can be adjusted to suit the needs of each application,
|
|
6127
|
-
* and we are working on improving it behind the scenes.
|
|
6128
|
-
* - By default, the list looks for a `key` or `id` prop on each item and uses that for the React key.
|
|
6129
|
-
* Alternatively, you can provide a custom `keyExtractor` prop.
|
|
6130
|
-
* - As an effort to remove defaultProps, use helper functions when referencing certain props
|
|
6131
|
-
*
|
|
6132
|
-
*/
|
|
6133
5945
|
var VirtualizedList = /*#__PURE__*/function (_StateSafePureCompone) {
|
|
6134
5946
|
function VirtualizedList(_props) {
|
|
6135
5947
|
var _this$props$updateCel, _this$props$maintainV, _this$props$maintainV2;
|
|
6136
5948
|
var _this;
|
|
6137
5949
|
(0, _classCallCheck2.default)(this, VirtualizedList);
|
|
6138
5950
|
_this = _callSuper(this, VirtualizedList, [_props]);
|
|
6139
|
-
// $FlowFixMe[missing-local-annot]
|
|
6140
5951
|
_this._getScrollMetrics = function () {
|
|
6141
5952
|
return _this._scrollMetrics;
|
|
6142
5953
|
};
|
|
6143
|
-
// $FlowFixMe[missing-local-annot]
|
|
6144
5954
|
_this._getOutermostParentListRef = function () {
|
|
6145
5955
|
if (_this._isNestedWithSameOrientation()) {
|
|
6146
5956
|
return _this.context.getOutermostParentListRef();
|
|
@@ -6170,21 +5980,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6170
5980
|
_this._cellRefs = {};
|
|
6171
5981
|
_this._frames = {};
|
|
6172
5982
|
_this._footerLength = 0;
|
|
6173
|
-
// Used for preventing scrollToIndex from being called multiple times for initialScrollIndex
|
|
6174
5983
|
_this._hasTriggeredInitialScrollToIndex = false;
|
|
6175
5984
|
_this._hasInteracted = false;
|
|
6176
5985
|
_this._hasMore = false;
|
|
6177
5986
|
_this._hasWarned = {};
|
|
6178
5987
|
_this._headerLength = 0;
|
|
6179
5988
|
_this._hiPriInProgress = false;
|
|
6180
|
-
// flag to prevent infinite hiPri cell limit update
|
|
6181
5989
|
_this._highestMeasuredFrameIndex = 0;
|
|
6182
5990
|
_this._indicesToKeys = new Map();
|
|
6183
5991
|
_this._lastFocusedCellKey = null;
|
|
6184
5992
|
_this._nestedChildLists = new _ChildListCollection.default();
|
|
6185
5993
|
_this._offsetFromParentVirtualizedList = 0;
|
|
6186
5994
|
_this._prevParentOffset = 0;
|
|
6187
|
-
// $FlowFixMe[missing-local-annot]
|
|
6188
5995
|
_this._scrollMetrics = {
|
|
6189
5996
|
contentLength: 0,
|
|
6190
5997
|
dOffset: 0,
|
|
@@ -6201,38 +6008,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6201
6008
|
_this._totalCellLength = 0;
|
|
6202
6009
|
_this._totalCellsMeasured = 0;
|
|
6203
6010
|
_this._viewabilityTuples = [];
|
|
6204
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6205
|
-
* LTI update could not be added via codemod */
|
|
6206
6011
|
_this._captureScrollRef = function (ref) {
|
|
6207
6012
|
_this._scrollRef = ref;
|
|
6208
6013
|
};
|
|
6209
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6210
|
-
* LTI update could not be added via codemod */
|
|
6211
6014
|
_this._defaultRenderScrollComponent = function (props) {
|
|
6212
6015
|
var onRefresh = props.onRefresh;
|
|
6213
6016
|
if (_this._isNestedWithSameOrientation()) {
|
|
6214
|
-
// $FlowFixMe[prop-missing] - Typing ReactNativeComponent revealed errors
|
|
6215
6017
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, Object.assign({}, props));
|
|
6216
6018
|
} else if (onRefresh) {
|
|
6217
6019
|
var _props$refreshing;
|
|
6218
6020
|
(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 = props.refreshing) != null ? _props$refreshing : 'undefined') + '`');
|
|
6219
|
-
return (
|
|
6220
|
-
/*#__PURE__*/
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
, {
|
|
6227
|
-
refreshing: props.refreshing,
|
|
6228
|
-
onRefresh: onRefresh,
|
|
6229
|
-
progressViewOffset: props.progressViewOffset
|
|
6230
|
-
}) : props.refreshControl
|
|
6231
|
-
}))
|
|
6232
|
-
);
|
|
6021
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props, {
|
|
6022
|
+
refreshControl: props.refreshControl == null ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.RefreshControl, {
|
|
6023
|
+
refreshing: props.refreshing,
|
|
6024
|
+
onRefresh: onRefresh,
|
|
6025
|
+
progressViewOffset: props.progressViewOffset
|
|
6026
|
+
}) : props.refreshControl
|
|
6027
|
+
}));
|
|
6233
6028
|
} else {
|
|
6234
|
-
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
6235
|
-
// $FlowFixMe[incompatible-use]
|
|
6236
6029
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props));
|
|
6237
6030
|
}
|
|
6238
6031
|
};
|
|
@@ -6270,8 +6063,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6270
6063
|
};
|
|
6271
6064
|
_this._onLayout = function (e) {
|
|
6272
6065
|
if (_this._isNestedWithSameOrientation()) {
|
|
6273
|
-
// Need to adjust our scroll metrics to be relative to our containing
|
|
6274
|
-
// VirtualizedList before we can make claims about list item viewability
|
|
6275
6066
|
_this.measureLayoutRelativeToContainingList();
|
|
6276
6067
|
} else {
|
|
6277
6068
|
_this._scrollMetrics.visibleLength = _this._selectLength(e.nativeEvent.layout);
|
|
@@ -6316,13 +6107,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6316
6107
|
_this._scheduleCellsToRenderUpdate();
|
|
6317
6108
|
_this._maybeCallOnEdgeReached();
|
|
6318
6109
|
};
|
|
6319
|
-
/* Translates metrics from a scroll event in a parent VirtualizedList into
|
|
6320
|
-
* coordinates relative to the child list.
|
|
6321
|
-
*/
|
|
6322
6110
|
_this._convertParentScrollMetrics = function (metrics) {
|
|
6323
|
-
// Offset of the top of the nested list relative to the top of its parent's viewport
|
|
6324
6111
|
var offset = metrics.offset - _this._offsetFromParentVirtualizedList;
|
|
6325
|
-
// Child's visible length is the same as its parent's
|
|
6326
6112
|
var visibleLength = metrics.visibleLength;
|
|
6327
6113
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6328
6114
|
var contentLength = _this._scrollMetrics.contentLength;
|
|
@@ -6347,8 +6133,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6347
6133
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6348
6134
|
if (_this._isNestedWithSameOrientation()) {
|
|
6349
6135
|
if (_this._scrollMetrics.contentLength === 0) {
|
|
6350
|
-
// Ignore scroll events until onLayout has been called and we
|
|
6351
|
-
// know our offset from our offset from our parent
|
|
6352
6136
|
return;
|
|
6353
6137
|
}
|
|
6354
6138
|
var _this$_convertParentS = _this._convertParentScrollMetrics({
|
|
@@ -6370,8 +6154,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6370
6154
|
});
|
|
6371
6155
|
_this._hasWarned.perf = true;
|
|
6372
6156
|
}
|
|
6373
|
-
|
|
6374
|
-
// For invalid negative values (w/ RTL), set this to 1.
|
|
6375
6157
|
var zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
|
|
6376
6158
|
_this._scrollMetrics = {
|
|
6377
6159
|
contentLength: contentLength,
|
|
@@ -6450,9 +6232,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6450
6232
|
};
|
|
6451
6233
|
});
|
|
6452
6234
|
};
|
|
6453
|
-
_this._createViewToken = function (index, isViewable, props
|
|
6454
|
-
// $FlowFixMe[missing-local-annot]
|
|
6455
|
-
) {
|
|
6235
|
+
_this._createViewToken = function (index, isViewable, props) {
|
|
6456
6236
|
var data = props.data,
|
|
6457
6237
|
getItem = props.getItem;
|
|
6458
6238
|
var item = getItem(data, index);
|
|
@@ -6463,10 +6243,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6463
6243
|
isViewable: isViewable
|
|
6464
6244
|
};
|
|
6465
6245
|
};
|
|
6466
|
-
/**
|
|
6467
|
-
* Gets an approximate offset to an item at a given index. Supports
|
|
6468
|
-
* fractional indices.
|
|
6469
|
-
*/
|
|
6470
6246
|
_this._getOffsetApprox = function (index, props) {
|
|
6471
6247
|
if (Number.isInteger(index)) {
|
|
6472
6248
|
return _this.__getFrameMetricsApprox(index, props).offset;
|
|
@@ -6479,7 +6255,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6479
6255
|
_this.__getFrameMetricsApprox = function (index, props) {
|
|
6480
6256
|
var frame = _this._getFrameMetrics(index, props);
|
|
6481
6257
|
if (frame && frame.index === index) {
|
|
6482
|
-
// check for invalid frames due to row re-ordering
|
|
6483
6258
|
return frame;
|
|
6484
6259
|
} else {
|
|
6485
6260
|
var data = props.data,
|
|
@@ -6501,27 +6276,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6501
6276
|
var frame = _this._frames[VirtualizedList._getItemKey(props, index)];
|
|
6502
6277
|
if (!frame || frame.index !== index) {
|
|
6503
6278
|
if (getItemLayout) {
|
|
6504
|
-
/* $FlowFixMe[prop-missing] (>=0.63.0 site=react_native_fb) This comment
|
|
6505
|
-
* suppresses an error found when Flow v0.63 was deployed. To see the error
|
|
6506
|
-
* delete this comment and run Flow. */
|
|
6507
6279
|
return getItemLayout(data, index);
|
|
6508
6280
|
}
|
|
6509
6281
|
}
|
|
6510
6282
|
return frame;
|
|
6511
6283
|
};
|
|
6512
6284
|
_this._getNonViewportRenderRegions = function (props) {
|
|
6513
|
-
// Keep a viewport's worth of content around the last focused cell to allow
|
|
6514
|
-
// random navigation around it without any blanking. E.g. tabbing from one
|
|
6515
|
-
// focused item out of viewport to another.
|
|
6516
6285
|
if (!(_this._lastFocusedCellKey && _this._cellRefs[_this._lastFocusedCellKey])) {
|
|
6517
6286
|
return [];
|
|
6518
6287
|
}
|
|
6519
6288
|
var lastFocusedCellRenderer = _this._cellRefs[_this._lastFocusedCellKey];
|
|
6520
6289
|
var focusedCellIndex = lastFocusedCellRenderer.props.index;
|
|
6521
6290
|
var itemCount = props.getItemCount(props.data);
|
|
6522
|
-
|
|
6523
|
-
// The last cell we rendered may be at a new index. Bail if we don't know
|
|
6524
|
-
// where it is.
|
|
6525
6291
|
if (focusedCellIndex >= itemCount || VirtualizedList._getItemKey(props, focusedCellIndex) !== _this._lastFocusedCellKey) {
|
|
6526
6292
|
return [];
|
|
6527
6293
|
}
|
|
@@ -6569,9 +6335,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6569
6335
|
cellsAroundViewport: initialRenderRegion,
|
|
6570
6336
|
renderMask: VirtualizedList._createRenderMask(_props, initialRenderRegion),
|
|
6571
6337
|
firstVisibleItemKey: _this.props.getItemCount(_this.props.data) > minIndexForVisible ? VirtualizedList._getItemKey(_this.props, minIndexForVisible) : null,
|
|
6572
|
-
// When we have a non-zero initialScrollIndex, we will receive a
|
|
6573
|
-
// scroll event later so this will prevent the window from updating
|
|
6574
|
-
// until we get a valid offset.
|
|
6575
6338
|
pendingScrollUpdateCount: _this.props.initialScrollIndex != null && _this.props.initialScrollIndex > 0 ? 1 : 0
|
|
6576
6339
|
};
|
|
6577
6340
|
return _this;
|
|
@@ -6579,9 +6342,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6579
6342
|
(0, _inherits2.default)(VirtualizedList, _StateSafePureCompone);
|
|
6580
6343
|
return (0, _createClass2.default)(VirtualizedList, [{
|
|
6581
6344
|
key: "scrollToEnd",
|
|
6582
|
-
value:
|
|
6583
|
-
// scrollToEnd may be janky without getItemLayout prop
|
|
6584
|
-
function scrollToEnd(params) {
|
|
6345
|
+
value: function scrollToEnd(params) {
|
|
6585
6346
|
var animated = params ? params.animated : true;
|
|
6586
6347
|
var veryLast = this.props.getItemCount(this.props.data) - 1;
|
|
6587
6348
|
if (veryLast < 0) {
|
|
@@ -6604,8 +6365,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6604
6365
|
animated: animated
|
|
6605
6366
|
});
|
|
6606
6367
|
}
|
|
6607
|
-
|
|
6608
|
-
// scrollToIndex may be janky without getItemLayout prop
|
|
6609
6368
|
}, {
|
|
6610
6369
|
key: "scrollToIndex",
|
|
6611
6370
|
value: function scrollToIndex(params) {
|
|
@@ -6648,9 +6407,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6648
6407
|
animated: animated
|
|
6649
6408
|
});
|
|
6650
6409
|
}
|
|
6651
|
-
|
|
6652
|
-
// scrollToItem may be janky without getItemLayout prop. Required linear scan through items -
|
|
6653
|
-
// use scrollToIndex instead if possible.
|
|
6654
6410
|
}, {
|
|
6655
6411
|
key: "scrollToItem",
|
|
6656
6412
|
value: function scrollToItem(params) {
|
|
@@ -6669,17 +6425,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6669
6425
|
}
|
|
6670
6426
|
}
|
|
6671
6427
|
}
|
|
6672
|
-
|
|
6673
|
-
/**
|
|
6674
|
-
* Scroll to a specific content pixel offset in the list.
|
|
6675
|
-
*
|
|
6676
|
-
* Param `offset` expects the offset to scroll to.
|
|
6677
|
-
* In case of `horizontal` is true, the offset is the x-value,
|
|
6678
|
-
* in any other case the offset is the y-value.
|
|
6679
|
-
*
|
|
6680
|
-
* Param `animated` (`true` by default) defines whether the list
|
|
6681
|
-
* should do an animation while scrolling.
|
|
6682
|
-
*/
|
|
6683
6428
|
}, {
|
|
6684
6429
|
key: "scrollToOffset",
|
|
6685
6430
|
value: function scrollToOffset(params) {
|
|
@@ -6719,12 +6464,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6719
6464
|
}
|
|
6720
6465
|
this._scrollRef.flashScrollIndicators();
|
|
6721
6466
|
}
|
|
6722
|
-
|
|
6723
|
-
/**
|
|
6724
|
-
* Provides a handle to the underlying scroll responder.
|
|
6725
|
-
* Note that `this._scrollRef` might not be a `ScrollView`, so we
|
|
6726
|
-
* need to check that it responds to `getScrollResponder` before calling it.
|
|
6727
|
-
*/
|
|
6728
6467
|
}, {
|
|
6729
6468
|
key: "getScrollResponder",
|
|
6730
6469
|
value: function getScrollResponder() {
|
|
@@ -6776,9 +6515,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6776
6515
|
getItemCount = props.getItemCount,
|
|
6777
6516
|
data = props.data,
|
|
6778
6517
|
initialScrollIndex = props.initialScrollIndex;
|
|
6779
|
-
(0, _invariant.default)(
|
|
6780
|
-
// $FlowFixMe[prop-missing]
|
|
6781
|
-
!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6518
|
+
(0, _invariant.default)(!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6782
6519
|
(0, _invariant.default)(windowSizeOrDefault(windowSize) > 0, 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.');
|
|
6783
6520
|
(0, _invariant.default)(getItemCount, 'VirtualizedList: The "getItemCount" prop must be provided');
|
|
6784
6521
|
var itemCount = getItemCount(data);
|
|
@@ -6798,9 +6535,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6798
6535
|
offset = _this$_scrollMetrics.offset,
|
|
6799
6536
|
visibleLength = _this$_scrollMetrics.visibleLength;
|
|
6800
6537
|
var distanceFromEnd = contentLength - visibleLength - offset;
|
|
6801
|
-
|
|
6802
|
-
// Wait until the scroll view metrics have been set up. And until then,
|
|
6803
|
-
// we will trust the initialNumToRender suggestion
|
|
6804
6538
|
if (visibleLength <= 0 || contentLength <= 0) {
|
|
6805
6539
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
6806
6540
|
}
|
|
@@ -6812,8 +6546,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6812
6546
|
last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
|
|
6813
6547
|
};
|
|
6814
6548
|
} else {
|
|
6815
|
-
// If we have a pending scroll update, we should not adjust the render window as it
|
|
6816
|
-
// might override the correct window.
|
|
6817
6549
|
if (pendingScrollUpdateCount > 0) {
|
|
6818
6550
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
6819
6551
|
}
|
|
@@ -6821,12 +6553,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6821
6553
|
(0, _invariant.default)(newCellsAroundViewport.last < getItemCount(data), 'computeWindowedRenderLimits() should return range in-bounds');
|
|
6822
6554
|
}
|
|
6823
6555
|
if (this._nestedChildLists.size() > 0) {
|
|
6824
|
-
// If some cell in the new state has a child list in it, we should only render
|
|
6825
|
-
// up through that item, so that we give that list a chance to render.
|
|
6826
|
-
// Otherwise there's churn from multiple child lists mounting and un-mounting
|
|
6827
|
-
// their items.
|
|
6828
|
-
|
|
6829
|
-
// Will this prevent rendering if the nested list doesn't realize the end?
|
|
6830
6556
|
var childIdx = this._findFirstChildWithMore(newCellsAroundViewport.first, newCellsAroundViewport.last);
|
|
6831
6557
|
newCellsAroundViewport.last = childIdx != null ? childIdx : newCellsAroundViewport.last;
|
|
6832
6558
|
}
|
|
@@ -6949,42 +6675,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6949
6675
|
var cells = [];
|
|
6950
6676
|
var stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);
|
|
6951
6677
|
var stickyHeaderIndices = [];
|
|
6952
|
-
|
|
6953
|
-
// 1. Add cell for ListHeaderComponent
|
|
6954
6678
|
if (ListHeaderComponent) {
|
|
6955
6679
|
if (stickyIndicesFromProps.has(0)) {
|
|
6956
6680
|
stickyHeaderIndices.push(0);
|
|
6957
6681
|
}
|
|
6958
|
-
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent :
|
|
6959
|
-
/*#__PURE__*/
|
|
6960
|
-
// $FlowFixMe[not-a-component]
|
|
6961
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
6962
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
6682
|
+
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
6963
6683
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
6964
6684
|
cellKey: this._getCellKey() + '-header',
|
|
6965
|
-
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View
|
|
6966
|
-
// We expect that header component will be a single native view so make it
|
|
6967
|
-
// not collapsable to avoid this view being flattened and make this assumption
|
|
6968
|
-
// no longer true.
|
|
6969
|
-
, {
|
|
6685
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
6970
6686
|
collapsable: false,
|
|
6971
6687
|
onLayout: this._onLayoutHeader,
|
|
6972
6688
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListHeaderComponentStyle),
|
|
6973
|
-
children:
|
|
6974
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
6975
|
-
_element
|
|
6689
|
+
children: _element
|
|
6976
6690
|
})
|
|
6977
6691
|
}, "$header"));
|
|
6978
6692
|
}
|
|
6979
|
-
|
|
6980
|
-
// 2a. Add a cell for ListEmptyComponent if applicable
|
|
6981
6693
|
var itemCount = this.props.getItemCount(data);
|
|
6982
6694
|
if (itemCount === 0 && ListEmptyComponent) {
|
|
6983
|
-
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent :
|
|
6984
|
-
/*#__PURE__*/
|
|
6985
|
-
// $FlowFixMe[not-a-component]
|
|
6986
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
6987
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
6695
|
+
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
6988
6696
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
6989
6697
|
cellKey: this._getCellKey() + '-empty',
|
|
6990
6698
|
children: React.cloneElement(_element2, {
|
|
@@ -6998,8 +6706,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6998
6706
|
})
|
|
6999
6707
|
}, "$empty"));
|
|
7000
6708
|
}
|
|
7001
|
-
|
|
7002
|
-
// 2b. Add cells and spacers for each item
|
|
7003
6709
|
if (itemCount > 0) {
|
|
7004
6710
|
_usedIndexForKey = false;
|
|
7005
6711
|
_keylessItemComponentName = '';
|
|
@@ -7010,15 +6716,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7010
6716
|
});
|
|
7011
6717
|
for (var section of renderRegions) {
|
|
7012
6718
|
if (section.isSpacer) {
|
|
7013
|
-
// Legacy behavior is to avoid spacers when virtualization is
|
|
7014
|
-
// disabled (including head spacers on initial render).
|
|
7015
6719
|
if (this.props.disableVirtualization) {
|
|
7016
6720
|
continue;
|
|
7017
6721
|
}
|
|
7018
|
-
|
|
7019
|
-
// Without getItemLayout, we limit our tail spacer to the _highestMeasuredFrameIndex to
|
|
7020
|
-
// prevent the user for hyperscrolling into un-measured area because otherwise content will
|
|
7021
|
-
// likely jump around as it renders in above the viewport.
|
|
7022
6722
|
var isLastSpacer = section === lastSpacer;
|
|
7023
6723
|
var constrainToMeasured = isLastSpacer && !this.props.getItemLayout;
|
|
7024
6724
|
var last = constrainToMeasured ? (0, _clamp.default)(section.first - 1, section.last, this._highestMeasuredFrameIndex) : section.last;
|
|
@@ -7037,27 +6737,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7037
6737
|
this._hasWarned.keys = true;
|
|
7038
6738
|
}
|
|
7039
6739
|
}
|
|
7040
|
-
|
|
7041
|
-
// 3. Add cell for ListFooterComponent
|
|
7042
6740
|
if (ListFooterComponent) {
|
|
7043
|
-
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent :
|
|
7044
|
-
/*#__PURE__*/
|
|
7045
|
-
// $FlowFixMe[not-a-component]
|
|
7046
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
7047
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
6741
|
+
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
7048
6742
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7049
6743
|
cellKey: this._getFooterCellKey(),
|
|
7050
6744
|
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
7051
6745
|
onLayout: this._onLayoutFooter,
|
|
7052
6746
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListFooterComponentStyle),
|
|
7053
|
-
children:
|
|
7054
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
7055
|
-
_element3
|
|
6747
|
+
children: _element3
|
|
7056
6748
|
})
|
|
7057
6749
|
}, "$footer"));
|
|
7058
6750
|
}
|
|
7059
|
-
|
|
7060
|
-
// 4. Render the ScrollView
|
|
7061
6751
|
var scrollProps = Object.assign({}, this.props, {
|
|
7062
6752
|
onContentSizeChange: this._onContentSizeChange,
|
|
7063
6753
|
onLayout: this._onLayout,
|
|
@@ -7067,13 +6757,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7067
6757
|
onMomentumScrollBegin: this._onMomentumScrollBegin,
|
|
7068
6758
|
onMomentumScrollEnd: this._onMomentumScrollEnd,
|
|
7069
6759
|
scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
|
|
7070
|
-
// TODO: Android support
|
|
7071
6760
|
invertStickyHeaders: this.props.invertStickyHeaders !== undefined ? this.props.invertStickyHeaders : this.props.inverted,
|
|
7072
6761
|
stickyHeaderIndices: stickyHeaderIndices,
|
|
7073
6762
|
style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style,
|
|
7074
6763
|
isInvertedVirtualizedList: this.props.inverted,
|
|
7075
6764
|
maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ? Object.assign({}, this.props.maintainVisibleContentPosition, {
|
|
7076
|
-
// Adjust index to account for ListHeaderComponent.
|
|
7077
6765
|
minIndexForVisible: this.props.maintainVisibleContentPosition.minIndexForVisible + (this.props.ListHeaderComponent ? 1 : 0)
|
|
7078
6766
|
}) : undefined
|
|
7079
6767
|
});
|
|
@@ -7108,22 +6796,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7108
6796
|
data = _this$props7.data,
|
|
7109
6797
|
extraData = _this$props7.extraData;
|
|
7110
6798
|
if (data !== prevProps.data || extraData !== prevProps.extraData) {
|
|
7111
|
-
// clear the viewableIndices cache to also trigger
|
|
7112
|
-
// the onViewableItemsChanged callback with the new data
|
|
7113
6799
|
this._viewabilityTuples.forEach(function (tuple) {
|
|
7114
6800
|
tuple.viewabilityHelper.resetViewableIndices();
|
|
7115
6801
|
});
|
|
7116
6802
|
}
|
|
7117
|
-
// The `this._hiPriInProgress` is guaranteeing a hiPri cell update will only happen
|
|
7118
|
-
// once per fiber update. The `_scheduleCellsToRenderUpdate` will set it to true
|
|
7119
|
-
// if a hiPri update needs to perform. If `componentDidUpdate` is triggered with
|
|
7120
|
-
// `this._hiPriInProgress=true`, means it's triggered by the hiPri update. The
|
|
7121
|
-
// `_scheduleCellsToRenderUpdate` will check this condition and not perform
|
|
7122
|
-
// another hiPri update.
|
|
7123
6803
|
var hiPriInProgress = this._hiPriInProgress;
|
|
7124
6804
|
this._scheduleCellsToRenderUpdate();
|
|
7125
|
-
// Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`
|
|
7126
|
-
// is triggered with `this._hiPriInProgress = true`
|
|
7127
6805
|
if (hiPriInProgress) {
|
|
7128
6806
|
this._hiPriInProgress = false;
|
|
7129
6807
|
}
|
|
@@ -7150,14 +6828,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7150
6828
|
key: "measureLayoutRelativeToContainingList",
|
|
7151
6829
|
value: function measureLayoutRelativeToContainingList() {
|
|
7152
6830
|
var _this4 = this;
|
|
7153
|
-
// TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find
|
|
7154
|
-
// node on an unmounted component" during scrolling
|
|
7155
6831
|
try {
|
|
7156
6832
|
if (!this._scrollRef) {
|
|
7157
6833
|
return;
|
|
7158
6834
|
}
|
|
7159
|
-
// We are assuming that getOutermostParentListRef().getScrollRef()
|
|
7160
|
-
// is a non-null reference to a ScrollView
|
|
7161
6835
|
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(), function (x, y, width, height) {
|
|
7162
6836
|
_this4._offsetFromParentVirtualizedList = _this4._selectOffset({
|
|
7163
6837
|
x: x,
|
|
@@ -7172,9 +6846,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7172
6846
|
if (metricsChanged) {
|
|
7173
6847
|
_this4._scrollMetrics.visibleLength = scrollMetrics.visibleLength;
|
|
7174
6848
|
_this4._scrollMetrics.offset = scrollMetrics.offset;
|
|
7175
|
-
|
|
7176
|
-
// If metrics of the scrollView changed, then we triggered remeasure for child list
|
|
7177
|
-
// to ensure VirtualizedList has the right information.
|
|
7178
6849
|
_this4._nestedChildLists.forEach(function (childList) {
|
|
7179
6850
|
childList.measureLayoutRelativeToContainingList();
|
|
7180
6851
|
});
|
|
@@ -7193,17 +6864,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7193
6864
|
}
|
|
7194
6865
|
}, {
|
|
7195
6866
|
key: "_renderDebugOverlay",
|
|
7196
|
-
value:
|
|
7197
|
-
// $FlowFixMe[missing-local-annot]
|
|
7198
|
-
function _renderDebugOverlay() {
|
|
6867
|
+
value: function _renderDebugOverlay() {
|
|
7199
6868
|
var normalize = this._scrollMetrics.visibleLength / (this._scrollMetrics.contentLength || 1);
|
|
7200
6869
|
var framesInLayout = [];
|
|
7201
6870
|
var itemCount = this.props.getItemCount(this.props.data);
|
|
7202
6871
|
for (var ii = 0; ii < itemCount; ii++) {
|
|
7203
6872
|
var frame = this.__getFrameMetricsApprox(ii, this.props);
|
|
7204
|
-
/* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment
|
|
7205
|
-
* suppresses an error found when Flow v0.68 was deployed. To see the
|
|
7206
|
-
* error delete this comment and run Flow. */
|
|
7207
6873
|
if (frame.inLayout) {
|
|
7208
6874
|
framesInLayout.push(frame);
|
|
7209
6875
|
}
|
|
@@ -7255,8 +6921,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7255
6921
|
onStartReachedThreshold = _this$props8.onStartReachedThreshold,
|
|
7256
6922
|
onEndReached = _this$props8.onEndReached,
|
|
7257
6923
|
onEndReachedThreshold = _this$props8.onEndReachedThreshold;
|
|
7258
|
-
// If we have any pending scroll updates it means that the scroll metrics
|
|
7259
|
-
// are out of date and we should not call any of the edge reached callbacks.
|
|
7260
6924
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7261
6925
|
return;
|
|
7262
6926
|
}
|
|
@@ -7266,48 +6930,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7266
6930
|
offset = _this$_scrollMetrics2.offset;
|
|
7267
6931
|
var distanceFromStart = offset;
|
|
7268
6932
|
var distanceFromEnd = contentLength - visibleLength - offset;
|
|
7269
|
-
|
|
7270
|
-
// Especially when oERT is zero it's necessary to 'floor' very small distance values to be 0
|
|
7271
|
-
// since debouncing causes us to not fire this event for every single "pixel" we scroll and can thus
|
|
7272
|
-
// be at the edge of the list with a distance approximating 0 but not quite there.
|
|
7273
6933
|
if (distanceFromStart < ON_EDGE_REACHED_EPSILON) {
|
|
7274
6934
|
distanceFromStart = 0;
|
|
7275
6935
|
}
|
|
7276
6936
|
if (distanceFromEnd < ON_EDGE_REACHED_EPSILON) {
|
|
7277
6937
|
distanceFromEnd = 0;
|
|
7278
6938
|
}
|
|
7279
|
-
|
|
7280
|
-
// TODO: T121172172 Look into why we're "defaulting" to a threshold of 2px
|
|
7281
|
-
// when oERT is not present (different from 2 viewports used elsewhere)
|
|
7282
6939
|
var DEFAULT_THRESHOLD_PX = 2;
|
|
7283
6940
|
var startThreshold = onStartReachedThreshold != null ? onStartReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7284
6941
|
var endThreshold = onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7285
6942
|
var isWithinStartThreshold = distanceFromStart <= startThreshold;
|
|
7286
6943
|
var isWithinEndThreshold = distanceFromEnd <= endThreshold;
|
|
7287
|
-
|
|
7288
|
-
// First check if the user just scrolled within the end threshold
|
|
7289
|
-
// and call onEndReached only once for a given content length,
|
|
7290
|
-
// and only if onStartReached is not being executed
|
|
7291
6944
|
if (onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength) {
|
|
7292
6945
|
this._sentEndForContentLength = this._scrollMetrics.contentLength;
|
|
7293
6946
|
onEndReached({
|
|
7294
6947
|
distanceFromEnd: distanceFromEnd
|
|
7295
6948
|
});
|
|
7296
|
-
}
|
|
7297
|
-
|
|
7298
|
-
// Next check if the user just scrolled within the start threshold
|
|
7299
|
-
// and call onStartReached only once for a given content length,
|
|
7300
|
-
// and only if onEndReached is not being executed
|
|
7301
|
-
else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
6949
|
+
} else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
7302
6950
|
this._sentStartForContentLength = this._scrollMetrics.contentLength;
|
|
7303
6951
|
onStartReached({
|
|
7304
6952
|
distanceFromStart: distanceFromStart
|
|
7305
6953
|
});
|
|
7306
|
-
}
|
|
7307
|
-
|
|
7308
|
-
// If the user scrolls away from the start or end and back again,
|
|
7309
|
-
// cause onStartReached or onEndReached to be triggered again
|
|
7310
|
-
else {
|
|
6954
|
+
} else {
|
|
7311
6955
|
this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0;
|
|
7312
6956
|
this._sentEndForContentLength = isWithinEndThreshold ? this._sentEndForContentLength : 0;
|
|
7313
6957
|
}
|
|
@@ -7326,29 +6970,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7326
6970
|
var hiPri = false;
|
|
7327
6971
|
var onStartReachedThreshold = onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold);
|
|
7328
6972
|
var onEndReachedThreshold = onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold);
|
|
7329
|
-
// Mark as high priority if we're close to the start of the first item
|
|
7330
|
-
// But only if there are items before the first rendered item
|
|
7331
6973
|
if (first > 0) {
|
|
7332
6974
|
var distTop = offset - this.__getFrameMetricsApprox(first, this.props).offset;
|
|
7333
6975
|
hiPri = distTop < 0 || velocity < -2 && distTop < getScrollingThreshold(onStartReachedThreshold, visibleLength);
|
|
7334
6976
|
}
|
|
7335
|
-
// Mark as high priority if we're close to the end of the last item
|
|
7336
|
-
// But only if there are items after the last rendered item
|
|
7337
6977
|
if (!hiPri && last >= 0 && last < itemCount - 1) {
|
|
7338
6978
|
var distBottom = this.__getFrameMetricsApprox(last, this.props).offset - (offset + visibleLength);
|
|
7339
6979
|
hiPri = distBottom < 0 || velocity > 2 && distBottom < getScrollingThreshold(onEndReachedThreshold, visibleLength);
|
|
7340
6980
|
}
|
|
7341
|
-
// Only trigger high-priority updates if we've actually rendered cells,
|
|
7342
|
-
// and with that size estimate, accurately compute how many cells we should render.
|
|
7343
|
-
// Otherwise, it would just render as many cells as it can (of zero dimension),
|
|
7344
|
-
// each time through attempting to render more (limited by maxToRenderPerBatch),
|
|
7345
|
-
// starving the renderer from actually laying out the objects and computing _averageCellLength.
|
|
7346
|
-
// If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate
|
|
7347
|
-
// We shouldn't do another hipri cellToRenderUpdate
|
|
7348
6981
|
if (hiPri && (this._averageCellLength || this.props.getItemLayout) && !this._hiPriInProgress) {
|
|
7349
6982
|
this._hiPriInProgress = true;
|
|
7350
|
-
// Don't worry about interactions when scrolling quickly; focus on filling content as fast
|
|
7351
|
-
// as possible.
|
|
7352
6983
|
this._updateCellsToRenderBatcher.dispose({
|
|
7353
6984
|
abort: true
|
|
7354
6985
|
});
|
|
@@ -7362,8 +6993,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7362
6993
|
key: "_updateViewableItems",
|
|
7363
6994
|
value: function _updateViewableItems(props, cellsAroundViewport) {
|
|
7364
6995
|
var _this5 = this;
|
|
7365
|
-
// If we have any pending scroll updates it means that the scroll metrics
|
|
7366
|
-
// are out of date and we should not call any of the visibility callbacks.
|
|
7367
6996
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7368
6997
|
return;
|
|
7369
6998
|
}
|
|
@@ -7406,17 +7035,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7406
7035
|
for (var region of allRegions) {
|
|
7407
7036
|
renderMask.addCells(region);
|
|
7408
7037
|
}
|
|
7409
|
-
|
|
7410
|
-
// The initially rendered cells are retained as part of the
|
|
7411
|
-
// "scroll-to-top" optimization
|
|
7412
7038
|
if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {
|
|
7413
7039
|
var initialRegion = VirtualizedList._initialRenderRegion(props);
|
|
7414
7040
|
renderMask.addCells(initialRegion);
|
|
7415
7041
|
}
|
|
7416
|
-
|
|
7417
|
-
// The layout coordinates of sticker headers may be off-screen while the
|
|
7418
|
-
// actual header is on-screen. Keep the most recent before the viewport
|
|
7419
|
-
// rendered, even if its layout coordinates are not in viewport.
|
|
7420
7042
|
var stickyIndicesSet = new Set(props.stickyHeaderIndices);
|
|
7421
7043
|
VirtualizedList._ensureClosestStickyHeader(props, stickyIndicesSet, renderMask, cellsAroundViewport.first);
|
|
7422
7044
|
}
|
|
@@ -7452,8 +7074,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7452
7074
|
key: "getDerivedStateFromProps",
|
|
7453
7075
|
value: function getDerivedStateFromProps(newProps, prevState) {
|
|
7454
7076
|
var _newProps$maintainVis, _newProps$maintainVis2;
|
|
7455
|
-
// first and last could be stale (e.g. if a new, shorter items props is passed in), so we make
|
|
7456
|
-
// sure we're rendering a reasonable range here.
|
|
7457
7077
|
var itemCount = newProps.getItemCount(newProps.data);
|
|
7458
7078
|
if (itemCount === prevState.renderMask.numCells()) {
|
|
7459
7079
|
return prevState;
|
|
@@ -7464,7 +7084,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7464
7084
|
var newFirstVisibleItemKey = newProps.getItemCount(newProps.data) > minIndexForVisible ? VirtualizedList._getItemKey(newProps, minIndexForVisible) : null;
|
|
7465
7085
|
if (newProps.maintainVisibleContentPosition != null && prevFirstVisibleItemKey != null && newFirstVisibleItemKey != null) {
|
|
7466
7086
|
if (newFirstVisibleItemKey !== prevFirstVisibleItemKey) {
|
|
7467
|
-
// Fast path if items were added at the start of the list.
|
|
7468
7087
|
var hint = itemCount - prevState.renderMask.numCells() + minIndexForVisible;
|
|
7469
7088
|
var firstVisibleItemIndex = VirtualizedList._findItemIndexWithKey(newProps, prevFirstVisibleItemKey, hint);
|
|
7470
7089
|
maintainVisibleContentPositionAdjustment = firstVisibleItemIndex != null ? firstVisibleItemIndex - minIndexForVisible : null;
|
|
@@ -7557,57 +7176,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7557
7176
|
}
|
|
7558
7177
|
});
|
|
7559
7178
|
module.exports = VirtualizedList;
|
|
7560
|
-
},"c4b46015e44050527820",["
|
|
7179
|
+
},"c4b46015e44050527820",["277a84013d7e1a1ace05","838d7a057beeb5db50df","4926d0dbc109dc5bb6c9","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","1953ac0cbf7ac32b33d6","a30729068ebd0dea58f8","4fd7218f700134f011e9","718d6cdfb3fb081a232d","3e01a5bc929e85870fe5","04ffc79d4da370644bce","8bafab90a37cab64b100","ce5f423367f40f3628a8","fd099686726b2dfb6f66","afd4874b36ccd4e13961","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","a26dbe2a3afa21c3cf22","e6b1ef1f5b720d640981","de5ab026f9499640d730"]);
|
|
7561
7180
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7562
|
-
/**
|
|
7563
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7564
|
-
*
|
|
7565
|
-
* This source code is licensed under the MIT license found in the
|
|
7566
|
-
* LICENSE file in the root directory of this source tree.
|
|
7567
|
-
*
|
|
7568
|
-
* @format
|
|
7569
|
-
*
|
|
7570
|
-
*/
|
|
7571
|
-
|
|
7572
7181
|
'use strict';
|
|
7573
7182
|
|
|
7574
7183
|
var _require = _$$_REQUIRE(_dependencyMap[0]),
|
|
7575
7184
|
InteractionManager = _require.InteractionManager;
|
|
7576
|
-
|
|
7577
|
-
/**
|
|
7578
|
-
* A simple class for batching up invocations of a low-pri callback. A timeout is set to run the
|
|
7579
|
-
* callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,
|
|
7580
|
-
* InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri
|
|
7581
|
-
* interactions are done running.
|
|
7582
|
-
*
|
|
7583
|
-
* Make sure to cleanup with dispose(). Example:
|
|
7584
|
-
*
|
|
7585
|
-
* class Widget extends React.Component {
|
|
7586
|
-
* _batchedSave: new Batchinator(() => this._saveState, 1000);
|
|
7587
|
-
* _saveSate() {
|
|
7588
|
-
* // save this.state to disk
|
|
7589
|
-
* }
|
|
7590
|
-
* componentDidUpdate() {
|
|
7591
|
-
* this._batchedSave.schedule();
|
|
7592
|
-
* }
|
|
7593
|
-
* componentWillUnmount() {
|
|
7594
|
-
* this._batchedSave.dispose();
|
|
7595
|
-
* }
|
|
7596
|
-
* ...
|
|
7597
|
-
* }
|
|
7598
|
-
*/
|
|
7599
7185
|
var Batchinator = /*#__PURE__*/function () {
|
|
7600
7186
|
function Batchinator(callback, delayMS) {
|
|
7601
7187
|
_$$_REQUIRE(_dependencyMap[1])(this, Batchinator);
|
|
7602
7188
|
this._delay = delayMS;
|
|
7603
7189
|
this._callback = callback;
|
|
7604
7190
|
}
|
|
7605
|
-
/*
|
|
7606
|
-
* Cleanup any pending tasks.
|
|
7607
|
-
*
|
|
7608
|
-
* By default, if there is a pending task the callback is run immediately. Set the option abort to
|
|
7609
|
-
* true to not call the callback if it was pending.
|
|
7610
|
-
*/
|
|
7611
7191
|
return _$$_REQUIRE(_dependencyMap[2])(Batchinator, [{
|
|
7612
7192
|
key: "dispose",
|
|
7613
7193
|
value: function dispose() {
|
|
@@ -7631,8 +7211,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7631
7211
|
}
|
|
7632
7212
|
var timeoutHandle = setTimeout(function () {
|
|
7633
7213
|
_this._taskHandle = InteractionManager.runAfterInteractions(function () {
|
|
7634
|
-
// Note that we clear the handle before invoking the callback so that if the callback calls
|
|
7635
|
-
// schedule again, it will actually schedule another task.
|
|
7636
7214
|
_this._taskHandle = null;
|
|
7637
7215
|
_this._callback();
|
|
7638
7216
|
});
|
|
@@ -7646,18 +7224,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7646
7224
|
}]);
|
|
7647
7225
|
}();
|
|
7648
7226
|
module.exports = Batchinator;
|
|
7649
|
-
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","
|
|
7227
|
+
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","cb664999166f9660a878","68819e29ebee24bb0e88"]);
|
|
7650
7228
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7651
|
-
/**
|
|
7652
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7653
|
-
*
|
|
7654
|
-
* This source code is licensed under the MIT license found in the
|
|
7655
|
-
* LICENSE file in the root directory of this source tree.
|
|
7656
|
-
*
|
|
7657
|
-
* @format
|
|
7658
|
-
*
|
|
7659
|
-
*/
|
|
7660
|
-
|
|
7661
7229
|
'use strict';
|
|
7662
7230
|
|
|
7663
7231
|
function clamp(min, value, max) {
|
|
@@ -7672,21 +7240,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7672
7240
|
module.exports = clamp;
|
|
7673
7241
|
},"a30729068ebd0dea58f8",[]);
|
|
7674
7242
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7675
|
-
/**
|
|
7676
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7677
|
-
*
|
|
7678
|
-
* This source code is licensed under the MIT license found in the
|
|
7679
|
-
* LICENSE file in the root directory of this source tree.
|
|
7680
|
-
*
|
|
7681
|
-
* @format
|
|
7682
|
-
*
|
|
7683
|
-
*/
|
|
7684
|
-
|
|
7685
7243
|
'use strict';
|
|
7686
7244
|
|
|
7687
|
-
/**
|
|
7688
|
-
* Intentional info-level logging for clear separation from ad-hoc console debug logging.
|
|
7689
|
-
*/
|
|
7690
7245
|
function infoLog() {
|
|
7691
7246
|
var _console;
|
|
7692
7247
|
return (_console = console).log.apply(_console, arguments);
|
|
@@ -7701,15 +7256,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7701
7256
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
7702
7257
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
7703
7258
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
7704
|
-
/**
|
|
7705
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7706
|
-
*
|
|
7707
|
-
* This source code is licensed under the MIT license found in the
|
|
7708
|
-
* LICENSE file in the root directory of this source tree.
|
|
7709
|
-
*
|
|
7710
|
-
*
|
|
7711
|
-
* @format
|
|
7712
|
-
*/
|
|
7713
7259
|
var ChildListCollection = exports.default = /*#__PURE__*/function () {
|
|
7714
7260
|
function ChildListCollection() {
|
|
7715
7261
|
(0, _classCallCheck2.default)(this, ChildListCollection);
|
|
@@ -7776,18 +7322,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7776
7322
|
}
|
|
7777
7323
|
}]);
|
|
7778
7324
|
}();
|
|
7779
|
-
},"718d6cdfb3fb081a232d",["
|
|
7325
|
+
},"718d6cdfb3fb081a232d",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
7780
7326
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7781
|
-
/**
|
|
7782
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7783
|
-
*
|
|
7784
|
-
* This source code is licensed under the MIT license found in the
|
|
7785
|
-
* LICENSE file in the root directory of this source tree.
|
|
7786
|
-
*
|
|
7787
|
-
*
|
|
7788
|
-
* @format
|
|
7789
|
-
*/
|
|
7790
|
-
|
|
7791
7327
|
'use strict';
|
|
7792
7328
|
|
|
7793
7329
|
var Info = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function Info() {
|
|
@@ -7807,15 +7343,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7807
7343
|
var _listeners = [];
|
|
7808
7344
|
var _minSampleCount = 10;
|
|
7809
7345
|
var _sampleRate = null;
|
|
7810
|
-
|
|
7811
|
-
/**
|
|
7812
|
-
* A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.
|
|
7813
|
-
* By default the sampling rate is set to zero and this will do nothing. If you want to collect
|
|
7814
|
-
* samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.
|
|
7815
|
-
*
|
|
7816
|
-
* Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with
|
|
7817
|
-
* `SceneTracker.getActiveScene` to determine the context of the events.
|
|
7818
|
-
*/
|
|
7819
7346
|
var FillRateHelper = /*#__PURE__*/function () {
|
|
7820
7347
|
function FillRateHelper(getFrameMetrics) {
|
|
7821
7348
|
_$$_REQUIRE(_dependencyMap[1])(this, FillRateHelper);
|
|
@@ -7842,13 +7369,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7842
7369
|
if (!this._enabled) {
|
|
7843
7370
|
return;
|
|
7844
7371
|
}
|
|
7845
|
-
var start = this._samplesStartTime;
|
|
7372
|
+
var start = this._samplesStartTime;
|
|
7846
7373
|
if (start == null) {
|
|
7847
7374
|
DEBUG;
|
|
7848
7375
|
return;
|
|
7849
7376
|
}
|
|
7850
7377
|
if (this._info.sample_count < _minSampleCount) {
|
|
7851
|
-
// Don't bother with under-sampled events.
|
|
7852
7378
|
this._resetData();
|
|
7853
7379
|
return;
|
|
7854
7380
|
}
|
|
@@ -7871,15 +7397,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7871
7397
|
offset = scrollMetrics.offset,
|
|
7872
7398
|
velocity = scrollMetrics.velocity,
|
|
7873
7399
|
visibleLength = scrollMetrics.visibleLength;
|
|
7874
|
-
|
|
7875
|
-
// Denominator metrics that we track for all events - most of the time there is no blankness and
|
|
7876
|
-
// we want to capture that.
|
|
7877
7400
|
this._info.sample_count++;
|
|
7878
7401
|
this._info.pixels_sampled += Math.round(visibleLength);
|
|
7879
7402
|
this._info.pixels_scrolled += Math.round(Math.abs(dOffset));
|
|
7880
|
-
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
7881
|
-
|
|
7882
|
-
// Whether blank now or not, record the elapsed time blank if we were blank last time.
|
|
7403
|
+
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
7883
7404
|
var now = global.performance.now();
|
|
7884
7405
|
if (this._anyBlankStartTime != null) {
|
|
7885
7406
|
this._info.any_blank_ms += now - this._anyBlankStartTime;
|
|
@@ -7896,8 +7417,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7896
7417
|
firstFrame = this._getFrameMetrics(first, props);
|
|
7897
7418
|
first++;
|
|
7898
7419
|
}
|
|
7899
|
-
// Only count blankTop if we aren't rendering the first item, otherwise we will count the header
|
|
7900
|
-
// as blank.
|
|
7901
7420
|
if (firstFrame && first > 0) {
|
|
7902
7421
|
blankTop = Math.min(visibleLength, Math.max(0, firstFrame.offset - offset));
|
|
7903
7422
|
}
|
|
@@ -7908,8 +7427,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7908
7427
|
lastFrame = this._getFrameMetrics(last, props);
|
|
7909
7428
|
last--;
|
|
7910
7429
|
}
|
|
7911
|
-
// Only count blankBottom if we aren't rendering the last item, otherwise we will count the
|
|
7912
|
-
// footer as blank.
|
|
7913
7430
|
if (lastFrame && last < props.getItemCount(props.data) - 1) {
|
|
7914
7431
|
var bottomEdge = lastFrame.offset + lastFrame.length;
|
|
7915
7432
|
blankBottom = Math.min(visibleLength, Math.max(0, offset + visibleLength - bottomEdge));
|
|
@@ -7971,7 +7488,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7971
7488
|
}]);
|
|
7972
7489
|
}();
|
|
7973
7490
|
module.exports = FillRateHelper;
|
|
7974
|
-
},"3e01a5bc929e85870fe5",["
|
|
7491
|
+
},"3e01a5bc929e85870fe5",["68819e29ebee24bb0e88","cb664999166f9660a878"]);
|
|
7975
7492
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7976
7493
|
Object.defineProperty(exports, "__esModule", {
|
|
7977
7494
|
value: true
|
|
@@ -7985,28 +7502,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7985
7502
|
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
7986
7503
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
7987
7504
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
7988
|
-
function
|
|
7989
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
7505
|
+
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); }
|
|
7990
7506
|
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)); }
|
|
7991
7507
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
7992
|
-
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; }
|
|
7993
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7994
|
-
*
|
|
7995
|
-
* This source code is licensed under the MIT license found in the
|
|
7996
|
-
* LICENSE file in the root directory of this source tree.
|
|
7997
|
-
*
|
|
7998
|
-
*
|
|
7999
|
-
* @format
|
|
8000
|
-
*/
|
|
8001
|
-
/**
|
|
8002
|
-
* `setState` is called asynchronously, and should not rely on the value of
|
|
8003
|
-
* `this.props` or `this.state`:
|
|
8004
|
-
* https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous
|
|
8005
|
-
*
|
|
8006
|
-
* SafePureComponent adds runtime enforcement, to catch cases where these
|
|
8007
|
-
* variables are read in a state updater function, instead of the ones passed
|
|
8008
|
-
* in.
|
|
8009
|
-
*/
|
|
7508
|
+
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; }
|
|
8010
7509
|
var StateSafePureComponent = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
8011
7510
|
function StateSafePureComponent(props) {
|
|
8012
7511
|
var _this;
|
|
@@ -8065,32 +7564,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8065
7564
|
}
|
|
8066
7565
|
}]);
|
|
8067
7566
|
}(React.PureComponent);
|
|
8068
|
-
},"04ffc79d4da370644bce",["
|
|
7567
|
+
},"04ffc79d4da370644bce",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","55062adb34159de0ea92","9822a58ca7726d551fe0","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f"]);
|
|
8069
7568
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8070
|
-
/**
|
|
8071
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8072
|
-
*
|
|
8073
|
-
* This source code is licensed under the MIT license found in the
|
|
8074
|
-
* LICENSE file in the root directory of this source tree.
|
|
8075
|
-
*
|
|
8076
|
-
*
|
|
8077
|
-
* @format
|
|
8078
|
-
*/
|
|
8079
|
-
|
|
8080
7569
|
'use strict';
|
|
8081
7570
|
|
|
8082
|
-
/**
|
|
8083
|
-
* A Utility class for calculating viewable items based on current metrics like scroll position and
|
|
8084
|
-
* layout.
|
|
8085
|
-
*
|
|
8086
|
-
* An item is said to be in a "viewable" state when any of the following
|
|
8087
|
-
* is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`
|
|
8088
|
-
* is true):
|
|
8089
|
-
*
|
|
8090
|
-
* - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item
|
|
8091
|
-
* visible in the view area >= `itemVisiblePercentThreshold`.
|
|
8092
|
-
* - Entirely visible on screen
|
|
8093
|
-
*/
|
|
8094
7571
|
var ViewabilityHelper = /*#__PURE__*/function () {
|
|
8095
7572
|
function ViewabilityHelper() {
|
|
8096
7573
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
@@ -8103,27 +7580,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8103
7580
|
this._viewableItems = new Map();
|
|
8104
7581
|
this._config = config;
|
|
8105
7582
|
}
|
|
8106
|
-
|
|
8107
|
-
/**
|
|
8108
|
-
* Cleanup, e.g. on unmount. Clears any pending timers.
|
|
8109
|
-
*/
|
|
8110
7583
|
return _$$_REQUIRE(_dependencyMap[1])(ViewabilityHelper, [{
|
|
8111
7584
|
key: "dispose",
|
|
8112
7585
|
value: function dispose() {
|
|
8113
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8114
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To see
|
|
8115
|
-
* the error delete this comment and run Flow. */
|
|
8116
7586
|
this._timers.forEach(clearTimeout);
|
|
8117
7587
|
}
|
|
8118
|
-
|
|
8119
|
-
/**
|
|
8120
|
-
* Determines which items are viewable based on the current metrics and config.
|
|
8121
|
-
*/
|
|
8122
7588
|
}, {
|
|
8123
7589
|
key: "computeViewableItems",
|
|
8124
|
-
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics,
|
|
8125
|
-
// Optional optimization to reduce the scan size
|
|
8126
|
-
renderRange) {
|
|
7590
|
+
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {
|
|
8127
7591
|
var itemCount = props.getItemCount(props.data);
|
|
8128
7592
|
var _this$_config = this._config,
|
|
8129
7593
|
itemVisiblePercentThreshold = _this$_config.itemVisiblePercentThreshold,
|
|
@@ -8167,16 +7631,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8167
7631
|
}
|
|
8168
7632
|
return viewableIndices;
|
|
8169
7633
|
}
|
|
8170
|
-
|
|
8171
|
-
/**
|
|
8172
|
-
* Figures out which items are viewable and how that has changed from before and calls
|
|
8173
|
-
* `onViewableItemsChanged` as appropriate.
|
|
8174
|
-
*/
|
|
8175
7634
|
}, {
|
|
8176
7635
|
key: "onUpdate",
|
|
8177
|
-
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged,
|
|
8178
|
-
// Optional optimization to reduce the scan size
|
|
8179
|
-
renderRange) {
|
|
7636
|
+
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
8180
7637
|
var _this = this;
|
|
8181
7638
|
var itemCount = props.getItemCount(props.data);
|
|
8182
7639
|
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props)) {
|
|
@@ -8189,40 +7646,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8189
7646
|
if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every(function (v, ii) {
|
|
8190
7647
|
return v === viewableIndices[ii];
|
|
8191
7648
|
})) {
|
|
8192
|
-
// We might get a lot of scroll events where visibility doesn't change and we don't want to do
|
|
8193
|
-
// extra work in those cases.
|
|
8194
7649
|
return;
|
|
8195
7650
|
}
|
|
8196
7651
|
this._viewableIndices = viewableIndices;
|
|
8197
7652
|
if (this._config.minimumViewTime) {
|
|
8198
7653
|
var handle = setTimeout(function () {
|
|
8199
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8200
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To
|
|
8201
|
-
* see the error delete this comment and run Flow. */
|
|
8202
7654
|
_this._timers.delete(handle);
|
|
8203
7655
|
_this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8204
7656
|
}, this._config.minimumViewTime);
|
|
8205
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8206
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To see
|
|
8207
|
-
* the error delete this comment and run Flow. */
|
|
8208
7657
|
this._timers.add(handle);
|
|
8209
7658
|
} else {
|
|
8210
7659
|
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8211
7660
|
}
|
|
8212
7661
|
}
|
|
8213
|
-
|
|
8214
|
-
/**
|
|
8215
|
-
* clean-up cached _viewableIndices to evaluate changed items on next update
|
|
8216
|
-
*/
|
|
8217
7662
|
}, {
|
|
8218
7663
|
key: "resetViewableIndices",
|
|
8219
7664
|
value: function resetViewableIndices() {
|
|
8220
7665
|
this._viewableIndices = [];
|
|
8221
7666
|
}
|
|
8222
|
-
|
|
8223
|
-
/**
|
|
8224
|
-
* Records that an interaction has happened even if there has been no scroll.
|
|
8225
|
-
*/
|
|
8226
7667
|
}, {
|
|
8227
7668
|
key: "recordInteraction",
|
|
8228
7669
|
value: function recordInteraction() {
|
|
@@ -8232,7 +7673,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8232
7673
|
key: "_onUpdateSync",
|
|
8233
7674
|
value: function _onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
8234
7675
|
var _this2 = this;
|
|
8235
|
-
// Filter out indices that have gone out of view since this call was scheduled.
|
|
8236
7676
|
viewableIndicesToCheck = viewableIndicesToCheck.filter(function (ii) {
|
|
8237
7677
|
return _this2._viewableIndices.includes(ii);
|
|
8238
7678
|
});
|
|
@@ -8288,7 +7728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8288
7728
|
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
8289
7729
|
}
|
|
8290
7730
|
module.exports = ViewabilityHelper;
|
|
8291
|
-
},"8bafab90a37cab64b100",["
|
|
7731
|
+
},"8bafab90a37cab64b100",["cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66","d73b3a84588342abd1b6"]);
|
|
8292
7732
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8293
7733
|
Object.defineProperty(exports, "__esModule", {
|
|
8294
7734
|
value: true
|
|
@@ -8302,18 +7742,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8302
7742
|
var _reactNative = _$$_REQUIRE(_dependencyMap[6]);
|
|
8303
7743
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
8304
7744
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
8305
|
-
function
|
|
8306
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
7745
|
+
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); }
|
|
8307
7746
|
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)); }
|
|
8308
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8309
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8310
|
-
*
|
|
8311
|
-
* This source code is licensed under the MIT license found in the
|
|
8312
|
-
* LICENSE file in the root directory of this source tree.
|
|
8313
|
-
*
|
|
8314
|
-
*
|
|
8315
|
-
* @format
|
|
8316
|
-
*/
|
|
7747
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8317
7748
|
var CellRenderer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
8318
7749
|
function CellRenderer() {
|
|
8319
7750
|
var _this;
|
|
@@ -8328,9 +7759,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8328
7759
|
leadingItem: _this.props.item
|
|
8329
7760
|
}
|
|
8330
7761
|
};
|
|
8331
|
-
// TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not
|
|
8332
|
-
// reused by SectionList and we can keep VirtualizedList simpler.
|
|
8333
|
-
// $FlowFixMe[missing-local-annot]
|
|
8334
7762
|
_this._separators = {
|
|
8335
7763
|
highlight: function highlight() {
|
|
8336
7764
|
var _this$props = _this.props,
|
|
@@ -8382,12 +7810,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8382
7810
|
console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem.");
|
|
8383
7811
|
}
|
|
8384
7812
|
if (ListItemComponent) {
|
|
8385
|
-
/* $FlowFixMe[not-a-component] (>=0.108.0 site=react_native_fb) This
|
|
8386
|
-
* comment suppresses an error found when Flow v0.108 was deployed. To
|
|
8387
|
-
* see the error, delete this comment and run Flow. */
|
|
8388
|
-
/* $FlowFixMe[incompatible-type-arg] (>=0.108.0 site=react_native_fb)
|
|
8389
|
-
* This comment suppresses an error found when Flow v0.108 was deployed.
|
|
8390
|
-
* To see the error, delete this comment and run Flow. */
|
|
8391
7813
|
return React.createElement(ListItemComponent, {
|
|
8392
7814
|
item: item,
|
|
8393
7815
|
index: index,
|
|
@@ -8419,14 +7841,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8419
7841
|
onCellLayout = _this$props4.onCellLayout,
|
|
8420
7842
|
renderItem = _this$props4.renderItem;
|
|
8421
7843
|
var element = this._renderElement(renderItem, ListItemComponent, item, index);
|
|
8422
|
-
|
|
8423
|
-
// NOTE: that when this is a sticky header, `onLayout` will get automatically extracted and
|
|
8424
|
-
// called explicitly by `ScrollViewStickyHeader`.
|
|
8425
|
-
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ?
|
|
8426
|
-
// $FlowFixMe[incompatible-type]
|
|
8427
|
-
ItemSeparatorComponent :
|
|
8428
|
-
// $FlowFixMe[incompatible-type]
|
|
8429
|
-
ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
7844
|
+
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
8430
7845
|
var cellStyle = inversionStyle ? horizontal ? [styles.rowReverse, inversionStyle] : [styles.columnReverse, inversionStyle] : horizontal ? [styles.row, inversionStyle] : inversionStyle;
|
|
8431
7846
|
var result = !CellRendererComponent ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, Object.assign({
|
|
8432
7847
|
style: cellStyle,
|
|
@@ -8473,7 +7888,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8473
7888
|
flexDirection: 'column-reverse'
|
|
8474
7889
|
}
|
|
8475
7890
|
});
|
|
8476
|
-
},"ce5f423367f40f3628a8",["
|
|
7891
|
+
},"ce5f423367f40f3628a8",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","e6b1ef1f5b720d640981"]);
|
|
8477
7892
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8478
7893
|
Object.defineProperty(exports, "__esModule", {
|
|
8479
7894
|
value: true
|
|
@@ -8484,22 +7899,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8484
7899
|
exports.VirtualizedListContextResetter = VirtualizedListContextResetter;
|
|
8485
7900
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
8486
7901
|
var React = _react;
|
|
8487
|
-
function
|
|
8488
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
8489
|
-
/**
|
|
8490
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8491
|
-
*
|
|
8492
|
-
* This source code is licensed under the MIT license found in the
|
|
8493
|
-
* LICENSE file in the root directory of this source tree.
|
|
8494
|
-
*
|
|
8495
|
-
*
|
|
8496
|
-
* @format
|
|
8497
|
-
*/
|
|
8498
|
-
|
|
7902
|
+
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); }
|
|
8499
7903
|
var VirtualizedListContext = exports.VirtualizedListContext = React.createContext(null);
|
|
8500
|
-
/**
|
|
8501
|
-
* Resets the context. Intended for use by portal-like components (e.g. Modal).
|
|
8502
|
-
*/
|
|
8503
7904
|
function VirtualizedListContextResetter(_ref) {
|
|
8504
7905
|
var children = _ref.children;
|
|
8505
7906
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
@@ -8507,14 +7908,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8507
7908
|
children: children
|
|
8508
7909
|
});
|
|
8509
7910
|
}
|
|
8510
|
-
|
|
8511
|
-
/**
|
|
8512
|
-
* Sets the context with memoization. Intended to be used by `VirtualizedList`.
|
|
8513
|
-
*/
|
|
8514
7911
|
function VirtualizedListContextProvider(_ref2) {
|
|
8515
7912
|
var children = _ref2.children,
|
|
8516
7913
|
value = _ref2.value;
|
|
8517
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8518
7914
|
var context = (0, _react.useMemo)(function () {
|
|
8519
7915
|
return {
|
|
8520
7916
|
cellKey: null,
|
|
@@ -8530,14 +7926,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8530
7926
|
children: children
|
|
8531
7927
|
});
|
|
8532
7928
|
}
|
|
8533
|
-
|
|
8534
|
-
/**
|
|
8535
|
-
* Sets the `cellKey`. Intended to be used by `VirtualizedList` for each cell.
|
|
8536
|
-
*/
|
|
8537
7929
|
function VirtualizedListCellContextProvider(_ref3) {
|
|
8538
7930
|
var cellKey = _ref3.cellKey,
|
|
8539
7931
|
children = _ref3.children;
|
|
8540
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8541
7932
|
var currContext = (0, _react.useContext)(VirtualizedListContext);
|
|
8542
7933
|
var context = (0, _react.useMemo)(function () {
|
|
8543
7934
|
return currContext == null ? null : Object.assign({}, currContext, {
|
|
@@ -8560,15 +7951,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8560
7951
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
8561
7952
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
8562
7953
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
8563
|
-
/**
|
|
8564
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8565
|
-
*
|
|
8566
|
-
* This source code is licensed under the MIT license found in the
|
|
8567
|
-
* LICENSE file in the root directory of this source tree.
|
|
8568
|
-
*
|
|
8569
|
-
*
|
|
8570
|
-
* @format
|
|
8571
|
-
*/
|
|
8572
7954
|
var CellRenderMask = exports.CellRenderMask = /*#__PURE__*/function () {
|
|
8573
7955
|
function CellRenderMask(numCells) {
|
|
8574
7956
|
(0, _classCallCheck2.default)(this, CellRenderMask);
|
|
@@ -8594,9 +7976,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8594
7976
|
value: function addCells(cells) {
|
|
8595
7977
|
var _this$_regions;
|
|
8596
7978
|
(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');
|
|
8597
|
-
|
|
8598
|
-
// VirtualizedList uses inclusive ranges, where zero-count states are
|
|
8599
|
-
// possible. E.g. [0, -1] for no cells, starting at 0.
|
|
8600
7979
|
if (cells.last < cells.first) {
|
|
8601
7980
|
return;
|
|
8602
7981
|
}
|
|
@@ -8608,15 +7987,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8608
7987
|
_this$_findRegion4 = (0, _slicedToArray2.default)(_this$_findRegion3, 2),
|
|
8609
7988
|
lastIntersect = _this$_findRegion4[0],
|
|
8610
7989
|
lastIntersectIdx = _this$_findRegion4[1];
|
|
8611
|
-
|
|
8612
|
-
// Fast-path if the cells to add are already all present in the mask. We
|
|
8613
|
-
// will otherwise need to do some mutation.
|
|
8614
7990
|
if (firstIntersectIdx === lastIntersectIdx && !firstIntersect.isSpacer) {
|
|
8615
7991
|
return;
|
|
8616
7992
|
}
|
|
8617
|
-
|
|
8618
|
-
// We need to replace the existing covered regions with 1-3 new regions
|
|
8619
|
-
// depending whether we need to split spacers out of overlapping regions.
|
|
8620
7993
|
var newLeadRegion = [];
|
|
8621
7994
|
var newTailRegion = [];
|
|
8622
7995
|
var newMainRegion = Object.assign({}, cells, {
|
|
@@ -8680,7 +8053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8680
8053
|
}
|
|
8681
8054
|
}]);
|
|
8682
8055
|
}();
|
|
8683
|
-
},"de5ab026f9499640d730",["
|
|
8056
|
+
},"de5ab026f9499640d730",["277a84013d7e1a1ace05","838d7a057beeb5db50df","d73b3a84588342abd1b6","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
8684
8057
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8685
8058
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
8686
8059
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -8694,23 +8067,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8694
8067
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
8695
8068
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11]));
|
|
8696
8069
|
var _excluded = ["ItemSeparatorComponent", "SectionSeparatorComponent", "renderItem", "renderSectionFooter", "renderSectionHeader", "sections", "stickySectionHeadersEnabled"];
|
|
8697
|
-
function
|
|
8698
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
8070
|
+
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); }
|
|
8699
8071
|
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)); }
|
|
8700
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8701
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8702
|
-
*
|
|
8703
|
-
* This source code is licensed under the MIT license found in the
|
|
8704
|
-
* LICENSE file in the root directory of this source tree.
|
|
8705
|
-
*
|
|
8706
|
-
*
|
|
8707
|
-
* @format
|
|
8708
|
-
*/
|
|
8709
|
-
/**
|
|
8710
|
-
* Right now this just flattens everything into one list and uses VirtualizedList under the
|
|
8711
|
-
* hood. The only operation that might not scale well is concatting the data arrays of all the
|
|
8712
|
-
* sections when new props are received, which should be plenty fast for up to ~10,000 items.
|
|
8713
|
-
*/
|
|
8072
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8714
8073
|
var VirtualizedSectionList = /*#__PURE__*/function (_React$PureComponent) {
|
|
8715
8074
|
function VirtualizedSectionList() {
|
|
8716
8075
|
var _this;
|
|
@@ -8719,7 +8078,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8719
8078
|
args[_key] = arguments[_key];
|
|
8720
8079
|
}
|
|
8721
8080
|
_this = _callSuper(this, VirtualizedSectionList, [].concat(args));
|
|
8722
|
-
// $FlowFixMe[missing-local-annot]
|
|
8723
8081
|
_this._keyExtractor = function (item, index) {
|
|
8724
8082
|
var info = _this._subExtractor(index);
|
|
8725
8083
|
return info && info.key || String(index);
|
|
@@ -8752,59 +8110,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8752
8110
|
}
|
|
8753
8111
|
};
|
|
8754
8112
|
_this._renderItem = function (listItemCount) {
|
|
8755
|
-
return (
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
var
|
|
8765
|
-
if (
|
|
8766
|
-
var
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
section: section
|
|
8771
|
-
}) : null;
|
|
8772
|
-
} else {
|
|
8773
|
-
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8774
|
-
return renderSectionFooter ? renderSectionFooter({
|
|
8775
|
-
section: section
|
|
8776
|
-
}) : null;
|
|
8777
|
-
}
|
|
8113
|
+
return function (_ref2) {
|
|
8114
|
+
var item = _ref2.item,
|
|
8115
|
+
index = _ref2.index;
|
|
8116
|
+
var info = _this._subExtractor(index);
|
|
8117
|
+
if (!info) {
|
|
8118
|
+
return null;
|
|
8119
|
+
}
|
|
8120
|
+
var infoIndex = info.index;
|
|
8121
|
+
if (infoIndex == null) {
|
|
8122
|
+
var section = info.section;
|
|
8123
|
+
if (info.header === true) {
|
|
8124
|
+
var renderSectionHeader = _this.props.renderSectionHeader;
|
|
8125
|
+
return renderSectionHeader ? renderSectionHeader({
|
|
8126
|
+
section: section
|
|
8127
|
+
}) : null;
|
|
8778
8128
|
} else {
|
|
8779
|
-
var
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
SeparatorComponent: SeparatorComponent,
|
|
8784
|
-
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8785
|
-
cellKey: info.key,
|
|
8786
|
-
index: infoIndex,
|
|
8787
|
-
item: item,
|
|
8788
|
-
leadingItem: info.leadingItem,
|
|
8789
|
-
leadingSection: info.leadingSection,
|
|
8790
|
-
prevCellKey: (_this._subExtractor(index - 1) || {}).key
|
|
8791
|
-
// Callback to provide updateHighlight for this item
|
|
8792
|
-
,
|
|
8793
|
-
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8794
|
-
setSelfUpdatePropsCallback: _this._setUpdatePropsFor
|
|
8795
|
-
// Provide child ability to set highlight/updateProps for previous item using prevCellKey
|
|
8796
|
-
,
|
|
8797
|
-
updateHighlightFor: _this._updateHighlightFor,
|
|
8798
|
-
updatePropsFor: _this._updatePropsFor,
|
|
8799
|
-
renderItem: renderItem,
|
|
8800
|
-
section: info.section,
|
|
8801
|
-
trailingItem: info.trailingItem,
|
|
8802
|
-
trailingSection: info.trailingSection,
|
|
8803
|
-
inverted: !!_this.props.inverted
|
|
8804
|
-
});
|
|
8129
|
+
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8130
|
+
return renderSectionFooter ? renderSectionFooter({
|
|
8131
|
+
section: section
|
|
8132
|
+
}) : null;
|
|
8805
8133
|
}
|
|
8134
|
+
} else {
|
|
8135
|
+
var renderItem = info.section.renderItem || _this.props.renderItem;
|
|
8136
|
+
var SeparatorComponent = _this._getSeparatorComponent(index, info, listItemCount);
|
|
8137
|
+
(0, _invariant.default)(renderItem, 'no renderItem!');
|
|
8138
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(ItemWithSeparator, {
|
|
8139
|
+
SeparatorComponent: SeparatorComponent,
|
|
8140
|
+
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8141
|
+
cellKey: info.key,
|
|
8142
|
+
index: infoIndex,
|
|
8143
|
+
item: item,
|
|
8144
|
+
leadingItem: info.leadingItem,
|
|
8145
|
+
leadingSection: info.leadingSection,
|
|
8146
|
+
prevCellKey: (_this._subExtractor(index - 1) || {}).key,
|
|
8147
|
+
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8148
|
+
setSelfUpdatePropsCallback: _this._setUpdatePropsFor,
|
|
8149
|
+
updateHighlightFor: _this._updateHighlightFor,
|
|
8150
|
+
updatePropsFor: _this._updatePropsFor,
|
|
8151
|
+
renderItem: renderItem,
|
|
8152
|
+
section: info.section,
|
|
8153
|
+
trailingItem: info.trailingItem,
|
|
8154
|
+
trailingSection: info.trailingSection,
|
|
8155
|
+
inverted: !!_this.props.inverted
|
|
8156
|
+
});
|
|
8806
8157
|
}
|
|
8807
|
-
|
|
8158
|
+
};
|
|
8808
8159
|
};
|
|
8809
8160
|
_this._updatePropsFor = function (cellKey, value) {
|
|
8810
8161
|
var updateProps = _this._updatePropsMap[cellKey];
|
|
@@ -8822,7 +8173,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8822
8173
|
if (updateHighlightFn != null) {
|
|
8823
8174
|
_this._updateHighlightMap[cellKey] = updateHighlightFn;
|
|
8824
8175
|
} else {
|
|
8825
|
-
// $FlowFixMe[prop-missing]
|
|
8826
8176
|
delete _this._updateHighlightFor[cellKey];
|
|
8827
8177
|
}
|
|
8828
8178
|
};
|
|
@@ -8860,7 +8210,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8860
8210
|
viewOffset: viewOffset,
|
|
8861
8211
|
index: index
|
|
8862
8212
|
});
|
|
8863
|
-
// $FlowFixMe[incompatible-use]
|
|
8864
8213
|
this._listRef.scrollToIndex(toIndexParams);
|
|
8865
8214
|
}
|
|
8866
8215
|
}, {
|
|
@@ -8885,12 +8234,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8885
8234
|
var stickyHeaderIndices = this.props.stickySectionHeadersEnabled ? [] : undefined;
|
|
8886
8235
|
var itemCount = 0;
|
|
8887
8236
|
for (var section of this.props.sections) {
|
|
8888
|
-
// Track the section header indices
|
|
8889
8237
|
if (stickyHeaderIndices != null) {
|
|
8890
8238
|
stickyHeaderIndices.push(itemCount + listHeaderOffset);
|
|
8891
8239
|
}
|
|
8892
|
-
|
|
8893
|
-
// Add two for the section header and footer.
|
|
8894
8240
|
itemCount += 2;
|
|
8895
8241
|
itemCount += this.props.getItemCount(section.data);
|
|
8896
8242
|
}
|
|
@@ -8922,15 +8268,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8922
8268
|
var sectionData = section.data;
|
|
8923
8269
|
var itemCount = props.getItemCount(sectionData);
|
|
8924
8270
|
if (itemIdx === -1 || itemIdx === itemCount) {
|
|
8925
|
-
// We intend for there to be overflow by one on both ends of the list.
|
|
8926
|
-
// This will be for headers and footers. When returning a header or footer
|
|
8927
|
-
// item the section itself is the item.
|
|
8928
8271
|
return section;
|
|
8929
8272
|
} else if (itemIdx < itemCount) {
|
|
8930
|
-
// If we are in the bounds of the list's data then return the item.
|
|
8931
8273
|
return props.getItem(sectionData, itemIdx);
|
|
8932
8274
|
} else {
|
|
8933
|
-
itemIdx -= itemCount + 2;
|
|
8275
|
+
itemIdx -= itemCount + 2;
|
|
8934
8276
|
}
|
|
8935
8277
|
}
|
|
8936
8278
|
return null;
|
|
@@ -8948,9 +8290,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8948
8290
|
var section = sections[i];
|
|
8949
8291
|
var sectionData = section.data;
|
|
8950
8292
|
var key = section.key || String(i);
|
|
8951
|
-
itemIndex -= 1;
|
|
8293
|
+
itemIndex -= 1;
|
|
8952
8294
|
if (itemIndex >= getItemCount(sectionData) + 1) {
|
|
8953
|
-
itemIndex -= getItemCount(sectionData) + 1;
|
|
8295
|
+
itemIndex -= getItemCount(sectionData) + 1;
|
|
8954
8296
|
} else if (itemIndex === -1) {
|
|
8955
8297
|
return {
|
|
8956
8298
|
section: section,
|
|
@@ -9045,7 +8387,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9045
8387
|
setSeparatorProps = _React$useState8[1];
|
|
9046
8388
|
React.useEffect(function () {
|
|
9047
8389
|
setSelfHighlightCallback(cellKey, setSeparatorHighlighted);
|
|
9048
|
-
// $FlowFixMe[incompatible-call]
|
|
9049
8390
|
setSelfUpdatePropsCallback(cellKey, setSeparatorProps);
|
|
9050
8391
|
return function () {
|
|
9051
8392
|
setSelfUpdatePropsCallback(cellKey, null);
|
|
@@ -9072,7 +8413,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9072
8413
|
if (LeadingSeparatorComponent != null) {
|
|
9073
8414
|
setLeadingSeparatorProps(Object.assign({}, leadingSeparatorProps, newProps));
|
|
9074
8415
|
} else if (prevCellKey != null) {
|
|
9075
|
-
// update the previous item's separator
|
|
9076
8416
|
updatePropsFor(prevCellKey, Object.assign({}, leadingSeparatorProps, newProps));
|
|
9077
8417
|
}
|
|
9078
8418
|
} else if (select === 'trailing' && SeparatorComponent != null) {
|
|
@@ -9096,12 +8436,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9096
8436
|
children: [inverted === false ? leadingSeparator : separator, element, inverted === false ? separator : leadingSeparator]
|
|
9097
8437
|
}) : element;
|
|
9098
8438
|
}
|
|
9099
|
-
|
|
9100
|
-
/* $FlowFixMe[class-object-subtyping] added when improving typing for this
|
|
9101
|
-
* parameters */
|
|
9102
|
-
// $FlowFixMe[method-unbinding]
|
|
9103
8439
|
module.exports = VirtualizedSectionList;
|
|
9104
|
-
},"d2355175ff6609a3def1",["
|
|
8440
|
+
},"d2355175ff6609a3def1",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","a2c8e692f78bae5b8b98","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","c4b46015e44050527820","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","a26dbe2a3afa21c3cf22","048fed5a64a04bdb7fed"]);
|
|
9105
8441
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9106
8442
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
9107
8443
|
try {
|
|
@@ -9129,91 +8465,92 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9129
8465
|
};
|
|
9130
8466
|
}
|
|
9131
8467
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9132
|
-
},"
|
|
8468
|
+
},"77f56f33f638c3751138",[]);
|
|
9133
8469
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9134
8470
|
'use strict';
|
|
9135
8471
|
|
|
9136
8472
|
{
|
|
9137
8473
|
module.exports = _$$_REQUIRE(_dependencyMap[0]);
|
|
9138
8474
|
}
|
|
9139
|
-
},"
|
|
8475
|
+
},"962cceb83a0665e556b0",["882f173eeacafe179433"]);
|
|
9140
8476
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9141
8477
|
/**
|
|
9142
8478
|
* @license React
|
|
9143
|
-
* use-sync-external-store-shim.native.production.
|
|
8479
|
+
* use-sync-external-store-shim.native.production.js
|
|
9144
8480
|
*
|
|
9145
|
-
* Copyright (c)
|
|
8481
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9146
8482
|
*
|
|
9147
8483
|
* This source code is licensed under the MIT license found in the
|
|
9148
8484
|
* LICENSE file in the root directory of this source tree.
|
|
9149
8485
|
*/
|
|
9150
|
-
'use strict';
|
|
9151
8486
|
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
8487
|
+
"use strict";
|
|
8488
|
+
|
|
8489
|
+
var React = _$$_REQUIRE(_dependencyMap[0]);
|
|
8490
|
+
function is(x, y) {
|
|
8491
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
8492
|
+
}
|
|
8493
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
8494
|
+
useState = React.useState,
|
|
8495
|
+
useEffect = React.useEffect,
|
|
8496
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
8497
|
+
useDebugValue = React.useDebugValue;
|
|
8498
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
8499
|
+
var value = getSnapshot(),
|
|
8500
|
+
_useState = useState({
|
|
9164
8501
|
inst: {
|
|
9165
|
-
value:
|
|
9166
|
-
getSnapshot:
|
|
8502
|
+
value: value,
|
|
8503
|
+
getSnapshot: getSnapshot
|
|
9167
8504
|
}
|
|
9168
8505
|
}),
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
inst:
|
|
8506
|
+
inst = _useState[0].inst,
|
|
8507
|
+
forceUpdate = _useState[1];
|
|
8508
|
+
useLayoutEffect(function () {
|
|
8509
|
+
inst.value = value;
|
|
8510
|
+
inst.getSnapshot = getSnapshot;
|
|
8511
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8512
|
+
inst: inst
|
|
9176
8513
|
});
|
|
9177
|
-
}, [
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
inst:
|
|
8514
|
+
}, [subscribe, value, getSnapshot]);
|
|
8515
|
+
useEffect(function () {
|
|
8516
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8517
|
+
inst: inst
|
|
9181
8518
|
});
|
|
9182
|
-
return
|
|
9183
|
-
|
|
9184
|
-
inst:
|
|
8519
|
+
return subscribe(function () {
|
|
8520
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8521
|
+
inst: inst
|
|
9185
8522
|
});
|
|
9186
8523
|
});
|
|
9187
|
-
}, [
|
|
9188
|
-
|
|
9189
|
-
return
|
|
8524
|
+
}, [subscribe]);
|
|
8525
|
+
useDebugValue(value);
|
|
8526
|
+
return value;
|
|
9190
8527
|
}
|
|
9191
|
-
function
|
|
9192
|
-
var
|
|
9193
|
-
|
|
8528
|
+
function checkIfSnapshotChanged(inst) {
|
|
8529
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
8530
|
+
inst = inst.value;
|
|
9194
8531
|
try {
|
|
9195
|
-
var
|
|
9196
|
-
return !
|
|
9197
|
-
} catch (
|
|
8532
|
+
var nextValue = latestGetSnapshot();
|
|
8533
|
+
return !objectIs(inst, nextValue);
|
|
8534
|
+
} catch (error) {
|
|
9198
8535
|
return true;
|
|
9199
8536
|
}
|
|
9200
8537
|
}
|
|
9201
|
-
exports.useSyncExternalStore = undefined !==
|
|
9202
|
-
},"
|
|
8538
|
+
exports.useSyncExternalStore = undefined !== React.useSyncExternalStore ? React.useSyncExternalStore : useSyncExternalStore$1;
|
|
8539
|
+
},"882f173eeacafe179433",["6ed0e34da2b23bd3554f"]);
|
|
9203
8540
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9204
8541
|
var id = 0;
|
|
9205
8542
|
function _classPrivateFieldKey(e) {
|
|
9206
8543
|
return "__private_" + id++ + "_" + e;
|
|
9207
8544
|
}
|
|
9208
8545
|
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9209
|
-
},"
|
|
8546
|
+
},"cb8ece4f72f02a959885",[]);
|
|
9210
8547
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9211
8548
|
function _classPrivateFieldBase(e, t) {
|
|
9212
8549
|
if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
|
|
9213
8550
|
return e;
|
|
9214
8551
|
}
|
|
9215
8552
|
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9216
|
-
},"
|
|
8553
|
+
},"39eb90fd8fb300b049c2",[]);
|
|
9217
8554
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9218
8555
|
"use strict";
|
|
9219
8556
|
|
|
@@ -9252,7 +8589,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9252
8589
|
}, [dimensions]);
|
|
9253
8590
|
return dimensions;
|
|
9254
8591
|
}
|
|
9255
|
-
},"050a93a57120ea2ae235",["26ef620f86acf7f6932a","6ed0e34da2b23bd3554f","
|
|
8592
|
+
},"050a93a57120ea2ae235",["26ef620f86acf7f6932a","6ed0e34da2b23bd3554f","d73b3a84588342abd1b6"]);
|
|
9256
8593
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9257
8594
|
"use strict";
|
|
9258
8595
|
|
|
@@ -9308,30 +8645,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9308
8645
|
exports.default = NativeSafeAreaView;
|
|
9309
8646
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
9310
8647
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
9311
|
-
function
|
|
9312
|
-
if ("function"
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
9331
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
9332
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
9333
|
-
}
|
|
9334
|
-
return n.default = e, t && t.set(e, n), n;
|
|
8648
|
+
function _interopRequireWildcard(e, t) {
|
|
8649
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
8650
|
+
n = new WeakMap();
|
|
8651
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
8652
|
+
if (!t && e && e.__esModule) return e;
|
|
8653
|
+
var o,
|
|
8654
|
+
i,
|
|
8655
|
+
f = {
|
|
8656
|
+
__proto__: null,
|
|
8657
|
+
default: e
|
|
8658
|
+
};
|
|
8659
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
8660
|
+
if (o = t ? n : r) {
|
|
8661
|
+
if (o.has(e)) return o.get(e);
|
|
8662
|
+
o.set(e, f);
|
|
8663
|
+
}
|
|
8664
|
+
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]);
|
|
8665
|
+
return f;
|
|
8666
|
+
})(e, t);
|
|
9335
8667
|
}
|
|
9336
8668
|
/**
|
|
9337
8669
|
* TODO:
|
|
@@ -9514,30 +8846,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9514
8846
|
default: e
|
|
9515
8847
|
};
|
|
9516
8848
|
}
|
|
9517
|
-
function
|
|
9518
|
-
if ("function"
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
9537
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
9538
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
9539
|
-
}
|
|
9540
|
-
return n.default = e, t && t.set(e, n), n;
|
|
8849
|
+
function _interopRequireWildcard(e, t) {
|
|
8850
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
8851
|
+
n = new WeakMap();
|
|
8852
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
8853
|
+
if (!t && e && e.__esModule) return e;
|
|
8854
|
+
var o,
|
|
8855
|
+
i,
|
|
8856
|
+
f = {
|
|
8857
|
+
__proto__: null,
|
|
8858
|
+
default: e
|
|
8859
|
+
};
|
|
8860
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
8861
|
+
if (o = t ? n : r) {
|
|
8862
|
+
if (o.has(e)) return o.get(e);
|
|
8863
|
+
o.set(e, f);
|
|
8864
|
+
}
|
|
8865
|
+
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]);
|
|
8866
|
+
return f;
|
|
8867
|
+
})(e, t);
|
|
9541
8868
|
}
|
|
9542
8869
|
function _extends() {
|
|
9543
8870
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -9648,7 +8975,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9648
8975
|
* @deprecated
|
|
9649
8976
|
*/
|
|
9650
8977
|
var SafeAreaContext = exports.SafeAreaContext = SafeAreaInsetsContext;
|
|
9651
|
-
},"8fdbf0ef6df74864b35b",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","0acaeb639dd3e73ae9c2","
|
|
8978
|
+
},"8fdbf0ef6df74864b35b",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","0acaeb639dd3e73ae9c2","d73b3a84588342abd1b6"]);
|
|
9652
8979
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9653
8980
|
"use strict";
|
|
9654
8981
|
|
|
@@ -9659,30 +8986,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9659
8986
|
exports.SafeAreaView = SafeAreaView;
|
|
9660
8987
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
9661
8988
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
9662
|
-
function
|
|
9663
|
-
if ("function"
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
9682
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
9683
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
9684
|
-
}
|
|
9685
|
-
return n.default = e, t && t.set(e, n), n;
|
|
8989
|
+
function _interopRequireWildcard(e, t) {
|
|
8990
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
8991
|
+
n = new WeakMap();
|
|
8992
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
8993
|
+
if (!t && e && e.__esModule) return e;
|
|
8994
|
+
var o,
|
|
8995
|
+
i,
|
|
8996
|
+
f = {
|
|
8997
|
+
__proto__: null,
|
|
8998
|
+
default: e
|
|
8999
|
+
};
|
|
9000
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
9001
|
+
if (o = t ? n : r) {
|
|
9002
|
+
if (o.has(e)) return o.get(e);
|
|
9003
|
+
o.set(e, f);
|
|
9004
|
+
}
|
|
9005
|
+
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]);
|
|
9006
|
+
return f;
|
|
9007
|
+
})(e, t);
|
|
9686
9008
|
}
|
|
9687
9009
|
function _extends() {
|
|
9688
9010
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -9774,7 +9096,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9774
9096
|
style: appliedStyle
|
|
9775
9097
|
}, rest));
|
|
9776
9098
|
}
|
|
9777
|
-
},"92384319d0ae7b00f641",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9099
|
+
},"92384319d0ae7b00f641",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","a2c8e692f78bae5b8b98","8fdbf0ef6df74864b35b"]);
|
|
9778
9100
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9779
9101
|
"use strict";
|
|
9780
9102
|
|
|
@@ -9870,8 +9192,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9870
9192
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
9871
9193
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
9872
9194
|
var _useWindowDimensions = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[3]));
|
|
9873
|
-
function
|
|
9874
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9195
|
+
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); }
|
|
9875
9196
|
function CompatNativeSafeAreaProvider(_ref) {
|
|
9876
9197
|
var children = _ref.children,
|
|
9877
9198
|
style = _ref.style,
|
|
@@ -9902,7 +9223,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9902
9223
|
style: style
|
|
9903
9224
|
}, children);
|
|
9904
9225
|
}
|
|
9905
|
-
},"abeb31c8e77500cb5ff0",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9226
|
+
},"abeb31c8e77500cb5ff0",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","277a84013d7e1a1ace05","b7b04884eae45f8d1c96"]);
|
|
9906
9227
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9907
9228
|
Object.defineProperty(exports, "__esModule", {
|
|
9908
9229
|
value: true
|
|
@@ -9940,7 +9261,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9940
9261
|
}, [dimensions]);
|
|
9941
9262
|
return dimensions;
|
|
9942
9263
|
}
|
|
9943
|
-
},"b7b04884eae45f8d1c96",["
|
|
9264
|
+
},"b7b04884eae45f8d1c96",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","26ef620f86acf7f6932a","6ed0e34da2b23bd3554f"]);
|
|
9944
9265
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9945
9266
|
Object.defineProperty(exports, "__esModule", {
|
|
9946
9267
|
value: true
|
|
@@ -9988,8 +9309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9988
9309
|
exports.default = NativeSafeAreaView;
|
|
9989
9310
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
9990
9311
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
9991
|
-
function
|
|
9992
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9312
|
+
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); }
|
|
9993
9313
|
/**
|
|
9994
9314
|
* TODO:
|
|
9995
9315
|
* Currently insets and frame are based on the window and are not
|
|
@@ -10155,8 +9475,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10155
9475
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
10156
9476
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
10157
9477
|
var _NativeSafeAreaProvider = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
10158
|
-
function
|
|
10159
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9478
|
+
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); }
|
|
10160
9479
|
function _extends() {
|
|
10161
9480
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
10162
9481
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -10266,7 +9585,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10266
9585
|
* @deprecated
|
|
10267
9586
|
*/
|
|
10268
9587
|
var SafeAreaContext = exports.SafeAreaContext = SafeAreaInsetsContext;
|
|
10269
|
-
},"694cd3d44542ef0465a0",["
|
|
9588
|
+
},"694cd3d44542ef0465a0",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","14149ed25fd76240344d"]);
|
|
10270
9589
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10271
9590
|
Object.defineProperty(exports, "__esModule", {
|
|
10272
9591
|
value: true
|
|
@@ -10276,8 +9595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10276
9595
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
10277
9596
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
10278
9597
|
var _excluded = ["style", "mode", "edges"];
|
|
10279
|
-
function
|
|
10280
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9598
|
+
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); }
|
|
10281
9599
|
function _extends() {
|
|
10282
9600
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
10283
9601
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -10368,7 +9686,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10368
9686
|
style: appliedStyle
|
|
10369
9687
|
}, rest));
|
|
10370
9688
|
}
|
|
10371
|
-
},"db9aa9de8fa395be66a1",["
|
|
9689
|
+
},"db9aa9de8fa395be66a1",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","694cd3d44542ef0465a0"]);
|
|
10372
9690
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10373
9691
|
Object.defineProperty(exports, "__esModule", {
|
|
10374
9692
|
value: true
|
|
@@ -10464,8 +9782,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10464
9782
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10465
9783
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
10466
9784
|
var _useWindowDimensions = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[3]));
|
|
10467
|
-
function
|
|
10468
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9785
|
+
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); }
|
|
10469
9786
|
function CompatNativeSafeAreaProvider(_ref) {
|
|
10470
9787
|
var children = _ref.children,
|
|
10471
9788
|
style = _ref.style,
|
|
@@ -10497,7 +9814,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10497
9814
|
children: children
|
|
10498
9815
|
});
|
|
10499
9816
|
}
|
|
10500
|
-
},"65ac883a717222a0f5c4",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9817
|
+
},"65ac883a717222a0f5c4",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","277a84013d7e1a1ace05","caf07738b11d49ea6d1a","048fed5a64a04bdb7fed"]);
|
|
10501
9818
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10502
9819
|
Object.defineProperty(exports, "__esModule", {
|
|
10503
9820
|
value: true
|
|
@@ -10535,7 +9852,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10535
9852
|
}, [dimensions]);
|
|
10536
9853
|
return dimensions;
|
|
10537
9854
|
}
|
|
10538
|
-
},"caf07738b11d49ea6d1a",["
|
|
9855
|
+
},"caf07738b11d49ea6d1a",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","26ef620f86acf7f6932a","6ed0e34da2b23bd3554f"]);
|
|
10539
9856
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10540
9857
|
Object.defineProperty(exports, "__esModule", {
|
|
10541
9858
|
value: true
|
|
@@ -10605,8 +9922,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10605
9922
|
exports.default = NativeSafeAreaView;
|
|
10606
9923
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10607
9924
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
10608
|
-
function
|
|
10609
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9925
|
+
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); }
|
|
10610
9926
|
/**
|
|
10611
9927
|
* TODO:
|
|
10612
9928
|
* Currently insets and frame are based on the window and are not
|
|
@@ -10751,8 +10067,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10751
10067
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
10752
10068
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
10753
10069
|
var _NativeSafeAreaProvider = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
10754
|
-
function
|
|
10755
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10070
|
+
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); }
|
|
10756
10071
|
var SafeAreaInsetsContext = exports.SafeAreaInsetsContext = React.createContext(null);
|
|
10757
10072
|
SafeAreaInsetsContext.displayName = 'SafeAreaInsetsContext';
|
|
10758
10073
|
var SafeAreaFrameContext = exports.SafeAreaFrameContext = React.createContext(null);
|
|
@@ -10858,7 +10173,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10858
10173
|
* @deprecated
|
|
10859
10174
|
*/
|
|
10860
10175
|
var SafeAreaContext = exports.SafeAreaContext = SafeAreaInsetsContext;
|
|
10861
|
-
},"0f78c2091666c5605ccc",["
|
|
10176
|
+
},"0f78c2091666c5605ccc",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","798765eeec7bed483268","048fed5a64a04bdb7fed"]);
|
|
10862
10177
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10863
10178
|
Object.defineProperty(exports, "__esModule", {
|
|
10864
10179
|
value: true
|
|
@@ -10892,8 +10207,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10892
10207
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
10893
10208
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
10894
10209
|
var _excluded = ["style", "mode", "edges"];
|
|
10895
|
-
function
|
|
10896
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10210
|
+
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); }
|
|
10897
10211
|
// prettier-ignore
|
|
10898
10212
|
var TOP = 8,
|
|
10899
10213
|
RIGHT = 4,
|
|
@@ -10975,7 +10289,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10975
10289
|
style: appliedStyle
|
|
10976
10290
|
}, rest));
|
|
10977
10291
|
}
|
|
10978
|
-
},"698d90c17c75cbfd6809",["
|
|
10292
|
+
},"698d90c17c75cbfd6809",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","0f78c2091666c5605ccc","048fed5a64a04bdb7fed"]);
|
|
10979
10293
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10980
10294
|
Object.defineProperty(exports, "__esModule", {
|
|
10981
10295
|
value: true
|