@amazon-devices/react-navigation__native 7.0.1758683737 → 7.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/{8f36606502d3b658fa1ffc07fee4da0e39a8ce388742799c9ccdb66b39ef0362.bundle → 41869b563992545ca95a9a2f729e958cbdcada7391919e8e02112d791754072a.bundle} +370 -1058
- package/SystemBundles/41869b563992545ca95a9a2f729e958cbdcada7391919e8e02112d791754072a.map +5157 -0
- package/SystemModules/amzn__react-navigation__native-7.private.modules.txt +39 -40
- package/THIRD_PARTY_NOTICES.txt +1 -1
- package/kepler-compatibility.json +1 -3
- package/package.json +1 -1
- package/SystemBundles/8f36606502d3b658fa1ffc07fee4da0e39a8ce388742799c9ccdb66b39ef0362.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
|
|
|
@@ -720,7 +702,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
720
702
|
}
|
|
721
703
|
})));
|
|
722
704
|
}
|
|
723
|
-
},"0e2aeb8ddddee73292a4",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","48bff7d3883715ce1820","
|
|
705
|
+
},"0e2aeb8ddddee73292a4",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","48bff7d3883715ce1820","a2c8e692f78bae5b8b98"]);
|
|
724
706
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
725
707
|
function _interopRequireDefault(e) {
|
|
726
708
|
return e && e.__esModule ? e : {
|
|
@@ -728,19 +710,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
728
710
|
};
|
|
729
711
|
}
|
|
730
712
|
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
731
|
-
},"
|
|
713
|
+
},"277a84013d7e1a1ace05",[]);
|
|
732
714
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
733
715
|
function _toConsumableArray(r) {
|
|
734
716
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r) || _$$_REQUIRE(_dependencyMap[2])(r) || _$$_REQUIRE(_dependencyMap[3])();
|
|
735
717
|
}
|
|
736
718
|
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
737
|
-
},"
|
|
719
|
+
},"838d7a057beeb5db50df",["a425fd4fe3cf47759e99","67d028b72bb61755baea","e7044bb724c5bd68e2cc","b4810fa44dd496b7d9f5"]);
|
|
738
720
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
739
721
|
function _arrayWithoutHoles(r) {
|
|
740
722
|
if (Array.isArray(r)) return _$$_REQUIRE(_dependencyMap[0])(r);
|
|
741
723
|
}
|
|
742
724
|
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
743
|
-
},"
|
|
725
|
+
},"a425fd4fe3cf47759e99",["378be3062418cfac9327"]);
|
|
744
726
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
745
727
|
function _arrayLikeToArray(r, a) {
|
|
746
728
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -748,13 +730,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
748
730
|
return n;
|
|
749
731
|
}
|
|
750
732
|
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
751
|
-
},"
|
|
733
|
+
},"378be3062418cfac9327",[]);
|
|
752
734
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
753
735
|
function _iterableToArray(r) {
|
|
754
736
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
755
737
|
}
|
|
756
738
|
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
757
|
-
},"
|
|
739
|
+
},"67d028b72bb61755baea",[]);
|
|
758
740
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
759
741
|
function _unsupportedIterableToArray(r, a) {
|
|
760
742
|
if (r) {
|
|
@@ -764,19 +746,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
764
746
|
}
|
|
765
747
|
}
|
|
766
748
|
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
767
|
-
},"
|
|
749
|
+
},"e7044bb724c5bd68e2cc",["378be3062418cfac9327"]);
|
|
768
750
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
769
751
|
function _nonIterableSpread() {
|
|
770
752
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
771
753
|
}
|
|
772
754
|
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
773
|
-
},"
|
|
755
|
+
},"b4810fa44dd496b7d9f5",[]);
|
|
774
756
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
775
757
|
function _classCallCheck(a, n) {
|
|
776
758
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
777
759
|
}
|
|
778
760
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
779
|
-
},"
|
|
761
|
+
},"cb664999166f9660a878",[]);
|
|
780
762
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
781
763
|
function _defineProperties(e, r) {
|
|
782
764
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -790,14 +772,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
790
772
|
}), e;
|
|
791
773
|
}
|
|
792
774
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
793
|
-
},"
|
|
775
|
+
},"68819e29ebee24bb0e88",["cbba112244d360ffda7a"]);
|
|
794
776
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
795
777
|
function toPropertyKey(t) {
|
|
796
778
|
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
797
779
|
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
798
780
|
}
|
|
799
781
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
800
|
-
},"
|
|
782
|
+
},"cbba112244d360ffda7a",["ad82d340d0b5dc5f0801","e08c69ed06cf526909e3"]);
|
|
801
783
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
802
784
|
function toPrimitive(t, r) {
|
|
803
785
|
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
@@ -810,7 +792,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
810
792
|
return ("string" === r ? String : Number)(t);
|
|
811
793
|
}
|
|
812
794
|
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
813
|
-
},"
|
|
795
|
+
},"ad82d340d0b5dc5f0801",["e08c69ed06cf526909e3"]);
|
|
814
796
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
815
797
|
function _typeof(o) {
|
|
816
798
|
"@babel/helpers - typeof";
|
|
@@ -822,7 +804,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
822
804
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
823
805
|
}
|
|
824
806
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
825
|
-
},"
|
|
807
|
+
},"e08c69ed06cf526909e3",[]);
|
|
826
808
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
827
809
|
/**
|
|
828
810
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -867,13 +849,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
867
849
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r, e) || _$$_REQUIRE(_dependencyMap[2])(r, e) || _$$_REQUIRE(_dependencyMap[3])();
|
|
868
850
|
}
|
|
869
851
|
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
870
|
-
},"
|
|
852
|
+
},"d73b3a84588342abd1b6",["c18fba4833d885627fc3","db861c9134e305a92464","e7044bb724c5bd68e2cc","d2c95b166a5bd41ca703"]);
|
|
871
853
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
872
854
|
function _arrayWithHoles(r) {
|
|
873
855
|
if (Array.isArray(r)) return r;
|
|
874
856
|
}
|
|
875
857
|
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
876
|
-
},"
|
|
858
|
+
},"c18fba4833d885627fc3",[]);
|
|
877
859
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
878
860
|
function _iterableToArrayLimit(r, l) {
|
|
879
861
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -903,13 +885,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
903
885
|
}
|
|
904
886
|
}
|
|
905
887
|
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
906
|
-
},"
|
|
888
|
+
},"db861c9134e305a92464",[]);
|
|
907
889
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
908
890
|
function _nonIterableRest() {
|
|
909
891
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
910
892
|
}
|
|
911
893
|
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
912
|
-
},"
|
|
894
|
+
},"d2c95b166a5bd41ca703",[]);
|
|
913
895
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
914
896
|
'use strict';
|
|
915
897
|
|
|
@@ -934,14 +916,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
934
916
|
return _$$_REQUIRE(_dependencyMap[1])(t);
|
|
935
917
|
}
|
|
936
918
|
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
937
|
-
},"
|
|
919
|
+
},"aab42168bb4cb23540ec",["e08c69ed06cf526909e3","0716ce96f45f287fb302"]);
|
|
938
920
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
939
921
|
function _assertThisInitialized(e) {
|
|
940
922
|
if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
941
923
|
return e;
|
|
942
924
|
}
|
|
943
925
|
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
944
|
-
},"
|
|
926
|
+
},"0716ce96f45f287fb302",[]);
|
|
945
927
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
946
928
|
function _getPrototypeOf(t) {
|
|
947
929
|
return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
@@ -949,7 +931,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
949
931
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
|
|
950
932
|
}
|
|
951
933
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
952
|
-
},"
|
|
934
|
+
},"ba9efe5c53f1d07f5c9d",[]);
|
|
953
935
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
954
936
|
function _inherits(t, e) {
|
|
955
937
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -964,7 +946,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
964
946
|
}), e && _$$_REQUIRE(_dependencyMap[0])(t, e);
|
|
965
947
|
}
|
|
966
948
|
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
967
|
-
},"
|
|
949
|
+
},"9822a58ca7726d551fe0",["79c731bcf4b10abe8e4d"]);
|
|
968
950
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
969
951
|
function _setPrototypeOf(t, e) {
|
|
970
952
|
return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
@@ -972,13 +954,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
972
954
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
|
|
973
955
|
}
|
|
974
956
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
975
|
-
},"
|
|
957
|
+
},"79c731bcf4b10abe8e4d",[]);
|
|
976
958
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
977
959
|
function _readOnlyError(r) {
|
|
978
960
|
throw new TypeError('"' + r + '" is read-only');
|
|
979
961
|
}
|
|
980
962
|
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
981
|
-
},"
|
|
963
|
+
},"9a3a31f49f0e1fee57b0",[]);
|
|
982
964
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
983
965
|
function _wrapNativeSuper(t) {
|
|
984
966
|
var r = "function" == typeof Map ? new Map() : undefined;
|
|
@@ -1003,7 +985,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1003
985
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t);
|
|
1004
986
|
}
|
|
1005
987
|
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1006
|
-
},"
|
|
988
|
+
},"66be7ef871ad04671969",["9cf198b81404c8b483b0","20524c8783215c6329fe","ba9efe5c53f1d07f5c9d","79c731bcf4b10abe8e4d"]);
|
|
1007
989
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1008
990
|
function _isNativeFunction(t) {
|
|
1009
991
|
try {
|
|
@@ -1013,7 +995,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1013
995
|
}
|
|
1014
996
|
}
|
|
1015
997
|
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1016
|
-
},"
|
|
998
|
+
},"9cf198b81404c8b483b0",[]);
|
|
1017
999
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1018
1000
|
function _construct(t, e, r) {
|
|
1019
1001
|
if (_$$_REQUIRE(_dependencyMap[0])()) return Reflect.construct.apply(null, arguments);
|
|
@@ -1023,7 +1005,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1023
1005
|
return r && _$$_REQUIRE(_dependencyMap[1])(p, r.prototype), p;
|
|
1024
1006
|
}
|
|
1025
1007
|
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1026
|
-
},"
|
|
1008
|
+
},"20524c8783215c6329fe",["df21df9938c0adbd59f1","79c731bcf4b10abe8e4d"]);
|
|
1027
1009
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1028
1010
|
function _isNativeReflectConstruct() {
|
|
1029
1011
|
try {
|
|
@@ -1034,7 +1016,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1034
1016
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
|
|
1035
1017
|
}
|
|
1036
1018
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1037
|
-
},"
|
|
1019
|
+
},"df21df9938c0adbd59f1",[]);
|
|
1038
1020
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1039
1021
|
'use strict';
|
|
1040
1022
|
|
|
@@ -1057,7 +1039,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1057
1039
|
return stack;
|
|
1058
1040
|
}, []);
|
|
1059
1041
|
}
|
|
1060
|
-
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1042
|
+
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1061
1043
|
var chromeEvalRe = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
1062
1044
|
function parseChrome(line) {
|
|
1063
1045
|
var parts = chromeRe.exec(line);
|
|
@@ -1085,7 +1067,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1085
1067
|
column: parts[4] ? +parts[4] : null
|
|
1086
1068
|
};
|
|
1087
1069
|
}
|
|
1088
|
-
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1070
|
+
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1089
1071
|
function parseWinjs(line) {
|
|
1090
1072
|
var parts = winjsRe.exec(line);
|
|
1091
1073
|
if (!parts) {
|
|
@@ -1099,7 +1081,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1099
1081
|
column: parts[4] ? +parts[4] : null
|
|
1100
1082
|
};
|
|
1101
1083
|
}
|
|
1102
|
-
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1084
|
+
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1103
1085
|
var geckoEvalRe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
1104
1086
|
function parseGecko(line) {
|
|
1105
1087
|
var parts = geckoRe.exec(line);
|
|
@@ -1151,7 +1133,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1151
1133
|
};
|
|
1152
1134
|
}
|
|
1153
1135
|
exports.parse = parse;
|
|
1154
|
-
},"
|
|
1136
|
+
},"aa725aa4c0b37e1add33",[]);
|
|
1155
1137
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1156
1138
|
'use strict';
|
|
1157
1139
|
|
|
@@ -2219,14 +2201,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2219
2201
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments);
|
|
2220
2202
|
}
|
|
2221
2203
|
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2222
|
-
},"
|
|
2204
|
+
},"55062adb34159de0ea92",["d53f05ad44723a08f608"]);
|
|
2223
2205
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2224
2206
|
function _superPropBase(t, o) {
|
|
2225
2207
|
for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _$$_REQUIRE(_dependencyMap[0])(t)););
|
|
2226
2208
|
return t;
|
|
2227
2209
|
}
|
|
2228
2210
|
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2229
|
-
},"
|
|
2211
|
+
},"d53f05ad44723a08f608",["ba9efe5c53f1d07f5c9d"]);
|
|
2230
2212
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2231
2213
|
/**
|
|
2232
2214
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3698,25 +3680,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3698
3680
|
r,
|
|
3699
3681
|
i = _$$_REQUIRE(_dependencyMap[0])(e, t);
|
|
3700
3682
|
if (Object.getOwnPropertySymbols) {
|
|
3701
|
-
var
|
|
3702
|
-
for (r = 0; r <
|
|
3683
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3684
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3703
3685
|
}
|
|
3704
3686
|
return i;
|
|
3705
3687
|
}
|
|
3706
3688
|
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3707
|
-
},"
|
|
3689
|
+
},"a2c8e692f78bae5b8b98",["5927789db7c756c318ed"]);
|
|
3708
3690
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3709
3691
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3710
3692
|
if (null == r) return {};
|
|
3711
3693
|
var t = {};
|
|
3712
3694
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3713
|
-
if (e.
|
|
3695
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3714
3696
|
t[n] = r[n];
|
|
3715
3697
|
}
|
|
3716
3698
|
return t;
|
|
3717
3699
|
}
|
|
3718
3700
|
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3719
|
-
},"
|
|
3701
|
+
},"5927789db7c756c318ed",[]);
|
|
3720
3702
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3721
3703
|
/**
|
|
3722
3704
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3864,7 +3846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3864
3846
|
module.exports = AbortController;
|
|
3865
3847
|
module.exports.AbortController = module.exports["default"] = AbortController;
|
|
3866
3848
|
module.exports.AbortSignal = AbortSignal;
|
|
3867
|
-
},"ea8fcbd647aab1cfcdaa",["
|
|
3849
|
+
},"ea8fcbd647aab1cfcdaa",["ba9efe5c53f1d07f5c9d","aab42168bb4cb23540ec","cb664999166f9660a878","9822a58ca7726d551fe0","68819e29ebee24bb0e88","2bd3f165b1ed6b916de7"]);
|
|
3868
3850
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3869
3851
|
/**
|
|
3870
3852
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -4436,24 +4418,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4436
4418
|
}) : e[r] = t, e;
|
|
4437
4419
|
}
|
|
4438
4420
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4439
|
-
},"
|
|
4421
|
+
},"4926d0dbc109dc5bb6c9",["cbba112244d360ffda7a"]);
|
|
4440
4422
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4441
|
-
/**
|
|
4442
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4443
|
-
*
|
|
4444
|
-
* This source code is licensed under the MIT license found in the
|
|
4445
|
-
* LICENSE file in the root directory of this source tree.
|
|
4446
|
-
*
|
|
4447
|
-
*
|
|
4448
|
-
* @format
|
|
4449
|
-
*/
|
|
4450
|
-
|
|
4451
4423
|
'use strict';
|
|
4452
4424
|
|
|
4453
4425
|
var assets = [];
|
|
4454
4426
|
function registerAsset(asset) {
|
|
4455
|
-
// `push` returns new array length, so the first asset will
|
|
4456
|
-
// get id 1 (not 0) to make the value truthy
|
|
4457
4427
|
return assets.push(asset);
|
|
4458
4428
|
}
|
|
4459
4429
|
function getAssetByID(assetId) {
|
|
@@ -4465,16 +4435,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4465
4435
|
};
|
|
4466
4436
|
},"05d58bec2a6d939f08d8",[]);
|
|
4467
4437
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4468
|
-
/**
|
|
4469
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4470
|
-
*
|
|
4471
|
-
* This source code is licensed under the MIT license found in the
|
|
4472
|
-
* LICENSE file in the root directory of this source tree.
|
|
4473
|
-
*
|
|
4474
|
-
* @format
|
|
4475
|
-
*
|
|
4476
|
-
*/
|
|
4477
|
-
|
|
4478
4438
|
'use strict';
|
|
4479
4439
|
|
|
4480
4440
|
var androidScaleSuffix = {
|
|
@@ -4486,24 +4446,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4486
4446
|
'4': 'xxxhdpi'
|
|
4487
4447
|
};
|
|
4488
4448
|
var ANDROID_BASE_DENSITY = 160;
|
|
4489
|
-
|
|
4490
|
-
/**
|
|
4491
|
-
* FIXME: using number to represent discrete scale numbers is fragile in essence because of
|
|
4492
|
-
* floating point numbers imprecision.
|
|
4493
|
-
*/
|
|
4494
4449
|
function getAndroidAssetSuffix(scale) {
|
|
4495
4450
|
if (scale.toString() in androidScaleSuffix) {
|
|
4496
4451
|
return androidScaleSuffix[scale.toString()];
|
|
4497
4452
|
}
|
|
4498
|
-
// NOTE: Android Gradle Plugin does not fully support the nnndpi format.
|
|
4499
|
-
// See https://issuetracker.google.com/issues/72884435
|
|
4500
4453
|
if (Number.isFinite(scale) && scale > 0) {
|
|
4501
4454
|
return Math.round(scale * ANDROID_BASE_DENSITY) + 'dpi';
|
|
4502
4455
|
}
|
|
4503
4456
|
throw new Error('no such scale ' + scale.toString());
|
|
4504
4457
|
}
|
|
4505
|
-
|
|
4506
|
-
// See https://developer.android.com/guide/topics/resources/drawable-resource.html
|
|
4507
4458
|
var drawableFileTypes = new Set(['gif', 'jpeg', 'jpg', 'ktx', 'png', 'svg', 'webp', 'xml']);
|
|
4508
4459
|
function getAndroidResourceFolderName(asset, scale) {
|
|
4509
4460
|
if (!drawableFileTypes.has(asset.type)) {
|
|
@@ -4516,9 +4467,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4516
4467
|
return 'drawable-' + suffix;
|
|
4517
4468
|
}
|
|
4518
4469
|
function getAndroidResourceIdentifier(asset) {
|
|
4519
|
-
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_')
|
|
4520
|
-
.replace(/([^a-z0-9_])/g, '') // Remove illegal chars
|
|
4521
|
-
.replace(/^assets_/, ''); // Remove "assets_" prefix
|
|
4470
|
+
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_').replace(/([^a-z0-9_])/g, '').replace(/^assets_/, '');
|
|
4522
4471
|
}
|
|
4523
4472
|
function getBasePath(asset) {
|
|
4524
4473
|
var basePath = asset.httpServerLocation;
|
|
@@ -4764,16 +4713,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4764
4713
|
exports.unstable_wrapCallback = Z;
|
|
4765
4714
|
},"9daefd1335ff675770cb",[]);
|
|
4766
4715
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4767
|
-
/**
|
|
4768
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4769
|
-
*
|
|
4770
|
-
* This source code is licensed under the MIT license found in the
|
|
4771
|
-
* LICENSE file in the root directory of this source tree.
|
|
4772
|
-
*
|
|
4773
|
-
* @format
|
|
4774
|
-
*
|
|
4775
|
-
*/
|
|
4776
|
-
|
|
4777
4716
|
'use strict';
|
|
4778
4717
|
|
|
4779
4718
|
module.exports = {
|
|
@@ -5800,16 +5739,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5800
5739
|
module.exports = memoizeOne;
|
|
5801
5740
|
},"d381691ed29bec5a2050",[]);
|
|
5802
5741
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
5803
|
-
/**
|
|
5804
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5805
|
-
*
|
|
5806
|
-
* This source code is licensed under the MIT license found in the
|
|
5807
|
-
* LICENSE file in the root directory of this source tree.
|
|
5808
|
-
*
|
|
5809
|
-
* @format
|
|
5810
|
-
*
|
|
5811
|
-
*/
|
|
5812
|
-
|
|
5813
5742
|
'use strict';
|
|
5814
5743
|
|
|
5815
5744
|
module.exports = {
|
|
@@ -5833,16 +5762,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5833
5762
|
};
|
|
5834
5763
|
},"27b237d1799650306cb9",["a26dbe2a3afa21c3cf22","c4b46015e44050527820","d2355175ff6609a3def1","e6b1ef1f5b720d640981","8bafab90a37cab64b100","3e01a5bc929e85870fe5"]);
|
|
5835
5764
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
5836
|
-
/**
|
|
5837
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5838
|
-
*
|
|
5839
|
-
* This source code is licensed under the MIT license found in the
|
|
5840
|
-
* LICENSE file in the root directory of this source tree.
|
|
5841
|
-
*
|
|
5842
|
-
*
|
|
5843
|
-
* @format
|
|
5844
|
-
*/
|
|
5845
|
-
|
|
5846
5765
|
'use strict';
|
|
5847
5766
|
|
|
5848
5767
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5853,11 +5772,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5853
5772
|
exports.keyExtractor = keyExtractor;
|
|
5854
5773
|
exports.newRangeCount = newRangeCount;
|
|
5855
5774
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
5856
|
-
/**
|
|
5857
|
-
* Used to find the indices of the frames that overlap the given offsets. Useful for finding the
|
|
5858
|
-
* items that bound different windows of content, such as the visible area or the buffered overscan
|
|
5859
|
-
* area.
|
|
5860
|
-
*/
|
|
5861
5775
|
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics) {
|
|
5862
5776
|
var zoomScale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
5863
5777
|
var itemCount = props.getItemCount(props.data);
|
|
@@ -5867,14 +5781,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5867
5781
|
var left = 0;
|
|
5868
5782
|
var right = itemCount - 1;
|
|
5869
5783
|
while (left <= right) {
|
|
5870
|
-
// eslint-disable-next-line no-bitwise
|
|
5871
5784
|
var mid = left + (right - left >>> 1);
|
|
5872
5785
|
var frame = getFrameMetrics(mid, props);
|
|
5873
5786
|
var scaledOffsetStart = frame.offset * zoomScale;
|
|
5874
5787
|
var scaledOffsetEnd = (frame.offset + frame.length) * zoomScale;
|
|
5875
|
-
|
|
5876
|
-
// We want the first frame that contains the offset, with inclusive bounds. Thus, for the
|
|
5877
|
-
// first frame the scaledOffsetStart is inclusive, while for other frames it is exclusive.
|
|
5878
5788
|
if (mid === 0 && currentOffset < scaledOffsetStart || mid !== 0 && currentOffset <= scaledOffsetStart) {
|
|
5879
5789
|
right = mid - 1;
|
|
5880
5790
|
} else if (currentOffset > scaledOffsetEnd) {
|
|
@@ -5887,23 +5797,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5887
5797
|
}
|
|
5888
5798
|
return result;
|
|
5889
5799
|
}
|
|
5890
|
-
|
|
5891
|
-
/**
|
|
5892
|
-
* Computes the number of elements in the `next` range that are new compared to the `prev` range.
|
|
5893
|
-
* Handy for calculating how many new items will be rendered when the render window changes so we
|
|
5894
|
-
* can restrict the number of new items render at once so that content can appear on the screen
|
|
5895
|
-
* faster.
|
|
5896
|
-
*/
|
|
5897
5800
|
function newRangeCount(prev, next) {
|
|
5898
5801
|
return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));
|
|
5899
5802
|
}
|
|
5900
|
-
|
|
5901
|
-
/**
|
|
5902
|
-
* Custom logic for determining which items should be rendered given the current frame and scroll
|
|
5903
|
-
* metrics, as well as the previous render state. The algorithm may evolve over time, but generally
|
|
5904
|
-
* prioritizes the visible area first, then expands that with overscan regions ahead and behind,
|
|
5905
|
-
* biased in the direction of scroll.
|
|
5906
|
-
*/
|
|
5907
5803
|
function computeWindowedRenderLimits(props, maxToRenderPerBatch, windowSize, prev, getFrameMetricsApprox, scrollMetrics) {
|
|
5908
5804
|
var itemCount = props.getItemCount(props.data);
|
|
5909
5805
|
if (itemCount === 0) {
|
|
@@ -5917,30 +5813,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5917
5813
|
visibleLength = scrollMetrics.visibleLength,
|
|
5918
5814
|
_scrollMetrics$zoomSc = scrollMetrics.zoomScale,
|
|
5919
5815
|
zoomScale = _scrollMetrics$zoomSc === undefined ? 1 : _scrollMetrics$zoomSc;
|
|
5920
|
-
|
|
5921
|
-
// Start with visible area, then compute maximum overscan region by expanding from there, biased
|
|
5922
|
-
// in the direction of scroll. Total overscan area is capped, which should cap memory consumption
|
|
5923
|
-
// too.
|
|
5924
5816
|
var visibleBegin = Math.max(0, offset);
|
|
5925
5817
|
var visibleEnd = visibleBegin + visibleLength;
|
|
5926
5818
|
var overscanLength = (windowSize - 1) * visibleLength;
|
|
5927
|
-
|
|
5928
|
-
// Considering velocity seems to introduce more churn than it's worth.
|
|
5929
|
-
var leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));
|
|
5930
|
-
|
|
5819
|
+
var leadFactor = 0.5;
|
|
5931
5820
|
var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';
|
|
5932
5821
|
var overscanBegin = Math.max(0, visibleBegin - 0.5 * overscanLength);
|
|
5933
5822
|
var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);
|
|
5934
5823
|
var lastItemOffset = getFrameMetricsApprox(itemCount - 1, props).offset * zoomScale;
|
|
5935
5824
|
if (lastItemOffset < overscanBegin) {
|
|
5936
|
-
// Entire list is before our overscan window
|
|
5937
5825
|
return {
|
|
5938
5826
|
first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),
|
|
5939
5827
|
last: itemCount - 1
|
|
5940
5828
|
};
|
|
5941
5829
|
}
|
|
5942
|
-
|
|
5943
|
-
// Find the indices that correspond to the items at the render boundaries we're targeting.
|
|
5944
5830
|
var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props, getFrameMetricsApprox, zoomScale),
|
|
5945
5831
|
_elementsThatOverlapO2 = (0, _slicedToArray2.default)(_elementsThatOverlapO, 4),
|
|
5946
5832
|
overscanFirst = _elementsThatOverlapO2[0],
|
|
@@ -5955,15 +5841,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5955
5841
|
first: first,
|
|
5956
5842
|
last: last
|
|
5957
5843
|
};
|
|
5958
|
-
|
|
5959
|
-
// We want to limit the number of new cells we're rendering per batch so that we can fill the
|
|
5960
|
-
// content on the screen quickly. If we rendered the entire overscan window at once, the user
|
|
5961
|
-
// could be staring at white space for a long time waiting for a bunch of offscreen content to
|
|
5962
|
-
// render.
|
|
5963
5844
|
var newCellCount = newRangeCount(prev, visible);
|
|
5964
5845
|
while (true) {
|
|
5965
5846
|
if (first <= overscanFirst && last >= overscanLast) {
|
|
5966
|
-
// If we fill the entire overscan range, we're done.
|
|
5967
5847
|
break;
|
|
5968
5848
|
}
|
|
5969
5849
|
var maxNewCells = newCellCount >= maxToRenderPerBatch;
|
|
@@ -5972,10 +5852,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5972
5852
|
var lastWillAddMore = last >= prev.last || last < prev.first;
|
|
5973
5853
|
var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);
|
|
5974
5854
|
if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {
|
|
5975
|
-
// We only want to stop if we've hit maxNewCells AND we cannot increment first or last
|
|
5976
|
-
// without rendering new items. This let's us preserve as many already rendered items as
|
|
5977
|
-
// possible, reducing render churn and keeping the rendered overscan range as large as
|
|
5978
|
-
// possible.
|
|
5979
5855
|
break;
|
|
5980
5856
|
}
|
|
5981
5857
|
if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {
|
|
@@ -6015,7 +5891,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6015
5891
|
}
|
|
6016
5892
|
return String(index);
|
|
6017
5893
|
}
|
|
6018
|
-
},"a26dbe2a3afa21c3cf22",["
|
|
5894
|
+
},"a26dbe2a3afa21c3cf22",["277a84013d7e1a1ace05","d73b3a84588342abd1b6"]);
|
|
6019
5895
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
6020
5896
|
var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
6021
5897
|
var _defineProperty2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -6036,62 +5912,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6036
5912
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17]));
|
|
6037
5913
|
var _nullthrows = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18]));
|
|
6038
5914
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[19]));
|
|
6039
|
-
function
|
|
6040
|
-
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; }
|
|
5915
|
+
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); }
|
|
6041
5916
|
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)); }
|
|
6042
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6043
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6044
|
-
*
|
|
6045
|
-
* This source code is licensed under the MIT license found in the
|
|
6046
|
-
* LICENSE file in the root directory of this source tree.
|
|
6047
|
-
*
|
|
6048
|
-
*
|
|
6049
|
-
* @format
|
|
6050
|
-
*/
|
|
5917
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6051
5918
|
var ON_EDGE_REACHED_EPSILON = 0.001;
|
|
6052
5919
|
var _usedIndexForKey = false;
|
|
6053
5920
|
var _keylessItemComponentName = '';
|
|
6054
|
-
/**
|
|
6055
|
-
* Default Props Helper Functions
|
|
6056
|
-
* Use the following helper functions for default values
|
|
6057
|
-
*/
|
|
6058
|
-
|
|
6059
|
-
// horizontalOrDefault(this.props.horizontal)
|
|
6060
5921
|
function horizontalOrDefault(horizontal) {
|
|
6061
5922
|
return horizontal != null ? horizontal : false;
|
|
6062
5923
|
}
|
|
6063
|
-
|
|
6064
|
-
// initialNumToRenderOrDefault(this.props.initialNumToRender)
|
|
6065
5924
|
function initialNumToRenderOrDefault(initialNumToRender) {
|
|
6066
5925
|
return initialNumToRender != null ? initialNumToRender : 10;
|
|
6067
5926
|
}
|
|
6068
|
-
|
|
6069
|
-
// maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)
|
|
6070
5927
|
function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
|
|
6071
5928
|
return maxToRenderPerBatch != null ? maxToRenderPerBatch : 10;
|
|
6072
5929
|
}
|
|
6073
|
-
|
|
6074
|
-
// onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold)
|
|
6075
5930
|
function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
|
|
6076
5931
|
return onStartReachedThreshold != null ? onStartReachedThreshold : 2;
|
|
6077
5932
|
}
|
|
6078
|
-
|
|
6079
|
-
// onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)
|
|
6080
5933
|
function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
|
|
6081
5934
|
return onEndReachedThreshold != null ? onEndReachedThreshold : 2;
|
|
6082
5935
|
}
|
|
6083
|
-
|
|
6084
|
-
// getScrollingThreshold(visibleLength, onEndReachedThreshold)
|
|
6085
5936
|
function getScrollingThreshold(threshold, visibleLength) {
|
|
6086
5937
|
return threshold * visibleLength / 2;
|
|
6087
5938
|
}
|
|
6088
|
-
|
|
6089
|
-
// scrollEventThrottleOrDefault(this.props.scrollEventThrottle)
|
|
6090
5939
|
function scrollEventThrottleOrDefault(scrollEventThrottle) {
|
|
6091
5940
|
return scrollEventThrottle != null ? scrollEventThrottle : 50;
|
|
6092
5941
|
}
|
|
6093
|
-
|
|
6094
|
-
// windowSizeOrDefault(this.props.windowSize)
|
|
6095
5942
|
function windowSizeOrDefault(windowSize) {
|
|
6096
5943
|
return windowSize != null ? windowSize : 21;
|
|
6097
5944
|
}
|
|
@@ -6103,47 +5950,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6103
5950
|
}
|
|
6104
5951
|
return null;
|
|
6105
5952
|
}
|
|
6106
|
-
|
|
6107
|
-
/**
|
|
6108
|
-
* Base implementation for the more convenient [`<FlatList>`](https://reactnative.dev/docs/flatlist)
|
|
6109
|
-
* and [`<SectionList>`](https://reactnative.dev/docs/sectionlist) components, which are also better
|
|
6110
|
-
* documented. In general, this should only really be used if you need more flexibility than
|
|
6111
|
-
* `FlatList` provides, e.g. for use with immutable data instead of plain arrays.
|
|
6112
|
-
*
|
|
6113
|
-
* Virtualization massively improves memory consumption and performance of large lists by
|
|
6114
|
-
* maintaining a finite render window of active items and replacing all items outside of the render
|
|
6115
|
-
* window with appropriately sized blank space. The window adapts to scrolling behavior, and items
|
|
6116
|
-
* are rendered incrementally with low-pri (after any running interactions) if they are far from the
|
|
6117
|
-
* visible area, or with hi-pri otherwise to minimize the potential of seeing blank space.
|
|
6118
|
-
*
|
|
6119
|
-
* Some caveats:
|
|
6120
|
-
*
|
|
6121
|
-
* - Internal state is not preserved when content scrolls out of the render window. Make sure all
|
|
6122
|
-
* your data is captured in the item data or external stores like Flux, Redux, or Relay.
|
|
6123
|
-
* - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-
|
|
6124
|
-
* equal. Make sure that everything your `renderItem` function depends on is passed as a prop
|
|
6125
|
-
* (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on
|
|
6126
|
-
* changes. This includes the `data` prop and parent component state.
|
|
6127
|
-
* - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously
|
|
6128
|
-
* offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see
|
|
6129
|
-
* blank content. This is a tradeoff that can be adjusted to suit the needs of each application,
|
|
6130
|
-
* and we are working on improving it behind the scenes.
|
|
6131
|
-
* - By default, the list looks for a `key` or `id` prop on each item and uses that for the React key.
|
|
6132
|
-
* Alternatively, you can provide a custom `keyExtractor` prop.
|
|
6133
|
-
* - As an effort to remove defaultProps, use helper functions when referencing certain props
|
|
6134
|
-
*
|
|
6135
|
-
*/
|
|
6136
5953
|
var VirtualizedList = /*#__PURE__*/function (_StateSafePureCompone) {
|
|
6137
5954
|
function VirtualizedList(_props) {
|
|
6138
5955
|
var _this$props$updateCel, _this$props$maintainV, _this$props$maintainV2;
|
|
6139
5956
|
var _this;
|
|
6140
5957
|
(0, _classCallCheck2.default)(this, VirtualizedList);
|
|
6141
5958
|
_this = _callSuper(this, VirtualizedList, [_props]);
|
|
6142
|
-
// $FlowFixMe[missing-local-annot]
|
|
6143
5959
|
_this._getScrollMetrics = function () {
|
|
6144
5960
|
return _this._scrollMetrics;
|
|
6145
5961
|
};
|
|
6146
|
-
// $FlowFixMe[missing-local-annot]
|
|
6147
5962
|
_this._getOutermostParentListRef = function () {
|
|
6148
5963
|
if (_this._isNestedWithSameOrientation()) {
|
|
6149
5964
|
return _this.context.getOutermostParentListRef();
|
|
@@ -6173,21 +5988,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6173
5988
|
_this._cellRefs = {};
|
|
6174
5989
|
_this._frames = {};
|
|
6175
5990
|
_this._footerLength = 0;
|
|
6176
|
-
// Used for preventing scrollToIndex from being called multiple times for initialScrollIndex
|
|
6177
5991
|
_this._hasTriggeredInitialScrollToIndex = false;
|
|
6178
5992
|
_this._hasInteracted = false;
|
|
6179
5993
|
_this._hasMore = false;
|
|
6180
5994
|
_this._hasWarned = {};
|
|
6181
5995
|
_this._headerLength = 0;
|
|
6182
5996
|
_this._hiPriInProgress = false;
|
|
6183
|
-
// flag to prevent infinite hiPri cell limit update
|
|
6184
5997
|
_this._highestMeasuredFrameIndex = 0;
|
|
6185
5998
|
_this._indicesToKeys = new Map();
|
|
6186
5999
|
_this._lastFocusedCellKey = null;
|
|
6187
6000
|
_this._nestedChildLists = new _ChildListCollection.default();
|
|
6188
6001
|
_this._offsetFromParentVirtualizedList = 0;
|
|
6189
6002
|
_this._prevParentOffset = 0;
|
|
6190
|
-
// $FlowFixMe[missing-local-annot]
|
|
6191
6003
|
_this._scrollMetrics = {
|
|
6192
6004
|
contentLength: 0,
|
|
6193
6005
|
dOffset: 0,
|
|
@@ -6204,38 +6016,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6204
6016
|
_this._totalCellLength = 0;
|
|
6205
6017
|
_this._totalCellsMeasured = 0;
|
|
6206
6018
|
_this._viewabilityTuples = [];
|
|
6207
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6208
|
-
* LTI update could not be added via codemod */
|
|
6209
6019
|
_this._captureScrollRef = function (ref) {
|
|
6210
6020
|
_this._scrollRef = ref;
|
|
6211
6021
|
};
|
|
6212
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6213
|
-
* LTI update could not be added via codemod */
|
|
6214
6022
|
_this._defaultRenderScrollComponent = function (props) {
|
|
6215
6023
|
var onRefresh = props.onRefresh;
|
|
6216
6024
|
if (_this._isNestedWithSameOrientation()) {
|
|
6217
|
-
// $FlowFixMe[prop-missing] - Typing ReactNativeComponent revealed errors
|
|
6218
6025
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, Object.assign({}, props));
|
|
6219
6026
|
} else if (onRefresh) {
|
|
6220
6027
|
var _props$refreshing;
|
|
6221
6028
|
(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') + '`');
|
|
6222
|
-
return (
|
|
6223
|
-
/*#__PURE__*/
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
, {
|
|
6230
|
-
refreshing: props.refreshing,
|
|
6231
|
-
onRefresh: onRefresh,
|
|
6232
|
-
progressViewOffset: props.progressViewOffset
|
|
6233
|
-
}) : props.refreshControl
|
|
6234
|
-
}))
|
|
6235
|
-
);
|
|
6029
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props, {
|
|
6030
|
+
refreshControl: props.refreshControl == null ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.RefreshControl, {
|
|
6031
|
+
refreshing: props.refreshing,
|
|
6032
|
+
onRefresh: onRefresh,
|
|
6033
|
+
progressViewOffset: props.progressViewOffset
|
|
6034
|
+
}) : props.refreshControl
|
|
6035
|
+
}));
|
|
6236
6036
|
} else {
|
|
6237
|
-
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
6238
|
-
// $FlowFixMe[incompatible-use]
|
|
6239
6037
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props));
|
|
6240
6038
|
}
|
|
6241
6039
|
};
|
|
@@ -6273,8 +6071,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6273
6071
|
};
|
|
6274
6072
|
_this._onLayout = function (e) {
|
|
6275
6073
|
if (_this._isNestedWithSameOrientation()) {
|
|
6276
|
-
// Need to adjust our scroll metrics to be relative to our containing
|
|
6277
|
-
// VirtualizedList before we can make claims about list item viewability
|
|
6278
6074
|
_this.measureLayoutRelativeToContainingList();
|
|
6279
6075
|
} else {
|
|
6280
6076
|
_this._scrollMetrics.visibleLength = _this._selectLength(e.nativeEvent.layout);
|
|
@@ -6319,13 +6115,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6319
6115
|
_this._scheduleCellsToRenderUpdate();
|
|
6320
6116
|
_this._maybeCallOnEdgeReached();
|
|
6321
6117
|
};
|
|
6322
|
-
/* Translates metrics from a scroll event in a parent VirtualizedList into
|
|
6323
|
-
* coordinates relative to the child list.
|
|
6324
|
-
*/
|
|
6325
6118
|
_this._convertParentScrollMetrics = function (metrics) {
|
|
6326
|
-
// Offset of the top of the nested list relative to the top of its parent's viewport
|
|
6327
6119
|
var offset = metrics.offset - _this._offsetFromParentVirtualizedList;
|
|
6328
|
-
// Child's visible length is the same as its parent's
|
|
6329
6120
|
var visibleLength = metrics.visibleLength;
|
|
6330
6121
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6331
6122
|
var contentLength = _this._scrollMetrics.contentLength;
|
|
@@ -6350,8 +6141,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6350
6141
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6351
6142
|
if (_this._isNestedWithSameOrientation()) {
|
|
6352
6143
|
if (_this._scrollMetrics.contentLength === 0) {
|
|
6353
|
-
// Ignore scroll events until onLayout has been called and we
|
|
6354
|
-
// know our offset from our offset from our parent
|
|
6355
6144
|
return;
|
|
6356
6145
|
}
|
|
6357
6146
|
var _this$_convertParentS = _this._convertParentScrollMetrics({
|
|
@@ -6373,8 +6162,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6373
6162
|
});
|
|
6374
6163
|
_this._hasWarned.perf = true;
|
|
6375
6164
|
}
|
|
6376
|
-
|
|
6377
|
-
// For invalid negative values (w/ RTL), set this to 1.
|
|
6378
6165
|
var zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
|
|
6379
6166
|
_this._scrollMetrics = {
|
|
6380
6167
|
contentLength: contentLength,
|
|
@@ -6453,9 +6240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6453
6240
|
};
|
|
6454
6241
|
});
|
|
6455
6242
|
};
|
|
6456
|
-
_this._createViewToken = function (index, isViewable, props
|
|
6457
|
-
// $FlowFixMe[missing-local-annot]
|
|
6458
|
-
) {
|
|
6243
|
+
_this._createViewToken = function (index, isViewable, props) {
|
|
6459
6244
|
var data = props.data,
|
|
6460
6245
|
getItem = props.getItem;
|
|
6461
6246
|
var item = getItem(data, index);
|
|
@@ -6466,10 +6251,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6466
6251
|
isViewable: isViewable
|
|
6467
6252
|
};
|
|
6468
6253
|
};
|
|
6469
|
-
/**
|
|
6470
|
-
* Gets an approximate offset to an item at a given index. Supports
|
|
6471
|
-
* fractional indices.
|
|
6472
|
-
*/
|
|
6473
6254
|
_this._getOffsetApprox = function (index, props) {
|
|
6474
6255
|
if (Number.isInteger(index)) {
|
|
6475
6256
|
return _this.__getFrameMetricsApprox(index, props).offset;
|
|
@@ -6482,7 +6263,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6482
6263
|
_this.__getFrameMetricsApprox = function (index, props) {
|
|
6483
6264
|
var frame = _this._getFrameMetrics(index, props);
|
|
6484
6265
|
if (frame && frame.index === index) {
|
|
6485
|
-
// check for invalid frames due to row re-ordering
|
|
6486
6266
|
return frame;
|
|
6487
6267
|
} else {
|
|
6488
6268
|
var data = props.data,
|
|
@@ -6504,27 +6284,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6504
6284
|
var frame = _this._frames[VirtualizedList._getItemKey(props, index)];
|
|
6505
6285
|
if (!frame || frame.index !== index) {
|
|
6506
6286
|
if (getItemLayout) {
|
|
6507
|
-
/* $FlowFixMe[prop-missing] (>=0.63.0 site=react_native_fb) This comment
|
|
6508
|
-
* suppresses an error found when Flow v0.63 was deployed. To see the error
|
|
6509
|
-
* delete this comment and run Flow. */
|
|
6510
6287
|
return getItemLayout(data, index);
|
|
6511
6288
|
}
|
|
6512
6289
|
}
|
|
6513
6290
|
return frame;
|
|
6514
6291
|
};
|
|
6515
6292
|
_this._getNonViewportRenderRegions = function (props) {
|
|
6516
|
-
// Keep a viewport's worth of content around the last focused cell to allow
|
|
6517
|
-
// random navigation around it without any blanking. E.g. tabbing from one
|
|
6518
|
-
// focused item out of viewport to another.
|
|
6519
6293
|
if (!(_this._lastFocusedCellKey && _this._cellRefs[_this._lastFocusedCellKey])) {
|
|
6520
6294
|
return [];
|
|
6521
6295
|
}
|
|
6522
6296
|
var lastFocusedCellRenderer = _this._cellRefs[_this._lastFocusedCellKey];
|
|
6523
6297
|
var focusedCellIndex = lastFocusedCellRenderer.props.index;
|
|
6524
6298
|
var itemCount = props.getItemCount(props.data);
|
|
6525
|
-
|
|
6526
|
-
// The last cell we rendered may be at a new index. Bail if we don't know
|
|
6527
|
-
// where it is.
|
|
6528
6299
|
if (focusedCellIndex >= itemCount || VirtualizedList._getItemKey(props, focusedCellIndex) !== _this._lastFocusedCellKey) {
|
|
6529
6300
|
return [];
|
|
6530
6301
|
}
|
|
@@ -6572,9 +6343,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6572
6343
|
cellsAroundViewport: initialRenderRegion,
|
|
6573
6344
|
renderMask: VirtualizedList._createRenderMask(_props, initialRenderRegion),
|
|
6574
6345
|
firstVisibleItemKey: _this.props.getItemCount(_this.props.data) > minIndexForVisible ? VirtualizedList._getItemKey(_this.props, minIndexForVisible) : null,
|
|
6575
|
-
// When we have a non-zero initialScrollIndex, we will receive a
|
|
6576
|
-
// scroll event later so this will prevent the window from updating
|
|
6577
|
-
// until we get a valid offset.
|
|
6578
6346
|
pendingScrollUpdateCount: _this.props.initialScrollIndex != null && _this.props.initialScrollIndex > 0 ? 1 : 0
|
|
6579
6347
|
};
|
|
6580
6348
|
return _this;
|
|
@@ -6582,9 +6350,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6582
6350
|
(0, _inherits2.default)(VirtualizedList, _StateSafePureCompone);
|
|
6583
6351
|
return (0, _createClass2.default)(VirtualizedList, [{
|
|
6584
6352
|
key: "scrollToEnd",
|
|
6585
|
-
value:
|
|
6586
|
-
// scrollToEnd may be janky without getItemLayout prop
|
|
6587
|
-
function scrollToEnd(params) {
|
|
6353
|
+
value: function scrollToEnd(params) {
|
|
6588
6354
|
var animated = params ? params.animated : true;
|
|
6589
6355
|
var veryLast = this.props.getItemCount(this.props.data) - 1;
|
|
6590
6356
|
if (veryLast < 0) {
|
|
@@ -6607,8 +6373,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6607
6373
|
animated: animated
|
|
6608
6374
|
});
|
|
6609
6375
|
}
|
|
6610
|
-
|
|
6611
|
-
// scrollToIndex may be janky without getItemLayout prop
|
|
6612
6376
|
}, {
|
|
6613
6377
|
key: "scrollToIndex",
|
|
6614
6378
|
value: function scrollToIndex(params) {
|
|
@@ -6651,9 +6415,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6651
6415
|
animated: animated
|
|
6652
6416
|
});
|
|
6653
6417
|
}
|
|
6654
|
-
|
|
6655
|
-
// scrollToItem may be janky without getItemLayout prop. Required linear scan through items -
|
|
6656
|
-
// use scrollToIndex instead if possible.
|
|
6657
6418
|
}, {
|
|
6658
6419
|
key: "scrollToItem",
|
|
6659
6420
|
value: function scrollToItem(params) {
|
|
@@ -6672,17 +6433,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6672
6433
|
}
|
|
6673
6434
|
}
|
|
6674
6435
|
}
|
|
6675
|
-
|
|
6676
|
-
/**
|
|
6677
|
-
* Scroll to a specific content pixel offset in the list.
|
|
6678
|
-
*
|
|
6679
|
-
* Param `offset` expects the offset to scroll to.
|
|
6680
|
-
* In case of `horizontal` is true, the offset is the x-value,
|
|
6681
|
-
* in any other case the offset is the y-value.
|
|
6682
|
-
*
|
|
6683
|
-
* Param `animated` (`true` by default) defines whether the list
|
|
6684
|
-
* should do an animation while scrolling.
|
|
6685
|
-
*/
|
|
6686
6436
|
}, {
|
|
6687
6437
|
key: "scrollToOffset",
|
|
6688
6438
|
value: function scrollToOffset(params) {
|
|
@@ -6722,12 +6472,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6722
6472
|
}
|
|
6723
6473
|
this._scrollRef.flashScrollIndicators();
|
|
6724
6474
|
}
|
|
6725
|
-
|
|
6726
|
-
/**
|
|
6727
|
-
* Provides a handle to the underlying scroll responder.
|
|
6728
|
-
* Note that `this._scrollRef` might not be a `ScrollView`, so we
|
|
6729
|
-
* need to check that it responds to `getScrollResponder` before calling it.
|
|
6730
|
-
*/
|
|
6731
6475
|
}, {
|
|
6732
6476
|
key: "getScrollResponder",
|
|
6733
6477
|
value: function getScrollResponder() {
|
|
@@ -6779,9 +6523,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6779
6523
|
getItemCount = props.getItemCount,
|
|
6780
6524
|
data = props.data,
|
|
6781
6525
|
initialScrollIndex = props.initialScrollIndex;
|
|
6782
|
-
(0, _invariant.default)(
|
|
6783
|
-
// $FlowFixMe[prop-missing]
|
|
6784
|
-
!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6526
|
+
(0, _invariant.default)(!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6785
6527
|
(0, _invariant.default)(windowSizeOrDefault(windowSize) > 0, 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.');
|
|
6786
6528
|
(0, _invariant.default)(getItemCount, 'VirtualizedList: The "getItemCount" prop must be provided');
|
|
6787
6529
|
var itemCount = getItemCount(data);
|
|
@@ -6801,9 +6543,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6801
6543
|
offset = _this$_scrollMetrics.offset,
|
|
6802
6544
|
visibleLength = _this$_scrollMetrics.visibleLength;
|
|
6803
6545
|
var distanceFromEnd = contentLength - visibleLength - offset;
|
|
6804
|
-
|
|
6805
|
-
// Wait until the scroll view metrics have been set up. And until then,
|
|
6806
|
-
// we will trust the initialNumToRender suggestion
|
|
6807
6546
|
if (visibleLength <= 0 || contentLength <= 0) {
|
|
6808
6547
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
6809
6548
|
}
|
|
@@ -6815,8 +6554,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6815
6554
|
last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
|
|
6816
6555
|
};
|
|
6817
6556
|
} else {
|
|
6818
|
-
// If we have a pending scroll update, we should not adjust the render window as it
|
|
6819
|
-
// might override the correct window.
|
|
6820
6557
|
if (pendingScrollUpdateCount > 0) {
|
|
6821
6558
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
6822
6559
|
}
|
|
@@ -6824,12 +6561,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6824
6561
|
(0, _invariant.default)(newCellsAroundViewport.last < getItemCount(data), 'computeWindowedRenderLimits() should return range in-bounds');
|
|
6825
6562
|
}
|
|
6826
6563
|
if (this._nestedChildLists.size() > 0) {
|
|
6827
|
-
// If some cell in the new state has a child list in it, we should only render
|
|
6828
|
-
// up through that item, so that we give that list a chance to render.
|
|
6829
|
-
// Otherwise there's churn from multiple child lists mounting and un-mounting
|
|
6830
|
-
// their items.
|
|
6831
|
-
|
|
6832
|
-
// Will this prevent rendering if the nested list doesn't realize the end?
|
|
6833
6564
|
var childIdx = this._findFirstChildWithMore(newCellsAroundViewport.first, newCellsAroundViewport.last);
|
|
6834
6565
|
newCellsAroundViewport.last = childIdx != null ? childIdx : newCellsAroundViewport.last;
|
|
6835
6566
|
}
|
|
@@ -6952,42 +6683,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6952
6683
|
var cells = [];
|
|
6953
6684
|
var stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);
|
|
6954
6685
|
var stickyHeaderIndices = [];
|
|
6955
|
-
|
|
6956
|
-
// 1. Add cell for ListHeaderComponent
|
|
6957
6686
|
if (ListHeaderComponent) {
|
|
6958
6687
|
if (stickyIndicesFromProps.has(0)) {
|
|
6959
6688
|
stickyHeaderIndices.push(0);
|
|
6960
6689
|
}
|
|
6961
|
-
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent :
|
|
6962
|
-
/*#__PURE__*/
|
|
6963
|
-
// $FlowFixMe[not-a-component]
|
|
6964
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
6965
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
6690
|
+
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
6966
6691
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
6967
6692
|
cellKey: this._getCellKey() + '-header',
|
|
6968
|
-
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View
|
|
6969
|
-
// We expect that header component will be a single native view so make it
|
|
6970
|
-
// not collapsable to avoid this view being flattened and make this assumption
|
|
6971
|
-
// no longer true.
|
|
6972
|
-
, {
|
|
6693
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
6973
6694
|
collapsable: false,
|
|
6974
6695
|
onLayout: this._onLayoutHeader,
|
|
6975
6696
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListHeaderComponentStyle),
|
|
6976
|
-
children:
|
|
6977
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
6978
|
-
_element
|
|
6697
|
+
children: _element
|
|
6979
6698
|
})
|
|
6980
6699
|
}, "$header"));
|
|
6981
6700
|
}
|
|
6982
|
-
|
|
6983
|
-
// 2a. Add a cell for ListEmptyComponent if applicable
|
|
6984
6701
|
var itemCount = this.props.getItemCount(data);
|
|
6985
6702
|
if (itemCount === 0 && ListEmptyComponent) {
|
|
6986
|
-
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent :
|
|
6987
|
-
/*#__PURE__*/
|
|
6988
|
-
// $FlowFixMe[not-a-component]
|
|
6989
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
6990
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
6703
|
+
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
6991
6704
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
6992
6705
|
cellKey: this._getCellKey() + '-empty',
|
|
6993
6706
|
children: React.cloneElement(_element2, {
|
|
@@ -7001,8 +6714,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7001
6714
|
})
|
|
7002
6715
|
}, "$empty"));
|
|
7003
6716
|
}
|
|
7004
|
-
|
|
7005
|
-
// 2b. Add cells and spacers for each item
|
|
7006
6717
|
if (itemCount > 0) {
|
|
7007
6718
|
_usedIndexForKey = false;
|
|
7008
6719
|
_keylessItemComponentName = '';
|
|
@@ -7013,15 +6724,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7013
6724
|
});
|
|
7014
6725
|
for (var section of renderRegions) {
|
|
7015
6726
|
if (section.isSpacer) {
|
|
7016
|
-
// Legacy behavior is to avoid spacers when virtualization is
|
|
7017
|
-
// disabled (including head spacers on initial render).
|
|
7018
6727
|
if (this.props.disableVirtualization) {
|
|
7019
6728
|
continue;
|
|
7020
6729
|
}
|
|
7021
|
-
|
|
7022
|
-
// Without getItemLayout, we limit our tail spacer to the _highestMeasuredFrameIndex to
|
|
7023
|
-
// prevent the user for hyperscrolling into un-measured area because otherwise content will
|
|
7024
|
-
// likely jump around as it renders in above the viewport.
|
|
7025
6730
|
var isLastSpacer = section === lastSpacer;
|
|
7026
6731
|
var constrainToMeasured = isLastSpacer && !this.props.getItemLayout;
|
|
7027
6732
|
var last = constrainToMeasured ? (0, _clamp.default)(section.first - 1, section.last, this._highestMeasuredFrameIndex) : section.last;
|
|
@@ -7040,27 +6745,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7040
6745
|
this._hasWarned.keys = true;
|
|
7041
6746
|
}
|
|
7042
6747
|
}
|
|
7043
|
-
|
|
7044
|
-
// 3. Add cell for ListFooterComponent
|
|
7045
6748
|
if (ListFooterComponent) {
|
|
7046
|
-
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent :
|
|
7047
|
-
/*#__PURE__*/
|
|
7048
|
-
// $FlowFixMe[not-a-component]
|
|
7049
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
7050
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
6749
|
+
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
7051
6750
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7052
6751
|
cellKey: this._getFooterCellKey(),
|
|
7053
6752
|
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
7054
6753
|
onLayout: this._onLayoutFooter,
|
|
7055
6754
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListFooterComponentStyle),
|
|
7056
|
-
children:
|
|
7057
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
7058
|
-
_element3
|
|
6755
|
+
children: _element3
|
|
7059
6756
|
})
|
|
7060
6757
|
}, "$footer"));
|
|
7061
6758
|
}
|
|
7062
|
-
|
|
7063
|
-
// 4. Render the ScrollView
|
|
7064
6759
|
var scrollProps = Object.assign({}, this.props, {
|
|
7065
6760
|
onContentSizeChange: this._onContentSizeChange,
|
|
7066
6761
|
onLayout: this._onLayout,
|
|
@@ -7070,13 +6765,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7070
6765
|
onMomentumScrollBegin: this._onMomentumScrollBegin,
|
|
7071
6766
|
onMomentumScrollEnd: this._onMomentumScrollEnd,
|
|
7072
6767
|
scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
|
|
7073
|
-
// TODO: Android support
|
|
7074
6768
|
invertStickyHeaders: this.props.invertStickyHeaders !== undefined ? this.props.invertStickyHeaders : this.props.inverted,
|
|
7075
6769
|
stickyHeaderIndices: stickyHeaderIndices,
|
|
7076
6770
|
style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style,
|
|
7077
6771
|
isInvertedVirtualizedList: this.props.inverted,
|
|
7078
6772
|
maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ? Object.assign({}, this.props.maintainVisibleContentPosition, {
|
|
7079
|
-
// Adjust index to account for ListHeaderComponent.
|
|
7080
6773
|
minIndexForVisible: this.props.maintainVisibleContentPosition.minIndexForVisible + (this.props.ListHeaderComponent ? 1 : 0)
|
|
7081
6774
|
}) : undefined
|
|
7082
6775
|
});
|
|
@@ -7111,22 +6804,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7111
6804
|
data = _this$props7.data,
|
|
7112
6805
|
extraData = _this$props7.extraData;
|
|
7113
6806
|
if (data !== prevProps.data || extraData !== prevProps.extraData) {
|
|
7114
|
-
// clear the viewableIndices cache to also trigger
|
|
7115
|
-
// the onViewableItemsChanged callback with the new data
|
|
7116
6807
|
this._viewabilityTuples.forEach(function (tuple) {
|
|
7117
6808
|
tuple.viewabilityHelper.resetViewableIndices();
|
|
7118
6809
|
});
|
|
7119
6810
|
}
|
|
7120
|
-
// The `this._hiPriInProgress` is guaranteeing a hiPri cell update will only happen
|
|
7121
|
-
// once per fiber update. The `_scheduleCellsToRenderUpdate` will set it to true
|
|
7122
|
-
// if a hiPri update needs to perform. If `componentDidUpdate` is triggered with
|
|
7123
|
-
// `this._hiPriInProgress=true`, means it's triggered by the hiPri update. The
|
|
7124
|
-
// `_scheduleCellsToRenderUpdate` will check this condition and not perform
|
|
7125
|
-
// another hiPri update.
|
|
7126
6811
|
var hiPriInProgress = this._hiPriInProgress;
|
|
7127
6812
|
this._scheduleCellsToRenderUpdate();
|
|
7128
|
-
// Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`
|
|
7129
|
-
// is triggered with `this._hiPriInProgress = true`
|
|
7130
6813
|
if (hiPriInProgress) {
|
|
7131
6814
|
this._hiPriInProgress = false;
|
|
7132
6815
|
}
|
|
@@ -7153,14 +6836,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7153
6836
|
key: "measureLayoutRelativeToContainingList",
|
|
7154
6837
|
value: function measureLayoutRelativeToContainingList() {
|
|
7155
6838
|
var _this4 = this;
|
|
7156
|
-
// TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find
|
|
7157
|
-
// node on an unmounted component" during scrolling
|
|
7158
6839
|
try {
|
|
7159
6840
|
if (!this._scrollRef) {
|
|
7160
6841
|
return;
|
|
7161
6842
|
}
|
|
7162
|
-
// We are assuming that getOutermostParentListRef().getScrollRef()
|
|
7163
|
-
// is a non-null reference to a ScrollView
|
|
7164
6843
|
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(), function (x, y, width, height) {
|
|
7165
6844
|
_this4._offsetFromParentVirtualizedList = _this4._selectOffset({
|
|
7166
6845
|
x: x,
|
|
@@ -7175,9 +6854,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7175
6854
|
if (metricsChanged) {
|
|
7176
6855
|
_this4._scrollMetrics.visibleLength = scrollMetrics.visibleLength;
|
|
7177
6856
|
_this4._scrollMetrics.offset = scrollMetrics.offset;
|
|
7178
|
-
|
|
7179
|
-
// If metrics of the scrollView changed, then we triggered remeasure for child list
|
|
7180
|
-
// to ensure VirtualizedList has the right information.
|
|
7181
6857
|
_this4._nestedChildLists.forEach(function (childList) {
|
|
7182
6858
|
childList.measureLayoutRelativeToContainingList();
|
|
7183
6859
|
});
|
|
@@ -7196,17 +6872,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7196
6872
|
}
|
|
7197
6873
|
}, {
|
|
7198
6874
|
key: "_renderDebugOverlay",
|
|
7199
|
-
value:
|
|
7200
|
-
// $FlowFixMe[missing-local-annot]
|
|
7201
|
-
function _renderDebugOverlay() {
|
|
6875
|
+
value: function _renderDebugOverlay() {
|
|
7202
6876
|
var normalize = this._scrollMetrics.visibleLength / (this._scrollMetrics.contentLength || 1);
|
|
7203
6877
|
var framesInLayout = [];
|
|
7204
6878
|
var itemCount = this.props.getItemCount(this.props.data);
|
|
7205
6879
|
for (var ii = 0; ii < itemCount; ii++) {
|
|
7206
6880
|
var frame = this.__getFrameMetricsApprox(ii, this.props);
|
|
7207
|
-
/* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment
|
|
7208
|
-
* suppresses an error found when Flow v0.68 was deployed. To see the
|
|
7209
|
-
* error delete this comment and run Flow. */
|
|
7210
6881
|
if (frame.inLayout) {
|
|
7211
6882
|
framesInLayout.push(frame);
|
|
7212
6883
|
}
|
|
@@ -7258,8 +6929,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7258
6929
|
onStartReachedThreshold = _this$props8.onStartReachedThreshold,
|
|
7259
6930
|
onEndReached = _this$props8.onEndReached,
|
|
7260
6931
|
onEndReachedThreshold = _this$props8.onEndReachedThreshold;
|
|
7261
|
-
// If we have any pending scroll updates it means that the scroll metrics
|
|
7262
|
-
// are out of date and we should not call any of the edge reached callbacks.
|
|
7263
6932
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7264
6933
|
return;
|
|
7265
6934
|
}
|
|
@@ -7269,48 +6938,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7269
6938
|
offset = _this$_scrollMetrics2.offset;
|
|
7270
6939
|
var distanceFromStart = offset;
|
|
7271
6940
|
var distanceFromEnd = contentLength - visibleLength - offset;
|
|
7272
|
-
|
|
7273
|
-
// Especially when oERT is zero it's necessary to 'floor' very small distance values to be 0
|
|
7274
|
-
// since debouncing causes us to not fire this event for every single "pixel" we scroll and can thus
|
|
7275
|
-
// be at the edge of the list with a distance approximating 0 but not quite there.
|
|
7276
6941
|
if (distanceFromStart < ON_EDGE_REACHED_EPSILON) {
|
|
7277
6942
|
distanceFromStart = 0;
|
|
7278
6943
|
}
|
|
7279
6944
|
if (distanceFromEnd < ON_EDGE_REACHED_EPSILON) {
|
|
7280
6945
|
distanceFromEnd = 0;
|
|
7281
6946
|
}
|
|
7282
|
-
|
|
7283
|
-
// TODO: T121172172 Look into why we're "defaulting" to a threshold of 2px
|
|
7284
|
-
// when oERT is not present (different from 2 viewports used elsewhere)
|
|
7285
6947
|
var DEFAULT_THRESHOLD_PX = 2;
|
|
7286
6948
|
var startThreshold = onStartReachedThreshold != null ? onStartReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7287
6949
|
var endThreshold = onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7288
6950
|
var isWithinStartThreshold = distanceFromStart <= startThreshold;
|
|
7289
6951
|
var isWithinEndThreshold = distanceFromEnd <= endThreshold;
|
|
7290
|
-
|
|
7291
|
-
// First check if the user just scrolled within the end threshold
|
|
7292
|
-
// and call onEndReached only once for a given content length,
|
|
7293
|
-
// and only if onStartReached is not being executed
|
|
7294
6952
|
if (onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength) {
|
|
7295
6953
|
this._sentEndForContentLength = this._scrollMetrics.contentLength;
|
|
7296
6954
|
onEndReached({
|
|
7297
6955
|
distanceFromEnd: distanceFromEnd
|
|
7298
6956
|
});
|
|
7299
|
-
}
|
|
7300
|
-
|
|
7301
|
-
// Next check if the user just scrolled within the start threshold
|
|
7302
|
-
// and call onStartReached only once for a given content length,
|
|
7303
|
-
// and only if onEndReached is not being executed
|
|
7304
|
-
else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
6957
|
+
} else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
7305
6958
|
this._sentStartForContentLength = this._scrollMetrics.contentLength;
|
|
7306
6959
|
onStartReached({
|
|
7307
6960
|
distanceFromStart: distanceFromStart
|
|
7308
6961
|
});
|
|
7309
|
-
}
|
|
7310
|
-
|
|
7311
|
-
// If the user scrolls away from the start or end and back again,
|
|
7312
|
-
// cause onStartReached or onEndReached to be triggered again
|
|
7313
|
-
else {
|
|
6962
|
+
} else {
|
|
7314
6963
|
this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0;
|
|
7315
6964
|
this._sentEndForContentLength = isWithinEndThreshold ? this._sentEndForContentLength : 0;
|
|
7316
6965
|
}
|
|
@@ -7329,29 +6978,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7329
6978
|
var hiPri = false;
|
|
7330
6979
|
var onStartReachedThreshold = onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold);
|
|
7331
6980
|
var onEndReachedThreshold = onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold);
|
|
7332
|
-
// Mark as high priority if we're close to the start of the first item
|
|
7333
|
-
// But only if there are items before the first rendered item
|
|
7334
6981
|
if (first > 0) {
|
|
7335
6982
|
var distTop = offset - this.__getFrameMetricsApprox(first, this.props).offset;
|
|
7336
6983
|
hiPri = distTop < 0 || velocity < -2 && distTop < getScrollingThreshold(onStartReachedThreshold, visibleLength);
|
|
7337
6984
|
}
|
|
7338
|
-
// Mark as high priority if we're close to the end of the last item
|
|
7339
|
-
// But only if there are items after the last rendered item
|
|
7340
6985
|
if (!hiPri && last >= 0 && last < itemCount - 1) {
|
|
7341
6986
|
var distBottom = this.__getFrameMetricsApprox(last, this.props).offset - (offset + visibleLength);
|
|
7342
6987
|
hiPri = distBottom < 0 || velocity > 2 && distBottom < getScrollingThreshold(onEndReachedThreshold, visibleLength);
|
|
7343
6988
|
}
|
|
7344
|
-
// Only trigger high-priority updates if we've actually rendered cells,
|
|
7345
|
-
// and with that size estimate, accurately compute how many cells we should render.
|
|
7346
|
-
// Otherwise, it would just render as many cells as it can (of zero dimension),
|
|
7347
|
-
// each time through attempting to render more (limited by maxToRenderPerBatch),
|
|
7348
|
-
// starving the renderer from actually laying out the objects and computing _averageCellLength.
|
|
7349
|
-
// If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate
|
|
7350
|
-
// We shouldn't do another hipri cellToRenderUpdate
|
|
7351
6989
|
if (hiPri && (this._averageCellLength || this.props.getItemLayout) && !this._hiPriInProgress) {
|
|
7352
6990
|
this._hiPriInProgress = true;
|
|
7353
|
-
// Don't worry about interactions when scrolling quickly; focus on filling content as fast
|
|
7354
|
-
// as possible.
|
|
7355
6991
|
this._updateCellsToRenderBatcher.dispose({
|
|
7356
6992
|
abort: true
|
|
7357
6993
|
});
|
|
@@ -7365,8 +7001,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7365
7001
|
key: "_updateViewableItems",
|
|
7366
7002
|
value: function _updateViewableItems(props, cellsAroundViewport) {
|
|
7367
7003
|
var _this5 = this;
|
|
7368
|
-
// If we have any pending scroll updates it means that the scroll metrics
|
|
7369
|
-
// are out of date and we should not call any of the visibility callbacks.
|
|
7370
7004
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7371
7005
|
return;
|
|
7372
7006
|
}
|
|
@@ -7409,17 +7043,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7409
7043
|
for (var region of allRegions) {
|
|
7410
7044
|
renderMask.addCells(region);
|
|
7411
7045
|
}
|
|
7412
|
-
|
|
7413
|
-
// The initially rendered cells are retained as part of the
|
|
7414
|
-
// "scroll-to-top" optimization
|
|
7415
7046
|
if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {
|
|
7416
7047
|
var initialRegion = VirtualizedList._initialRenderRegion(props);
|
|
7417
7048
|
renderMask.addCells(initialRegion);
|
|
7418
7049
|
}
|
|
7419
|
-
|
|
7420
|
-
// The layout coordinates of sticker headers may be off-screen while the
|
|
7421
|
-
// actual header is on-screen. Keep the most recent before the viewport
|
|
7422
|
-
// rendered, even if its layout coordinates are not in viewport.
|
|
7423
7050
|
var stickyIndicesSet = new Set(props.stickyHeaderIndices);
|
|
7424
7051
|
VirtualizedList._ensureClosestStickyHeader(props, stickyIndicesSet, renderMask, cellsAroundViewport.first);
|
|
7425
7052
|
}
|
|
@@ -7455,8 +7082,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7455
7082
|
key: "getDerivedStateFromProps",
|
|
7456
7083
|
value: function getDerivedStateFromProps(newProps, prevState) {
|
|
7457
7084
|
var _newProps$maintainVis, _newProps$maintainVis2;
|
|
7458
|
-
// first and last could be stale (e.g. if a new, shorter items props is passed in), so we make
|
|
7459
|
-
// sure we're rendering a reasonable range here.
|
|
7460
7085
|
var itemCount = newProps.getItemCount(newProps.data);
|
|
7461
7086
|
if (itemCount === prevState.renderMask.numCells()) {
|
|
7462
7087
|
return prevState;
|
|
@@ -7467,7 +7092,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7467
7092
|
var newFirstVisibleItemKey = newProps.getItemCount(newProps.data) > minIndexForVisible ? VirtualizedList._getItemKey(newProps, minIndexForVisible) : null;
|
|
7468
7093
|
if (newProps.maintainVisibleContentPosition != null && prevFirstVisibleItemKey != null && newFirstVisibleItemKey != null) {
|
|
7469
7094
|
if (newFirstVisibleItemKey !== prevFirstVisibleItemKey) {
|
|
7470
|
-
// Fast path if items were added at the start of the list.
|
|
7471
7095
|
var hint = itemCount - prevState.renderMask.numCells() + minIndexForVisible;
|
|
7472
7096
|
var firstVisibleItemIndex = VirtualizedList._findItemIndexWithKey(newProps, prevFirstVisibleItemKey, hint);
|
|
7473
7097
|
maintainVisibleContentPositionAdjustment = firstVisibleItemIndex != null ? firstVisibleItemIndex - minIndexForVisible : null;
|
|
@@ -7560,57 +7184,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7560
7184
|
}
|
|
7561
7185
|
});
|
|
7562
7186
|
module.exports = VirtualizedList;
|
|
7563
|
-
},"c4b46015e44050527820",["
|
|
7187
|
+
},"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"]);
|
|
7564
7188
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7565
|
-
/**
|
|
7566
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7567
|
-
*
|
|
7568
|
-
* This source code is licensed under the MIT license found in the
|
|
7569
|
-
* LICENSE file in the root directory of this source tree.
|
|
7570
|
-
*
|
|
7571
|
-
* @format
|
|
7572
|
-
*
|
|
7573
|
-
*/
|
|
7574
|
-
|
|
7575
7189
|
'use strict';
|
|
7576
7190
|
|
|
7577
7191
|
var _require = _$$_REQUIRE(_dependencyMap[0]),
|
|
7578
7192
|
InteractionManager = _require.InteractionManager;
|
|
7579
|
-
|
|
7580
|
-
/**
|
|
7581
|
-
* A simple class for batching up invocations of a low-pri callback. A timeout is set to run the
|
|
7582
|
-
* callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,
|
|
7583
|
-
* InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri
|
|
7584
|
-
* interactions are done running.
|
|
7585
|
-
*
|
|
7586
|
-
* Make sure to cleanup with dispose(). Example:
|
|
7587
|
-
*
|
|
7588
|
-
* class Widget extends React.Component {
|
|
7589
|
-
* _batchedSave: new Batchinator(() => this._saveState, 1000);
|
|
7590
|
-
* _saveSate() {
|
|
7591
|
-
* // save this.state to disk
|
|
7592
|
-
* }
|
|
7593
|
-
* componentDidUpdate() {
|
|
7594
|
-
* this._batchedSave.schedule();
|
|
7595
|
-
* }
|
|
7596
|
-
* componentWillUnmount() {
|
|
7597
|
-
* this._batchedSave.dispose();
|
|
7598
|
-
* }
|
|
7599
|
-
* ...
|
|
7600
|
-
* }
|
|
7601
|
-
*/
|
|
7602
7193
|
var Batchinator = /*#__PURE__*/function () {
|
|
7603
7194
|
function Batchinator(callback, delayMS) {
|
|
7604
7195
|
_$$_REQUIRE(_dependencyMap[1])(this, Batchinator);
|
|
7605
7196
|
this._delay = delayMS;
|
|
7606
7197
|
this._callback = callback;
|
|
7607
7198
|
}
|
|
7608
|
-
/*
|
|
7609
|
-
* Cleanup any pending tasks.
|
|
7610
|
-
*
|
|
7611
|
-
* By default, if there is a pending task the callback is run immediately. Set the option abort to
|
|
7612
|
-
* true to not call the callback if it was pending.
|
|
7613
|
-
*/
|
|
7614
7199
|
return _$$_REQUIRE(_dependencyMap[2])(Batchinator, [{
|
|
7615
7200
|
key: "dispose",
|
|
7616
7201
|
value: function dispose() {
|
|
@@ -7634,8 +7219,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7634
7219
|
}
|
|
7635
7220
|
var timeoutHandle = setTimeout(function () {
|
|
7636
7221
|
_this._taskHandle = InteractionManager.runAfterInteractions(function () {
|
|
7637
|
-
// Note that we clear the handle before invoking the callback so that if the callback calls
|
|
7638
|
-
// schedule again, it will actually schedule another task.
|
|
7639
7222
|
_this._taskHandle = null;
|
|
7640
7223
|
_this._callback();
|
|
7641
7224
|
});
|
|
@@ -7649,18 +7232,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7649
7232
|
}]);
|
|
7650
7233
|
}();
|
|
7651
7234
|
module.exports = Batchinator;
|
|
7652
|
-
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","
|
|
7235
|
+
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","cb664999166f9660a878","68819e29ebee24bb0e88"]);
|
|
7653
7236
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7654
|
-
/**
|
|
7655
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7656
|
-
*
|
|
7657
|
-
* This source code is licensed under the MIT license found in the
|
|
7658
|
-
* LICENSE file in the root directory of this source tree.
|
|
7659
|
-
*
|
|
7660
|
-
* @format
|
|
7661
|
-
*
|
|
7662
|
-
*/
|
|
7663
|
-
|
|
7664
7237
|
'use strict';
|
|
7665
7238
|
|
|
7666
7239
|
function clamp(min, value, max) {
|
|
@@ -7675,21 +7248,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7675
7248
|
module.exports = clamp;
|
|
7676
7249
|
},"a30729068ebd0dea58f8",[]);
|
|
7677
7250
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7678
|
-
/**
|
|
7679
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7680
|
-
*
|
|
7681
|
-
* This source code is licensed under the MIT license found in the
|
|
7682
|
-
* LICENSE file in the root directory of this source tree.
|
|
7683
|
-
*
|
|
7684
|
-
* @format
|
|
7685
|
-
*
|
|
7686
|
-
*/
|
|
7687
|
-
|
|
7688
7251
|
'use strict';
|
|
7689
7252
|
|
|
7690
|
-
/**
|
|
7691
|
-
* Intentional info-level logging for clear separation from ad-hoc console debug logging.
|
|
7692
|
-
*/
|
|
7693
7253
|
function infoLog() {
|
|
7694
7254
|
var _console;
|
|
7695
7255
|
return (_console = console).log.apply(_console, arguments);
|
|
@@ -7704,15 +7264,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7704
7264
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
7705
7265
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
7706
7266
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
7707
|
-
/**
|
|
7708
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7709
|
-
*
|
|
7710
|
-
* This source code is licensed under the MIT license found in the
|
|
7711
|
-
* LICENSE file in the root directory of this source tree.
|
|
7712
|
-
*
|
|
7713
|
-
*
|
|
7714
|
-
* @format
|
|
7715
|
-
*/
|
|
7716
7267
|
var ChildListCollection = exports.default = /*#__PURE__*/function () {
|
|
7717
7268
|
function ChildListCollection() {
|
|
7718
7269
|
(0, _classCallCheck2.default)(this, ChildListCollection);
|
|
@@ -7779,18 +7330,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7779
7330
|
}
|
|
7780
7331
|
}]);
|
|
7781
7332
|
}();
|
|
7782
|
-
},"718d6cdfb3fb081a232d",["
|
|
7333
|
+
},"718d6cdfb3fb081a232d",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
7783
7334
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7784
|
-
/**
|
|
7785
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7786
|
-
*
|
|
7787
|
-
* This source code is licensed under the MIT license found in the
|
|
7788
|
-
* LICENSE file in the root directory of this source tree.
|
|
7789
|
-
*
|
|
7790
|
-
*
|
|
7791
|
-
* @format
|
|
7792
|
-
*/
|
|
7793
|
-
|
|
7794
7335
|
'use strict';
|
|
7795
7336
|
|
|
7796
7337
|
var Info = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function Info() {
|
|
@@ -7810,15 +7351,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7810
7351
|
var _listeners = [];
|
|
7811
7352
|
var _minSampleCount = 10;
|
|
7812
7353
|
var _sampleRate = null;
|
|
7813
|
-
|
|
7814
|
-
/**
|
|
7815
|
-
* A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.
|
|
7816
|
-
* By default the sampling rate is set to zero and this will do nothing. If you want to collect
|
|
7817
|
-
* samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.
|
|
7818
|
-
*
|
|
7819
|
-
* Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with
|
|
7820
|
-
* `SceneTracker.getActiveScene` to determine the context of the events.
|
|
7821
|
-
*/
|
|
7822
7354
|
var FillRateHelper = /*#__PURE__*/function () {
|
|
7823
7355
|
function FillRateHelper(getFrameMetrics) {
|
|
7824
7356
|
_$$_REQUIRE(_dependencyMap[1])(this, FillRateHelper);
|
|
@@ -7845,13 +7377,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7845
7377
|
if (!this._enabled) {
|
|
7846
7378
|
return;
|
|
7847
7379
|
}
|
|
7848
|
-
var start = this._samplesStartTime;
|
|
7380
|
+
var start = this._samplesStartTime;
|
|
7849
7381
|
if (start == null) {
|
|
7850
7382
|
DEBUG;
|
|
7851
7383
|
return;
|
|
7852
7384
|
}
|
|
7853
7385
|
if (this._info.sample_count < _minSampleCount) {
|
|
7854
|
-
// Don't bother with under-sampled events.
|
|
7855
7386
|
this._resetData();
|
|
7856
7387
|
return;
|
|
7857
7388
|
}
|
|
@@ -7874,15 +7405,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7874
7405
|
offset = scrollMetrics.offset,
|
|
7875
7406
|
velocity = scrollMetrics.velocity,
|
|
7876
7407
|
visibleLength = scrollMetrics.visibleLength;
|
|
7877
|
-
|
|
7878
|
-
// Denominator metrics that we track for all events - most of the time there is no blankness and
|
|
7879
|
-
// we want to capture that.
|
|
7880
7408
|
this._info.sample_count++;
|
|
7881
7409
|
this._info.pixels_sampled += Math.round(visibleLength);
|
|
7882
7410
|
this._info.pixels_scrolled += Math.round(Math.abs(dOffset));
|
|
7883
|
-
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
7884
|
-
|
|
7885
|
-
// Whether blank now or not, record the elapsed time blank if we were blank last time.
|
|
7411
|
+
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
7886
7412
|
var now = global.performance.now();
|
|
7887
7413
|
if (this._anyBlankStartTime != null) {
|
|
7888
7414
|
this._info.any_blank_ms += now - this._anyBlankStartTime;
|
|
@@ -7899,8 +7425,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7899
7425
|
firstFrame = this._getFrameMetrics(first, props);
|
|
7900
7426
|
first++;
|
|
7901
7427
|
}
|
|
7902
|
-
// Only count blankTop if we aren't rendering the first item, otherwise we will count the header
|
|
7903
|
-
// as blank.
|
|
7904
7428
|
if (firstFrame && first > 0) {
|
|
7905
7429
|
blankTop = Math.min(visibleLength, Math.max(0, firstFrame.offset - offset));
|
|
7906
7430
|
}
|
|
@@ -7911,8 +7435,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7911
7435
|
lastFrame = this._getFrameMetrics(last, props);
|
|
7912
7436
|
last--;
|
|
7913
7437
|
}
|
|
7914
|
-
// Only count blankBottom if we aren't rendering the last item, otherwise we will count the
|
|
7915
|
-
// footer as blank.
|
|
7916
7438
|
if (lastFrame && last < props.getItemCount(props.data) - 1) {
|
|
7917
7439
|
var bottomEdge = lastFrame.offset + lastFrame.length;
|
|
7918
7440
|
blankBottom = Math.min(visibleLength, Math.max(0, offset + visibleLength - bottomEdge));
|
|
@@ -7974,7 +7496,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7974
7496
|
}]);
|
|
7975
7497
|
}();
|
|
7976
7498
|
module.exports = FillRateHelper;
|
|
7977
|
-
},"3e01a5bc929e85870fe5",["
|
|
7499
|
+
},"3e01a5bc929e85870fe5",["68819e29ebee24bb0e88","cb664999166f9660a878"]);
|
|
7978
7500
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7979
7501
|
Object.defineProperty(exports, "__esModule", {
|
|
7980
7502
|
value: true
|
|
@@ -7988,28 +7510,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7988
7510
|
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
7989
7511
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
7990
7512
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
7991
|
-
function
|
|
7992
|
-
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; }
|
|
7513
|
+
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); }
|
|
7993
7514
|
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)); }
|
|
7994
7515
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
7995
|
-
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; }
|
|
7996
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7997
|
-
*
|
|
7998
|
-
* This source code is licensed under the MIT license found in the
|
|
7999
|
-
* LICENSE file in the root directory of this source tree.
|
|
8000
|
-
*
|
|
8001
|
-
*
|
|
8002
|
-
* @format
|
|
8003
|
-
*/
|
|
8004
|
-
/**
|
|
8005
|
-
* `setState` is called asynchronously, and should not rely on the value of
|
|
8006
|
-
* `this.props` or `this.state`:
|
|
8007
|
-
* https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous
|
|
8008
|
-
*
|
|
8009
|
-
* SafePureComponent adds runtime enforcement, to catch cases where these
|
|
8010
|
-
* variables are read in a state updater function, instead of the ones passed
|
|
8011
|
-
* in.
|
|
8012
|
-
*/
|
|
7516
|
+
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; }
|
|
8013
7517
|
var StateSafePureComponent = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
8014
7518
|
function StateSafePureComponent(props) {
|
|
8015
7519
|
var _this;
|
|
@@ -8068,32 +7572,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8068
7572
|
}
|
|
8069
7573
|
}]);
|
|
8070
7574
|
}(React.PureComponent);
|
|
8071
|
-
},"04ffc79d4da370644bce",["
|
|
7575
|
+
},"04ffc79d4da370644bce",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","55062adb34159de0ea92","9822a58ca7726d551fe0","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f"]);
|
|
8072
7576
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8073
|
-
/**
|
|
8074
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8075
|
-
*
|
|
8076
|
-
* This source code is licensed under the MIT license found in the
|
|
8077
|
-
* LICENSE file in the root directory of this source tree.
|
|
8078
|
-
*
|
|
8079
|
-
*
|
|
8080
|
-
* @format
|
|
8081
|
-
*/
|
|
8082
|
-
|
|
8083
7577
|
'use strict';
|
|
8084
7578
|
|
|
8085
|
-
/**
|
|
8086
|
-
* A Utility class for calculating viewable items based on current metrics like scroll position and
|
|
8087
|
-
* layout.
|
|
8088
|
-
*
|
|
8089
|
-
* An item is said to be in a "viewable" state when any of the following
|
|
8090
|
-
* is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`
|
|
8091
|
-
* is true):
|
|
8092
|
-
*
|
|
8093
|
-
* - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item
|
|
8094
|
-
* visible in the view area >= `itemVisiblePercentThreshold`.
|
|
8095
|
-
* - Entirely visible on screen
|
|
8096
|
-
*/
|
|
8097
7579
|
var ViewabilityHelper = /*#__PURE__*/function () {
|
|
8098
7580
|
function ViewabilityHelper() {
|
|
8099
7581
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
@@ -8106,27 +7588,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8106
7588
|
this._viewableItems = new Map();
|
|
8107
7589
|
this._config = config;
|
|
8108
7590
|
}
|
|
8109
|
-
|
|
8110
|
-
/**
|
|
8111
|
-
* Cleanup, e.g. on unmount. Clears any pending timers.
|
|
8112
|
-
*/
|
|
8113
7591
|
return _$$_REQUIRE(_dependencyMap[1])(ViewabilityHelper, [{
|
|
8114
7592
|
key: "dispose",
|
|
8115
7593
|
value: function dispose() {
|
|
8116
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8117
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To see
|
|
8118
|
-
* the error delete this comment and run Flow. */
|
|
8119
7594
|
this._timers.forEach(clearTimeout);
|
|
8120
7595
|
}
|
|
8121
|
-
|
|
8122
|
-
/**
|
|
8123
|
-
* Determines which items are viewable based on the current metrics and config.
|
|
8124
|
-
*/
|
|
8125
7596
|
}, {
|
|
8126
7597
|
key: "computeViewableItems",
|
|
8127
|
-
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics,
|
|
8128
|
-
// Optional optimization to reduce the scan size
|
|
8129
|
-
renderRange) {
|
|
7598
|
+
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {
|
|
8130
7599
|
var itemCount = props.getItemCount(props.data);
|
|
8131
7600
|
var _this$_config = this._config,
|
|
8132
7601
|
itemVisiblePercentThreshold = _this$_config.itemVisiblePercentThreshold,
|
|
@@ -8170,16 +7639,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8170
7639
|
}
|
|
8171
7640
|
return viewableIndices;
|
|
8172
7641
|
}
|
|
8173
|
-
|
|
8174
|
-
/**
|
|
8175
|
-
* Figures out which items are viewable and how that has changed from before and calls
|
|
8176
|
-
* `onViewableItemsChanged` as appropriate.
|
|
8177
|
-
*/
|
|
8178
7642
|
}, {
|
|
8179
7643
|
key: "onUpdate",
|
|
8180
|
-
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged,
|
|
8181
|
-
// Optional optimization to reduce the scan size
|
|
8182
|
-
renderRange) {
|
|
7644
|
+
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
8183
7645
|
var _this = this;
|
|
8184
7646
|
var itemCount = props.getItemCount(props.data);
|
|
8185
7647
|
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props)) {
|
|
@@ -8192,40 +7654,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8192
7654
|
if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every(function (v, ii) {
|
|
8193
7655
|
return v === viewableIndices[ii];
|
|
8194
7656
|
})) {
|
|
8195
|
-
// We might get a lot of scroll events where visibility doesn't change and we don't want to do
|
|
8196
|
-
// extra work in those cases.
|
|
8197
7657
|
return;
|
|
8198
7658
|
}
|
|
8199
7659
|
this._viewableIndices = viewableIndices;
|
|
8200
7660
|
if (this._config.minimumViewTime) {
|
|
8201
7661
|
var handle = setTimeout(function () {
|
|
8202
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8203
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To
|
|
8204
|
-
* see the error delete this comment and run Flow. */
|
|
8205
7662
|
_this._timers.delete(handle);
|
|
8206
7663
|
_this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8207
7664
|
}, this._config.minimumViewTime);
|
|
8208
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8209
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To see
|
|
8210
|
-
* the error delete this comment and run Flow. */
|
|
8211
7665
|
this._timers.add(handle);
|
|
8212
7666
|
} else {
|
|
8213
7667
|
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8214
7668
|
}
|
|
8215
7669
|
}
|
|
8216
|
-
|
|
8217
|
-
/**
|
|
8218
|
-
* clean-up cached _viewableIndices to evaluate changed items on next update
|
|
8219
|
-
*/
|
|
8220
7670
|
}, {
|
|
8221
7671
|
key: "resetViewableIndices",
|
|
8222
7672
|
value: function resetViewableIndices() {
|
|
8223
7673
|
this._viewableIndices = [];
|
|
8224
7674
|
}
|
|
8225
|
-
|
|
8226
|
-
/**
|
|
8227
|
-
* Records that an interaction has happened even if there has been no scroll.
|
|
8228
|
-
*/
|
|
8229
7675
|
}, {
|
|
8230
7676
|
key: "recordInteraction",
|
|
8231
7677
|
value: function recordInteraction() {
|
|
@@ -8235,7 +7681,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8235
7681
|
key: "_onUpdateSync",
|
|
8236
7682
|
value: function _onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
8237
7683
|
var _this2 = this;
|
|
8238
|
-
// Filter out indices that have gone out of view since this call was scheduled.
|
|
8239
7684
|
viewableIndicesToCheck = viewableIndicesToCheck.filter(function (ii) {
|
|
8240
7685
|
return _this2._viewableIndices.includes(ii);
|
|
8241
7686
|
});
|
|
@@ -8291,7 +7736,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8291
7736
|
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
8292
7737
|
}
|
|
8293
7738
|
module.exports = ViewabilityHelper;
|
|
8294
|
-
},"8bafab90a37cab64b100",["
|
|
7739
|
+
},"8bafab90a37cab64b100",["cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66","d73b3a84588342abd1b6"]);
|
|
8295
7740
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8296
7741
|
Object.defineProperty(exports, "__esModule", {
|
|
8297
7742
|
value: true
|
|
@@ -8305,18 +7750,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8305
7750
|
var _reactNative = _$$_REQUIRE(_dependencyMap[6]);
|
|
8306
7751
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
8307
7752
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
8308
|
-
function
|
|
8309
|
-
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; }
|
|
7753
|
+
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); }
|
|
8310
7754
|
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)); }
|
|
8311
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8312
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8313
|
-
*
|
|
8314
|
-
* This source code is licensed under the MIT license found in the
|
|
8315
|
-
* LICENSE file in the root directory of this source tree.
|
|
8316
|
-
*
|
|
8317
|
-
*
|
|
8318
|
-
* @format
|
|
8319
|
-
*/
|
|
7755
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8320
7756
|
var CellRenderer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
8321
7757
|
function CellRenderer() {
|
|
8322
7758
|
var _this;
|
|
@@ -8331,9 +7767,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8331
7767
|
leadingItem: _this.props.item
|
|
8332
7768
|
}
|
|
8333
7769
|
};
|
|
8334
|
-
// TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not
|
|
8335
|
-
// reused by SectionList and we can keep VirtualizedList simpler.
|
|
8336
|
-
// $FlowFixMe[missing-local-annot]
|
|
8337
7770
|
_this._separators = {
|
|
8338
7771
|
highlight: function highlight() {
|
|
8339
7772
|
var _this$props = _this.props,
|
|
@@ -8385,12 +7818,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8385
7818
|
console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem.");
|
|
8386
7819
|
}
|
|
8387
7820
|
if (ListItemComponent) {
|
|
8388
|
-
/* $FlowFixMe[not-a-component] (>=0.108.0 site=react_native_fb) This
|
|
8389
|
-
* comment suppresses an error found when Flow v0.108 was deployed. To
|
|
8390
|
-
* see the error, delete this comment and run Flow. */
|
|
8391
|
-
/* $FlowFixMe[incompatible-type-arg] (>=0.108.0 site=react_native_fb)
|
|
8392
|
-
* This comment suppresses an error found when Flow v0.108 was deployed.
|
|
8393
|
-
* To see the error, delete this comment and run Flow. */
|
|
8394
7821
|
return React.createElement(ListItemComponent, {
|
|
8395
7822
|
item: item,
|
|
8396
7823
|
index: index,
|
|
@@ -8422,14 +7849,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8422
7849
|
onCellLayout = _this$props4.onCellLayout,
|
|
8423
7850
|
renderItem = _this$props4.renderItem;
|
|
8424
7851
|
var element = this._renderElement(renderItem, ListItemComponent, item, index);
|
|
8425
|
-
|
|
8426
|
-
// NOTE: that when this is a sticky header, `onLayout` will get automatically extracted and
|
|
8427
|
-
// called explicitly by `ScrollViewStickyHeader`.
|
|
8428
|
-
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ?
|
|
8429
|
-
// $FlowFixMe[incompatible-type]
|
|
8430
|
-
ItemSeparatorComponent :
|
|
8431
|
-
// $FlowFixMe[incompatible-type]
|
|
8432
|
-
ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
7852
|
+
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
8433
7853
|
var cellStyle = inversionStyle ? horizontal ? [styles.rowReverse, inversionStyle] : [styles.columnReverse, inversionStyle] : horizontal ? [styles.row, inversionStyle] : inversionStyle;
|
|
8434
7854
|
var result = !CellRendererComponent ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, Object.assign({
|
|
8435
7855
|
style: cellStyle,
|
|
@@ -8476,7 +7896,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8476
7896
|
flexDirection: 'column-reverse'
|
|
8477
7897
|
}
|
|
8478
7898
|
});
|
|
8479
|
-
},"ce5f423367f40f3628a8",["
|
|
7899
|
+
},"ce5f423367f40f3628a8",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","e6b1ef1f5b720d640981"]);
|
|
8480
7900
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8481
7901
|
Object.defineProperty(exports, "__esModule", {
|
|
8482
7902
|
value: true
|
|
@@ -8487,22 +7907,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8487
7907
|
exports.VirtualizedListContextResetter = VirtualizedListContextResetter;
|
|
8488
7908
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
8489
7909
|
var React = _react;
|
|
8490
|
-
function
|
|
8491
|
-
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; }
|
|
8492
|
-
/**
|
|
8493
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8494
|
-
*
|
|
8495
|
-
* This source code is licensed under the MIT license found in the
|
|
8496
|
-
* LICENSE file in the root directory of this source tree.
|
|
8497
|
-
*
|
|
8498
|
-
*
|
|
8499
|
-
* @format
|
|
8500
|
-
*/
|
|
8501
|
-
|
|
7910
|
+
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); }
|
|
8502
7911
|
var VirtualizedListContext = exports.VirtualizedListContext = React.createContext(null);
|
|
8503
|
-
/**
|
|
8504
|
-
* Resets the context. Intended for use by portal-like components (e.g. Modal).
|
|
8505
|
-
*/
|
|
8506
7912
|
function VirtualizedListContextResetter(_ref) {
|
|
8507
7913
|
var children = _ref.children;
|
|
8508
7914
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
@@ -8510,14 +7916,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8510
7916
|
children: children
|
|
8511
7917
|
});
|
|
8512
7918
|
}
|
|
8513
|
-
|
|
8514
|
-
/**
|
|
8515
|
-
* Sets the context with memoization. Intended to be used by `VirtualizedList`.
|
|
8516
|
-
*/
|
|
8517
7919
|
function VirtualizedListContextProvider(_ref2) {
|
|
8518
7920
|
var children = _ref2.children,
|
|
8519
7921
|
value = _ref2.value;
|
|
8520
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8521
7922
|
var context = (0, _react.useMemo)(function () {
|
|
8522
7923
|
return {
|
|
8523
7924
|
cellKey: null,
|
|
@@ -8533,14 +7934,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8533
7934
|
children: children
|
|
8534
7935
|
});
|
|
8535
7936
|
}
|
|
8536
|
-
|
|
8537
|
-
/**
|
|
8538
|
-
* Sets the `cellKey`. Intended to be used by `VirtualizedList` for each cell.
|
|
8539
|
-
*/
|
|
8540
7937
|
function VirtualizedListCellContextProvider(_ref3) {
|
|
8541
7938
|
var cellKey = _ref3.cellKey,
|
|
8542
7939
|
children = _ref3.children;
|
|
8543
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8544
7940
|
var currContext = (0, _react.useContext)(VirtualizedListContext);
|
|
8545
7941
|
var context = (0, _react.useMemo)(function () {
|
|
8546
7942
|
return currContext == null ? null : Object.assign({}, currContext, {
|
|
@@ -8563,15 +7959,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8563
7959
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
8564
7960
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
8565
7961
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
8566
|
-
/**
|
|
8567
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8568
|
-
*
|
|
8569
|
-
* This source code is licensed under the MIT license found in the
|
|
8570
|
-
* LICENSE file in the root directory of this source tree.
|
|
8571
|
-
*
|
|
8572
|
-
*
|
|
8573
|
-
* @format
|
|
8574
|
-
*/
|
|
8575
7962
|
var CellRenderMask = exports.CellRenderMask = /*#__PURE__*/function () {
|
|
8576
7963
|
function CellRenderMask(numCells) {
|
|
8577
7964
|
(0, _classCallCheck2.default)(this, CellRenderMask);
|
|
@@ -8597,9 +7984,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8597
7984
|
value: function addCells(cells) {
|
|
8598
7985
|
var _this$_regions;
|
|
8599
7986
|
(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');
|
|
8600
|
-
|
|
8601
|
-
// VirtualizedList uses inclusive ranges, where zero-count states are
|
|
8602
|
-
// possible. E.g. [0, -1] for no cells, starting at 0.
|
|
8603
7987
|
if (cells.last < cells.first) {
|
|
8604
7988
|
return;
|
|
8605
7989
|
}
|
|
@@ -8611,15 +7995,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8611
7995
|
_this$_findRegion4 = (0, _slicedToArray2.default)(_this$_findRegion3, 2),
|
|
8612
7996
|
lastIntersect = _this$_findRegion4[0],
|
|
8613
7997
|
lastIntersectIdx = _this$_findRegion4[1];
|
|
8614
|
-
|
|
8615
|
-
// Fast-path if the cells to add are already all present in the mask. We
|
|
8616
|
-
// will otherwise need to do some mutation.
|
|
8617
7998
|
if (firstIntersectIdx === lastIntersectIdx && !firstIntersect.isSpacer) {
|
|
8618
7999
|
return;
|
|
8619
8000
|
}
|
|
8620
|
-
|
|
8621
|
-
// We need to replace the existing covered regions with 1-3 new regions
|
|
8622
|
-
// depending whether we need to split spacers out of overlapping regions.
|
|
8623
8001
|
var newLeadRegion = [];
|
|
8624
8002
|
var newTailRegion = [];
|
|
8625
8003
|
var newMainRegion = Object.assign({}, cells, {
|
|
@@ -8683,7 +8061,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8683
8061
|
}
|
|
8684
8062
|
}]);
|
|
8685
8063
|
}();
|
|
8686
|
-
},"de5ab026f9499640d730",["
|
|
8064
|
+
},"de5ab026f9499640d730",["277a84013d7e1a1ace05","838d7a057beeb5db50df","d73b3a84588342abd1b6","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
8687
8065
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8688
8066
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
8689
8067
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -8697,23 +8075,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8697
8075
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
8698
8076
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11]));
|
|
8699
8077
|
var _excluded = ["ItemSeparatorComponent", "SectionSeparatorComponent", "renderItem", "renderSectionFooter", "renderSectionHeader", "sections", "stickySectionHeadersEnabled"];
|
|
8700
|
-
function
|
|
8701
|
-
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; }
|
|
8078
|
+
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); }
|
|
8702
8079
|
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)); }
|
|
8703
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8704
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8705
|
-
*
|
|
8706
|
-
* This source code is licensed under the MIT license found in the
|
|
8707
|
-
* LICENSE file in the root directory of this source tree.
|
|
8708
|
-
*
|
|
8709
|
-
*
|
|
8710
|
-
* @format
|
|
8711
|
-
*/
|
|
8712
|
-
/**
|
|
8713
|
-
* Right now this just flattens everything into one list and uses VirtualizedList under the
|
|
8714
|
-
* hood. The only operation that might not scale well is concatting the data arrays of all the
|
|
8715
|
-
* sections when new props are received, which should be plenty fast for up to ~10,000 items.
|
|
8716
|
-
*/
|
|
8080
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8717
8081
|
var VirtualizedSectionList = /*#__PURE__*/function (_React$PureComponent) {
|
|
8718
8082
|
function VirtualizedSectionList() {
|
|
8719
8083
|
var _this;
|
|
@@ -8722,7 +8086,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8722
8086
|
args[_key] = arguments[_key];
|
|
8723
8087
|
}
|
|
8724
8088
|
_this = _callSuper(this, VirtualizedSectionList, [].concat(args));
|
|
8725
|
-
// $FlowFixMe[missing-local-annot]
|
|
8726
8089
|
_this._keyExtractor = function (item, index) {
|
|
8727
8090
|
var info = _this._subExtractor(index);
|
|
8728
8091
|
return info && info.key || String(index);
|
|
@@ -8755,59 +8118,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8755
8118
|
}
|
|
8756
8119
|
};
|
|
8757
8120
|
_this._renderItem = function (listItemCount) {
|
|
8758
|
-
return (
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
var
|
|
8768
|
-
if (
|
|
8769
|
-
var
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
section: section
|
|
8774
|
-
}) : null;
|
|
8775
|
-
} else {
|
|
8776
|
-
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8777
|
-
return renderSectionFooter ? renderSectionFooter({
|
|
8778
|
-
section: section
|
|
8779
|
-
}) : null;
|
|
8780
|
-
}
|
|
8121
|
+
return function (_ref2) {
|
|
8122
|
+
var item = _ref2.item,
|
|
8123
|
+
index = _ref2.index;
|
|
8124
|
+
var info = _this._subExtractor(index);
|
|
8125
|
+
if (!info) {
|
|
8126
|
+
return null;
|
|
8127
|
+
}
|
|
8128
|
+
var infoIndex = info.index;
|
|
8129
|
+
if (infoIndex == null) {
|
|
8130
|
+
var section = info.section;
|
|
8131
|
+
if (info.header === true) {
|
|
8132
|
+
var renderSectionHeader = _this.props.renderSectionHeader;
|
|
8133
|
+
return renderSectionHeader ? renderSectionHeader({
|
|
8134
|
+
section: section
|
|
8135
|
+
}) : null;
|
|
8781
8136
|
} else {
|
|
8782
|
-
var
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
SeparatorComponent: SeparatorComponent,
|
|
8787
|
-
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8788
|
-
cellKey: info.key,
|
|
8789
|
-
index: infoIndex,
|
|
8790
|
-
item: item,
|
|
8791
|
-
leadingItem: info.leadingItem,
|
|
8792
|
-
leadingSection: info.leadingSection,
|
|
8793
|
-
prevCellKey: (_this._subExtractor(index - 1) || {}).key
|
|
8794
|
-
// Callback to provide updateHighlight for this item
|
|
8795
|
-
,
|
|
8796
|
-
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8797
|
-
setSelfUpdatePropsCallback: _this._setUpdatePropsFor
|
|
8798
|
-
// Provide child ability to set highlight/updateProps for previous item using prevCellKey
|
|
8799
|
-
,
|
|
8800
|
-
updateHighlightFor: _this._updateHighlightFor,
|
|
8801
|
-
updatePropsFor: _this._updatePropsFor,
|
|
8802
|
-
renderItem: renderItem,
|
|
8803
|
-
section: info.section,
|
|
8804
|
-
trailingItem: info.trailingItem,
|
|
8805
|
-
trailingSection: info.trailingSection,
|
|
8806
|
-
inverted: !!_this.props.inverted
|
|
8807
|
-
});
|
|
8137
|
+
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8138
|
+
return renderSectionFooter ? renderSectionFooter({
|
|
8139
|
+
section: section
|
|
8140
|
+
}) : null;
|
|
8808
8141
|
}
|
|
8142
|
+
} else {
|
|
8143
|
+
var renderItem = info.section.renderItem || _this.props.renderItem;
|
|
8144
|
+
var SeparatorComponent = _this._getSeparatorComponent(index, info, listItemCount);
|
|
8145
|
+
(0, _invariant.default)(renderItem, 'no renderItem!');
|
|
8146
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(ItemWithSeparator, {
|
|
8147
|
+
SeparatorComponent: SeparatorComponent,
|
|
8148
|
+
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8149
|
+
cellKey: info.key,
|
|
8150
|
+
index: infoIndex,
|
|
8151
|
+
item: item,
|
|
8152
|
+
leadingItem: info.leadingItem,
|
|
8153
|
+
leadingSection: info.leadingSection,
|
|
8154
|
+
prevCellKey: (_this._subExtractor(index - 1) || {}).key,
|
|
8155
|
+
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8156
|
+
setSelfUpdatePropsCallback: _this._setUpdatePropsFor,
|
|
8157
|
+
updateHighlightFor: _this._updateHighlightFor,
|
|
8158
|
+
updatePropsFor: _this._updatePropsFor,
|
|
8159
|
+
renderItem: renderItem,
|
|
8160
|
+
section: info.section,
|
|
8161
|
+
trailingItem: info.trailingItem,
|
|
8162
|
+
trailingSection: info.trailingSection,
|
|
8163
|
+
inverted: !!_this.props.inverted
|
|
8164
|
+
});
|
|
8809
8165
|
}
|
|
8810
|
-
|
|
8166
|
+
};
|
|
8811
8167
|
};
|
|
8812
8168
|
_this._updatePropsFor = function (cellKey, value) {
|
|
8813
8169
|
var updateProps = _this._updatePropsMap[cellKey];
|
|
@@ -8825,7 +8181,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8825
8181
|
if (updateHighlightFn != null) {
|
|
8826
8182
|
_this._updateHighlightMap[cellKey] = updateHighlightFn;
|
|
8827
8183
|
} else {
|
|
8828
|
-
// $FlowFixMe[prop-missing]
|
|
8829
8184
|
delete _this._updateHighlightFor[cellKey];
|
|
8830
8185
|
}
|
|
8831
8186
|
};
|
|
@@ -8863,7 +8218,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8863
8218
|
viewOffset: viewOffset,
|
|
8864
8219
|
index: index
|
|
8865
8220
|
});
|
|
8866
|
-
// $FlowFixMe[incompatible-use]
|
|
8867
8221
|
this._listRef.scrollToIndex(toIndexParams);
|
|
8868
8222
|
}
|
|
8869
8223
|
}, {
|
|
@@ -8888,12 +8242,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8888
8242
|
var stickyHeaderIndices = this.props.stickySectionHeadersEnabled ? [] : undefined;
|
|
8889
8243
|
var itemCount = 0;
|
|
8890
8244
|
for (var section of this.props.sections) {
|
|
8891
|
-
// Track the section header indices
|
|
8892
8245
|
if (stickyHeaderIndices != null) {
|
|
8893
8246
|
stickyHeaderIndices.push(itemCount + listHeaderOffset);
|
|
8894
8247
|
}
|
|
8895
|
-
|
|
8896
|
-
// Add two for the section header and footer.
|
|
8897
8248
|
itemCount += 2;
|
|
8898
8249
|
itemCount += this.props.getItemCount(section.data);
|
|
8899
8250
|
}
|
|
@@ -8925,15 +8276,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8925
8276
|
var sectionData = section.data;
|
|
8926
8277
|
var itemCount = props.getItemCount(sectionData);
|
|
8927
8278
|
if (itemIdx === -1 || itemIdx === itemCount) {
|
|
8928
|
-
// We intend for there to be overflow by one on both ends of the list.
|
|
8929
|
-
// This will be for headers and footers. When returning a header or footer
|
|
8930
|
-
// item the section itself is the item.
|
|
8931
8279
|
return section;
|
|
8932
8280
|
} else if (itemIdx < itemCount) {
|
|
8933
|
-
// If we are in the bounds of the list's data then return the item.
|
|
8934
8281
|
return props.getItem(sectionData, itemIdx);
|
|
8935
8282
|
} else {
|
|
8936
|
-
itemIdx -= itemCount + 2;
|
|
8283
|
+
itemIdx -= itemCount + 2;
|
|
8937
8284
|
}
|
|
8938
8285
|
}
|
|
8939
8286
|
return null;
|
|
@@ -8951,9 +8298,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8951
8298
|
var section = sections[i];
|
|
8952
8299
|
var sectionData = section.data;
|
|
8953
8300
|
var key = section.key || String(i);
|
|
8954
|
-
itemIndex -= 1;
|
|
8301
|
+
itemIndex -= 1;
|
|
8955
8302
|
if (itemIndex >= getItemCount(sectionData) + 1) {
|
|
8956
|
-
itemIndex -= getItemCount(sectionData) + 1;
|
|
8303
|
+
itemIndex -= getItemCount(sectionData) + 1;
|
|
8957
8304
|
} else if (itemIndex === -1) {
|
|
8958
8305
|
return {
|
|
8959
8306
|
section: section,
|
|
@@ -9048,7 +8395,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9048
8395
|
setSeparatorProps = _React$useState8[1];
|
|
9049
8396
|
React.useEffect(function () {
|
|
9050
8397
|
setSelfHighlightCallback(cellKey, setSeparatorHighlighted);
|
|
9051
|
-
// $FlowFixMe[incompatible-call]
|
|
9052
8398
|
setSelfUpdatePropsCallback(cellKey, setSeparatorProps);
|
|
9053
8399
|
return function () {
|
|
9054
8400
|
setSelfUpdatePropsCallback(cellKey, null);
|
|
@@ -9075,7 +8421,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9075
8421
|
if (LeadingSeparatorComponent != null) {
|
|
9076
8422
|
setLeadingSeparatorProps(Object.assign({}, leadingSeparatorProps, newProps));
|
|
9077
8423
|
} else if (prevCellKey != null) {
|
|
9078
|
-
// update the previous item's separator
|
|
9079
8424
|
updatePropsFor(prevCellKey, Object.assign({}, leadingSeparatorProps, newProps));
|
|
9080
8425
|
}
|
|
9081
8426
|
} else if (select === 'trailing' && SeparatorComponent != null) {
|
|
@@ -9099,12 +8444,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9099
8444
|
children: [inverted === false ? leadingSeparator : separator, element, inverted === false ? separator : leadingSeparator]
|
|
9100
8445
|
}) : element;
|
|
9101
8446
|
}
|
|
9102
|
-
|
|
9103
|
-
/* $FlowFixMe[class-object-subtyping] added when improving typing for this
|
|
9104
|
-
* parameters */
|
|
9105
|
-
// $FlowFixMe[method-unbinding]
|
|
9106
8447
|
module.exports = VirtualizedSectionList;
|
|
9107
|
-
},"d2355175ff6609a3def1",["
|
|
8448
|
+
},"d2355175ff6609a3def1",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","a2c8e692f78bae5b8b98","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","c4b46015e44050527820","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","a26dbe2a3afa21c3cf22","048fed5a64a04bdb7fed"]);
|
|
9108
8449
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9109
8450
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
9110
8451
|
try {
|
|
@@ -9132,91 +8473,92 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9132
8473
|
};
|
|
9133
8474
|
}
|
|
9134
8475
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9135
|
-
},"
|
|
8476
|
+
},"77f56f33f638c3751138",[]);
|
|
9136
8477
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9137
8478
|
'use strict';
|
|
9138
8479
|
|
|
9139
8480
|
{
|
|
9140
8481
|
module.exports = _$$_REQUIRE(_dependencyMap[0]);
|
|
9141
8482
|
}
|
|
9142
|
-
},"
|
|
8483
|
+
},"962cceb83a0665e556b0",["882f173eeacafe179433"]);
|
|
9143
8484
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9144
8485
|
/**
|
|
9145
8486
|
* @license React
|
|
9146
|
-
* use-sync-external-store-shim.native.production.
|
|
8487
|
+
* use-sync-external-store-shim.native.production.js
|
|
9147
8488
|
*
|
|
9148
|
-
* Copyright (c)
|
|
8489
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9149
8490
|
*
|
|
9150
8491
|
* This source code is licensed under the MIT license found in the
|
|
9151
8492
|
* LICENSE file in the root directory of this source tree.
|
|
9152
8493
|
*/
|
|
9153
|
-
'use strict';
|
|
9154
8494
|
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
8495
|
+
"use strict";
|
|
8496
|
+
|
|
8497
|
+
var React = _$$_REQUIRE(_dependencyMap[0]);
|
|
8498
|
+
function is(x, y) {
|
|
8499
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
8500
|
+
}
|
|
8501
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
8502
|
+
useState = React.useState,
|
|
8503
|
+
useEffect = React.useEffect,
|
|
8504
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
8505
|
+
useDebugValue = React.useDebugValue;
|
|
8506
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
8507
|
+
var value = getSnapshot(),
|
|
8508
|
+
_useState = useState({
|
|
9167
8509
|
inst: {
|
|
9168
|
-
value:
|
|
9169
|
-
getSnapshot:
|
|
8510
|
+
value: value,
|
|
8511
|
+
getSnapshot: getSnapshot
|
|
9170
8512
|
}
|
|
9171
8513
|
}),
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
inst:
|
|
8514
|
+
inst = _useState[0].inst,
|
|
8515
|
+
forceUpdate = _useState[1];
|
|
8516
|
+
useLayoutEffect(function () {
|
|
8517
|
+
inst.value = value;
|
|
8518
|
+
inst.getSnapshot = getSnapshot;
|
|
8519
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8520
|
+
inst: inst
|
|
9179
8521
|
});
|
|
9180
|
-
}, [
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
inst:
|
|
8522
|
+
}, [subscribe, value, getSnapshot]);
|
|
8523
|
+
useEffect(function () {
|
|
8524
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8525
|
+
inst: inst
|
|
9184
8526
|
});
|
|
9185
|
-
return
|
|
9186
|
-
|
|
9187
|
-
inst:
|
|
8527
|
+
return subscribe(function () {
|
|
8528
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8529
|
+
inst: inst
|
|
9188
8530
|
});
|
|
9189
8531
|
});
|
|
9190
|
-
}, [
|
|
9191
|
-
|
|
9192
|
-
return
|
|
8532
|
+
}, [subscribe]);
|
|
8533
|
+
useDebugValue(value);
|
|
8534
|
+
return value;
|
|
9193
8535
|
}
|
|
9194
|
-
function
|
|
9195
|
-
var
|
|
9196
|
-
|
|
8536
|
+
function checkIfSnapshotChanged(inst) {
|
|
8537
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
8538
|
+
inst = inst.value;
|
|
9197
8539
|
try {
|
|
9198
|
-
var
|
|
9199
|
-
return !
|
|
9200
|
-
} catch (
|
|
8540
|
+
var nextValue = latestGetSnapshot();
|
|
8541
|
+
return !objectIs(inst, nextValue);
|
|
8542
|
+
} catch (error) {
|
|
9201
8543
|
return true;
|
|
9202
8544
|
}
|
|
9203
8545
|
}
|
|
9204
|
-
exports.useSyncExternalStore = undefined !==
|
|
9205
|
-
},"
|
|
8546
|
+
exports.useSyncExternalStore = undefined !== React.useSyncExternalStore ? React.useSyncExternalStore : useSyncExternalStore$1;
|
|
8547
|
+
},"882f173eeacafe179433",["6ed0e34da2b23bd3554f"]);
|
|
9206
8548
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9207
8549
|
var id = 0;
|
|
9208
8550
|
function _classPrivateFieldKey(e) {
|
|
9209
8551
|
return "__private_" + id++ + "_" + e;
|
|
9210
8552
|
}
|
|
9211
8553
|
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9212
|
-
},"
|
|
8554
|
+
},"cb8ece4f72f02a959885",[]);
|
|
9213
8555
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9214
8556
|
function _classPrivateFieldBase(e, t) {
|
|
9215
8557
|
if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
|
|
9216
8558
|
return e;
|
|
9217
8559
|
}
|
|
9218
8560
|
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9219
|
-
},"
|
|
8561
|
+
},"39eb90fd8fb300b049c2",[]);
|
|
9220
8562
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9221
8563
|
"use strict";
|
|
9222
8564
|
|
|
@@ -9867,7 +9209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9867
9209
|
};
|
|
9868
9210
|
return exports.pick(input, exclusionFilter, options);
|
|
9869
9211
|
};
|
|
9870
|
-
},"ff0fc26247fd2f6e2bc9",["
|
|
9212
|
+
},"ff0fc26247fd2f6e2bc9",["838d7a057beeb5db50df","6c76b37f74c115e29e96","b39ee987403b752f74b9","67acda24cfcd7581ec59","d73b3a84588342abd1b6","4926d0dbc109dc5bb6c9","5f6f1050a714764e298b"]);
|
|
9871
9213
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9872
9214
|
'use strict';
|
|
9873
9215
|
|
|
@@ -10209,7 +9551,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10209
9551
|
}
|
|
10210
9552
|
var NavigationContainer = /*#__PURE__*/React.forwardRef(NavigationContainerInner);
|
|
10211
9553
|
var _default = exports.default = NavigationContainer;
|
|
10212
|
-
},"62de5dd14dfb1410d7f2",["6ed0e34da2b23bd3554f","44e2602f187ff9cf59cf","4e50e5807b6fb07b613f","41d087902e4bef39f04b","74d4689d8e52a698b3d2","e4a58ccf74d2d9867856","4ef716444d3ed80509e2","0acc7927719a4253eff3","
|
|
9554
|
+
},"62de5dd14dfb1410d7f2",["6ed0e34da2b23bd3554f","44e2602f187ff9cf59cf","4e50e5807b6fb07b613f","41d087902e4bef39f04b","74d4689d8e52a698b3d2","e4a58ccf74d2d9867856","4ef716444d3ed80509e2","0acc7927719a4253eff3","a2c8e692f78bae5b8b98","60ff1dcd62f063c30dec","d73b3a84588342abd1b6"]);
|
|
10213
9555
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10214
9556
|
"use strict";
|
|
10215
9557
|
|
|
@@ -10610,7 +9952,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10610
9952
|
}
|
|
10611
9953
|
return undefined;
|
|
10612
9954
|
}
|
|
10613
|
-
},"2c5f1129dd8d2b386289",["c8bebab0d5f6b23cde75","
|
|
9955
|
+
},"2c5f1129dd8d2b386289",["c8bebab0d5f6b23cde75","d73b3a84588342abd1b6"]);
|
|
10614
9956
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10615
9957
|
'use strict';
|
|
10616
9958
|
|
|
@@ -10699,7 +10041,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10699
10041
|
}, [promise, resolved]);
|
|
10700
10042
|
return state;
|
|
10701
10043
|
}
|
|
10702
|
-
},"0acc7927719a4253eff3",["6ed0e34da2b23bd3554f","
|
|
10044
|
+
},"0acc7927719a4253eff3",["6ed0e34da2b23bd3554f","d73b3a84588342abd1b6","77f56f33f638c3751138"]);
|
|
10703
10045
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10704
10046
|
"use strict";
|
|
10705
10047
|
|
|
@@ -11873,7 +11215,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11873
11215
|
getInitialState: getInitialState
|
|
11874
11216
|
};
|
|
11875
11217
|
}
|
|
11876
|
-
},"138160aa5bce82c508b8",["c83c5e51638a2455a863","6ed0e34da2b23bd3554f","9a4260e4a1aa97323527","4960bab7f0f723133a67","60ff1dcd62f063c30dec","
|
|
11218
|
+
},"138160aa5bce82c508b8",["c83c5e51638a2455a863","6ed0e34da2b23bd3554f","9a4260e4a1aa97323527","4960bab7f0f723133a67","60ff1dcd62f063c30dec","d73b3a84588342abd1b6","77f56f33f638c3751138"]);
|
|
11877
11219
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11878
11220
|
'use strict';
|
|
11879
11221
|
|
|
@@ -11917,8 +11259,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11917
11259
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
11918
11260
|
var _useLinkProps = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
11919
11261
|
var _excluded = ["to", "action"];
|
|
11920
|
-
function
|
|
11921
|
-
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; }
|
|
11262
|
+
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); }
|
|
11922
11263
|
/**
|
|
11923
11264
|
* Component to render link to another screen using a path.
|
|
11924
11265
|
* Uses an anchor tag on the web.
|
|
@@ -11951,7 +11292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11951
11292
|
}
|
|
11952
11293
|
})));
|
|
11953
11294
|
}
|
|
11954
|
-
},"e36b10b55438aba61eda",["
|
|
11295
|
+
},"e36b10b55438aba61eda",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","50cc159f4126e5ecff14"]);
|
|
11955
11296
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11956
11297
|
Object.defineProperty(exports, "__esModule", {
|
|
11957
11298
|
value: true
|
|
@@ -11961,8 +11302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11961
11302
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
11962
11303
|
var _LinkingContext = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[3]));
|
|
11963
11304
|
var _useLinkTo = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[4]));
|
|
11964
|
-
function
|
|
11965
|
-
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; }
|
|
11305
|
+
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); }
|
|
11966
11306
|
var _getStateFromParams = function getStateFromParams(params) {
|
|
11967
11307
|
if (params !== null && params !== undefined && params.state) {
|
|
11968
11308
|
return params.state;
|
|
@@ -12044,15 +11384,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12044
11384
|
onPress: onPress
|
|
12045
11385
|
};
|
|
12046
11386
|
}
|
|
12047
|
-
},"50cc159f4126e5ecff14",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
11387
|
+
},"50cc159f4126e5ecff14",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","277a84013d7e1a1ace05","7773a676d1aeaa1f0f42","3eb1264bc65b209ef439","60ff1dcd62f063c30dec"]);
|
|
12048
11388
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12049
11389
|
Object.defineProperty(exports, "__esModule", {
|
|
12050
11390
|
value: true
|
|
12051
11391
|
});
|
|
12052
11392
|
exports.default = undefined;
|
|
12053
11393
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12054
|
-
function
|
|
12055
|
-
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; }
|
|
11394
|
+
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); }
|
|
12056
11395
|
var LinkingContext = /*#__PURE__*/React.createContext({
|
|
12057
11396
|
options: undefined
|
|
12058
11397
|
});
|
|
@@ -12066,8 +11405,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12066
11405
|
exports.default = useLinkTo;
|
|
12067
11406
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12068
11407
|
var _LinkingContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
12069
|
-
function
|
|
12070
|
-
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; }
|
|
11408
|
+
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); }
|
|
12071
11409
|
function useLinkTo() {
|
|
12072
11410
|
var navigation = React.useContext(_$$_REQUIRE(_dependencyMap[3]).NavigationContainerRefContext);
|
|
12073
11411
|
var linking = React.useContext(_LinkingContext.default);
|
|
@@ -12098,7 +11436,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12098
11436
|
}, [linking, navigation]);
|
|
12099
11437
|
return linkTo;
|
|
12100
11438
|
}
|
|
12101
|
-
},"3eb1264bc65b209ef439",["6ed0e34da2b23bd3554f","
|
|
11439
|
+
},"3eb1264bc65b209ef439",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","7773a676d1aeaa1f0f42","60ff1dcd62f063c30dec"]);
|
|
12102
11440
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12103
11441
|
Object.defineProperty(exports, "__esModule", {
|
|
12104
11442
|
value: true
|
|
@@ -12115,8 +11453,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12115
11453
|
var _useLinking2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9]));
|
|
12116
11454
|
var _useThenable3 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
12117
11455
|
var _excluded = ["theme", "linking", "fallback", "documentTitle", "onReady"];
|
|
12118
|
-
function
|
|
12119
|
-
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; }
|
|
11456
|
+
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); }
|
|
12120
11457
|
function _extends() {
|
|
12121
11458
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
12122
11459
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12221,7 +11558,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12221
11558
|
}
|
|
12222
11559
|
var NavigationContainer = /*#__PURE__*/React.forwardRef(NavigationContainerInner);
|
|
12223
11560
|
var _default = exports.default = NavigationContainer;
|
|
12224
|
-
},"f27d085796d9a3f47486",["
|
|
11561
|
+
},"f27d085796d9a3f47486",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","7773a676d1aeaa1f0f42","c46a5167ebe3d9c1c660","30f0875e6ff0f858b621","8a760e7d3f08e025b1eb","cef326b5921be1ead951","fffaf1e280ece0af4582","76911e56dabdc8bfcc01","60ff1dcd62f063c30dec"]);
|
|
12225
11562
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12226
11563
|
Object.defineProperty(exports, "__esModule", {
|
|
12227
11564
|
value: true
|
|
@@ -12247,8 +11584,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12247
11584
|
exports.default = ThemeProvider;
|
|
12248
11585
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12249
11586
|
var _ThemeContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
12250
|
-
function
|
|
12251
|
-
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; }
|
|
11587
|
+
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); }
|
|
12252
11588
|
function ThemeProvider(_ref) {
|
|
12253
11589
|
var value = _ref.value,
|
|
12254
11590
|
children = _ref.children;
|
|
@@ -12256,7 +11592,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12256
11592
|
value: value
|
|
12257
11593
|
}, children);
|
|
12258
11594
|
}
|
|
12259
|
-
},"30f0875e6ff0f858b621",["6ed0e34da2b23bd3554f","
|
|
11595
|
+
},"30f0875e6ff0f858b621",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","9685064fc8dbdc8f1c1e"]);
|
|
12260
11596
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12261
11597
|
Object.defineProperty(exports, "__esModule", {
|
|
12262
11598
|
value: true
|
|
@@ -12264,12 +11600,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12264
11600
|
exports.default = undefined;
|
|
12265
11601
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12266
11602
|
var _DefaultTheme = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
12267
|
-
function
|
|
12268
|
-
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; }
|
|
11603
|
+
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); }
|
|
12269
11604
|
var ThemeContext = /*#__PURE__*/React.createContext(_DefaultTheme.default);
|
|
12270
11605
|
ThemeContext.displayName = 'ThemeContext';
|
|
12271
11606
|
var _default = exports.default = ThemeContext;
|
|
12272
|
-
},"9685064fc8dbdc8f1c1e",["6ed0e34da2b23bd3554f","
|
|
11607
|
+
},"9685064fc8dbdc8f1c1e",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","c46a5167ebe3d9c1c660"]);
|
|
12273
11608
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12274
11609
|
Object.defineProperty(exports, "__esModule", {
|
|
12275
11610
|
value: true
|
|
@@ -12277,8 +11612,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12277
11612
|
exports.default = useBackButton;
|
|
12278
11613
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12279
11614
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
12280
|
-
function
|
|
12281
|
-
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; }
|
|
11615
|
+
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); }
|
|
12282
11616
|
function useBackButton(ref) {
|
|
12283
11617
|
React.useEffect(function () {
|
|
12284
11618
|
var subscription = _reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
|
|
@@ -12315,8 +11649,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12315
11649
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12316
11650
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
12317
11651
|
var _extractPathFromURL = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[3]));
|
|
12318
|
-
function
|
|
12319
|
-
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; }
|
|
11652
|
+
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); }
|
|
12320
11653
|
var linkingHandlers = [];
|
|
12321
11654
|
function useLinking(ref, _ref) {
|
|
12322
11655
|
var independent = _ref.independent,
|
|
@@ -12467,7 +11800,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12467
11800
|
getInitialState: getInitialState
|
|
12468
11801
|
};
|
|
12469
11802
|
}
|
|
12470
|
-
},"fffaf1e280ece0af4582",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
11803
|
+
},"fffaf1e280ece0af4582",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","277a84013d7e1a1ace05","474b77c1645133103803","60ff1dcd62f063c30dec"]);
|
|
12471
11804
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12472
11805
|
Object.defineProperty(exports, "__esModule", {
|
|
12473
11806
|
value: true
|
|
@@ -12497,7 +11830,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12497
11830
|
}
|
|
12498
11831
|
return undefined;
|
|
12499
11832
|
}
|
|
12500
|
-
},"474b77c1645133103803",["
|
|
11833
|
+
},"474b77c1645133103803",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","c8bebab0d5f6b23cde75"]);
|
|
12501
11834
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12502
11835
|
Object.defineProperty(exports, "__esModule", {
|
|
12503
11836
|
value: true
|
|
@@ -12506,8 +11839,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12506
11839
|
var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
12507
11840
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
12508
11841
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3]));
|
|
12509
|
-
function
|
|
12510
|
-
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; }
|
|
11842
|
+
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); }
|
|
12511
11843
|
function useThenable(create) {
|
|
12512
11844
|
var _React$useState = React.useState(create),
|
|
12513
11845
|
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 1),
|
|
@@ -12550,7 +11882,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12550
11882
|
}, [promise, resolved]);
|
|
12551
11883
|
return state;
|
|
12552
11884
|
}
|
|
12553
|
-
},"76911e56dabdc8bfcc01",["
|
|
11885
|
+
},"76911e56dabdc8bfcc01",["277a84013d7e1a1ace05","77f56f33f638c3751138","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f"]);
|
|
12554
11886
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12555
11887
|
Object.defineProperty(exports, "__esModule", {
|
|
12556
11888
|
value: true
|
|
@@ -12558,8 +11890,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12558
11890
|
exports.default = undefined;
|
|
12559
11891
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12560
11892
|
var _ServerContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
12561
|
-
function
|
|
12562
|
-
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; }
|
|
11893
|
+
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); }
|
|
12563
11894
|
/**
|
|
12564
11895
|
* Container component for server rendering.
|
|
12565
11896
|
*
|
|
@@ -12600,15 +11931,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12600
11931
|
value: current
|
|
12601
11932
|
}, children));
|
|
12602
11933
|
});
|
|
12603
|
-
},"093db2172813fe0208fb",["6ed0e34da2b23bd3554f","
|
|
11934
|
+
},"093db2172813fe0208fb",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","0d7f330aafb4f48ee523","60ff1dcd62f063c30dec"]);
|
|
12604
11935
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12605
11936
|
Object.defineProperty(exports, "__esModule", {
|
|
12606
11937
|
value: true
|
|
12607
11938
|
});
|
|
12608
11939
|
exports.default = undefined;
|
|
12609
11940
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12610
|
-
function
|
|
12611
|
-
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; }
|
|
11941
|
+
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); }
|
|
12612
11942
|
var ServerContext = /*#__PURE__*/React.createContext(undefined);
|
|
12613
11943
|
var _default = exports.default = ServerContext;
|
|
12614
11944
|
},"0d7f330aafb4f48ee523",["6ed0e34da2b23bd3554f"]);
|
|
@@ -12962,7 +12292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12962
12292
|
}
|
|
12963
12293
|
});
|
|
12964
12294
|
});
|
|
12965
|
-
},"b90332e149ba7e5170f9",["
|
|
12295
|
+
},"b90332e149ba7e5170f9",["277a84013d7e1a1ace05","e36b10b55438aba61eda","7773a676d1aeaa1f0f42","f27d085796d9a3f47486","093db2172813fe0208fb","e7f7408a3e62da33d175","c46a5167ebe3d9c1c660","30f0875e6ff0f858b621","3fb00c5c940edbf95bc6","99ec6a39a5f3443aff05","ef36f07a39a009cf52e9","50cc159f4126e5ecff14","3eb1264bc65b209ef439","716b08920931ff3051f1","60ff1dcd62f063c30dec"]);
|
|
12966
12296
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12967
12297
|
Object.defineProperty(exports, "__esModule", {
|
|
12968
12298
|
value: true
|
|
@@ -12988,13 +12318,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12988
12318
|
exports.default = useTheme;
|
|
12989
12319
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
12990
12320
|
var _ThemeContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
12991
|
-
function
|
|
12992
|
-
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; }
|
|
12321
|
+
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); }
|
|
12993
12322
|
function useTheme() {
|
|
12994
12323
|
var theme = React.useContext(_ThemeContext.default);
|
|
12995
12324
|
return theme;
|
|
12996
12325
|
}
|
|
12997
|
-
},"3fb00c5c940edbf95bc6",["6ed0e34da2b23bd3554f","
|
|
12326
|
+
},"3fb00c5c940edbf95bc6",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","9685064fc8dbdc8f1c1e"]);
|
|
12998
12327
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12999
12328
|
Object.defineProperty(exports, "__esModule", {
|
|
13000
12329
|
value: true
|
|
@@ -13007,8 +12336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13007
12336
|
exports.default = useLinkBuilder;
|
|
13008
12337
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13009
12338
|
var _LinkingContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
13010
|
-
function
|
|
13011
|
-
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; }
|
|
12339
|
+
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); }
|
|
13012
12340
|
var _getRootStateForNavigate = function getRootStateForNavigate(navigation, state) {
|
|
13013
12341
|
var parent = navigation.getParent();
|
|
13014
12342
|
if (parent) {
|
|
@@ -13056,15 +12384,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13056
12384
|
}, [linking, navigation]);
|
|
13057
12385
|
return buildLink;
|
|
13058
12386
|
}
|
|
13059
|
-
},"ef36f07a39a009cf52e9",["6ed0e34da2b23bd3554f","
|
|
12387
|
+
},"ef36f07a39a009cf52e9",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","7773a676d1aeaa1f0f42","60ff1dcd62f063c30dec"]);
|
|
13060
12388
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13061
12389
|
Object.defineProperty(exports, "__esModule", {
|
|
13062
12390
|
value: true
|
|
13063
12391
|
});
|
|
13064
12392
|
exports.default = useScrollToTop;
|
|
13065
12393
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13066
|
-
function
|
|
13067
|
-
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; }
|
|
12394
|
+
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); }
|
|
13068
12395
|
function getScrollableNode(ref) {
|
|
13069
12396
|
if (ref.current == null) {
|
|
13070
12397
|
return null;
|
|
@@ -13168,8 +12495,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13168
12495
|
});
|
|
13169
12496
|
exports.default = useDocumentTitle;
|
|
13170
12497
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13171
|
-
function
|
|
13172
|
-
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; }
|
|
12498
|
+
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); }
|
|
13173
12499
|
/**
|
|
13174
12500
|
* Set the document title for the active screen
|
|
13175
12501
|
*/
|
|
@@ -13210,8 +12536,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13210
12536
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4]));
|
|
13211
12537
|
var _createMemoryHistory = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
13212
12538
|
var _ServerContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
13213
|
-
function
|
|
13214
|
-
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; }
|
|
12539
|
+
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); }
|
|
13215
12540
|
/**
|
|
13216
12541
|
* Find the matching navigation state that changed between 2 navigation states
|
|
13217
12542
|
* e.g.: a -> b -> c -> d and a -> b -> c -> e -> f, if history in b changed, b is the matching state
|
|
@@ -13515,7 +12840,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13515
12840
|
getInitialState: getInitialState
|
|
13516
12841
|
};
|
|
13517
12842
|
}
|
|
13518
|
-
},"b2fa824dacb3d0aa2950",["
|
|
12843
|
+
},"b2fa824dacb3d0aa2950",["277a84013d7e1a1ace05","77f56f33f638c3751138","d73b3a84588342abd1b6","c83c5e51638a2455a863","6ed0e34da2b23bd3554f","829b5d49ba629cac2d8d","0d7f330aafb4f48ee523","60ff1dcd62f063c30dec"]);
|
|
13519
12844
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13520
12845
|
Object.defineProperty(exports, "__esModule", {
|
|
13521
12846
|
value: true
|
|
@@ -13526,8 +12851,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13526
12851
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13527
12852
|
var _useLinkProps = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
13528
12853
|
var _excluded = ["to", "action"];
|
|
13529
|
-
function
|
|
13530
|
-
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; }
|
|
12854
|
+
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); }
|
|
13531
12855
|
/**
|
|
13532
12856
|
* Component to render link to another screen using a path.
|
|
13533
12857
|
* Uses an anchor tag on the web.
|
|
@@ -13546,7 +12870,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13546
12870
|
});
|
|
13547
12871
|
var onPress = function onPress(e) {
|
|
13548
12872
|
if ('onPress' in rest) {
|
|
13549
|
-
rest.onPress == null
|
|
12873
|
+
rest.onPress == null || rest.onPress(e);
|
|
13550
12874
|
}
|
|
13551
12875
|
props.onPress(e);
|
|
13552
12876
|
};
|
|
@@ -13559,7 +12883,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13559
12883
|
}
|
|
13560
12884
|
})));
|
|
13561
12885
|
}
|
|
13562
|
-
},"73d88a1275162f427c4f",["
|
|
12886
|
+
},"73d88a1275162f427c4f",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","bc9e7a1616ac0141d88b"]);
|
|
13563
12887
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13564
12888
|
Object.defineProperty(exports, "__esModule", {
|
|
13565
12889
|
value: true
|
|
@@ -13569,8 +12893,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13569
12893
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
13570
12894
|
var _LinkingContext = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[3]));
|
|
13571
12895
|
var _useLinkTo = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[4]));
|
|
13572
|
-
function
|
|
13573
|
-
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; }
|
|
12896
|
+
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); }
|
|
13574
12897
|
var _getStateFromParams = function getStateFromParams(params) {
|
|
13575
12898
|
if (params != null && params.state) {
|
|
13576
12899
|
return params.state;
|
|
@@ -13652,15 +12975,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13652
12975
|
onPress: onPress
|
|
13653
12976
|
};
|
|
13654
12977
|
}
|
|
13655
|
-
},"bc9e7a1616ac0141d88b",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
12978
|
+
},"bc9e7a1616ac0141d88b",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","277a84013d7e1a1ace05","f2a490b96fe0232c5007","db31806474a1e3d625ea","60ff1dcd62f063c30dec"]);
|
|
13656
12979
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13657
12980
|
Object.defineProperty(exports, "__esModule", {
|
|
13658
12981
|
value: true
|
|
13659
12982
|
});
|
|
13660
12983
|
exports.default = undefined;
|
|
13661
12984
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13662
|
-
function
|
|
13663
|
-
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; }
|
|
12985
|
+
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); }
|
|
13664
12986
|
var LinkingContext = React.createContext({
|
|
13665
12987
|
options: undefined
|
|
13666
12988
|
});
|
|
@@ -13674,8 +12996,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13674
12996
|
exports.default = useLinkTo;
|
|
13675
12997
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13676
12998
|
var _LinkingContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
13677
|
-
function
|
|
13678
|
-
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; }
|
|
12999
|
+
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); }
|
|
13679
13000
|
function useLinkTo() {
|
|
13680
13001
|
var navigation = React.useContext(_$$_REQUIRE(_dependencyMap[3]).NavigationContainerRefContext);
|
|
13681
13002
|
var linking = React.useContext(_LinkingContext.default);
|
|
@@ -13706,7 +13027,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13706
13027
|
}, [linking, navigation]);
|
|
13707
13028
|
return linkTo;
|
|
13708
13029
|
}
|
|
13709
|
-
},"db31806474a1e3d625ea",["6ed0e34da2b23bd3554f","
|
|
13030
|
+
},"db31806474a1e3d625ea",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","f2a490b96fe0232c5007","60ff1dcd62f063c30dec"]);
|
|
13710
13031
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13711
13032
|
Object.defineProperty(exports, "__esModule", {
|
|
13712
13033
|
value: true
|
|
@@ -13723,8 +13044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13723
13044
|
var _useLinking2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9]));
|
|
13724
13045
|
var _useThenable3 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
13725
13046
|
var _excluded = ["theme", "linking", "fallback", "documentTitle", "onReady"];
|
|
13726
|
-
function
|
|
13727
|
-
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; }
|
|
13047
|
+
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); }
|
|
13728
13048
|
global.REACT_NAVIGATION_DEVTOOLS = new WeakMap();
|
|
13729
13049
|
/**
|
|
13730
13050
|
* Container component which holds the navigation state designed for React Native apps.
|
|
@@ -13800,7 +13120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13800
13120
|
});
|
|
13801
13121
|
React.useEffect(function () {
|
|
13802
13122
|
if (isReady) {
|
|
13803
|
-
onReadyRef.current == null
|
|
13123
|
+
onReadyRef.current == null || onReadyRef.current();
|
|
13804
13124
|
}
|
|
13805
13125
|
}, [isReady]);
|
|
13806
13126
|
if (!isReady) {
|
|
@@ -13821,7 +13141,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13821
13141
|
}
|
|
13822
13142
|
var NavigationContainer = React.forwardRef(NavigationContainerInner);
|
|
13823
13143
|
var _default = exports.default = NavigationContainer;
|
|
13824
|
-
},"d97b8733546aff1cad5c",["
|
|
13144
|
+
},"d97b8733546aff1cad5c",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","f2a490b96fe0232c5007","0f2e6091de18a8471cf0","d35a975eccc0f69a9b57","b7cfd3a718ea53bd7315","74da8049cb0a2918e587","6736cef817b057b576c7","943df0e30889a3a6ae31","60ff1dcd62f063c30dec","048fed5a64a04bdb7fed"]);
|
|
13825
13145
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13826
13146
|
Object.defineProperty(exports, "__esModule", {
|
|
13827
13147
|
value: true
|
|
@@ -13847,8 +13167,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13847
13167
|
exports.default = ThemeProvider;
|
|
13848
13168
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13849
13169
|
var _ThemeContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
13850
|
-
function
|
|
13851
|
-
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; }
|
|
13170
|
+
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); }
|
|
13852
13171
|
function ThemeProvider(_ref) {
|
|
13853
13172
|
var value = _ref.value,
|
|
13854
13173
|
children = _ref.children;
|
|
@@ -13857,7 +13176,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13857
13176
|
children: children
|
|
13858
13177
|
});
|
|
13859
13178
|
}
|
|
13860
|
-
},"d35a975eccc0f69a9b57",["6ed0e34da2b23bd3554f","
|
|
13179
|
+
},"d35a975eccc0f69a9b57",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","9aab683f0c3ea90d0b91","048fed5a64a04bdb7fed"]);
|
|
13861
13180
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13862
13181
|
Object.defineProperty(exports, "__esModule", {
|
|
13863
13182
|
value: true
|
|
@@ -13865,12 +13184,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13865
13184
|
exports.default = undefined;
|
|
13866
13185
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13867
13186
|
var _DefaultTheme = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
13868
|
-
function
|
|
13869
|
-
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; }
|
|
13187
|
+
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); }
|
|
13870
13188
|
var ThemeContext = React.createContext(_DefaultTheme.default);
|
|
13871
13189
|
ThemeContext.displayName = 'ThemeContext';
|
|
13872
13190
|
var _default = exports.default = ThemeContext;
|
|
13873
|
-
},"9aab683f0c3ea90d0b91",["6ed0e34da2b23bd3554f","
|
|
13191
|
+
},"9aab683f0c3ea90d0b91",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","0f2e6091de18a8471cf0"]);
|
|
13874
13192
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13875
13193
|
Object.defineProperty(exports, "__esModule", {
|
|
13876
13194
|
value: true
|
|
@@ -13878,8 +13196,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13878
13196
|
exports.default = useBackButton;
|
|
13879
13197
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13880
13198
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
13881
|
-
function
|
|
13882
|
-
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; }
|
|
13199
|
+
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); }
|
|
13883
13200
|
function useBackButton(ref) {
|
|
13884
13201
|
React.useEffect(function () {
|
|
13885
13202
|
var subscription = _reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
|
|
@@ -13916,8 +13233,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13916
13233
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13917
13234
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
13918
13235
|
var _extractPathFromURL = _$$_REQUIRE(_dependencyMap[2])(_$$_REQUIRE(_dependencyMap[3]));
|
|
13919
|
-
function
|
|
13920
|
-
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; }
|
|
13236
|
+
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); }
|
|
13921
13237
|
var linkingHandlers = [];
|
|
13922
13238
|
function useLinking(ref, _ref) {
|
|
13923
13239
|
var independent = _ref.independent,
|
|
@@ -13953,7 +13269,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13953
13269
|
if (subscription != null && subscription.remove) {
|
|
13954
13270
|
subscription.remove();
|
|
13955
13271
|
} else {
|
|
13956
|
-
removeEventListener == null
|
|
13272
|
+
removeEventListener == null || removeEventListener('url', callback);
|
|
13957
13273
|
}
|
|
13958
13274
|
};
|
|
13959
13275
|
} : _ref$subscribe,
|
|
@@ -14068,7 +13384,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14068
13384
|
getInitialState: getInitialState
|
|
14069
13385
|
};
|
|
14070
13386
|
}
|
|
14071
|
-
},"6736cef817b057b576c7",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
13387
|
+
},"6736cef817b057b576c7",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","277a84013d7e1a1ace05","2daced60b812d838dfa0","60ff1dcd62f063c30dec"]);
|
|
14072
13388
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14073
13389
|
Object.defineProperty(exports, "__esModule", {
|
|
14074
13390
|
value: true
|
|
@@ -14097,7 +13413,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14097
13413
|
}
|
|
14098
13414
|
return undefined;
|
|
14099
13415
|
}
|
|
14100
|
-
},"2daced60b812d838dfa0",["
|
|
13416
|
+
},"2daced60b812d838dfa0",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","c8bebab0d5f6b23cde75"]);
|
|
14101
13417
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14102
13418
|
Object.defineProperty(exports, "__esModule", {
|
|
14103
13419
|
value: true
|
|
@@ -14106,8 +13422,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14106
13422
|
var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
14107
13423
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
14108
13424
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3]));
|
|
14109
|
-
function
|
|
14110
|
-
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; }
|
|
13425
|
+
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); }
|
|
14111
13426
|
function useThenable(create) {
|
|
14112
13427
|
var _React$useState = React.useState(create),
|
|
14113
13428
|
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 1),
|
|
@@ -14150,7 +13465,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14150
13465
|
}, [promise, resolved]);
|
|
14151
13466
|
return state;
|
|
14152
13467
|
}
|
|
14153
|
-
},"943df0e30889a3a6ae31",["
|
|
13468
|
+
},"943df0e30889a3a6ae31",["277a84013d7e1a1ace05","77f56f33f638c3751138","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f"]);
|
|
14154
13469
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14155
13470
|
Object.defineProperty(exports, "__esModule", {
|
|
14156
13471
|
value: true
|
|
@@ -14158,8 +13473,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14158
13473
|
exports.default = undefined;
|
|
14159
13474
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
14160
13475
|
var _ServerContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
14161
|
-
function
|
|
14162
|
-
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; }
|
|
13476
|
+
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); }
|
|
14163
13477
|
/**
|
|
14164
13478
|
* Container component for server rendering.
|
|
14165
13479
|
*
|
|
@@ -14202,15 +13516,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14202
13516
|
})
|
|
14203
13517
|
});
|
|
14204
13518
|
});
|
|
14205
|
-
},"383c8cf093f10a6191e4",["6ed0e34da2b23bd3554f","
|
|
13519
|
+
},"383c8cf093f10a6191e4",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","5653a09f02f6bc58a4e4","048fed5a64a04bdb7fed","60ff1dcd62f063c30dec"]);
|
|
14206
13520
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14207
13521
|
Object.defineProperty(exports, "__esModule", {
|
|
14208
13522
|
value: true
|
|
14209
13523
|
});
|
|
14210
13524
|
exports.default = undefined;
|
|
14211
13525
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
14212
|
-
function
|
|
14213
|
-
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; }
|
|
13526
|
+
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); }
|
|
14214
13527
|
var ServerContext = React.createContext(undefined);
|
|
14215
13528
|
var _default = exports.default = ServerContext;
|
|
14216
13529
|
},"5653a09f02f6bc58a4e4",["6ed0e34da2b23bd3554f"]);
|
|
@@ -14494,7 +13807,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14494
13807
|
index = Math.max(currentIndex, 0);
|
|
14495
13808
|
var last = pending.pop();
|
|
14496
13809
|
window.removeEventListener('popstate', _onPopState);
|
|
14497
|
-
last == null
|
|
13810
|
+
last == null || last.cb();
|
|
14498
13811
|
};
|
|
14499
13812
|
window.addEventListener('popstate', _onPopState);
|
|
14500
13813
|
window.history.go(n);
|
|
@@ -14644,7 +13957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14644
13957
|
}
|
|
14645
13958
|
});
|
|
14646
13959
|
});
|
|
14647
|
-
},"c25b7e6d12cdc55bd8e0",["
|
|
13960
|
+
},"c25b7e6d12cdc55bd8e0",["277a84013d7e1a1ace05","73d88a1275162f427c4f","f2a490b96fe0232c5007","d97b8733546aff1cad5c","383c8cf093f10a6191e4","cf7be3935a922c2e77ad","0f2e6091de18a8471cf0","d35a975eccc0f69a9b57","adf880685c71ee226dee","bab0b3d9d702e8d0dcad","8ccc1e6fa146178b03f8","bc9e7a1616ac0141d88b","db31806474a1e3d625ea","669f56cc8f5cdab05eb8","60ff1dcd62f063c30dec"]);
|
|
14648
13961
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14649
13962
|
Object.defineProperty(exports, "__esModule", {
|
|
14650
13963
|
value: true
|
|
@@ -14670,14 +13983,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14670
13983
|
exports.default = useTheme;
|
|
14671
13984
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
14672
13985
|
var _ThemeContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
14673
|
-
function
|
|
14674
|
-
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; }
|
|
13986
|
+
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); }
|
|
14675
13987
|
function useTheme() {
|
|
14676
13988
|
var theme = React.useContext(_ThemeContext.default);
|
|
14677
13989
|
return theme;
|
|
14678
13990
|
}
|
|
14679
|
-
},"adf880685c71ee226dee",["6ed0e34da2b23bd3554f","
|
|
14680
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13991
|
+
},"adf880685c71ee226dee",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","9aab683f0c3ea90d0b91"]);
|
|
13992
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13993
|
+
Object.defineProperty(exports, "__esModule", {
|
|
13994
|
+
value: true
|
|
13995
|
+
});
|
|
13996
|
+
},"bab0b3d9d702e8d0dcad",[]);
|
|
14681
13997
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14682
13998
|
Object.defineProperty(exports, "__esModule", {
|
|
14683
13999
|
value: true
|
|
@@ -14685,8 +14001,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14685
14001
|
exports.default = useLinkBuilder;
|
|
14686
14002
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
14687
14003
|
var _LinkingContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2]));
|
|
14688
|
-
function
|
|
14689
|
-
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; }
|
|
14004
|
+
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); }
|
|
14690
14005
|
var _getRootStateForNavigate = function getRootStateForNavigate(navigation, state) {
|
|
14691
14006
|
var parent = navigation.getParent();
|
|
14692
14007
|
if (parent) {
|
|
@@ -14734,15 +14049,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14734
14049
|
}, [linking, navigation]);
|
|
14735
14050
|
return buildLink;
|
|
14736
14051
|
}
|
|
14737
|
-
},"8ccc1e6fa146178b03f8",["6ed0e34da2b23bd3554f","
|
|
14052
|
+
},"8ccc1e6fa146178b03f8",["6ed0e34da2b23bd3554f","277a84013d7e1a1ace05","f2a490b96fe0232c5007","60ff1dcd62f063c30dec"]);
|
|
14738
14053
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14739
14054
|
Object.defineProperty(exports, "__esModule", {
|
|
14740
14055
|
value: true
|
|
14741
14056
|
});
|
|
14742
14057
|
exports.default = useScrollToTop;
|
|
14743
14058
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
14744
|
-
function
|
|
14745
|
-
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; }
|
|
14059
|
+
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); }
|
|
14746
14060
|
function getScrollableNode(ref) {
|
|
14747
14061
|
if (ref.current == null) {
|
|
14748
14062
|
return null;
|
|
@@ -14846,8 +14160,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14846
14160
|
});
|
|
14847
14161
|
exports.default = useDocumentTitle;
|
|
14848
14162
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
14849
|
-
function
|
|
14850
|
-
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; }
|
|
14163
|
+
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); }
|
|
14851
14164
|
/**
|
|
14852
14165
|
* Set the document title for the active screen
|
|
14853
14166
|
*/
|
|
@@ -14888,8 +14201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14888
14201
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4]));
|
|
14889
14202
|
var _createMemoryHistory = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14890
14203
|
var _ServerContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
14891
|
-
function
|
|
14892
|
-
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; }
|
|
14204
|
+
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); }
|
|
14893
14205
|
/**
|
|
14894
14206
|
* Find the matching navigation state that changed between 2 navigation states
|
|
14895
14207
|
* e.g.: a -> b -> c -> d and a -> b -> c -> e -> f, if history in b changed, b is the matching state
|
|
@@ -15193,4 +14505,4 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
15193
14505
|
getInitialState: getInitialState
|
|
15194
14506
|
};
|
|
15195
14507
|
}
|
|
15196
|
-
},"e7434431e9f57bae04e4",["
|
|
14508
|
+
},"e7434431e9f57bae04e4",["277a84013d7e1a1ace05","77f56f33f638c3751138","d73b3a84588342abd1b6","c83c5e51638a2455a863","6ed0e34da2b23bd3554f","194b6b94ee46eb2bc8dc","5653a09f02f6bc58a4e4","60ff1dcd62f063c30dec"]);
|