@amazon-devices/react-navigation__react-native-tab-view 7.0.1759135970 → 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/{0c296a88d0023a3995e190db70259767d1ef39c9da6cd47f3d76cd128687f1f6.bundle → df77923df6c02233e2967296227684cd416c9a363cc8fc6fd81f573829bc74e9.bundle} +477 -1191
- package/SystemBundles/df77923df6c02233e2967296227684cd416c9a363cc8fc6fd81f573829bc74e9.map +4787 -0
- package/SystemModules/amzn__react-navigation__react-native-tab-view-7.private.modules.txt +44 -46
- package/kepler-compatibility.json +1 -1
- package/package.json +1 -1
- package/SystemBundles/0c296a88d0023a3995e190db70259767d1ef39c9da6cd47f3d76cd128687f1f6.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
|
|
|
@@ -913,7 +895,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
913
895
|
alignItems: 'stretch'
|
|
914
896
|
}
|
|
915
897
|
});
|
|
916
|
-
},"1b639256382b6a2a08cc",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","daf1813918444f47dfe9","
|
|
898
|
+
},"1b639256382b6a2a08cc",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","daf1813918444f47dfe9","a2c8e692f78bae5b8b98"]);
|
|
917
899
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
918
900
|
function _interopRequireDefault(e) {
|
|
919
901
|
return e && e.__esModule ? e : {
|
|
@@ -921,19 +903,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
921
903
|
};
|
|
922
904
|
}
|
|
923
905
|
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
924
|
-
},"
|
|
906
|
+
},"277a84013d7e1a1ace05",[]);
|
|
925
907
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
926
908
|
function _toConsumableArray(r) {
|
|
927
909
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r) || _$$_REQUIRE(_dependencyMap[2])(r) || _$$_REQUIRE(_dependencyMap[3])();
|
|
928
910
|
}
|
|
929
911
|
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
930
|
-
},"
|
|
912
|
+
},"838d7a057beeb5db50df",["a425fd4fe3cf47759e99","67d028b72bb61755baea","e7044bb724c5bd68e2cc","b4810fa44dd496b7d9f5"]);
|
|
931
913
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
932
914
|
function _arrayWithoutHoles(r) {
|
|
933
915
|
if (Array.isArray(r)) return _$$_REQUIRE(_dependencyMap[0])(r);
|
|
934
916
|
}
|
|
935
917
|
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
936
|
-
},"
|
|
918
|
+
},"a425fd4fe3cf47759e99",["378be3062418cfac9327"]);
|
|
937
919
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
938
920
|
function _arrayLikeToArray(r, a) {
|
|
939
921
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -941,13 +923,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
941
923
|
return n;
|
|
942
924
|
}
|
|
943
925
|
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
944
|
-
},"
|
|
926
|
+
},"378be3062418cfac9327",[]);
|
|
945
927
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
946
928
|
function _iterableToArray(r) {
|
|
947
929
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
948
930
|
}
|
|
949
931
|
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
950
|
-
},"
|
|
932
|
+
},"67d028b72bb61755baea",[]);
|
|
951
933
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
952
934
|
function _unsupportedIterableToArray(r, a) {
|
|
953
935
|
if (r) {
|
|
@@ -957,19 +939,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
957
939
|
}
|
|
958
940
|
}
|
|
959
941
|
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
960
|
-
},"
|
|
942
|
+
},"e7044bb724c5bd68e2cc",["378be3062418cfac9327"]);
|
|
961
943
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
962
944
|
function _nonIterableSpread() {
|
|
963
945
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
964
946
|
}
|
|
965
947
|
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
966
|
-
},"
|
|
948
|
+
},"b4810fa44dd496b7d9f5",[]);
|
|
967
949
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
968
950
|
function _classCallCheck(a, n) {
|
|
969
951
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
970
952
|
}
|
|
971
953
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
972
|
-
},"
|
|
954
|
+
},"cb664999166f9660a878",[]);
|
|
973
955
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
974
956
|
function _defineProperties(e, r) {
|
|
975
957
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -983,14 +965,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
983
965
|
}), e;
|
|
984
966
|
}
|
|
985
967
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
986
|
-
},"
|
|
968
|
+
},"68819e29ebee24bb0e88",["cbba112244d360ffda7a"]);
|
|
987
969
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
988
970
|
function toPropertyKey(t) {
|
|
989
971
|
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
990
972
|
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
991
973
|
}
|
|
992
974
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
993
|
-
},"
|
|
975
|
+
},"cbba112244d360ffda7a",["ad82d340d0b5dc5f0801","e08c69ed06cf526909e3"]);
|
|
994
976
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
995
977
|
function toPrimitive(t, r) {
|
|
996
978
|
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
@@ -1003,7 +985,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1003
985
|
return ("string" === r ? String : Number)(t);
|
|
1004
986
|
}
|
|
1005
987
|
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1006
|
-
},"
|
|
988
|
+
},"ad82d340d0b5dc5f0801",["e08c69ed06cf526909e3"]);
|
|
1007
989
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1008
990
|
function _typeof(o) {
|
|
1009
991
|
"@babel/helpers - typeof";
|
|
@@ -1015,7 +997,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1015
997
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
1016
998
|
}
|
|
1017
999
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1018
|
-
},"
|
|
1000
|
+
},"e08c69ed06cf526909e3",[]);
|
|
1019
1001
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1020
1002
|
/**
|
|
1021
1003
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -1060,13 +1042,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1060
1042
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r, e) || _$$_REQUIRE(_dependencyMap[2])(r, e) || _$$_REQUIRE(_dependencyMap[3])();
|
|
1061
1043
|
}
|
|
1062
1044
|
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1063
|
-
},"
|
|
1045
|
+
},"d73b3a84588342abd1b6",["c18fba4833d885627fc3","db861c9134e305a92464","e7044bb724c5bd68e2cc","d2c95b166a5bd41ca703"]);
|
|
1064
1046
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1065
1047
|
function _arrayWithHoles(r) {
|
|
1066
1048
|
if (Array.isArray(r)) return r;
|
|
1067
1049
|
}
|
|
1068
1050
|
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1069
|
-
},"
|
|
1051
|
+
},"c18fba4833d885627fc3",[]);
|
|
1070
1052
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1071
1053
|
function _iterableToArrayLimit(r, l) {
|
|
1072
1054
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -1096,13 +1078,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1096
1078
|
}
|
|
1097
1079
|
}
|
|
1098
1080
|
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1099
|
-
},"
|
|
1081
|
+
},"db861c9134e305a92464",[]);
|
|
1100
1082
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1101
1083
|
function _nonIterableRest() {
|
|
1102
1084
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1103
1085
|
}
|
|
1104
1086
|
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1105
|
-
},"
|
|
1087
|
+
},"d2c95b166a5bd41ca703",[]);
|
|
1106
1088
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1107
1089
|
'use strict';
|
|
1108
1090
|
|
|
@@ -1127,14 +1109,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1127
1109
|
return _$$_REQUIRE(_dependencyMap[1])(t);
|
|
1128
1110
|
}
|
|
1129
1111
|
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1130
|
-
},"
|
|
1112
|
+
},"aab42168bb4cb23540ec",["e08c69ed06cf526909e3","0716ce96f45f287fb302"]);
|
|
1131
1113
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1132
1114
|
function _assertThisInitialized(e) {
|
|
1133
1115
|
if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1134
1116
|
return e;
|
|
1135
1117
|
}
|
|
1136
1118
|
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1137
|
-
},"
|
|
1119
|
+
},"0716ce96f45f287fb302",[]);
|
|
1138
1120
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1139
1121
|
function _getPrototypeOf(t) {
|
|
1140
1122
|
return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
@@ -1142,7 +1124,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1142
1124
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
|
|
1143
1125
|
}
|
|
1144
1126
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1145
|
-
},"
|
|
1127
|
+
},"ba9efe5c53f1d07f5c9d",[]);
|
|
1146
1128
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1147
1129
|
function _inherits(t, e) {
|
|
1148
1130
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -1157,7 +1139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1157
1139
|
}), e && _$$_REQUIRE(_dependencyMap[0])(t, e);
|
|
1158
1140
|
}
|
|
1159
1141
|
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1160
|
-
},"
|
|
1142
|
+
},"9822a58ca7726d551fe0",["79c731bcf4b10abe8e4d"]);
|
|
1161
1143
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1162
1144
|
function _setPrototypeOf(t, e) {
|
|
1163
1145
|
return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
@@ -1165,13 +1147,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1165
1147
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
|
|
1166
1148
|
}
|
|
1167
1149
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1168
|
-
},"
|
|
1150
|
+
},"79c731bcf4b10abe8e4d",[]);
|
|
1169
1151
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1170
1152
|
function _readOnlyError(r) {
|
|
1171
1153
|
throw new TypeError('"' + r + '" is read-only');
|
|
1172
1154
|
}
|
|
1173
1155
|
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1174
|
-
},"
|
|
1156
|
+
},"9a3a31f49f0e1fee57b0",[]);
|
|
1175
1157
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1176
1158
|
function _wrapNativeSuper(t) {
|
|
1177
1159
|
var r = "function" == typeof Map ? new Map() : undefined;
|
|
@@ -1196,7 +1178,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1196
1178
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t);
|
|
1197
1179
|
}
|
|
1198
1180
|
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1199
|
-
},"
|
|
1181
|
+
},"66be7ef871ad04671969",["9cf198b81404c8b483b0","20524c8783215c6329fe","ba9efe5c53f1d07f5c9d","79c731bcf4b10abe8e4d"]);
|
|
1200
1182
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1201
1183
|
function _isNativeFunction(t) {
|
|
1202
1184
|
try {
|
|
@@ -1206,7 +1188,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1206
1188
|
}
|
|
1207
1189
|
}
|
|
1208
1190
|
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1209
|
-
},"
|
|
1191
|
+
},"9cf198b81404c8b483b0",[]);
|
|
1210
1192
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1211
1193
|
function _construct(t, e, r) {
|
|
1212
1194
|
if (_$$_REQUIRE(_dependencyMap[0])()) return Reflect.construct.apply(null, arguments);
|
|
@@ -1216,7 +1198,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1216
1198
|
return r && _$$_REQUIRE(_dependencyMap[1])(p, r.prototype), p;
|
|
1217
1199
|
}
|
|
1218
1200
|
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1219
|
-
},"
|
|
1201
|
+
},"20524c8783215c6329fe",["df21df9938c0adbd59f1","79c731bcf4b10abe8e4d"]);
|
|
1220
1202
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1221
1203
|
function _isNativeReflectConstruct() {
|
|
1222
1204
|
try {
|
|
@@ -1227,7 +1209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1227
1209
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
|
|
1228
1210
|
}
|
|
1229
1211
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1230
|
-
},"
|
|
1212
|
+
},"df21df9938c0adbd59f1",[]);
|
|
1231
1213
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1232
1214
|
'use strict';
|
|
1233
1215
|
|
|
@@ -1250,7 +1232,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1250
1232
|
return stack;
|
|
1251
1233
|
}, []);
|
|
1252
1234
|
}
|
|
1253
|
-
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1235
|
+
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1254
1236
|
var chromeEvalRe = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
1255
1237
|
function parseChrome(line) {
|
|
1256
1238
|
var parts = chromeRe.exec(line);
|
|
@@ -1278,7 +1260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1278
1260
|
column: parts[4] ? +parts[4] : null
|
|
1279
1261
|
};
|
|
1280
1262
|
}
|
|
1281
|
-
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1263
|
+
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1282
1264
|
function parseWinjs(line) {
|
|
1283
1265
|
var parts = winjsRe.exec(line);
|
|
1284
1266
|
if (!parts) {
|
|
@@ -1292,7 +1274,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1292
1274
|
column: parts[4] ? +parts[4] : null
|
|
1293
1275
|
};
|
|
1294
1276
|
}
|
|
1295
|
-
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1277
|
+
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1296
1278
|
var geckoEvalRe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
1297
1279
|
function parseGecko(line) {
|
|
1298
1280
|
var parts = geckoRe.exec(line);
|
|
@@ -1344,7 +1326,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1344
1326
|
};
|
|
1345
1327
|
}
|
|
1346
1328
|
exports.parse = parse;
|
|
1347
|
-
},"
|
|
1329
|
+
},"aa725aa4c0b37e1add33",[]);
|
|
1348
1330
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1349
1331
|
'use strict';
|
|
1350
1332
|
|
|
@@ -2412,14 +2394,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2412
2394
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments);
|
|
2413
2395
|
}
|
|
2414
2396
|
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2415
|
-
},"
|
|
2397
|
+
},"55062adb34159de0ea92",["d53f05ad44723a08f608"]);
|
|
2416
2398
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2417
2399
|
function _superPropBase(t, o) {
|
|
2418
2400
|
for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _$$_REQUIRE(_dependencyMap[0])(t)););
|
|
2419
2401
|
return t;
|
|
2420
2402
|
}
|
|
2421
2403
|
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2422
|
-
},"
|
|
2404
|
+
},"d53f05ad44723a08f608",["ba9efe5c53f1d07f5c9d"]);
|
|
2423
2405
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2424
2406
|
/**
|
|
2425
2407
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3891,25 +3873,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3891
3873
|
r,
|
|
3892
3874
|
i = _$$_REQUIRE(_dependencyMap[0])(e, t);
|
|
3893
3875
|
if (Object.getOwnPropertySymbols) {
|
|
3894
|
-
var
|
|
3895
|
-
for (r = 0; r <
|
|
3876
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3877
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3896
3878
|
}
|
|
3897
3879
|
return i;
|
|
3898
3880
|
}
|
|
3899
3881
|
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3900
|
-
},"
|
|
3882
|
+
},"a2c8e692f78bae5b8b98",["5927789db7c756c318ed"]);
|
|
3901
3883
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3902
3884
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3903
3885
|
if (null == r) return {};
|
|
3904
3886
|
var t = {};
|
|
3905
3887
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3906
|
-
if (e.
|
|
3888
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3907
3889
|
t[n] = r[n];
|
|
3908
3890
|
}
|
|
3909
3891
|
return t;
|
|
3910
3892
|
}
|
|
3911
3893
|
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3912
|
-
},"
|
|
3894
|
+
},"5927789db7c756c318ed",[]);
|
|
3913
3895
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3914
3896
|
/**
|
|
3915
3897
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -4057,7 +4039,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4057
4039
|
module.exports = AbortController;
|
|
4058
4040
|
module.exports.AbortController = module.exports["default"] = AbortController;
|
|
4059
4041
|
module.exports.AbortSignal = AbortSignal;
|
|
4060
|
-
},"ea8fcbd647aab1cfcdaa",["
|
|
4042
|
+
},"ea8fcbd647aab1cfcdaa",["ba9efe5c53f1d07f5c9d","aab42168bb4cb23540ec","cb664999166f9660a878","9822a58ca7726d551fe0","68819e29ebee24bb0e88","2bd3f165b1ed6b916de7"]);
|
|
4061
4043
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4062
4044
|
/**
|
|
4063
4045
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -4629,24 +4611,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4629
4611
|
}) : e[r] = t, e;
|
|
4630
4612
|
}
|
|
4631
4613
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4632
|
-
},"
|
|
4614
|
+
},"4926d0dbc109dc5bb6c9",["cbba112244d360ffda7a"]);
|
|
4633
4615
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4634
|
-
/**
|
|
4635
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4636
|
-
*
|
|
4637
|
-
* This source code is licensed under the MIT license found in the
|
|
4638
|
-
* LICENSE file in the root directory of this source tree.
|
|
4639
|
-
*
|
|
4640
|
-
*
|
|
4641
|
-
* @format
|
|
4642
|
-
*/
|
|
4643
|
-
|
|
4644
4616
|
'use strict';
|
|
4645
4617
|
|
|
4646
4618
|
var assets = [];
|
|
4647
4619
|
function registerAsset(asset) {
|
|
4648
|
-
// `push` returns new array length, so the first asset will
|
|
4649
|
-
// get id 1 (not 0) to make the value truthy
|
|
4650
4620
|
return assets.push(asset);
|
|
4651
4621
|
}
|
|
4652
4622
|
function getAssetByID(assetId) {
|
|
@@ -4658,16 +4628,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4658
4628
|
};
|
|
4659
4629
|
},"05d58bec2a6d939f08d8",[]);
|
|
4660
4630
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4661
|
-
/**
|
|
4662
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4663
|
-
*
|
|
4664
|
-
* This source code is licensed under the MIT license found in the
|
|
4665
|
-
* LICENSE file in the root directory of this source tree.
|
|
4666
|
-
*
|
|
4667
|
-
* @format
|
|
4668
|
-
*
|
|
4669
|
-
*/
|
|
4670
|
-
|
|
4671
4631
|
'use strict';
|
|
4672
4632
|
|
|
4673
4633
|
var androidScaleSuffix = {
|
|
@@ -4679,24 +4639,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4679
4639
|
'4': 'xxxhdpi'
|
|
4680
4640
|
};
|
|
4681
4641
|
var ANDROID_BASE_DENSITY = 160;
|
|
4682
|
-
|
|
4683
|
-
/**
|
|
4684
|
-
* FIXME: using number to represent discrete scale numbers is fragile in essence because of
|
|
4685
|
-
* floating point numbers imprecision.
|
|
4686
|
-
*/
|
|
4687
4642
|
function getAndroidAssetSuffix(scale) {
|
|
4688
4643
|
if (scale.toString() in androidScaleSuffix) {
|
|
4689
4644
|
return androidScaleSuffix[scale.toString()];
|
|
4690
4645
|
}
|
|
4691
|
-
// NOTE: Android Gradle Plugin does not fully support the nnndpi format.
|
|
4692
|
-
// See https://issuetracker.google.com/issues/72884435
|
|
4693
4646
|
if (Number.isFinite(scale) && scale > 0) {
|
|
4694
4647
|
return Math.round(scale * ANDROID_BASE_DENSITY) + 'dpi';
|
|
4695
4648
|
}
|
|
4696
4649
|
throw new Error('no such scale ' + scale.toString());
|
|
4697
4650
|
}
|
|
4698
|
-
|
|
4699
|
-
// See https://developer.android.com/guide/topics/resources/drawable-resource.html
|
|
4700
4651
|
var drawableFileTypes = new Set(['gif', 'jpeg', 'jpg', 'ktx', 'png', 'svg', 'webp', 'xml']);
|
|
4701
4652
|
function getAndroidResourceFolderName(asset, scale) {
|
|
4702
4653
|
if (!drawableFileTypes.has(asset.type)) {
|
|
@@ -4709,9 +4660,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4709
4660
|
return 'drawable-' + suffix;
|
|
4710
4661
|
}
|
|
4711
4662
|
function getAndroidResourceIdentifier(asset) {
|
|
4712
|
-
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_')
|
|
4713
|
-
.replace(/([^a-z0-9_])/g, '') // Remove illegal chars
|
|
4714
|
-
.replace(/^assets_/, ''); // Remove "assets_" prefix
|
|
4663
|
+
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_').replace(/([^a-z0-9_])/g, '').replace(/^assets_/, '');
|
|
4715
4664
|
}
|
|
4716
4665
|
function getBasePath(asset) {
|
|
4717
4666
|
var basePath = asset.httpServerLocation;
|
|
@@ -4957,16 +4906,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4957
4906
|
exports.unstable_wrapCallback = Z;
|
|
4958
4907
|
},"9daefd1335ff675770cb",[]);
|
|
4959
4908
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4960
|
-
/**
|
|
4961
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4962
|
-
*
|
|
4963
|
-
* This source code is licensed under the MIT license found in the
|
|
4964
|
-
* LICENSE file in the root directory of this source tree.
|
|
4965
|
-
*
|
|
4966
|
-
* @format
|
|
4967
|
-
*
|
|
4968
|
-
*/
|
|
4969
|
-
|
|
4970
4909
|
'use strict';
|
|
4971
4910
|
|
|
4972
4911
|
module.exports = {
|
|
@@ -5993,16 +5932,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5993
5932
|
module.exports = memoizeOne;
|
|
5994
5933
|
},"d381691ed29bec5a2050",[]);
|
|
5995
5934
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
5996
|
-
/**
|
|
5997
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5998
|
-
*
|
|
5999
|
-
* This source code is licensed under the MIT license found in the
|
|
6000
|
-
* LICENSE file in the root directory of this source tree.
|
|
6001
|
-
*
|
|
6002
|
-
* @format
|
|
6003
|
-
*
|
|
6004
|
-
*/
|
|
6005
|
-
|
|
6006
5935
|
'use strict';
|
|
6007
5936
|
|
|
6008
5937
|
module.exports = {
|
|
@@ -6026,16 +5955,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6026
5955
|
};
|
|
6027
5956
|
},"27b237d1799650306cb9",["a26dbe2a3afa21c3cf22","c4b46015e44050527820","d2355175ff6609a3def1","e6b1ef1f5b720d640981","8bafab90a37cab64b100","3e01a5bc929e85870fe5"]);
|
|
6028
5957
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
6029
|
-
/**
|
|
6030
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6031
|
-
*
|
|
6032
|
-
* This source code is licensed under the MIT license found in the
|
|
6033
|
-
* LICENSE file in the root directory of this source tree.
|
|
6034
|
-
*
|
|
6035
|
-
*
|
|
6036
|
-
* @format
|
|
6037
|
-
*/
|
|
6038
|
-
|
|
6039
5958
|
'use strict';
|
|
6040
5959
|
|
|
6041
5960
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6046,11 +5965,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6046
5965
|
exports.keyExtractor = keyExtractor;
|
|
6047
5966
|
exports.newRangeCount = newRangeCount;
|
|
6048
5967
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
6049
|
-
/**
|
|
6050
|
-
* Used to find the indices of the frames that overlap the given offsets. Useful for finding the
|
|
6051
|
-
* items that bound different windows of content, such as the visible area or the buffered overscan
|
|
6052
|
-
* area.
|
|
6053
|
-
*/
|
|
6054
5968
|
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics) {
|
|
6055
5969
|
var zoomScale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
6056
5970
|
var itemCount = props.getItemCount(props.data);
|
|
@@ -6060,14 +5974,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6060
5974
|
var left = 0;
|
|
6061
5975
|
var right = itemCount - 1;
|
|
6062
5976
|
while (left <= right) {
|
|
6063
|
-
// eslint-disable-next-line no-bitwise
|
|
6064
5977
|
var mid = left + (right - left >>> 1);
|
|
6065
5978
|
var frame = getFrameMetrics(mid, props);
|
|
6066
5979
|
var scaledOffsetStart = frame.offset * zoomScale;
|
|
6067
5980
|
var scaledOffsetEnd = (frame.offset + frame.length) * zoomScale;
|
|
6068
|
-
|
|
6069
|
-
// We want the first frame that contains the offset, with inclusive bounds. Thus, for the
|
|
6070
|
-
// first frame the scaledOffsetStart is inclusive, while for other frames it is exclusive.
|
|
6071
5981
|
if (mid === 0 && currentOffset < scaledOffsetStart || mid !== 0 && currentOffset <= scaledOffsetStart) {
|
|
6072
5982
|
right = mid - 1;
|
|
6073
5983
|
} else if (currentOffset > scaledOffsetEnd) {
|
|
@@ -6080,23 +5990,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6080
5990
|
}
|
|
6081
5991
|
return result;
|
|
6082
5992
|
}
|
|
6083
|
-
|
|
6084
|
-
/**
|
|
6085
|
-
* Computes the number of elements in the `next` range that are new compared to the `prev` range.
|
|
6086
|
-
* Handy for calculating how many new items will be rendered when the render window changes so we
|
|
6087
|
-
* can restrict the number of new items render at once so that content can appear on the screen
|
|
6088
|
-
* faster.
|
|
6089
|
-
*/
|
|
6090
5993
|
function newRangeCount(prev, next) {
|
|
6091
5994
|
return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));
|
|
6092
5995
|
}
|
|
6093
|
-
|
|
6094
|
-
/**
|
|
6095
|
-
* Custom logic for determining which items should be rendered given the current frame and scroll
|
|
6096
|
-
* metrics, as well as the previous render state. The algorithm may evolve over time, but generally
|
|
6097
|
-
* prioritizes the visible area first, then expands that with overscan regions ahead and behind,
|
|
6098
|
-
* biased in the direction of scroll.
|
|
6099
|
-
*/
|
|
6100
5996
|
function computeWindowedRenderLimits(props, maxToRenderPerBatch, windowSize, prev, getFrameMetricsApprox, scrollMetrics) {
|
|
6101
5997
|
var itemCount = props.getItemCount(props.data);
|
|
6102
5998
|
if (itemCount === 0) {
|
|
@@ -6110,30 +6006,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6110
6006
|
visibleLength = scrollMetrics.visibleLength,
|
|
6111
6007
|
_scrollMetrics$zoomSc = scrollMetrics.zoomScale,
|
|
6112
6008
|
zoomScale = _scrollMetrics$zoomSc === undefined ? 1 : _scrollMetrics$zoomSc;
|
|
6113
|
-
|
|
6114
|
-
// Start with visible area, then compute maximum overscan region by expanding from there, biased
|
|
6115
|
-
// in the direction of scroll. Total overscan area is capped, which should cap memory consumption
|
|
6116
|
-
// too.
|
|
6117
6009
|
var visibleBegin = Math.max(0, offset);
|
|
6118
6010
|
var visibleEnd = visibleBegin + visibleLength;
|
|
6119
6011
|
var overscanLength = (windowSize - 1) * visibleLength;
|
|
6120
|
-
|
|
6121
|
-
// Considering velocity seems to introduce more churn than it's worth.
|
|
6122
|
-
var leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));
|
|
6123
|
-
|
|
6012
|
+
var leadFactor = 0.5;
|
|
6124
6013
|
var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';
|
|
6125
6014
|
var overscanBegin = Math.max(0, visibleBegin - 0.5 * overscanLength);
|
|
6126
6015
|
var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);
|
|
6127
6016
|
var lastItemOffset = getFrameMetricsApprox(itemCount - 1, props).offset * zoomScale;
|
|
6128
6017
|
if (lastItemOffset < overscanBegin) {
|
|
6129
|
-
// Entire list is before our overscan window
|
|
6130
6018
|
return {
|
|
6131
6019
|
first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),
|
|
6132
6020
|
last: itemCount - 1
|
|
6133
6021
|
};
|
|
6134
6022
|
}
|
|
6135
|
-
|
|
6136
|
-
// Find the indices that correspond to the items at the render boundaries we're targeting.
|
|
6137
6023
|
var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props, getFrameMetricsApprox, zoomScale),
|
|
6138
6024
|
_elementsThatOverlapO2 = (0, _slicedToArray2.default)(_elementsThatOverlapO, 4),
|
|
6139
6025
|
overscanFirst = _elementsThatOverlapO2[0],
|
|
@@ -6148,15 +6034,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6148
6034
|
first: first,
|
|
6149
6035
|
last: last
|
|
6150
6036
|
};
|
|
6151
|
-
|
|
6152
|
-
// We want to limit the number of new cells we're rendering per batch so that we can fill the
|
|
6153
|
-
// content on the screen quickly. If we rendered the entire overscan window at once, the user
|
|
6154
|
-
// could be staring at white space for a long time waiting for a bunch of offscreen content to
|
|
6155
|
-
// render.
|
|
6156
6037
|
var newCellCount = newRangeCount(prev, visible);
|
|
6157
6038
|
while (true) {
|
|
6158
6039
|
if (first <= overscanFirst && last >= overscanLast) {
|
|
6159
|
-
// If we fill the entire overscan range, we're done.
|
|
6160
6040
|
break;
|
|
6161
6041
|
}
|
|
6162
6042
|
var maxNewCells = newCellCount >= maxToRenderPerBatch;
|
|
@@ -6165,10 +6045,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6165
6045
|
var lastWillAddMore = last >= prev.last || last < prev.first;
|
|
6166
6046
|
var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);
|
|
6167
6047
|
if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {
|
|
6168
|
-
// We only want to stop if we've hit maxNewCells AND we cannot increment first or last
|
|
6169
|
-
// without rendering new items. This let's us preserve as many already rendered items as
|
|
6170
|
-
// possible, reducing render churn and keeping the rendered overscan range as large as
|
|
6171
|
-
// possible.
|
|
6172
6048
|
break;
|
|
6173
6049
|
}
|
|
6174
6050
|
if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {
|
|
@@ -6208,7 +6084,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6208
6084
|
}
|
|
6209
6085
|
return String(index);
|
|
6210
6086
|
}
|
|
6211
|
-
},"a26dbe2a3afa21c3cf22",["
|
|
6087
|
+
},"a26dbe2a3afa21c3cf22",["277a84013d7e1a1ace05","d73b3a84588342abd1b6"]);
|
|
6212
6088
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
6213
6089
|
var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
6214
6090
|
var _defineProperty2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -6229,62 +6105,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6229
6105
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17]));
|
|
6230
6106
|
var _nullthrows = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18]));
|
|
6231
6107
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[19]));
|
|
6232
|
-
function
|
|
6233
|
-
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; }
|
|
6108
|
+
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); }
|
|
6234
6109
|
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)); }
|
|
6235
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6236
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6237
|
-
*
|
|
6238
|
-
* This source code is licensed under the MIT license found in the
|
|
6239
|
-
* LICENSE file in the root directory of this source tree.
|
|
6240
|
-
*
|
|
6241
|
-
*
|
|
6242
|
-
* @format
|
|
6243
|
-
*/
|
|
6110
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6244
6111
|
var ON_EDGE_REACHED_EPSILON = 0.001;
|
|
6245
6112
|
var _usedIndexForKey = false;
|
|
6246
6113
|
var _keylessItemComponentName = '';
|
|
6247
|
-
/**
|
|
6248
|
-
* Default Props Helper Functions
|
|
6249
|
-
* Use the following helper functions for default values
|
|
6250
|
-
*/
|
|
6251
|
-
|
|
6252
|
-
// horizontalOrDefault(this.props.horizontal)
|
|
6253
6114
|
function horizontalOrDefault(horizontal) {
|
|
6254
6115
|
return horizontal != null ? horizontal : false;
|
|
6255
6116
|
}
|
|
6256
|
-
|
|
6257
|
-
// initialNumToRenderOrDefault(this.props.initialNumToRender)
|
|
6258
6117
|
function initialNumToRenderOrDefault(initialNumToRender) {
|
|
6259
6118
|
return initialNumToRender != null ? initialNumToRender : 10;
|
|
6260
6119
|
}
|
|
6261
|
-
|
|
6262
|
-
// maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)
|
|
6263
6120
|
function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
|
|
6264
6121
|
return maxToRenderPerBatch != null ? maxToRenderPerBatch : 10;
|
|
6265
6122
|
}
|
|
6266
|
-
|
|
6267
|
-
// onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold)
|
|
6268
6123
|
function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
|
|
6269
6124
|
return onStartReachedThreshold != null ? onStartReachedThreshold : 2;
|
|
6270
6125
|
}
|
|
6271
|
-
|
|
6272
|
-
// onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)
|
|
6273
6126
|
function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
|
|
6274
6127
|
return onEndReachedThreshold != null ? onEndReachedThreshold : 2;
|
|
6275
6128
|
}
|
|
6276
|
-
|
|
6277
|
-
// getScrollingThreshold(visibleLength, onEndReachedThreshold)
|
|
6278
6129
|
function getScrollingThreshold(threshold, visibleLength) {
|
|
6279
6130
|
return threshold * visibleLength / 2;
|
|
6280
6131
|
}
|
|
6281
|
-
|
|
6282
|
-
// scrollEventThrottleOrDefault(this.props.scrollEventThrottle)
|
|
6283
6132
|
function scrollEventThrottleOrDefault(scrollEventThrottle) {
|
|
6284
6133
|
return scrollEventThrottle != null ? scrollEventThrottle : 50;
|
|
6285
6134
|
}
|
|
6286
|
-
|
|
6287
|
-
// windowSizeOrDefault(this.props.windowSize)
|
|
6288
6135
|
function windowSizeOrDefault(windowSize) {
|
|
6289
6136
|
return windowSize != null ? windowSize : 21;
|
|
6290
6137
|
}
|
|
@@ -6296,47 +6143,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6296
6143
|
}
|
|
6297
6144
|
return null;
|
|
6298
6145
|
}
|
|
6299
|
-
|
|
6300
|
-
/**
|
|
6301
|
-
* Base implementation for the more convenient [`<FlatList>`](https://reactnative.dev/docs/flatlist)
|
|
6302
|
-
* and [`<SectionList>`](https://reactnative.dev/docs/sectionlist) components, which are also better
|
|
6303
|
-
* documented. In general, this should only really be used if you need more flexibility than
|
|
6304
|
-
* `FlatList` provides, e.g. for use with immutable data instead of plain arrays.
|
|
6305
|
-
*
|
|
6306
|
-
* Virtualization massively improves memory consumption and performance of large lists by
|
|
6307
|
-
* maintaining a finite render window of active items and replacing all items outside of the render
|
|
6308
|
-
* window with appropriately sized blank space. The window adapts to scrolling behavior, and items
|
|
6309
|
-
* are rendered incrementally with low-pri (after any running interactions) if they are far from the
|
|
6310
|
-
* visible area, or with hi-pri otherwise to minimize the potential of seeing blank space.
|
|
6311
|
-
*
|
|
6312
|
-
* Some caveats:
|
|
6313
|
-
*
|
|
6314
|
-
* - Internal state is not preserved when content scrolls out of the render window. Make sure all
|
|
6315
|
-
* your data is captured in the item data or external stores like Flux, Redux, or Relay.
|
|
6316
|
-
* - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-
|
|
6317
|
-
* equal. Make sure that everything your `renderItem` function depends on is passed as a prop
|
|
6318
|
-
* (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on
|
|
6319
|
-
* changes. This includes the `data` prop and parent component state.
|
|
6320
|
-
* - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously
|
|
6321
|
-
* offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see
|
|
6322
|
-
* blank content. This is a tradeoff that can be adjusted to suit the needs of each application,
|
|
6323
|
-
* and we are working on improving it behind the scenes.
|
|
6324
|
-
* - By default, the list looks for a `key` or `id` prop on each item and uses that for the React key.
|
|
6325
|
-
* Alternatively, you can provide a custom `keyExtractor` prop.
|
|
6326
|
-
* - As an effort to remove defaultProps, use helper functions when referencing certain props
|
|
6327
|
-
*
|
|
6328
|
-
*/
|
|
6329
6146
|
var VirtualizedList = /*#__PURE__*/function (_StateSafePureCompone) {
|
|
6330
6147
|
function VirtualizedList(_props) {
|
|
6331
6148
|
var _this$props$updateCel, _this$props$maintainV, _this$props$maintainV2;
|
|
6332
6149
|
var _this;
|
|
6333
6150
|
(0, _classCallCheck2.default)(this, VirtualizedList);
|
|
6334
6151
|
_this = _callSuper(this, VirtualizedList, [_props]);
|
|
6335
|
-
// $FlowFixMe[missing-local-annot]
|
|
6336
6152
|
_this._getScrollMetrics = function () {
|
|
6337
6153
|
return _this._scrollMetrics;
|
|
6338
6154
|
};
|
|
6339
|
-
// $FlowFixMe[missing-local-annot]
|
|
6340
6155
|
_this._getOutermostParentListRef = function () {
|
|
6341
6156
|
if (_this._isNestedWithSameOrientation()) {
|
|
6342
6157
|
return _this.context.getOutermostParentListRef();
|
|
@@ -6366,21 +6181,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6366
6181
|
_this._cellRefs = {};
|
|
6367
6182
|
_this._frames = {};
|
|
6368
6183
|
_this._footerLength = 0;
|
|
6369
|
-
// Used for preventing scrollToIndex from being called multiple times for initialScrollIndex
|
|
6370
6184
|
_this._hasTriggeredInitialScrollToIndex = false;
|
|
6371
6185
|
_this._hasInteracted = false;
|
|
6372
6186
|
_this._hasMore = false;
|
|
6373
6187
|
_this._hasWarned = {};
|
|
6374
6188
|
_this._headerLength = 0;
|
|
6375
6189
|
_this._hiPriInProgress = false;
|
|
6376
|
-
// flag to prevent infinite hiPri cell limit update
|
|
6377
6190
|
_this._highestMeasuredFrameIndex = 0;
|
|
6378
6191
|
_this._indicesToKeys = new Map();
|
|
6379
6192
|
_this._lastFocusedCellKey = null;
|
|
6380
6193
|
_this._nestedChildLists = new _ChildListCollection.default();
|
|
6381
6194
|
_this._offsetFromParentVirtualizedList = 0;
|
|
6382
6195
|
_this._prevParentOffset = 0;
|
|
6383
|
-
// $FlowFixMe[missing-local-annot]
|
|
6384
6196
|
_this._scrollMetrics = {
|
|
6385
6197
|
contentLength: 0,
|
|
6386
6198
|
dOffset: 0,
|
|
@@ -6397,38 +6209,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6397
6209
|
_this._totalCellLength = 0;
|
|
6398
6210
|
_this._totalCellsMeasured = 0;
|
|
6399
6211
|
_this._viewabilityTuples = [];
|
|
6400
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6401
|
-
* LTI update could not be added via codemod */
|
|
6402
6212
|
_this._captureScrollRef = function (ref) {
|
|
6403
6213
|
_this._scrollRef = ref;
|
|
6404
6214
|
};
|
|
6405
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6406
|
-
* LTI update could not be added via codemod */
|
|
6407
6215
|
_this._defaultRenderScrollComponent = function (props) {
|
|
6408
6216
|
var onRefresh = props.onRefresh;
|
|
6409
6217
|
if (_this._isNestedWithSameOrientation()) {
|
|
6410
|
-
// $FlowFixMe[prop-missing] - Typing ReactNativeComponent revealed errors
|
|
6411
6218
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, Object.assign({}, props));
|
|
6412
6219
|
} else if (onRefresh) {
|
|
6413
6220
|
var _props$refreshing;
|
|
6414
6221
|
(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') + '`');
|
|
6415
|
-
return (
|
|
6416
|
-
/*#__PURE__*/
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
, {
|
|
6423
|
-
refreshing: props.refreshing,
|
|
6424
|
-
onRefresh: onRefresh,
|
|
6425
|
-
progressViewOffset: props.progressViewOffset
|
|
6426
|
-
}) : props.refreshControl
|
|
6427
|
-
}))
|
|
6428
|
-
);
|
|
6222
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props, {
|
|
6223
|
+
refreshControl: props.refreshControl == null ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.RefreshControl, {
|
|
6224
|
+
refreshing: props.refreshing,
|
|
6225
|
+
onRefresh: onRefresh,
|
|
6226
|
+
progressViewOffset: props.progressViewOffset
|
|
6227
|
+
}) : props.refreshControl
|
|
6228
|
+
}));
|
|
6429
6229
|
} else {
|
|
6430
|
-
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
6431
|
-
// $FlowFixMe[incompatible-use]
|
|
6432
6230
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props));
|
|
6433
6231
|
}
|
|
6434
6232
|
};
|
|
@@ -6466,8 +6264,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6466
6264
|
};
|
|
6467
6265
|
_this._onLayout = function (e) {
|
|
6468
6266
|
if (_this._isNestedWithSameOrientation()) {
|
|
6469
|
-
// Need to adjust our scroll metrics to be relative to our containing
|
|
6470
|
-
// VirtualizedList before we can make claims about list item viewability
|
|
6471
6267
|
_this.measureLayoutRelativeToContainingList();
|
|
6472
6268
|
} else {
|
|
6473
6269
|
_this._scrollMetrics.visibleLength = _this._selectLength(e.nativeEvent.layout);
|
|
@@ -6512,13 +6308,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6512
6308
|
_this._scheduleCellsToRenderUpdate();
|
|
6513
6309
|
_this._maybeCallOnEdgeReached();
|
|
6514
6310
|
};
|
|
6515
|
-
/* Translates metrics from a scroll event in a parent VirtualizedList into
|
|
6516
|
-
* coordinates relative to the child list.
|
|
6517
|
-
*/
|
|
6518
6311
|
_this._convertParentScrollMetrics = function (metrics) {
|
|
6519
|
-
// Offset of the top of the nested list relative to the top of its parent's viewport
|
|
6520
6312
|
var offset = metrics.offset - _this._offsetFromParentVirtualizedList;
|
|
6521
|
-
// Child's visible length is the same as its parent's
|
|
6522
6313
|
var visibleLength = metrics.visibleLength;
|
|
6523
6314
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6524
6315
|
var contentLength = _this._scrollMetrics.contentLength;
|
|
@@ -6543,8 +6334,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6543
6334
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6544
6335
|
if (_this._isNestedWithSameOrientation()) {
|
|
6545
6336
|
if (_this._scrollMetrics.contentLength === 0) {
|
|
6546
|
-
// Ignore scroll events until onLayout has been called and we
|
|
6547
|
-
// know our offset from our offset from our parent
|
|
6548
6337
|
return;
|
|
6549
6338
|
}
|
|
6550
6339
|
var _this$_convertParentS = _this._convertParentScrollMetrics({
|
|
@@ -6566,8 +6355,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6566
6355
|
});
|
|
6567
6356
|
_this._hasWarned.perf = true;
|
|
6568
6357
|
}
|
|
6569
|
-
|
|
6570
|
-
// For invalid negative values (w/ RTL), set this to 1.
|
|
6571
6358
|
var zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
|
|
6572
6359
|
_this._scrollMetrics = {
|
|
6573
6360
|
contentLength: contentLength,
|
|
@@ -6646,9 +6433,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6646
6433
|
};
|
|
6647
6434
|
});
|
|
6648
6435
|
};
|
|
6649
|
-
_this._createViewToken = function (index, isViewable, props
|
|
6650
|
-
// $FlowFixMe[missing-local-annot]
|
|
6651
|
-
) {
|
|
6436
|
+
_this._createViewToken = function (index, isViewable, props) {
|
|
6652
6437
|
var data = props.data,
|
|
6653
6438
|
getItem = props.getItem;
|
|
6654
6439
|
var item = getItem(data, index);
|
|
@@ -6659,10 +6444,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6659
6444
|
isViewable: isViewable
|
|
6660
6445
|
};
|
|
6661
6446
|
};
|
|
6662
|
-
/**
|
|
6663
|
-
* Gets an approximate offset to an item at a given index. Supports
|
|
6664
|
-
* fractional indices.
|
|
6665
|
-
*/
|
|
6666
6447
|
_this._getOffsetApprox = function (index, props) {
|
|
6667
6448
|
if (Number.isInteger(index)) {
|
|
6668
6449
|
return _this.__getFrameMetricsApprox(index, props).offset;
|
|
@@ -6675,7 +6456,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6675
6456
|
_this.__getFrameMetricsApprox = function (index, props) {
|
|
6676
6457
|
var frame = _this._getFrameMetrics(index, props);
|
|
6677
6458
|
if (frame && frame.index === index) {
|
|
6678
|
-
// check for invalid frames due to row re-ordering
|
|
6679
6459
|
return frame;
|
|
6680
6460
|
} else {
|
|
6681
6461
|
var data = props.data,
|
|
@@ -6697,27 +6477,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6697
6477
|
var frame = _this._frames[VirtualizedList._getItemKey(props, index)];
|
|
6698
6478
|
if (!frame || frame.index !== index) {
|
|
6699
6479
|
if (getItemLayout) {
|
|
6700
|
-
/* $FlowFixMe[prop-missing] (>=0.63.0 site=react_native_fb) This comment
|
|
6701
|
-
* suppresses an error found when Flow v0.63 was deployed. To see the error
|
|
6702
|
-
* delete this comment and run Flow. */
|
|
6703
6480
|
return getItemLayout(data, index);
|
|
6704
6481
|
}
|
|
6705
6482
|
}
|
|
6706
6483
|
return frame;
|
|
6707
6484
|
};
|
|
6708
6485
|
_this._getNonViewportRenderRegions = function (props) {
|
|
6709
|
-
// Keep a viewport's worth of content around the last focused cell to allow
|
|
6710
|
-
// random navigation around it without any blanking. E.g. tabbing from one
|
|
6711
|
-
// focused item out of viewport to another.
|
|
6712
6486
|
if (!(_this._lastFocusedCellKey && _this._cellRefs[_this._lastFocusedCellKey])) {
|
|
6713
6487
|
return [];
|
|
6714
6488
|
}
|
|
6715
6489
|
var lastFocusedCellRenderer = _this._cellRefs[_this._lastFocusedCellKey];
|
|
6716
6490
|
var focusedCellIndex = lastFocusedCellRenderer.props.index;
|
|
6717
6491
|
var itemCount = props.getItemCount(props.data);
|
|
6718
|
-
|
|
6719
|
-
// The last cell we rendered may be at a new index. Bail if we don't know
|
|
6720
|
-
// where it is.
|
|
6721
6492
|
if (focusedCellIndex >= itemCount || VirtualizedList._getItemKey(props, focusedCellIndex) !== _this._lastFocusedCellKey) {
|
|
6722
6493
|
return [];
|
|
6723
6494
|
}
|
|
@@ -6765,9 +6536,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6765
6536
|
cellsAroundViewport: initialRenderRegion,
|
|
6766
6537
|
renderMask: VirtualizedList._createRenderMask(_props, initialRenderRegion),
|
|
6767
6538
|
firstVisibleItemKey: _this.props.getItemCount(_this.props.data) > minIndexForVisible ? VirtualizedList._getItemKey(_this.props, minIndexForVisible) : null,
|
|
6768
|
-
// When we have a non-zero initialScrollIndex, we will receive a
|
|
6769
|
-
// scroll event later so this will prevent the window from updating
|
|
6770
|
-
// until we get a valid offset.
|
|
6771
6539
|
pendingScrollUpdateCount: _this.props.initialScrollIndex != null && _this.props.initialScrollIndex > 0 ? 1 : 0
|
|
6772
6540
|
};
|
|
6773
6541
|
return _this;
|
|
@@ -6775,9 +6543,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6775
6543
|
(0, _inherits2.default)(VirtualizedList, _StateSafePureCompone);
|
|
6776
6544
|
return (0, _createClass2.default)(VirtualizedList, [{
|
|
6777
6545
|
key: "scrollToEnd",
|
|
6778
|
-
value:
|
|
6779
|
-
// scrollToEnd may be janky without getItemLayout prop
|
|
6780
|
-
function scrollToEnd(params) {
|
|
6546
|
+
value: function scrollToEnd(params) {
|
|
6781
6547
|
var animated = params ? params.animated : true;
|
|
6782
6548
|
var veryLast = this.props.getItemCount(this.props.data) - 1;
|
|
6783
6549
|
if (veryLast < 0) {
|
|
@@ -6800,8 +6566,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6800
6566
|
animated: animated
|
|
6801
6567
|
});
|
|
6802
6568
|
}
|
|
6803
|
-
|
|
6804
|
-
// scrollToIndex may be janky without getItemLayout prop
|
|
6805
6569
|
}, {
|
|
6806
6570
|
key: "scrollToIndex",
|
|
6807
6571
|
value: function scrollToIndex(params) {
|
|
@@ -6844,9 +6608,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6844
6608
|
animated: animated
|
|
6845
6609
|
});
|
|
6846
6610
|
}
|
|
6847
|
-
|
|
6848
|
-
// scrollToItem may be janky without getItemLayout prop. Required linear scan through items -
|
|
6849
|
-
// use scrollToIndex instead if possible.
|
|
6850
6611
|
}, {
|
|
6851
6612
|
key: "scrollToItem",
|
|
6852
6613
|
value: function scrollToItem(params) {
|
|
@@ -6865,17 +6626,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6865
6626
|
}
|
|
6866
6627
|
}
|
|
6867
6628
|
}
|
|
6868
|
-
|
|
6869
|
-
/**
|
|
6870
|
-
* Scroll to a specific content pixel offset in the list.
|
|
6871
|
-
*
|
|
6872
|
-
* Param `offset` expects the offset to scroll to.
|
|
6873
|
-
* In case of `horizontal` is true, the offset is the x-value,
|
|
6874
|
-
* in any other case the offset is the y-value.
|
|
6875
|
-
*
|
|
6876
|
-
* Param `animated` (`true` by default) defines whether the list
|
|
6877
|
-
* should do an animation while scrolling.
|
|
6878
|
-
*/
|
|
6879
6629
|
}, {
|
|
6880
6630
|
key: "scrollToOffset",
|
|
6881
6631
|
value: function scrollToOffset(params) {
|
|
@@ -6915,12 +6665,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6915
6665
|
}
|
|
6916
6666
|
this._scrollRef.flashScrollIndicators();
|
|
6917
6667
|
}
|
|
6918
|
-
|
|
6919
|
-
/**
|
|
6920
|
-
* Provides a handle to the underlying scroll responder.
|
|
6921
|
-
* Note that `this._scrollRef` might not be a `ScrollView`, so we
|
|
6922
|
-
* need to check that it responds to `getScrollResponder` before calling it.
|
|
6923
|
-
*/
|
|
6924
6668
|
}, {
|
|
6925
6669
|
key: "getScrollResponder",
|
|
6926
6670
|
value: function getScrollResponder() {
|
|
@@ -6972,9 +6716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6972
6716
|
getItemCount = props.getItemCount,
|
|
6973
6717
|
data = props.data,
|
|
6974
6718
|
initialScrollIndex = props.initialScrollIndex;
|
|
6975
|
-
(0, _invariant.default)(
|
|
6976
|
-
// $FlowFixMe[prop-missing]
|
|
6977
|
-
!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6719
|
+
(0, _invariant.default)(!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6978
6720
|
(0, _invariant.default)(windowSizeOrDefault(windowSize) > 0, 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.');
|
|
6979
6721
|
(0, _invariant.default)(getItemCount, 'VirtualizedList: The "getItemCount" prop must be provided');
|
|
6980
6722
|
var itemCount = getItemCount(data);
|
|
@@ -6994,9 +6736,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6994
6736
|
offset = _this$_scrollMetrics.offset,
|
|
6995
6737
|
visibleLength = _this$_scrollMetrics.visibleLength;
|
|
6996
6738
|
var distanceFromEnd = contentLength - visibleLength - offset;
|
|
6997
|
-
|
|
6998
|
-
// Wait until the scroll view metrics have been set up. And until then,
|
|
6999
|
-
// we will trust the initialNumToRender suggestion
|
|
7000
6739
|
if (visibleLength <= 0 || contentLength <= 0) {
|
|
7001
6740
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
7002
6741
|
}
|
|
@@ -7008,8 +6747,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7008
6747
|
last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
|
|
7009
6748
|
};
|
|
7010
6749
|
} else {
|
|
7011
|
-
// If we have a pending scroll update, we should not adjust the render window as it
|
|
7012
|
-
// might override the correct window.
|
|
7013
6750
|
if (pendingScrollUpdateCount > 0) {
|
|
7014
6751
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
7015
6752
|
}
|
|
@@ -7017,12 +6754,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7017
6754
|
(0, _invariant.default)(newCellsAroundViewport.last < getItemCount(data), 'computeWindowedRenderLimits() should return range in-bounds');
|
|
7018
6755
|
}
|
|
7019
6756
|
if (this._nestedChildLists.size() > 0) {
|
|
7020
|
-
// If some cell in the new state has a child list in it, we should only render
|
|
7021
|
-
// up through that item, so that we give that list a chance to render.
|
|
7022
|
-
// Otherwise there's churn from multiple child lists mounting and un-mounting
|
|
7023
|
-
// their items.
|
|
7024
|
-
|
|
7025
|
-
// Will this prevent rendering if the nested list doesn't realize the end?
|
|
7026
6757
|
var childIdx = this._findFirstChildWithMore(newCellsAroundViewport.first, newCellsAroundViewport.last);
|
|
7027
6758
|
newCellsAroundViewport.last = childIdx != null ? childIdx : newCellsAroundViewport.last;
|
|
7028
6759
|
}
|
|
@@ -7145,42 +6876,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7145
6876
|
var cells = [];
|
|
7146
6877
|
var stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);
|
|
7147
6878
|
var stickyHeaderIndices = [];
|
|
7148
|
-
|
|
7149
|
-
// 1. Add cell for ListHeaderComponent
|
|
7150
6879
|
if (ListHeaderComponent) {
|
|
7151
6880
|
if (stickyIndicesFromProps.has(0)) {
|
|
7152
6881
|
stickyHeaderIndices.push(0);
|
|
7153
6882
|
}
|
|
7154
|
-
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent :
|
|
7155
|
-
/*#__PURE__*/
|
|
7156
|
-
// $FlowFixMe[not-a-component]
|
|
7157
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
7158
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
6883
|
+
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
7159
6884
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7160
6885
|
cellKey: this._getCellKey() + '-header',
|
|
7161
|
-
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View
|
|
7162
|
-
// We expect that header component will be a single native view so make it
|
|
7163
|
-
// not collapsable to avoid this view being flattened and make this assumption
|
|
7164
|
-
// no longer true.
|
|
7165
|
-
, {
|
|
6886
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
7166
6887
|
collapsable: false,
|
|
7167
6888
|
onLayout: this._onLayoutHeader,
|
|
7168
6889
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListHeaderComponentStyle),
|
|
7169
|
-
children:
|
|
7170
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
7171
|
-
_element
|
|
6890
|
+
children: _element
|
|
7172
6891
|
})
|
|
7173
6892
|
}, "$header"));
|
|
7174
6893
|
}
|
|
7175
|
-
|
|
7176
|
-
// 2a. Add a cell for ListEmptyComponent if applicable
|
|
7177
6894
|
var itemCount = this.props.getItemCount(data);
|
|
7178
6895
|
if (itemCount === 0 && ListEmptyComponent) {
|
|
7179
|
-
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent :
|
|
7180
|
-
/*#__PURE__*/
|
|
7181
|
-
// $FlowFixMe[not-a-component]
|
|
7182
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
7183
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
6896
|
+
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
7184
6897
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7185
6898
|
cellKey: this._getCellKey() + '-empty',
|
|
7186
6899
|
children: React.cloneElement(_element2, {
|
|
@@ -7194,8 +6907,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7194
6907
|
})
|
|
7195
6908
|
}, "$empty"));
|
|
7196
6909
|
}
|
|
7197
|
-
|
|
7198
|
-
// 2b. Add cells and spacers for each item
|
|
7199
6910
|
if (itemCount > 0) {
|
|
7200
6911
|
_usedIndexForKey = false;
|
|
7201
6912
|
_keylessItemComponentName = '';
|
|
@@ -7206,15 +6917,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7206
6917
|
});
|
|
7207
6918
|
for (var section of renderRegions) {
|
|
7208
6919
|
if (section.isSpacer) {
|
|
7209
|
-
// Legacy behavior is to avoid spacers when virtualization is
|
|
7210
|
-
// disabled (including head spacers on initial render).
|
|
7211
6920
|
if (this.props.disableVirtualization) {
|
|
7212
6921
|
continue;
|
|
7213
6922
|
}
|
|
7214
|
-
|
|
7215
|
-
// Without getItemLayout, we limit our tail spacer to the _highestMeasuredFrameIndex to
|
|
7216
|
-
// prevent the user for hyperscrolling into un-measured area because otherwise content will
|
|
7217
|
-
// likely jump around as it renders in above the viewport.
|
|
7218
6923
|
var isLastSpacer = section === lastSpacer;
|
|
7219
6924
|
var constrainToMeasured = isLastSpacer && !this.props.getItemLayout;
|
|
7220
6925
|
var last = constrainToMeasured ? (0, _clamp.default)(section.first - 1, section.last, this._highestMeasuredFrameIndex) : section.last;
|
|
@@ -7233,27 +6938,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7233
6938
|
this._hasWarned.keys = true;
|
|
7234
6939
|
}
|
|
7235
6940
|
}
|
|
7236
|
-
|
|
7237
|
-
// 3. Add cell for ListFooterComponent
|
|
7238
6941
|
if (ListFooterComponent) {
|
|
7239
|
-
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent :
|
|
7240
|
-
/*#__PURE__*/
|
|
7241
|
-
// $FlowFixMe[not-a-component]
|
|
7242
|
-
// $FlowFixMe[incompatible-type-arg]
|
|
7243
|
-
(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
6942
|
+
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
7244
6943
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7245
6944
|
cellKey: this._getFooterCellKey(),
|
|
7246
6945
|
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
7247
6946
|
onLayout: this._onLayoutFooter,
|
|
7248
6947
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListFooterComponentStyle),
|
|
7249
|
-
children:
|
|
7250
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
7251
|
-
_element3
|
|
6948
|
+
children: _element3
|
|
7252
6949
|
})
|
|
7253
6950
|
}, "$footer"));
|
|
7254
6951
|
}
|
|
7255
|
-
|
|
7256
|
-
// 4. Render the ScrollView
|
|
7257
6952
|
var scrollProps = Object.assign({}, this.props, {
|
|
7258
6953
|
onContentSizeChange: this._onContentSizeChange,
|
|
7259
6954
|
onLayout: this._onLayout,
|
|
@@ -7263,13 +6958,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7263
6958
|
onMomentumScrollBegin: this._onMomentumScrollBegin,
|
|
7264
6959
|
onMomentumScrollEnd: this._onMomentumScrollEnd,
|
|
7265
6960
|
scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
|
|
7266
|
-
// TODO: Android support
|
|
7267
6961
|
invertStickyHeaders: this.props.invertStickyHeaders !== undefined ? this.props.invertStickyHeaders : this.props.inverted,
|
|
7268
6962
|
stickyHeaderIndices: stickyHeaderIndices,
|
|
7269
6963
|
style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style,
|
|
7270
6964
|
isInvertedVirtualizedList: this.props.inverted,
|
|
7271
6965
|
maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ? Object.assign({}, this.props.maintainVisibleContentPosition, {
|
|
7272
|
-
// Adjust index to account for ListHeaderComponent.
|
|
7273
6966
|
minIndexForVisible: this.props.maintainVisibleContentPosition.minIndexForVisible + (this.props.ListHeaderComponent ? 1 : 0)
|
|
7274
6967
|
}) : undefined
|
|
7275
6968
|
});
|
|
@@ -7304,22 +6997,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7304
6997
|
data = _this$props7.data,
|
|
7305
6998
|
extraData = _this$props7.extraData;
|
|
7306
6999
|
if (data !== prevProps.data || extraData !== prevProps.extraData) {
|
|
7307
|
-
// clear the viewableIndices cache to also trigger
|
|
7308
|
-
// the onViewableItemsChanged callback with the new data
|
|
7309
7000
|
this._viewabilityTuples.forEach(function (tuple) {
|
|
7310
7001
|
tuple.viewabilityHelper.resetViewableIndices();
|
|
7311
7002
|
});
|
|
7312
7003
|
}
|
|
7313
|
-
// The `this._hiPriInProgress` is guaranteeing a hiPri cell update will only happen
|
|
7314
|
-
// once per fiber update. The `_scheduleCellsToRenderUpdate` will set it to true
|
|
7315
|
-
// if a hiPri update needs to perform. If `componentDidUpdate` is triggered with
|
|
7316
|
-
// `this._hiPriInProgress=true`, means it's triggered by the hiPri update. The
|
|
7317
|
-
// `_scheduleCellsToRenderUpdate` will check this condition and not perform
|
|
7318
|
-
// another hiPri update.
|
|
7319
7004
|
var hiPriInProgress = this._hiPriInProgress;
|
|
7320
7005
|
this._scheduleCellsToRenderUpdate();
|
|
7321
|
-
// Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`
|
|
7322
|
-
// is triggered with `this._hiPriInProgress = true`
|
|
7323
7006
|
if (hiPriInProgress) {
|
|
7324
7007
|
this._hiPriInProgress = false;
|
|
7325
7008
|
}
|
|
@@ -7346,14 +7029,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7346
7029
|
key: "measureLayoutRelativeToContainingList",
|
|
7347
7030
|
value: function measureLayoutRelativeToContainingList() {
|
|
7348
7031
|
var _this4 = this;
|
|
7349
|
-
// TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find
|
|
7350
|
-
// node on an unmounted component" during scrolling
|
|
7351
7032
|
try {
|
|
7352
7033
|
if (!this._scrollRef) {
|
|
7353
7034
|
return;
|
|
7354
7035
|
}
|
|
7355
|
-
// We are assuming that getOutermostParentListRef().getScrollRef()
|
|
7356
|
-
// is a non-null reference to a ScrollView
|
|
7357
7036
|
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(), function (x, y, width, height) {
|
|
7358
7037
|
_this4._offsetFromParentVirtualizedList = _this4._selectOffset({
|
|
7359
7038
|
x: x,
|
|
@@ -7368,9 +7047,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7368
7047
|
if (metricsChanged) {
|
|
7369
7048
|
_this4._scrollMetrics.visibleLength = scrollMetrics.visibleLength;
|
|
7370
7049
|
_this4._scrollMetrics.offset = scrollMetrics.offset;
|
|
7371
|
-
|
|
7372
|
-
// If metrics of the scrollView changed, then we triggered remeasure for child list
|
|
7373
|
-
// to ensure VirtualizedList has the right information.
|
|
7374
7050
|
_this4._nestedChildLists.forEach(function (childList) {
|
|
7375
7051
|
childList.measureLayoutRelativeToContainingList();
|
|
7376
7052
|
});
|
|
@@ -7389,17 +7065,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7389
7065
|
}
|
|
7390
7066
|
}, {
|
|
7391
7067
|
key: "_renderDebugOverlay",
|
|
7392
|
-
value:
|
|
7393
|
-
// $FlowFixMe[missing-local-annot]
|
|
7394
|
-
function _renderDebugOverlay() {
|
|
7068
|
+
value: function _renderDebugOverlay() {
|
|
7395
7069
|
var normalize = this._scrollMetrics.visibleLength / (this._scrollMetrics.contentLength || 1);
|
|
7396
7070
|
var framesInLayout = [];
|
|
7397
7071
|
var itemCount = this.props.getItemCount(this.props.data);
|
|
7398
7072
|
for (var ii = 0; ii < itemCount; ii++) {
|
|
7399
7073
|
var frame = this.__getFrameMetricsApprox(ii, this.props);
|
|
7400
|
-
/* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment
|
|
7401
|
-
* suppresses an error found when Flow v0.68 was deployed. To see the
|
|
7402
|
-
* error delete this comment and run Flow. */
|
|
7403
7074
|
if (frame.inLayout) {
|
|
7404
7075
|
framesInLayout.push(frame);
|
|
7405
7076
|
}
|
|
@@ -7451,8 +7122,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7451
7122
|
onStartReachedThreshold = _this$props8.onStartReachedThreshold,
|
|
7452
7123
|
onEndReached = _this$props8.onEndReached,
|
|
7453
7124
|
onEndReachedThreshold = _this$props8.onEndReachedThreshold;
|
|
7454
|
-
// If we have any pending scroll updates it means that the scroll metrics
|
|
7455
|
-
// are out of date and we should not call any of the edge reached callbacks.
|
|
7456
7125
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7457
7126
|
return;
|
|
7458
7127
|
}
|
|
@@ -7462,48 +7131,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7462
7131
|
offset = _this$_scrollMetrics2.offset;
|
|
7463
7132
|
var distanceFromStart = offset;
|
|
7464
7133
|
var distanceFromEnd = contentLength - visibleLength - offset;
|
|
7465
|
-
|
|
7466
|
-
// Especially when oERT is zero it's necessary to 'floor' very small distance values to be 0
|
|
7467
|
-
// since debouncing causes us to not fire this event for every single "pixel" we scroll and can thus
|
|
7468
|
-
// be at the edge of the list with a distance approximating 0 but not quite there.
|
|
7469
7134
|
if (distanceFromStart < ON_EDGE_REACHED_EPSILON) {
|
|
7470
7135
|
distanceFromStart = 0;
|
|
7471
7136
|
}
|
|
7472
7137
|
if (distanceFromEnd < ON_EDGE_REACHED_EPSILON) {
|
|
7473
7138
|
distanceFromEnd = 0;
|
|
7474
7139
|
}
|
|
7475
|
-
|
|
7476
|
-
// TODO: T121172172 Look into why we're "defaulting" to a threshold of 2px
|
|
7477
|
-
// when oERT is not present (different from 2 viewports used elsewhere)
|
|
7478
7140
|
var DEFAULT_THRESHOLD_PX = 2;
|
|
7479
7141
|
var startThreshold = onStartReachedThreshold != null ? onStartReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7480
7142
|
var endThreshold = onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7481
7143
|
var isWithinStartThreshold = distanceFromStart <= startThreshold;
|
|
7482
7144
|
var isWithinEndThreshold = distanceFromEnd <= endThreshold;
|
|
7483
|
-
|
|
7484
|
-
// First check if the user just scrolled within the end threshold
|
|
7485
|
-
// and call onEndReached only once for a given content length,
|
|
7486
|
-
// and only if onStartReached is not being executed
|
|
7487
7145
|
if (onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength) {
|
|
7488
7146
|
this._sentEndForContentLength = this._scrollMetrics.contentLength;
|
|
7489
7147
|
onEndReached({
|
|
7490
7148
|
distanceFromEnd: distanceFromEnd
|
|
7491
7149
|
});
|
|
7492
|
-
}
|
|
7493
|
-
|
|
7494
|
-
// Next check if the user just scrolled within the start threshold
|
|
7495
|
-
// and call onStartReached only once for a given content length,
|
|
7496
|
-
// and only if onEndReached is not being executed
|
|
7497
|
-
else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
7150
|
+
} else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
7498
7151
|
this._sentStartForContentLength = this._scrollMetrics.contentLength;
|
|
7499
7152
|
onStartReached({
|
|
7500
7153
|
distanceFromStart: distanceFromStart
|
|
7501
7154
|
});
|
|
7502
|
-
}
|
|
7503
|
-
|
|
7504
|
-
// If the user scrolls away from the start or end and back again,
|
|
7505
|
-
// cause onStartReached or onEndReached to be triggered again
|
|
7506
|
-
else {
|
|
7155
|
+
} else {
|
|
7507
7156
|
this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0;
|
|
7508
7157
|
this._sentEndForContentLength = isWithinEndThreshold ? this._sentEndForContentLength : 0;
|
|
7509
7158
|
}
|
|
@@ -7522,29 +7171,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7522
7171
|
var hiPri = false;
|
|
7523
7172
|
var onStartReachedThreshold = onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold);
|
|
7524
7173
|
var onEndReachedThreshold = onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold);
|
|
7525
|
-
// Mark as high priority if we're close to the start of the first item
|
|
7526
|
-
// But only if there are items before the first rendered item
|
|
7527
7174
|
if (first > 0) {
|
|
7528
7175
|
var distTop = offset - this.__getFrameMetricsApprox(first, this.props).offset;
|
|
7529
7176
|
hiPri = distTop < 0 || velocity < -2 && distTop < getScrollingThreshold(onStartReachedThreshold, visibleLength);
|
|
7530
7177
|
}
|
|
7531
|
-
// Mark as high priority if we're close to the end of the last item
|
|
7532
|
-
// But only if there are items after the last rendered item
|
|
7533
7178
|
if (!hiPri && last >= 0 && last < itemCount - 1) {
|
|
7534
7179
|
var distBottom = this.__getFrameMetricsApprox(last, this.props).offset - (offset + visibleLength);
|
|
7535
7180
|
hiPri = distBottom < 0 || velocity > 2 && distBottom < getScrollingThreshold(onEndReachedThreshold, visibleLength);
|
|
7536
7181
|
}
|
|
7537
|
-
// Only trigger high-priority updates if we've actually rendered cells,
|
|
7538
|
-
// and with that size estimate, accurately compute how many cells we should render.
|
|
7539
|
-
// Otherwise, it would just render as many cells as it can (of zero dimension),
|
|
7540
|
-
// each time through attempting to render more (limited by maxToRenderPerBatch),
|
|
7541
|
-
// starving the renderer from actually laying out the objects and computing _averageCellLength.
|
|
7542
|
-
// If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate
|
|
7543
|
-
// We shouldn't do another hipri cellToRenderUpdate
|
|
7544
7182
|
if (hiPri && (this._averageCellLength || this.props.getItemLayout) && !this._hiPriInProgress) {
|
|
7545
7183
|
this._hiPriInProgress = true;
|
|
7546
|
-
// Don't worry about interactions when scrolling quickly; focus on filling content as fast
|
|
7547
|
-
// as possible.
|
|
7548
7184
|
this._updateCellsToRenderBatcher.dispose({
|
|
7549
7185
|
abort: true
|
|
7550
7186
|
});
|
|
@@ -7558,8 +7194,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7558
7194
|
key: "_updateViewableItems",
|
|
7559
7195
|
value: function _updateViewableItems(props, cellsAroundViewport) {
|
|
7560
7196
|
var _this5 = this;
|
|
7561
|
-
// If we have any pending scroll updates it means that the scroll metrics
|
|
7562
|
-
// are out of date and we should not call any of the visibility callbacks.
|
|
7563
7197
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7564
7198
|
return;
|
|
7565
7199
|
}
|
|
@@ -7602,17 +7236,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7602
7236
|
for (var region of allRegions) {
|
|
7603
7237
|
renderMask.addCells(region);
|
|
7604
7238
|
}
|
|
7605
|
-
|
|
7606
|
-
// The initially rendered cells are retained as part of the
|
|
7607
|
-
// "scroll-to-top" optimization
|
|
7608
7239
|
if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {
|
|
7609
7240
|
var initialRegion = VirtualizedList._initialRenderRegion(props);
|
|
7610
7241
|
renderMask.addCells(initialRegion);
|
|
7611
7242
|
}
|
|
7612
|
-
|
|
7613
|
-
// The layout coordinates of sticker headers may be off-screen while the
|
|
7614
|
-
// actual header is on-screen. Keep the most recent before the viewport
|
|
7615
|
-
// rendered, even if its layout coordinates are not in viewport.
|
|
7616
7243
|
var stickyIndicesSet = new Set(props.stickyHeaderIndices);
|
|
7617
7244
|
VirtualizedList._ensureClosestStickyHeader(props, stickyIndicesSet, renderMask, cellsAroundViewport.first);
|
|
7618
7245
|
}
|
|
@@ -7648,8 +7275,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7648
7275
|
key: "getDerivedStateFromProps",
|
|
7649
7276
|
value: function getDerivedStateFromProps(newProps, prevState) {
|
|
7650
7277
|
var _newProps$maintainVis, _newProps$maintainVis2;
|
|
7651
|
-
// first and last could be stale (e.g. if a new, shorter items props is passed in), so we make
|
|
7652
|
-
// sure we're rendering a reasonable range here.
|
|
7653
7278
|
var itemCount = newProps.getItemCount(newProps.data);
|
|
7654
7279
|
if (itemCount === prevState.renderMask.numCells()) {
|
|
7655
7280
|
return prevState;
|
|
@@ -7660,7 +7285,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7660
7285
|
var newFirstVisibleItemKey = newProps.getItemCount(newProps.data) > minIndexForVisible ? VirtualizedList._getItemKey(newProps, minIndexForVisible) : null;
|
|
7661
7286
|
if (newProps.maintainVisibleContentPosition != null && prevFirstVisibleItemKey != null && newFirstVisibleItemKey != null) {
|
|
7662
7287
|
if (newFirstVisibleItemKey !== prevFirstVisibleItemKey) {
|
|
7663
|
-
// Fast path if items were added at the start of the list.
|
|
7664
7288
|
var hint = itemCount - prevState.renderMask.numCells() + minIndexForVisible;
|
|
7665
7289
|
var firstVisibleItemIndex = VirtualizedList._findItemIndexWithKey(newProps, prevFirstVisibleItemKey, hint);
|
|
7666
7290
|
maintainVisibleContentPositionAdjustment = firstVisibleItemIndex != null ? firstVisibleItemIndex - minIndexForVisible : null;
|
|
@@ -7753,57 +7377,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7753
7377
|
}
|
|
7754
7378
|
});
|
|
7755
7379
|
module.exports = VirtualizedList;
|
|
7756
|
-
},"c4b46015e44050527820",["
|
|
7380
|
+
},"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"]);
|
|
7757
7381
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7758
|
-
/**
|
|
7759
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7760
|
-
*
|
|
7761
|
-
* This source code is licensed under the MIT license found in the
|
|
7762
|
-
* LICENSE file in the root directory of this source tree.
|
|
7763
|
-
*
|
|
7764
|
-
* @format
|
|
7765
|
-
*
|
|
7766
|
-
*/
|
|
7767
|
-
|
|
7768
7382
|
'use strict';
|
|
7769
7383
|
|
|
7770
7384
|
var _require = _$$_REQUIRE(_dependencyMap[0]),
|
|
7771
7385
|
InteractionManager = _require.InteractionManager;
|
|
7772
|
-
|
|
7773
|
-
/**
|
|
7774
|
-
* A simple class for batching up invocations of a low-pri callback. A timeout is set to run the
|
|
7775
|
-
* callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,
|
|
7776
|
-
* InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri
|
|
7777
|
-
* interactions are done running.
|
|
7778
|
-
*
|
|
7779
|
-
* Make sure to cleanup with dispose(). Example:
|
|
7780
|
-
*
|
|
7781
|
-
* class Widget extends React.Component {
|
|
7782
|
-
* _batchedSave: new Batchinator(() => this._saveState, 1000);
|
|
7783
|
-
* _saveSate() {
|
|
7784
|
-
* // save this.state to disk
|
|
7785
|
-
* }
|
|
7786
|
-
* componentDidUpdate() {
|
|
7787
|
-
* this._batchedSave.schedule();
|
|
7788
|
-
* }
|
|
7789
|
-
* componentWillUnmount() {
|
|
7790
|
-
* this._batchedSave.dispose();
|
|
7791
|
-
* }
|
|
7792
|
-
* ...
|
|
7793
|
-
* }
|
|
7794
|
-
*/
|
|
7795
7386
|
var Batchinator = /*#__PURE__*/function () {
|
|
7796
7387
|
function Batchinator(callback, delayMS) {
|
|
7797
7388
|
_$$_REQUIRE(_dependencyMap[1])(this, Batchinator);
|
|
7798
7389
|
this._delay = delayMS;
|
|
7799
7390
|
this._callback = callback;
|
|
7800
7391
|
}
|
|
7801
|
-
/*
|
|
7802
|
-
* Cleanup any pending tasks.
|
|
7803
|
-
*
|
|
7804
|
-
* By default, if there is a pending task the callback is run immediately. Set the option abort to
|
|
7805
|
-
* true to not call the callback if it was pending.
|
|
7806
|
-
*/
|
|
7807
7392
|
return _$$_REQUIRE(_dependencyMap[2])(Batchinator, [{
|
|
7808
7393
|
key: "dispose",
|
|
7809
7394
|
value: function dispose() {
|
|
@@ -7827,8 +7412,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7827
7412
|
}
|
|
7828
7413
|
var timeoutHandle = setTimeout(function () {
|
|
7829
7414
|
_this._taskHandle = InteractionManager.runAfterInteractions(function () {
|
|
7830
|
-
// Note that we clear the handle before invoking the callback so that if the callback calls
|
|
7831
|
-
// schedule again, it will actually schedule another task.
|
|
7832
7415
|
_this._taskHandle = null;
|
|
7833
7416
|
_this._callback();
|
|
7834
7417
|
});
|
|
@@ -7842,18 +7425,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7842
7425
|
}]);
|
|
7843
7426
|
}();
|
|
7844
7427
|
module.exports = Batchinator;
|
|
7845
|
-
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","
|
|
7428
|
+
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","cb664999166f9660a878","68819e29ebee24bb0e88"]);
|
|
7846
7429
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7847
|
-
/**
|
|
7848
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7849
|
-
*
|
|
7850
|
-
* This source code is licensed under the MIT license found in the
|
|
7851
|
-
* LICENSE file in the root directory of this source tree.
|
|
7852
|
-
*
|
|
7853
|
-
* @format
|
|
7854
|
-
*
|
|
7855
|
-
*/
|
|
7856
|
-
|
|
7857
7430
|
'use strict';
|
|
7858
7431
|
|
|
7859
7432
|
function clamp(min, value, max) {
|
|
@@ -7868,21 +7441,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7868
7441
|
module.exports = clamp;
|
|
7869
7442
|
},"a30729068ebd0dea58f8",[]);
|
|
7870
7443
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7871
|
-
/**
|
|
7872
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7873
|
-
*
|
|
7874
|
-
* This source code is licensed under the MIT license found in the
|
|
7875
|
-
* LICENSE file in the root directory of this source tree.
|
|
7876
|
-
*
|
|
7877
|
-
* @format
|
|
7878
|
-
*
|
|
7879
|
-
*/
|
|
7880
|
-
|
|
7881
7444
|
'use strict';
|
|
7882
7445
|
|
|
7883
|
-
/**
|
|
7884
|
-
* Intentional info-level logging for clear separation from ad-hoc console debug logging.
|
|
7885
|
-
*/
|
|
7886
7446
|
function infoLog() {
|
|
7887
7447
|
var _console;
|
|
7888
7448
|
return (_console = console).log.apply(_console, arguments);
|
|
@@ -7897,15 +7457,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7897
7457
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
7898
7458
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
7899
7459
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
7900
|
-
/**
|
|
7901
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7902
|
-
*
|
|
7903
|
-
* This source code is licensed under the MIT license found in the
|
|
7904
|
-
* LICENSE file in the root directory of this source tree.
|
|
7905
|
-
*
|
|
7906
|
-
*
|
|
7907
|
-
* @format
|
|
7908
|
-
*/
|
|
7909
7460
|
var ChildListCollection = exports.default = /*#__PURE__*/function () {
|
|
7910
7461
|
function ChildListCollection() {
|
|
7911
7462
|
(0, _classCallCheck2.default)(this, ChildListCollection);
|
|
@@ -7972,18 +7523,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7972
7523
|
}
|
|
7973
7524
|
}]);
|
|
7974
7525
|
}();
|
|
7975
|
-
},"718d6cdfb3fb081a232d",["
|
|
7526
|
+
},"718d6cdfb3fb081a232d",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
7976
7527
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
7977
|
-
/**
|
|
7978
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7979
|
-
*
|
|
7980
|
-
* This source code is licensed under the MIT license found in the
|
|
7981
|
-
* LICENSE file in the root directory of this source tree.
|
|
7982
|
-
*
|
|
7983
|
-
*
|
|
7984
|
-
* @format
|
|
7985
|
-
*/
|
|
7986
|
-
|
|
7987
7528
|
'use strict';
|
|
7988
7529
|
|
|
7989
7530
|
var Info = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function Info() {
|
|
@@ -8003,15 +7544,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8003
7544
|
var _listeners = [];
|
|
8004
7545
|
var _minSampleCount = 10;
|
|
8005
7546
|
var _sampleRate = null;
|
|
8006
|
-
|
|
8007
|
-
/**
|
|
8008
|
-
* A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.
|
|
8009
|
-
* By default the sampling rate is set to zero and this will do nothing. If you want to collect
|
|
8010
|
-
* samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.
|
|
8011
|
-
*
|
|
8012
|
-
* Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with
|
|
8013
|
-
* `SceneTracker.getActiveScene` to determine the context of the events.
|
|
8014
|
-
*/
|
|
8015
7547
|
var FillRateHelper = /*#__PURE__*/function () {
|
|
8016
7548
|
function FillRateHelper(getFrameMetrics) {
|
|
8017
7549
|
_$$_REQUIRE(_dependencyMap[1])(this, FillRateHelper);
|
|
@@ -8038,13 +7570,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8038
7570
|
if (!this._enabled) {
|
|
8039
7571
|
return;
|
|
8040
7572
|
}
|
|
8041
|
-
var start = this._samplesStartTime;
|
|
7573
|
+
var start = this._samplesStartTime;
|
|
8042
7574
|
if (start == null) {
|
|
8043
7575
|
DEBUG;
|
|
8044
7576
|
return;
|
|
8045
7577
|
}
|
|
8046
7578
|
if (this._info.sample_count < _minSampleCount) {
|
|
8047
|
-
// Don't bother with under-sampled events.
|
|
8048
7579
|
this._resetData();
|
|
8049
7580
|
return;
|
|
8050
7581
|
}
|
|
@@ -8067,15 +7598,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8067
7598
|
offset = scrollMetrics.offset,
|
|
8068
7599
|
velocity = scrollMetrics.velocity,
|
|
8069
7600
|
visibleLength = scrollMetrics.visibleLength;
|
|
8070
|
-
|
|
8071
|
-
// Denominator metrics that we track for all events - most of the time there is no blankness and
|
|
8072
|
-
// we want to capture that.
|
|
8073
7601
|
this._info.sample_count++;
|
|
8074
7602
|
this._info.pixels_sampled += Math.round(visibleLength);
|
|
8075
7603
|
this._info.pixels_scrolled += Math.round(Math.abs(dOffset));
|
|
8076
|
-
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
8077
|
-
|
|
8078
|
-
// Whether blank now or not, record the elapsed time blank if we were blank last time.
|
|
7604
|
+
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
8079
7605
|
var now = global.performance.now();
|
|
8080
7606
|
if (this._anyBlankStartTime != null) {
|
|
8081
7607
|
this._info.any_blank_ms += now - this._anyBlankStartTime;
|
|
@@ -8092,8 +7618,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8092
7618
|
firstFrame = this._getFrameMetrics(first, props);
|
|
8093
7619
|
first++;
|
|
8094
7620
|
}
|
|
8095
|
-
// Only count blankTop if we aren't rendering the first item, otherwise we will count the header
|
|
8096
|
-
// as blank.
|
|
8097
7621
|
if (firstFrame && first > 0) {
|
|
8098
7622
|
blankTop = Math.min(visibleLength, Math.max(0, firstFrame.offset - offset));
|
|
8099
7623
|
}
|
|
@@ -8104,8 +7628,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8104
7628
|
lastFrame = this._getFrameMetrics(last, props);
|
|
8105
7629
|
last--;
|
|
8106
7630
|
}
|
|
8107
|
-
// Only count blankBottom if we aren't rendering the last item, otherwise we will count the
|
|
8108
|
-
// footer as blank.
|
|
8109
7631
|
if (lastFrame && last < props.getItemCount(props.data) - 1) {
|
|
8110
7632
|
var bottomEdge = lastFrame.offset + lastFrame.length;
|
|
8111
7633
|
blankBottom = Math.min(visibleLength, Math.max(0, offset + visibleLength - bottomEdge));
|
|
@@ -8167,7 +7689,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8167
7689
|
}]);
|
|
8168
7690
|
}();
|
|
8169
7691
|
module.exports = FillRateHelper;
|
|
8170
|
-
},"3e01a5bc929e85870fe5",["
|
|
7692
|
+
},"3e01a5bc929e85870fe5",["68819e29ebee24bb0e88","cb664999166f9660a878"]);
|
|
8171
7693
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8172
7694
|
Object.defineProperty(exports, "__esModule", {
|
|
8173
7695
|
value: true
|
|
@@ -8181,28 +7703,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8181
7703
|
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
8182
7704
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
8183
7705
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
8184
|
-
function
|
|
8185
|
-
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; }
|
|
7706
|
+
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); }
|
|
8186
7707
|
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)); }
|
|
8187
7708
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8188
|
-
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; }
|
|
8189
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8190
|
-
*
|
|
8191
|
-
* This source code is licensed under the MIT license found in the
|
|
8192
|
-
* LICENSE file in the root directory of this source tree.
|
|
8193
|
-
*
|
|
8194
|
-
*
|
|
8195
|
-
* @format
|
|
8196
|
-
*/
|
|
8197
|
-
/**
|
|
8198
|
-
* `setState` is called asynchronously, and should not rely on the value of
|
|
8199
|
-
* `this.props` or `this.state`:
|
|
8200
|
-
* https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous
|
|
8201
|
-
*
|
|
8202
|
-
* SafePureComponent adds runtime enforcement, to catch cases where these
|
|
8203
|
-
* variables are read in a state updater function, instead of the ones passed
|
|
8204
|
-
* in.
|
|
8205
|
-
*/
|
|
7709
|
+
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; }
|
|
8206
7710
|
var StateSafePureComponent = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
8207
7711
|
function StateSafePureComponent(props) {
|
|
8208
7712
|
var _this;
|
|
@@ -8261,32 +7765,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8261
7765
|
}
|
|
8262
7766
|
}]);
|
|
8263
7767
|
}(React.PureComponent);
|
|
8264
|
-
},"04ffc79d4da370644bce",["
|
|
7768
|
+
},"04ffc79d4da370644bce",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","55062adb34159de0ea92","9822a58ca7726d551fe0","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f"]);
|
|
8265
7769
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8266
|
-
/**
|
|
8267
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8268
|
-
*
|
|
8269
|
-
* This source code is licensed under the MIT license found in the
|
|
8270
|
-
* LICENSE file in the root directory of this source tree.
|
|
8271
|
-
*
|
|
8272
|
-
*
|
|
8273
|
-
* @format
|
|
8274
|
-
*/
|
|
8275
|
-
|
|
8276
7770
|
'use strict';
|
|
8277
7771
|
|
|
8278
|
-
/**
|
|
8279
|
-
* A Utility class for calculating viewable items based on current metrics like scroll position and
|
|
8280
|
-
* layout.
|
|
8281
|
-
*
|
|
8282
|
-
* An item is said to be in a "viewable" state when any of the following
|
|
8283
|
-
* is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`
|
|
8284
|
-
* is true):
|
|
8285
|
-
*
|
|
8286
|
-
* - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item
|
|
8287
|
-
* visible in the view area >= `itemVisiblePercentThreshold`.
|
|
8288
|
-
* - Entirely visible on screen
|
|
8289
|
-
*/
|
|
8290
7772
|
var ViewabilityHelper = /*#__PURE__*/function () {
|
|
8291
7773
|
function ViewabilityHelper() {
|
|
8292
7774
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
@@ -8299,27 +7781,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8299
7781
|
this._viewableItems = new Map();
|
|
8300
7782
|
this._config = config;
|
|
8301
7783
|
}
|
|
8302
|
-
|
|
8303
|
-
/**
|
|
8304
|
-
* Cleanup, e.g. on unmount. Clears any pending timers.
|
|
8305
|
-
*/
|
|
8306
7784
|
return _$$_REQUIRE(_dependencyMap[1])(ViewabilityHelper, [{
|
|
8307
7785
|
key: "dispose",
|
|
8308
7786
|
value: function dispose() {
|
|
8309
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8310
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To see
|
|
8311
|
-
* the error delete this comment and run Flow. */
|
|
8312
7787
|
this._timers.forEach(clearTimeout);
|
|
8313
7788
|
}
|
|
8314
|
-
|
|
8315
|
-
/**
|
|
8316
|
-
* Determines which items are viewable based on the current metrics and config.
|
|
8317
|
-
*/
|
|
8318
7789
|
}, {
|
|
8319
7790
|
key: "computeViewableItems",
|
|
8320
|
-
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics,
|
|
8321
|
-
// Optional optimization to reduce the scan size
|
|
8322
|
-
renderRange) {
|
|
7791
|
+
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {
|
|
8323
7792
|
var itemCount = props.getItemCount(props.data);
|
|
8324
7793
|
var _this$_config = this._config,
|
|
8325
7794
|
itemVisiblePercentThreshold = _this$_config.itemVisiblePercentThreshold,
|
|
@@ -8363,16 +7832,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8363
7832
|
}
|
|
8364
7833
|
return viewableIndices;
|
|
8365
7834
|
}
|
|
8366
|
-
|
|
8367
|
-
/**
|
|
8368
|
-
* Figures out which items are viewable and how that has changed from before and calls
|
|
8369
|
-
* `onViewableItemsChanged` as appropriate.
|
|
8370
|
-
*/
|
|
8371
7835
|
}, {
|
|
8372
7836
|
key: "onUpdate",
|
|
8373
|
-
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged,
|
|
8374
|
-
// Optional optimization to reduce the scan size
|
|
8375
|
-
renderRange) {
|
|
7837
|
+
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
8376
7838
|
var _this = this;
|
|
8377
7839
|
var itemCount = props.getItemCount(props.data);
|
|
8378
7840
|
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props)) {
|
|
@@ -8385,40 +7847,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8385
7847
|
if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every(function (v, ii) {
|
|
8386
7848
|
return v === viewableIndices[ii];
|
|
8387
7849
|
})) {
|
|
8388
|
-
// We might get a lot of scroll events where visibility doesn't change and we don't want to do
|
|
8389
|
-
// extra work in those cases.
|
|
8390
7850
|
return;
|
|
8391
7851
|
}
|
|
8392
7852
|
this._viewableIndices = viewableIndices;
|
|
8393
7853
|
if (this._config.minimumViewTime) {
|
|
8394
7854
|
var handle = setTimeout(function () {
|
|
8395
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8396
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To
|
|
8397
|
-
* see the error delete this comment and run Flow. */
|
|
8398
7855
|
_this._timers.delete(handle);
|
|
8399
7856
|
_this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8400
7857
|
}, this._config.minimumViewTime);
|
|
8401
|
-
/* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This
|
|
8402
|
-
* comment suppresses an error found when Flow v0.63 was deployed. To see
|
|
8403
|
-
* the error delete this comment and run Flow. */
|
|
8404
7858
|
this._timers.add(handle);
|
|
8405
7859
|
} else {
|
|
8406
7860
|
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8407
7861
|
}
|
|
8408
7862
|
}
|
|
8409
|
-
|
|
8410
|
-
/**
|
|
8411
|
-
* clean-up cached _viewableIndices to evaluate changed items on next update
|
|
8412
|
-
*/
|
|
8413
7863
|
}, {
|
|
8414
7864
|
key: "resetViewableIndices",
|
|
8415
7865
|
value: function resetViewableIndices() {
|
|
8416
7866
|
this._viewableIndices = [];
|
|
8417
7867
|
}
|
|
8418
|
-
|
|
8419
|
-
/**
|
|
8420
|
-
* Records that an interaction has happened even if there has been no scroll.
|
|
8421
|
-
*/
|
|
8422
7868
|
}, {
|
|
8423
7869
|
key: "recordInteraction",
|
|
8424
7870
|
value: function recordInteraction() {
|
|
@@ -8428,7 +7874,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8428
7874
|
key: "_onUpdateSync",
|
|
8429
7875
|
value: function _onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
8430
7876
|
var _this2 = this;
|
|
8431
|
-
// Filter out indices that have gone out of view since this call was scheduled.
|
|
8432
7877
|
viewableIndicesToCheck = viewableIndicesToCheck.filter(function (ii) {
|
|
8433
7878
|
return _this2._viewableIndices.includes(ii);
|
|
8434
7879
|
});
|
|
@@ -8484,7 +7929,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8484
7929
|
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
8485
7930
|
}
|
|
8486
7931
|
module.exports = ViewabilityHelper;
|
|
8487
|
-
},"8bafab90a37cab64b100",["
|
|
7932
|
+
},"8bafab90a37cab64b100",["cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66","d73b3a84588342abd1b6"]);
|
|
8488
7933
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8489
7934
|
Object.defineProperty(exports, "__esModule", {
|
|
8490
7935
|
value: true
|
|
@@ -8498,18 +7943,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8498
7943
|
var _reactNative = _$$_REQUIRE(_dependencyMap[6]);
|
|
8499
7944
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
8500
7945
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
8501
|
-
function
|
|
8502
|
-
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; }
|
|
7946
|
+
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); }
|
|
8503
7947
|
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)); }
|
|
8504
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8505
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8506
|
-
*
|
|
8507
|
-
* This source code is licensed under the MIT license found in the
|
|
8508
|
-
* LICENSE file in the root directory of this source tree.
|
|
8509
|
-
*
|
|
8510
|
-
*
|
|
8511
|
-
* @format
|
|
8512
|
-
*/
|
|
7948
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8513
7949
|
var CellRenderer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
8514
7950
|
function CellRenderer() {
|
|
8515
7951
|
var _this;
|
|
@@ -8524,9 +7960,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8524
7960
|
leadingItem: _this.props.item
|
|
8525
7961
|
}
|
|
8526
7962
|
};
|
|
8527
|
-
// TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not
|
|
8528
|
-
// reused by SectionList and we can keep VirtualizedList simpler.
|
|
8529
|
-
// $FlowFixMe[missing-local-annot]
|
|
8530
7963
|
_this._separators = {
|
|
8531
7964
|
highlight: function highlight() {
|
|
8532
7965
|
var _this$props = _this.props,
|
|
@@ -8578,12 +8011,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8578
8011
|
console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem.");
|
|
8579
8012
|
}
|
|
8580
8013
|
if (ListItemComponent) {
|
|
8581
|
-
/* $FlowFixMe[not-a-component] (>=0.108.0 site=react_native_fb) This
|
|
8582
|
-
* comment suppresses an error found when Flow v0.108 was deployed. To
|
|
8583
|
-
* see the error, delete this comment and run Flow. */
|
|
8584
|
-
/* $FlowFixMe[incompatible-type-arg] (>=0.108.0 site=react_native_fb)
|
|
8585
|
-
* This comment suppresses an error found when Flow v0.108 was deployed.
|
|
8586
|
-
* To see the error, delete this comment and run Flow. */
|
|
8587
8014
|
return React.createElement(ListItemComponent, {
|
|
8588
8015
|
item: item,
|
|
8589
8016
|
index: index,
|
|
@@ -8615,14 +8042,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8615
8042
|
onCellLayout = _this$props4.onCellLayout,
|
|
8616
8043
|
renderItem = _this$props4.renderItem;
|
|
8617
8044
|
var element = this._renderElement(renderItem, ListItemComponent, item, index);
|
|
8618
|
-
|
|
8619
|
-
// NOTE: that when this is a sticky header, `onLayout` will get automatically extracted and
|
|
8620
|
-
// called explicitly by `ScrollViewStickyHeader`.
|
|
8621
|
-
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ?
|
|
8622
|
-
// $FlowFixMe[incompatible-type]
|
|
8623
|
-
ItemSeparatorComponent :
|
|
8624
|
-
// $FlowFixMe[incompatible-type]
|
|
8625
|
-
ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
8045
|
+
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
8626
8046
|
var cellStyle = inversionStyle ? horizontal ? [styles.rowReverse, inversionStyle] : [styles.columnReverse, inversionStyle] : horizontal ? [styles.row, inversionStyle] : inversionStyle;
|
|
8627
8047
|
var result = !CellRendererComponent ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, Object.assign({
|
|
8628
8048
|
style: cellStyle,
|
|
@@ -8669,7 +8089,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8669
8089
|
flexDirection: 'column-reverse'
|
|
8670
8090
|
}
|
|
8671
8091
|
});
|
|
8672
|
-
},"ce5f423367f40f3628a8",["
|
|
8092
|
+
},"ce5f423367f40f3628a8",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","e6b1ef1f5b720d640981"]);
|
|
8673
8093
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8674
8094
|
Object.defineProperty(exports, "__esModule", {
|
|
8675
8095
|
value: true
|
|
@@ -8680,22 +8100,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8680
8100
|
exports.VirtualizedListContextResetter = VirtualizedListContextResetter;
|
|
8681
8101
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
8682
8102
|
var React = _react;
|
|
8683
|
-
function
|
|
8684
|
-
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; }
|
|
8685
|
-
/**
|
|
8686
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8687
|
-
*
|
|
8688
|
-
* This source code is licensed under the MIT license found in the
|
|
8689
|
-
* LICENSE file in the root directory of this source tree.
|
|
8690
|
-
*
|
|
8691
|
-
*
|
|
8692
|
-
* @format
|
|
8693
|
-
*/
|
|
8694
|
-
|
|
8103
|
+
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); }
|
|
8695
8104
|
var VirtualizedListContext = exports.VirtualizedListContext = React.createContext(null);
|
|
8696
|
-
/**
|
|
8697
|
-
* Resets the context. Intended for use by portal-like components (e.g. Modal).
|
|
8698
|
-
*/
|
|
8699
8105
|
function VirtualizedListContextResetter(_ref) {
|
|
8700
8106
|
var children = _ref.children;
|
|
8701
8107
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
@@ -8703,14 +8109,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8703
8109
|
children: children
|
|
8704
8110
|
});
|
|
8705
8111
|
}
|
|
8706
|
-
|
|
8707
|
-
/**
|
|
8708
|
-
* Sets the context with memoization. Intended to be used by `VirtualizedList`.
|
|
8709
|
-
*/
|
|
8710
8112
|
function VirtualizedListContextProvider(_ref2) {
|
|
8711
8113
|
var children = _ref2.children,
|
|
8712
8114
|
value = _ref2.value;
|
|
8713
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8714
8115
|
var context = (0, _react.useMemo)(function () {
|
|
8715
8116
|
return {
|
|
8716
8117
|
cellKey: null,
|
|
@@ -8726,14 +8127,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8726
8127
|
children: children
|
|
8727
8128
|
});
|
|
8728
8129
|
}
|
|
8729
|
-
|
|
8730
|
-
/**
|
|
8731
|
-
* Sets the `cellKey`. Intended to be used by `VirtualizedList` for each cell.
|
|
8732
|
-
*/
|
|
8733
8130
|
function VirtualizedListCellContextProvider(_ref3) {
|
|
8734
8131
|
var cellKey = _ref3.cellKey,
|
|
8735
8132
|
children = _ref3.children;
|
|
8736
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8737
8133
|
var currContext = (0, _react.useContext)(VirtualizedListContext);
|
|
8738
8134
|
var context = (0, _react.useMemo)(function () {
|
|
8739
8135
|
return currContext == null ? null : Object.assign({}, currContext, {
|
|
@@ -8756,15 +8152,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8756
8152
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
8757
8153
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
8758
8154
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
8759
|
-
/**
|
|
8760
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8761
|
-
*
|
|
8762
|
-
* This source code is licensed under the MIT license found in the
|
|
8763
|
-
* LICENSE file in the root directory of this source tree.
|
|
8764
|
-
*
|
|
8765
|
-
*
|
|
8766
|
-
* @format
|
|
8767
|
-
*/
|
|
8768
8155
|
var CellRenderMask = exports.CellRenderMask = /*#__PURE__*/function () {
|
|
8769
8156
|
function CellRenderMask(numCells) {
|
|
8770
8157
|
(0, _classCallCheck2.default)(this, CellRenderMask);
|
|
@@ -8790,9 +8177,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8790
8177
|
value: function addCells(cells) {
|
|
8791
8178
|
var _this$_regions;
|
|
8792
8179
|
(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');
|
|
8793
|
-
|
|
8794
|
-
// VirtualizedList uses inclusive ranges, where zero-count states are
|
|
8795
|
-
// possible. E.g. [0, -1] for no cells, starting at 0.
|
|
8796
8180
|
if (cells.last < cells.first) {
|
|
8797
8181
|
return;
|
|
8798
8182
|
}
|
|
@@ -8804,15 +8188,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8804
8188
|
_this$_findRegion4 = (0, _slicedToArray2.default)(_this$_findRegion3, 2),
|
|
8805
8189
|
lastIntersect = _this$_findRegion4[0],
|
|
8806
8190
|
lastIntersectIdx = _this$_findRegion4[1];
|
|
8807
|
-
|
|
8808
|
-
// Fast-path if the cells to add are already all present in the mask. We
|
|
8809
|
-
// will otherwise need to do some mutation.
|
|
8810
8191
|
if (firstIntersectIdx === lastIntersectIdx && !firstIntersect.isSpacer) {
|
|
8811
8192
|
return;
|
|
8812
8193
|
}
|
|
8813
|
-
|
|
8814
|
-
// We need to replace the existing covered regions with 1-3 new regions
|
|
8815
|
-
// depending whether we need to split spacers out of overlapping regions.
|
|
8816
8194
|
var newLeadRegion = [];
|
|
8817
8195
|
var newTailRegion = [];
|
|
8818
8196
|
var newMainRegion = Object.assign({}, cells, {
|
|
@@ -8876,7 +8254,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8876
8254
|
}
|
|
8877
8255
|
}]);
|
|
8878
8256
|
}();
|
|
8879
|
-
},"de5ab026f9499640d730",["
|
|
8257
|
+
},"de5ab026f9499640d730",["277a84013d7e1a1ace05","838d7a057beeb5db50df","d73b3a84588342abd1b6","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
8880
8258
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8881
8259
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
8882
8260
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -8890,23 +8268,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8890
8268
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
8891
8269
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11]));
|
|
8892
8270
|
var _excluded = ["ItemSeparatorComponent", "SectionSeparatorComponent", "renderItem", "renderSectionFooter", "renderSectionHeader", "sections", "stickySectionHeadersEnabled"];
|
|
8893
|
-
function
|
|
8894
|
-
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; }
|
|
8271
|
+
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); }
|
|
8895
8272
|
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)); }
|
|
8896
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8897
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8898
|
-
*
|
|
8899
|
-
* This source code is licensed under the MIT license found in the
|
|
8900
|
-
* LICENSE file in the root directory of this source tree.
|
|
8901
|
-
*
|
|
8902
|
-
*
|
|
8903
|
-
* @format
|
|
8904
|
-
*/
|
|
8905
|
-
/**
|
|
8906
|
-
* Right now this just flattens everything into one list and uses VirtualizedList under the
|
|
8907
|
-
* hood. The only operation that might not scale well is concatting the data arrays of all the
|
|
8908
|
-
* sections when new props are received, which should be plenty fast for up to ~10,000 items.
|
|
8909
|
-
*/
|
|
8273
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8910
8274
|
var VirtualizedSectionList = /*#__PURE__*/function (_React$PureComponent) {
|
|
8911
8275
|
function VirtualizedSectionList() {
|
|
8912
8276
|
var _this;
|
|
@@ -8915,7 +8279,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8915
8279
|
args[_key] = arguments[_key];
|
|
8916
8280
|
}
|
|
8917
8281
|
_this = _callSuper(this, VirtualizedSectionList, [].concat(args));
|
|
8918
|
-
// $FlowFixMe[missing-local-annot]
|
|
8919
8282
|
_this._keyExtractor = function (item, index) {
|
|
8920
8283
|
var info = _this._subExtractor(index);
|
|
8921
8284
|
return info && info.key || String(index);
|
|
@@ -8948,59 +8311,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8948
8311
|
}
|
|
8949
8312
|
};
|
|
8950
8313
|
_this._renderItem = function (listItemCount) {
|
|
8951
|
-
return (
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
var
|
|
8961
|
-
if (
|
|
8962
|
-
var
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
section: section
|
|
8967
|
-
}) : null;
|
|
8968
|
-
} else {
|
|
8969
|
-
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8970
|
-
return renderSectionFooter ? renderSectionFooter({
|
|
8971
|
-
section: section
|
|
8972
|
-
}) : null;
|
|
8973
|
-
}
|
|
8314
|
+
return function (_ref2) {
|
|
8315
|
+
var item = _ref2.item,
|
|
8316
|
+
index = _ref2.index;
|
|
8317
|
+
var info = _this._subExtractor(index);
|
|
8318
|
+
if (!info) {
|
|
8319
|
+
return null;
|
|
8320
|
+
}
|
|
8321
|
+
var infoIndex = info.index;
|
|
8322
|
+
if (infoIndex == null) {
|
|
8323
|
+
var section = info.section;
|
|
8324
|
+
if (info.header === true) {
|
|
8325
|
+
var renderSectionHeader = _this.props.renderSectionHeader;
|
|
8326
|
+
return renderSectionHeader ? renderSectionHeader({
|
|
8327
|
+
section: section
|
|
8328
|
+
}) : null;
|
|
8974
8329
|
} else {
|
|
8975
|
-
var
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
SeparatorComponent: SeparatorComponent,
|
|
8980
|
-
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8981
|
-
cellKey: info.key,
|
|
8982
|
-
index: infoIndex,
|
|
8983
|
-
item: item,
|
|
8984
|
-
leadingItem: info.leadingItem,
|
|
8985
|
-
leadingSection: info.leadingSection,
|
|
8986
|
-
prevCellKey: (_this._subExtractor(index - 1) || {}).key
|
|
8987
|
-
// Callback to provide updateHighlight for this item
|
|
8988
|
-
,
|
|
8989
|
-
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8990
|
-
setSelfUpdatePropsCallback: _this._setUpdatePropsFor
|
|
8991
|
-
// Provide child ability to set highlight/updateProps for previous item using prevCellKey
|
|
8992
|
-
,
|
|
8993
|
-
updateHighlightFor: _this._updateHighlightFor,
|
|
8994
|
-
updatePropsFor: _this._updatePropsFor,
|
|
8995
|
-
renderItem: renderItem,
|
|
8996
|
-
section: info.section,
|
|
8997
|
-
trailingItem: info.trailingItem,
|
|
8998
|
-
trailingSection: info.trailingSection,
|
|
8999
|
-
inverted: !!_this.props.inverted
|
|
9000
|
-
});
|
|
8330
|
+
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8331
|
+
return renderSectionFooter ? renderSectionFooter({
|
|
8332
|
+
section: section
|
|
8333
|
+
}) : null;
|
|
9001
8334
|
}
|
|
8335
|
+
} else {
|
|
8336
|
+
var renderItem = info.section.renderItem || _this.props.renderItem;
|
|
8337
|
+
var SeparatorComponent = _this._getSeparatorComponent(index, info, listItemCount);
|
|
8338
|
+
(0, _invariant.default)(renderItem, 'no renderItem!');
|
|
8339
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(ItemWithSeparator, {
|
|
8340
|
+
SeparatorComponent: SeparatorComponent,
|
|
8341
|
+
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8342
|
+
cellKey: info.key,
|
|
8343
|
+
index: infoIndex,
|
|
8344
|
+
item: item,
|
|
8345
|
+
leadingItem: info.leadingItem,
|
|
8346
|
+
leadingSection: info.leadingSection,
|
|
8347
|
+
prevCellKey: (_this._subExtractor(index - 1) || {}).key,
|
|
8348
|
+
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8349
|
+
setSelfUpdatePropsCallback: _this._setUpdatePropsFor,
|
|
8350
|
+
updateHighlightFor: _this._updateHighlightFor,
|
|
8351
|
+
updatePropsFor: _this._updatePropsFor,
|
|
8352
|
+
renderItem: renderItem,
|
|
8353
|
+
section: info.section,
|
|
8354
|
+
trailingItem: info.trailingItem,
|
|
8355
|
+
trailingSection: info.trailingSection,
|
|
8356
|
+
inverted: !!_this.props.inverted
|
|
8357
|
+
});
|
|
9002
8358
|
}
|
|
9003
|
-
|
|
8359
|
+
};
|
|
9004
8360
|
};
|
|
9005
8361
|
_this._updatePropsFor = function (cellKey, value) {
|
|
9006
8362
|
var updateProps = _this._updatePropsMap[cellKey];
|
|
@@ -9018,7 +8374,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9018
8374
|
if (updateHighlightFn != null) {
|
|
9019
8375
|
_this._updateHighlightMap[cellKey] = updateHighlightFn;
|
|
9020
8376
|
} else {
|
|
9021
|
-
// $FlowFixMe[prop-missing]
|
|
9022
8377
|
delete _this._updateHighlightFor[cellKey];
|
|
9023
8378
|
}
|
|
9024
8379
|
};
|
|
@@ -9056,7 +8411,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9056
8411
|
viewOffset: viewOffset,
|
|
9057
8412
|
index: index
|
|
9058
8413
|
});
|
|
9059
|
-
// $FlowFixMe[incompatible-use]
|
|
9060
8414
|
this._listRef.scrollToIndex(toIndexParams);
|
|
9061
8415
|
}
|
|
9062
8416
|
}, {
|
|
@@ -9081,12 +8435,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9081
8435
|
var stickyHeaderIndices = this.props.stickySectionHeadersEnabled ? [] : undefined;
|
|
9082
8436
|
var itemCount = 0;
|
|
9083
8437
|
for (var section of this.props.sections) {
|
|
9084
|
-
// Track the section header indices
|
|
9085
8438
|
if (stickyHeaderIndices != null) {
|
|
9086
8439
|
stickyHeaderIndices.push(itemCount + listHeaderOffset);
|
|
9087
8440
|
}
|
|
9088
|
-
|
|
9089
|
-
// Add two for the section header and footer.
|
|
9090
8441
|
itemCount += 2;
|
|
9091
8442
|
itemCount += this.props.getItemCount(section.data);
|
|
9092
8443
|
}
|
|
@@ -9118,15 +8469,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9118
8469
|
var sectionData = section.data;
|
|
9119
8470
|
var itemCount = props.getItemCount(sectionData);
|
|
9120
8471
|
if (itemIdx === -1 || itemIdx === itemCount) {
|
|
9121
|
-
// We intend for there to be overflow by one on both ends of the list.
|
|
9122
|
-
// This will be for headers and footers. When returning a header or footer
|
|
9123
|
-
// item the section itself is the item.
|
|
9124
8472
|
return section;
|
|
9125
8473
|
} else if (itemIdx < itemCount) {
|
|
9126
|
-
// If we are in the bounds of the list's data then return the item.
|
|
9127
8474
|
return props.getItem(sectionData, itemIdx);
|
|
9128
8475
|
} else {
|
|
9129
|
-
itemIdx -= itemCount + 2;
|
|
8476
|
+
itemIdx -= itemCount + 2;
|
|
9130
8477
|
}
|
|
9131
8478
|
}
|
|
9132
8479
|
return null;
|
|
@@ -9144,9 +8491,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9144
8491
|
var section = sections[i];
|
|
9145
8492
|
var sectionData = section.data;
|
|
9146
8493
|
var key = section.key || String(i);
|
|
9147
|
-
itemIndex -= 1;
|
|
8494
|
+
itemIndex -= 1;
|
|
9148
8495
|
if (itemIndex >= getItemCount(sectionData) + 1) {
|
|
9149
|
-
itemIndex -= getItemCount(sectionData) + 1;
|
|
8496
|
+
itemIndex -= getItemCount(sectionData) + 1;
|
|
9150
8497
|
} else if (itemIndex === -1) {
|
|
9151
8498
|
return {
|
|
9152
8499
|
section: section,
|
|
@@ -9241,7 +8588,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9241
8588
|
setSeparatorProps = _React$useState8[1];
|
|
9242
8589
|
React.useEffect(function () {
|
|
9243
8590
|
setSelfHighlightCallback(cellKey, setSeparatorHighlighted);
|
|
9244
|
-
// $FlowFixMe[incompatible-call]
|
|
9245
8591
|
setSelfUpdatePropsCallback(cellKey, setSeparatorProps);
|
|
9246
8592
|
return function () {
|
|
9247
8593
|
setSelfUpdatePropsCallback(cellKey, null);
|
|
@@ -9268,7 +8614,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9268
8614
|
if (LeadingSeparatorComponent != null) {
|
|
9269
8615
|
setLeadingSeparatorProps(Object.assign({}, leadingSeparatorProps, newProps));
|
|
9270
8616
|
} else if (prevCellKey != null) {
|
|
9271
|
-
// update the previous item's separator
|
|
9272
8617
|
updatePropsFor(prevCellKey, Object.assign({}, leadingSeparatorProps, newProps));
|
|
9273
8618
|
}
|
|
9274
8619
|
} else if (select === 'trailing' && SeparatorComponent != null) {
|
|
@@ -9292,12 +8637,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9292
8637
|
children: [inverted === false ? leadingSeparator : separator, element, inverted === false ? separator : leadingSeparator]
|
|
9293
8638
|
}) : element;
|
|
9294
8639
|
}
|
|
9295
|
-
|
|
9296
|
-
/* $FlowFixMe[class-object-subtyping] added when improving typing for this
|
|
9297
|
-
* parameters */
|
|
9298
|
-
// $FlowFixMe[method-unbinding]
|
|
9299
8640
|
module.exports = VirtualizedSectionList;
|
|
9300
|
-
},"d2355175ff6609a3def1",["
|
|
8641
|
+
},"d2355175ff6609a3def1",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","a2c8e692f78bae5b8b98","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","c4b46015e44050527820","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","a26dbe2a3afa21c3cf22","048fed5a64a04bdb7fed"]);
|
|
9301
8642
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9302
8643
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
9303
8644
|
try {
|
|
@@ -9325,91 +8666,92 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9325
8666
|
};
|
|
9326
8667
|
}
|
|
9327
8668
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9328
|
-
},"
|
|
8669
|
+
},"77f56f33f638c3751138",[]);
|
|
9329
8670
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9330
8671
|
'use strict';
|
|
9331
8672
|
|
|
9332
8673
|
{
|
|
9333
8674
|
module.exports = _$$_REQUIRE(_dependencyMap[0]);
|
|
9334
8675
|
}
|
|
9335
|
-
},"
|
|
8676
|
+
},"962cceb83a0665e556b0",["882f173eeacafe179433"]);
|
|
9336
8677
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9337
8678
|
/**
|
|
9338
8679
|
* @license React
|
|
9339
|
-
* use-sync-external-store-shim.native.production.
|
|
8680
|
+
* use-sync-external-store-shim.native.production.js
|
|
9340
8681
|
*
|
|
9341
|
-
* Copyright (c)
|
|
8682
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9342
8683
|
*
|
|
9343
8684
|
* This source code is licensed under the MIT license found in the
|
|
9344
8685
|
* LICENSE file in the root directory of this source tree.
|
|
9345
8686
|
*/
|
|
9346
|
-
'use strict';
|
|
9347
8687
|
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
8688
|
+
"use strict";
|
|
8689
|
+
|
|
8690
|
+
var React = _$$_REQUIRE(_dependencyMap[0]);
|
|
8691
|
+
function is(x, y) {
|
|
8692
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
8693
|
+
}
|
|
8694
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
8695
|
+
useState = React.useState,
|
|
8696
|
+
useEffect = React.useEffect,
|
|
8697
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
8698
|
+
useDebugValue = React.useDebugValue;
|
|
8699
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
8700
|
+
var value = getSnapshot(),
|
|
8701
|
+
_useState = useState({
|
|
9360
8702
|
inst: {
|
|
9361
|
-
value:
|
|
9362
|
-
getSnapshot:
|
|
8703
|
+
value: value,
|
|
8704
|
+
getSnapshot: getSnapshot
|
|
9363
8705
|
}
|
|
9364
8706
|
}),
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
inst:
|
|
8707
|
+
inst = _useState[0].inst,
|
|
8708
|
+
forceUpdate = _useState[1];
|
|
8709
|
+
useLayoutEffect(function () {
|
|
8710
|
+
inst.value = value;
|
|
8711
|
+
inst.getSnapshot = getSnapshot;
|
|
8712
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8713
|
+
inst: inst
|
|
9372
8714
|
});
|
|
9373
|
-
}, [
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
inst:
|
|
8715
|
+
}, [subscribe, value, getSnapshot]);
|
|
8716
|
+
useEffect(function () {
|
|
8717
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8718
|
+
inst: inst
|
|
9377
8719
|
});
|
|
9378
|
-
return
|
|
9379
|
-
|
|
9380
|
-
inst:
|
|
8720
|
+
return subscribe(function () {
|
|
8721
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8722
|
+
inst: inst
|
|
9381
8723
|
});
|
|
9382
8724
|
});
|
|
9383
|
-
}, [
|
|
9384
|
-
|
|
9385
|
-
return
|
|
8725
|
+
}, [subscribe]);
|
|
8726
|
+
useDebugValue(value);
|
|
8727
|
+
return value;
|
|
9386
8728
|
}
|
|
9387
|
-
function
|
|
9388
|
-
var
|
|
9389
|
-
|
|
8729
|
+
function checkIfSnapshotChanged(inst) {
|
|
8730
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
8731
|
+
inst = inst.value;
|
|
9390
8732
|
try {
|
|
9391
|
-
var
|
|
9392
|
-
return !
|
|
9393
|
-
} catch (
|
|
8733
|
+
var nextValue = latestGetSnapshot();
|
|
8734
|
+
return !objectIs(inst, nextValue);
|
|
8735
|
+
} catch (error) {
|
|
9394
8736
|
return true;
|
|
9395
8737
|
}
|
|
9396
8738
|
}
|
|
9397
|
-
exports.useSyncExternalStore = undefined !==
|
|
9398
|
-
},"
|
|
8739
|
+
exports.useSyncExternalStore = undefined !== React.useSyncExternalStore ? React.useSyncExternalStore : useSyncExternalStore$1;
|
|
8740
|
+
},"882f173eeacafe179433",["6ed0e34da2b23bd3554f"]);
|
|
9399
8741
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9400
8742
|
var id = 0;
|
|
9401
8743
|
function _classPrivateFieldKey(e) {
|
|
9402
8744
|
return "__private_" + id++ + "_" + e;
|
|
9403
8745
|
}
|
|
9404
8746
|
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9405
|
-
},"
|
|
8747
|
+
},"cb8ece4f72f02a959885",[]);
|
|
9406
8748
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9407
8749
|
function _classPrivateFieldBase(e, t) {
|
|
9408
8750
|
if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
|
|
9409
8751
|
return e;
|
|
9410
8752
|
}
|
|
9411
8753
|
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9412
|
-
},"
|
|
8754
|
+
},"39eb90fd8fb300b049c2",[]);
|
|
9413
8755
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9414
8756
|
"use strict";
|
|
9415
8757
|
|
|
@@ -9624,7 +8966,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9624
8966
|
flex: 1
|
|
9625
8967
|
}
|
|
9626
8968
|
});
|
|
9627
|
-
},"f9c082ecaaf2c5f603d9",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
8969
|
+
},"f9c082ecaaf2c5f603d9",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","511026e65104b16a3e63","daf1813918444f47dfe9","a2c8e692f78bae5b8b98"]);
|
|
9628
8970
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9629
8971
|
Object.defineProperty(exports, "__esModule", {
|
|
9630
8972
|
value: true
|
|
@@ -9643,7 +8985,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9643
8985
|
});
|
|
9644
8986
|
});
|
|
9645
8987
|
var _default = exports.default = _$$_REQUIRE(_dependencyMap[1]).PagerView;
|
|
9646
|
-
},"
|
|
8988
|
+
},"511026e65104b16a3e63",["6840ebe2431baee847e7","a28ac6a813729a4cd5ab"]);
|
|
9647
8989
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9648
8990
|
Object.defineProperty(exports, "__esModule", {
|
|
9649
8991
|
value: true
|
|
@@ -9679,20 +9021,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9679
9021
|
overdragEnabled = _useState8[0],
|
|
9680
9022
|
setOverdragEnabled = _useState8[1];
|
|
9681
9023
|
var _useState9 = (0, _react.useState)(true),
|
|
9682
|
-
|
|
9683
|
-
scrollEnabled =
|
|
9684
|
-
setScrollEnabled =
|
|
9685
|
-
var
|
|
9686
|
-
|
|
9687
|
-
scrollState =
|
|
9688
|
-
setScrollState =
|
|
9689
|
-
var
|
|
9024
|
+
_useState0 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
9025
|
+
scrollEnabled = _useState0[0],
|
|
9026
|
+
setScrollEnabled = _useState0[1];
|
|
9027
|
+
var _useState1 = (0, _react.useState)('idle'),
|
|
9028
|
+
_useState10 = (0, _slicedToArray2.default)(_useState1, 2),
|
|
9029
|
+
scrollState = _useState10[0],
|
|
9030
|
+
setScrollState = _useState10[1];
|
|
9031
|
+
var _useState11 = (0, _react.useState)({
|
|
9690
9032
|
position: 0,
|
|
9691
9033
|
offset: 0
|
|
9692
9034
|
}),
|
|
9693
|
-
|
|
9694
|
-
progress =
|
|
9695
|
-
setProgress =
|
|
9035
|
+
_useState12 = (0, _slicedToArray2.default)(_useState11, 2),
|
|
9036
|
+
progress = _useState12[0],
|
|
9037
|
+
setProgress = _useState12[1];
|
|
9696
9038
|
var onPageScrollOffset = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
9697
9039
|
var onPageScrollPosition = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
9698
9040
|
var onPageSelectedPosition = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
@@ -9702,11 +9044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9702
9044
|
}, [isAnimated]);
|
|
9703
9045
|
var addPage = (0, _react.useCallback)(function () {
|
|
9704
9046
|
setPages(function (prevPages) {
|
|
9705
|
-
|
|
9706
|
-
if (lastPageNumber) {
|
|
9707
|
-
return [].concat((0, _toConsumableArray2.default)(prevPages), [lastPageNumber + 1]);
|
|
9708
|
-
}
|
|
9709
|
-
return prevPages;
|
|
9047
|
+
return [].concat((0, _toConsumableArray2.default)(prevPages), [prevPages.length]);
|
|
9710
9048
|
});
|
|
9711
9049
|
}, []);
|
|
9712
9050
|
var removePage = (0, _react.useCallback)(function () {
|
|
@@ -9739,6 +9077,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9739
9077
|
position: onPageScrollPosition
|
|
9740
9078
|
}
|
|
9741
9079
|
}], {
|
|
9080
|
+
listener: function listener(_ref2) {
|
|
9081
|
+
var _ref2$nativeEvent = _ref2.nativeEvent,
|
|
9082
|
+
offset = _ref2$nativeEvent.offset,
|
|
9083
|
+
position = _ref2$nativeEvent.position;
|
|
9084
|
+
setProgress({
|
|
9085
|
+
position: position,
|
|
9086
|
+
offset: offset
|
|
9087
|
+
});
|
|
9088
|
+
},
|
|
9742
9089
|
useNativeDriver: true
|
|
9743
9090
|
});
|
|
9744
9091
|
},
|
|
@@ -9750,8 +9097,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9750
9097
|
position: onPageSelectedPosition
|
|
9751
9098
|
}
|
|
9752
9099
|
}], {
|
|
9753
|
-
listener: function listener(
|
|
9754
|
-
var position =
|
|
9100
|
+
listener: function listener(_ref3) {
|
|
9101
|
+
var position = _ref3.nativeEvent.position;
|
|
9755
9102
|
setActivePage(position);
|
|
9756
9103
|
},
|
|
9757
9104
|
useNativeDriver: true
|
|
@@ -9785,25 +9132,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9785
9132
|
PagerView: _$$_REQUIRE(_dependencyMap[5]).PagerView
|
|
9786
9133
|
};
|
|
9787
9134
|
}
|
|
9788
|
-
},"
|
|
9135
|
+
},"6840ebe2431baee847e7",["277a84013d7e1a1ace05","838d7a057beeb5db50df","d73b3a84588342abd1b6","26ef620f86acf7f6932a","6ed0e34da2b23bd3554f","a28ac6a813729a4cd5ab"]);
|
|
9789
9136
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9790
9137
|
Object.defineProperty(exports, "__esModule", {
|
|
9791
9138
|
value: true
|
|
9792
9139
|
});
|
|
9793
9140
|
exports.PagerView = undefined;
|
|
9794
|
-
var
|
|
9795
|
-
var
|
|
9796
|
-
var
|
|
9797
|
-
var
|
|
9798
|
-
var
|
|
9799
|
-
var
|
|
9800
|
-
var
|
|
9801
|
-
var
|
|
9802
|
-
var
|
|
9803
|
-
var _LEGACY_PagerViewNativeComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10]));
|
|
9804
|
-
var _excluded = ["useNext"];
|
|
9805
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9806
|
-
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; }
|
|
9141
|
+
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
9142
|
+
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
9143
|
+
var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
9144
|
+
var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
9145
|
+
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
9146
|
+
var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
9147
|
+
var _reactNative = _$$_REQUIRE(_dependencyMap[7]);
|
|
9148
|
+
var _PagerViewNativeComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
9149
|
+
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); }
|
|
9807
9150
|
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)); }
|
|
9808
9151
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
9809
9152
|
* Container that allows to flip left and right between child views. Each
|
|
@@ -9845,16 +9188,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9845
9188
|
* }
|
|
9846
9189
|
* }
|
|
9847
9190
|
* ```
|
|
9848
|
-
*/
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
function PagerViewInternal() {
|
|
9191
|
+
*/
|
|
9192
|
+
var PagerView = exports.PagerView = /*#__PURE__*/function (_React$Component) {
|
|
9193
|
+
function PagerView() {
|
|
9852
9194
|
var _this;
|
|
9853
|
-
(0, _classCallCheck2.default)(this,
|
|
9195
|
+
(0, _classCallCheck2.default)(this, PagerView);
|
|
9854
9196
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
9855
9197
|
args[_key] = arguments[_key];
|
|
9856
9198
|
}
|
|
9857
|
-
_this = _callSuper(this,
|
|
9199
|
+
_this = _callSuper(this, PagerView, [].concat(args));
|
|
9858
9200
|
_this.isScrolling = false;
|
|
9859
9201
|
_this.pagerView = null;
|
|
9860
9202
|
_this._onPageScroll = function (e) {
|
|
@@ -9889,7 +9231,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9889
9231
|
*/
|
|
9890
9232
|
_this.setPage = function (selectedPage) {
|
|
9891
9233
|
if (_this.pagerView) {
|
|
9892
|
-
|
|
9234
|
+
_PagerViewNativeComponent.Commands.setPage(_this.pagerView, selectedPage);
|
|
9893
9235
|
}
|
|
9894
9236
|
};
|
|
9895
9237
|
/**
|
|
@@ -9898,7 +9240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9898
9240
|
*/
|
|
9899
9241
|
_this.setPageWithoutAnimation = function (selectedPage) {
|
|
9900
9242
|
if (_this.pagerView) {
|
|
9901
|
-
|
|
9243
|
+
_PagerViewNativeComponent.Commands.setPageWithoutAnimation(_this.pagerView, selectedPage);
|
|
9902
9244
|
}
|
|
9903
9245
|
};
|
|
9904
9246
|
/**
|
|
@@ -9908,18 +9250,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9908
9250
|
*/
|
|
9909
9251
|
_this.setScrollEnabled = function (scrollEnabled) {
|
|
9910
9252
|
if (_this.pagerView) {
|
|
9911
|
-
|
|
9253
|
+
_PagerViewNativeComponent.Commands.setScrollEnabledImperatively(_this.pagerView, scrollEnabled);
|
|
9912
9254
|
}
|
|
9913
9255
|
};
|
|
9914
9256
|
return _this;
|
|
9915
9257
|
}
|
|
9916
|
-
(0, _inherits2.default)(
|
|
9917
|
-
return (0, _createClass2.default)(
|
|
9918
|
-
key: "nativeCommandsWrapper",
|
|
9919
|
-
get: function get() {
|
|
9920
|
-
return this.props.useLegacy ? _LEGACY_PagerViewNativeComponent.Commands : _PagerViewNativeComponent.Commands;
|
|
9921
|
-
}
|
|
9922
|
-
}, {
|
|
9258
|
+
(0, _inherits2.default)(PagerView, _React$Component);
|
|
9259
|
+
return (0, _createClass2.default)(PagerView, [{
|
|
9923
9260
|
key: "deducedLayoutDirection",
|
|
9924
9261
|
get: function get() {
|
|
9925
9262
|
if (!this.props.layoutDirection ||
|
|
@@ -9934,103 +9271,83 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9934
9271
|
key: "render",
|
|
9935
9272
|
value: function render() {
|
|
9936
9273
|
var _this2 = this;
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
ref: function ref(_ref) {
|
|
9941
|
-
_this2.pagerView = _ref;
|
|
9942
|
-
},
|
|
9943
|
-
style: this.props.style,
|
|
9944
|
-
layoutDirection: this.deducedLayoutDirection,
|
|
9945
|
-
onPageScroll: this._onPageScroll,
|
|
9946
|
-
onPageScrollStateChanged: this._onPageScrollStateChanged,
|
|
9947
|
-
onPageSelected: this._onPageSelected,
|
|
9948
|
-
onMoveShouldSetResponderCapture: this._onMoveShouldSetResponderCapture,
|
|
9949
|
-
children: (0, _$$_REQUIRE(_dependencyMap[12]).LEGACY_childrenWithOverriddenStyle)(this.props.children)
|
|
9950
|
-
}));
|
|
9951
|
-
}
|
|
9952
|
-
var style = [this.props.style, this.props.pageMargin ? {
|
|
9953
|
-
marginHorizontal: -this.props.pageMargin / 2
|
|
9954
|
-
} : null, {
|
|
9955
|
-
flexDirection: this.props.orientation === 'vertical' ? 'column' : 'row'
|
|
9956
|
-
}];
|
|
9957
|
-
|
|
9958
|
-
// new iOS `UIScrollView`-based implementation, Android, and other platforms
|
|
9959
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_PagerViewNativeComponent.default, Object.assign({}, this.props, {
|
|
9960
|
-
ref: function ref(_ref2) {
|
|
9961
|
-
_this2.pagerView = _ref2;
|
|
9274
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_PagerViewNativeComponent.default, Object.assign({}, this.props, {
|
|
9275
|
+
ref: function ref(_ref) {
|
|
9276
|
+
_this2.pagerView = _ref;
|
|
9962
9277
|
},
|
|
9963
|
-
style: style,
|
|
9278
|
+
style: this.props.style,
|
|
9964
9279
|
layoutDirection: this.deducedLayoutDirection,
|
|
9965
9280
|
onPageScroll: this._onPageScroll,
|
|
9966
9281
|
onPageScrollStateChanged: this._onPageScrollStateChanged,
|
|
9967
9282
|
onPageSelected: this._onPageSelected,
|
|
9968
9283
|
onMoveShouldSetResponderCapture: this._onMoveShouldSetResponderCapture,
|
|
9969
|
-
children: (0, _$$_REQUIRE(_dependencyMap[
|
|
9284
|
+
children: (0, _$$_REQUIRE(_dependencyMap[10]).childrenWithOverriddenStyle)(this.props.children)
|
|
9970
9285
|
}));
|
|
9971
9286
|
}
|
|
9972
9287
|
}]);
|
|
9973
|
-
}(_react.default.Component);
|
|
9974
|
-
|
|
9975
|
-
var useNext = props.useNext,
|
|
9976
|
-
rest = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
9977
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[11]).jsx)(PagerViewInternal, Object.assign({}, rest, {
|
|
9978
|
-
useLegacy: !useNext,
|
|
9979
|
-
ref: ref
|
|
9980
|
-
}));
|
|
9981
|
-
});
|
|
9982
|
-
|
|
9983
|
-
// React.forwardRef does not type returned component properly, thus breaking Ref<MyComponent> typing.
|
|
9984
|
-
// One way to overcome this is using separate typing for component "interface",
|
|
9985
|
-
// but that breaks backward compatibility in this case.
|
|
9986
|
-
// Approach of merging type is hacky, but produces a good typing for both ref attributes and component itself.
|
|
9987
|
-
},"aa23a2c3060eace32908",["e13c8413f9a5de8e772f","288fc9023aadbf916360","7ba3d97b9a1c7b5d2869","51a05661f80df8a7ec74","1a2fe3e5fa067fc0a581","9f001f493a532727260d","106616352dc94f6a631a","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","b628a263318511b52f47","2010d8fa92d7cc14e0ac","048fed5a64a04bdb7fed","40c4db3270a17fe67ffe"]);
|
|
9988
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9989
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9990
|
-
value: true
|
|
9991
|
-
});
|
|
9992
|
-
exports.default = exports.Commands = undefined;
|
|
9993
|
-
var _codegenNativeCommands = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
9994
|
-
var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
9995
|
-
var Commands = exports.Commands = (0, _codegenNativeCommands.default)({
|
|
9996
|
-
supportedCommands: ['setPage', 'setPageWithoutAnimation', 'setScrollEnabledImperatively']
|
|
9997
|
-
});
|
|
9998
|
-
var _default = exports.default = (0, _codegenNativeComponent.default)('RNCViewPager');
|
|
9999
|
-
},"b628a263318511b52f47",["e13c8413f9a5de8e772f","276fdf93b5bf06f5ed62","66ac785f768f3933d852"]);
|
|
9288
|
+
}(_react.default.Component);
|
|
9289
|
+
},"a28ac6a813729a4cd5ab",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","3a734a0afb95e6f595fa","048fed5a64a04bdb7fed","18c2652e5d16cbf09aa6"]);
|
|
10000
9290
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10001
9291
|
Object.defineProperty(exports, "__esModule", {
|
|
10002
9292
|
value: true
|
|
10003
9293
|
});
|
|
10004
|
-
exports.default = exports.Commands = undefined;
|
|
9294
|
+
exports.default = exports.__INTERNAL_VIEW_CONFIG = exports.Commands = undefined;
|
|
10005
9295
|
var _codegenNativeCommands = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
10006
9296
|
var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
9297
|
+
var nativeComponentName = 'RNCViewPager';
|
|
9298
|
+
var __INTERNAL_VIEW_CONFIG = exports.__INTERNAL_VIEW_CONFIG = {
|
|
9299
|
+
uiViewClassName: "RNCViewPager",
|
|
9300
|
+
directEventTypes: {
|
|
9301
|
+
topPageScroll: {
|
|
9302
|
+
registrationName: "onPageScroll"
|
|
9303
|
+
},
|
|
9304
|
+
topPageSelected: {
|
|
9305
|
+
registrationName: "onPageSelected"
|
|
9306
|
+
},
|
|
9307
|
+
topPageScrollStateChanged: {
|
|
9308
|
+
registrationName: "onPageScrollStateChanged"
|
|
9309
|
+
}
|
|
9310
|
+
},
|
|
9311
|
+
validAttributes: Object.assign({
|
|
9312
|
+
scrollEnabled: true,
|
|
9313
|
+
layoutDirection: true,
|
|
9314
|
+
initialPage: true,
|
|
9315
|
+
orientation: true,
|
|
9316
|
+
offscreenPageLimit: true,
|
|
9317
|
+
pageMargin: true,
|
|
9318
|
+
overScrollMode: true,
|
|
9319
|
+
overdrag: true,
|
|
9320
|
+
keyboardDismissMode: true
|
|
9321
|
+
}, _$$_REQUIRE(_dependencyMap[3]).ConditionallyIgnoredEventHandlers({
|
|
9322
|
+
onPageScroll: true,
|
|
9323
|
+
onPageSelected: true,
|
|
9324
|
+
onPageScrollStateChanged: true
|
|
9325
|
+
}))
|
|
9326
|
+
};
|
|
9327
|
+
var _default = exports.default = _$$_REQUIRE(_dependencyMap[4]).get(nativeComponentName, function () {
|
|
9328
|
+
return __INTERNAL_VIEW_CONFIG;
|
|
10021
9329
|
});
|
|
10022
|
-
var
|
|
10023
|
-
|
|
9330
|
+
var Commands = exports.Commands = {
|
|
9331
|
+
setPage: function setPage(ref, selectedPage) {
|
|
9332
|
+
_$$_REQUIRE(_dependencyMap[5]).dispatchCommand(ref, "setPage", [selectedPage]);
|
|
9333
|
+
},
|
|
9334
|
+
setPageWithoutAnimation: function setPageWithoutAnimation(ref, selectedPage) {
|
|
9335
|
+
_$$_REQUIRE(_dependencyMap[5]).dispatchCommand(ref, "setPageWithoutAnimation", [selectedPage]);
|
|
9336
|
+
},
|
|
9337
|
+
setScrollEnabledImperatively: function setScrollEnabledImperatively(ref, scrollEnabled) {
|
|
9338
|
+
_$$_REQUIRE(_dependencyMap[5]).dispatchCommand(ref, "setScrollEnabledImperatively", [scrollEnabled]);
|
|
9339
|
+
}
|
|
9340
|
+
};
|
|
9341
|
+
},"3a734a0afb95e6f595fa",["277a84013d7e1a1ace05","276fdf93b5bf06f5ed62","66ac785f768f3933d852","4c64a52dc42783822808","4d5885514d344231b71f","7816c954990265e370e0"]);
|
|
10024
9342
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10025
9343
|
Object.defineProperty(exports, "__esModule", {
|
|
10026
9344
|
value: true
|
|
10027
9345
|
});
|
|
10028
|
-
exports.childrenWithOverriddenStyle =
|
|
9346
|
+
exports.childrenWithOverriddenStyle = undefined;
|
|
10029
9347
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10030
9348
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
10031
|
-
function
|
|
10032
|
-
|
|
10033
|
-
var LEGACY_childrenWithOverriddenStyle = exports.LEGACY_childrenWithOverriddenStyle = function LEGACY_childrenWithOverriddenStyle(children) {
|
|
9349
|
+
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); }
|
|
9350
|
+
var childrenWithOverriddenStyle = exports.childrenWithOverriddenStyle = function childrenWithOverriddenStyle(children) {
|
|
10034
9351
|
return _react.Children.map(children, function (child) {
|
|
10035
9352
|
var element = child;
|
|
10036
9353
|
return (
|
|
@@ -10047,22 +9364,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10047
9364
|
);
|
|
10048
9365
|
});
|
|
10049
9366
|
};
|
|
10050
|
-
|
|
10051
|
-
var pageMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
10052
|
-
return _react.Children.map(children, function (child) {
|
|
10053
|
-
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[2]).jsx)(_reactNative.View, {
|
|
10054
|
-
style: {
|
|
10055
|
-
height: '100%',
|
|
10056
|
-
width: '100%',
|
|
10057
|
-
paddingHorizontal: pageMargin / 2,
|
|
10058
|
-
position: _reactNative.Platform.OS === 'android' ? 'absolute' : undefined
|
|
10059
|
-
},
|
|
10060
|
-
collapsable: false,
|
|
10061
|
-
children: child
|
|
10062
|
-
});
|
|
10063
|
-
});
|
|
10064
|
-
};
|
|
10065
|
-
},"40c4db3270a17fe67ffe",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
9367
|
+
},"18c2652e5d16cbf09aa6",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
10066
9368
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10067
9369
|
"use strict";
|
|
10068
9370
|
|
|
@@ -10138,7 +9440,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10138
9440
|
}
|
|
10139
9441
|
}, rest));
|
|
10140
9442
|
}
|
|
10141
|
-
},"0db49a757418b374508d",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9443
|
+
},"0db49a757418b374508d",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","a2c8e692f78bae5b8b98"]);
|
|
10142
9444
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10143
9445
|
"use strict";
|
|
10144
9446
|
|
|
@@ -10192,7 +9494,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10192
9494
|
});
|
|
10193
9495
|
};
|
|
10194
9496
|
}
|
|
10195
|
-
},"4a77db3764613ffda777",["6ed0e34da2b23bd3554f","
|
|
9497
|
+
},"4a77db3764613ffda777",["6ed0e34da2b23bd3554f","a2c8e692f78bae5b8b98"]);
|
|
10196
9498
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10197
9499
|
"use strict";
|
|
10198
9500
|
|
|
@@ -10298,7 +9600,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10298
9600
|
overflow: 'hidden'
|
|
10299
9601
|
}
|
|
10300
9602
|
});
|
|
10301
|
-
},"a8c0c301a9d8f39c447d",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9603
|
+
},"a8c0c301a9d8f39c447d",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","d73b3a84588342abd1b6"]);
|
|
10302
9604
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10303
9605
|
"use strict";
|
|
10304
9606
|
|
|
@@ -10573,9 +9875,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10573
9875
|
var translateX = React.useMemo(function () {
|
|
10574
9876
|
return getTranslateX(scrollAmount, getMaxScrollDistance(tabBarWidth, layout.width));
|
|
10575
9877
|
}, [layout.width, scrollAmount, tabBarWidth]);
|
|
10576
|
-
var renderItem = React.useCallback(function (
|
|
10577
|
-
var route =
|
|
10578
|
-
index =
|
|
9878
|
+
var renderItem = React.useCallback(function (_ref0) {
|
|
9879
|
+
var route = _ref0.item,
|
|
9880
|
+
index = _ref0.index;
|
|
10579
9881
|
var props = {
|
|
10580
9882
|
key: route.key,
|
|
10581
9883
|
position: position,
|
|
@@ -10658,8 +9960,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10658
9960
|
useNativeDriver: true
|
|
10659
9961
|
});
|
|
10660
9962
|
}, [scrollAmount]);
|
|
10661
|
-
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (
|
|
10662
|
-
var changed =
|
|
9963
|
+
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (_ref1) {
|
|
9964
|
+
var changed = _ref1.changed;
|
|
10663
9965
|
if (routes.length <= MEASURE_PER_BATCH) {
|
|
10664
9966
|
return;
|
|
10665
9967
|
}
|
|
@@ -10757,7 +10059,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10757
10059
|
bottom: 0
|
|
10758
10060
|
}
|
|
10759
10061
|
});
|
|
10760
|
-
},"58d7e612b9e00bdfbae6",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","5bf71bdf735d053b33aa","ff49b9a2c73fb7e1d6c2","daf1813918444f47dfe9","
|
|
10062
|
+
},"58d7e612b9e00bdfbae6",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","5bf71bdf735d053b33aa","ff49b9a2c73fb7e1d6c2","daf1813918444f47dfe9","d73b3a84588342abd1b6"]);
|
|
10761
10063
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10762
10064
|
"use strict";
|
|
10763
10065
|
|
|
@@ -10955,7 +10257,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10955
10257
|
height: 2
|
|
10956
10258
|
}
|
|
10957
10259
|
});
|
|
10958
|
-
},"5bf71bdf735d053b33aa",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","daf1813918444f47dfe9","
|
|
10260
|
+
},"5bf71bdf735d053b33aa",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","daf1813918444f47dfe9","838d7a057beeb5db50df"]);
|
|
10959
10261
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10960
10262
|
"use strict";
|
|
10961
10263
|
|
|
@@ -11226,7 +10528,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11226
10528
|
backgroundColor: 'transparent'
|
|
11227
10529
|
}
|
|
11228
10530
|
});
|
|
11229
|
-
},"ff49b9a2c73fb7e1d6c2",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","0db49a757418b374508d","
|
|
10531
|
+
},"ff49b9a2c73fb7e1d6c2",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","0db49a757418b374508d","a2c8e692f78bae5b8b98"]);
|
|
11230
10532
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11231
10533
|
"use strict";
|
|
11232
10534
|
|
|
@@ -11393,7 +10695,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11393
10695
|
overflow: 'hidden'
|
|
11394
10696
|
}
|
|
11395
10697
|
});
|
|
11396
|
-
},"cadd5c1a82c73dd84aae",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","db6902699724e6f62567","a8c0c301a9d8f39c447d","58d7e612b9e00bdfbae6","
|
|
10698
|
+
},"cadd5c1a82c73dd84aae",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","db6902699724e6f62567","a8c0c301a9d8f39c447d","58d7e612b9e00bdfbae6","d73b3a84588342abd1b6"]);
|
|
11397
10699
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11398
10700
|
"use strict";
|
|
11399
10701
|
|
|
@@ -11459,7 +10761,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11459
10761
|
}
|
|
11460
10762
|
});
|
|
11461
10763
|
var _PanResponderAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
11462
|
-
},"e13dfa86583eafd9c87b",["
|
|
10764
|
+
},"e13dfa86583eafd9c87b",["277a84013d7e1a1ace05","68b187179620e0652668"]);
|
|
11463
10765
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11464
10766
|
Object.defineProperty(exports, "__esModule", {
|
|
11465
10767
|
value: true
|
|
@@ -11470,8 +10772,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11470
10772
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
11471
10773
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
11472
10774
|
var _excluded = ["timing"];
|
|
11473
|
-
function
|
|
11474
|
-
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; }
|
|
10775
|
+
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); }
|
|
11475
10776
|
function _extends() {
|
|
11476
10777
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11477
10778
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -11678,7 +10979,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11678
10979
|
alignItems: 'stretch'
|
|
11679
10980
|
}
|
|
11680
10981
|
});
|
|
11681
|
-
},"68b187179620e0652668",["
|
|
10982
|
+
},"68b187179620e0652668",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","b0e77334911132799eb5"]);
|
|
11682
10983
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11683
10984
|
Object.defineProperty(exports, "__esModule", {
|
|
11684
10985
|
value: true
|
|
@@ -11686,8 +10987,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11686
10987
|
exports.default = useAnimatedValue;
|
|
11687
10988
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
11688
10989
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
11689
|
-
function
|
|
11690
|
-
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; }
|
|
10990
|
+
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); }
|
|
11691
10991
|
function useAnimatedValue(initialValue) {
|
|
11692
10992
|
var lazyRef = React.useRef();
|
|
11693
10993
|
if (lazyRef.current === undefined) {
|
|
@@ -11707,8 +11007,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11707
11007
|
var _reactNativePagerView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
11708
11008
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
11709
11009
|
var _excluded = ["keyboardDismissMode", "swipeEnabled", "navigationState", "onIndexChange", "onSwipeStart", "onSwipeEnd", "children", "style", "animationEnabled"];
|
|
11710
|
-
function
|
|
11711
|
-
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; }
|
|
11010
|
+
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); }
|
|
11712
11011
|
function _extends() {
|
|
11713
11012
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11714
11013
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -11839,7 +11138,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11839
11138
|
flex: 1
|
|
11840
11139
|
}
|
|
11841
11140
|
});
|
|
11842
|
-
},"1642458658ae54a8678e",["
|
|
11141
|
+
},"1642458658ae54a8678e",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","511026e65104b16a3e63","b0e77334911132799eb5"]);
|
|
11843
11142
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11844
11143
|
Object.defineProperty(exports, "__esModule", {
|
|
11845
11144
|
value: true
|
|
@@ -11849,8 +11148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11849
11148
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
11850
11149
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
11851
11150
|
var _excluded = ["android_ripple", "pressColor", "pressOpacity", "style"];
|
|
11852
|
-
function
|
|
11853
|
-
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; }
|
|
11151
|
+
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); }
|
|
11854
11152
|
function _extends() {
|
|
11855
11153
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11856
11154
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -11891,7 +11189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11891
11189
|
}
|
|
11892
11190
|
}, rest));
|
|
11893
11191
|
}
|
|
11894
|
-
},"7385c341d0b1fba98ffb",["
|
|
11192
|
+
},"7385c341d0b1fba98ffb",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a"]);
|
|
11895
11193
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11896
11194
|
Object.defineProperty(exports, "__esModule", {
|
|
11897
11195
|
value: true
|
|
@@ -11900,8 +11198,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11900
11198
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
11901
11199
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
11902
11200
|
var _excluded = ["component"];
|
|
11903
|
-
function
|
|
11904
|
-
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; }
|
|
11201
|
+
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); }
|
|
11905
11202
|
var SceneComponent = /*#__PURE__*/React.memo(function (_ref) {
|
|
11906
11203
|
var component = _ref.component,
|
|
11907
11204
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -11921,7 +11218,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11921
11218
|
});
|
|
11922
11219
|
};
|
|
11923
11220
|
}
|
|
11924
|
-
},"677cad769bb80ce89421",["
|
|
11221
|
+
},"677cad769bb80ce89421",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f"]);
|
|
11925
11222
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11926
11223
|
Object.defineProperty(exports, "__esModule", {
|
|
11927
11224
|
value: true
|
|
@@ -11930,8 +11227,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11930
11227
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
11931
11228
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
11932
11229
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
11933
|
-
function
|
|
11934
|
-
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; }
|
|
11230
|
+
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); }
|
|
11935
11231
|
function SceneView(_ref) {
|
|
11936
11232
|
var children = _ref.children,
|
|
11937
11233
|
navigationState = _ref.navigationState,
|
|
@@ -12003,7 +11299,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12003
11299
|
overflow: 'hidden'
|
|
12004
11300
|
}
|
|
12005
11301
|
});
|
|
12006
|
-
},"337f2013a1aa5ce3c195",["
|
|
11302
|
+
},"337f2013a1aa5ce3c195",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a"]);
|
|
12007
11303
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12008
11304
|
Object.defineProperty(exports, "__esModule", {
|
|
12009
11305
|
value: true
|
|
@@ -12016,8 +11312,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12016
11312
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12017
11313
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
12018
11314
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
12019
|
-
function
|
|
12020
|
-
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; }
|
|
11315
|
+
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); }
|
|
12021
11316
|
var Separator = function Separator(_ref) {
|
|
12022
11317
|
var width = _ref.width;
|
|
12023
11318
|
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
@@ -12249,9 +11544,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12249
11544
|
var translateX = React.useMemo(function () {
|
|
12250
11545
|
return getTranslateX(scrollAmount, getMaxScrollDistance(tabBarWidth, layout.width));
|
|
12251
11546
|
}, [layout.width, scrollAmount, tabBarWidth]);
|
|
12252
|
-
var renderItem = React.useCallback(function (
|
|
12253
|
-
var route =
|
|
12254
|
-
index =
|
|
11547
|
+
var renderItem = React.useCallback(function (_ref0) {
|
|
11548
|
+
var route = _ref0.item,
|
|
11549
|
+
index = _ref0.index;
|
|
12255
11550
|
var props = {
|
|
12256
11551
|
key: route.key,
|
|
12257
11552
|
position: position,
|
|
@@ -12334,8 +11629,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12334
11629
|
useNativeDriver: true
|
|
12335
11630
|
});
|
|
12336
11631
|
}, [scrollAmount]);
|
|
12337
|
-
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (
|
|
12338
|
-
var changed =
|
|
11632
|
+
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (_ref1) {
|
|
11633
|
+
var changed = _ref1.changed;
|
|
12339
11634
|
if (routes.length <= MEASURE_PER_BATCH) {
|
|
12340
11635
|
return;
|
|
12341
11636
|
}
|
|
@@ -12433,7 +11728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12433
11728
|
bottom: 0
|
|
12434
11729
|
}
|
|
12435
11730
|
});
|
|
12436
|
-
},"0711016b4d92b479586b",["
|
|
11731
|
+
},"0711016b4d92b479586b",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","02d2cf13030341c31d34","1a7cd1262be0d9407034","b0e77334911132799eb5"]);
|
|
12437
11732
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12438
11733
|
Object.defineProperty(exports, "__esModule", {
|
|
12439
11734
|
value: true
|
|
@@ -12443,8 +11738,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12443
11738
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
12444
11739
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
12445
11740
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12446
|
-
function
|
|
12447
|
-
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; }
|
|
11741
|
+
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); }
|
|
12448
11742
|
var getTranslateX = function getTranslateX(position, routes, getTabWidth, gap) {
|
|
12449
11743
|
var inputRange = routes.map(function (_, i) {
|
|
12450
11744
|
return i;
|
|
@@ -12547,7 +11841,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12547
11841
|
height: 2
|
|
12548
11842
|
}
|
|
12549
11843
|
});
|
|
12550
|
-
},"02d2cf13030341c31d34",["
|
|
11844
|
+
},"02d2cf13030341c31d34",["277a84013d7e1a1ace05","838d7a057beeb5db50df","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","b0e77334911132799eb5"]);
|
|
12551
11845
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12552
11846
|
Object.defineProperty(exports, "__esModule", {
|
|
12553
11847
|
value: true
|
|
@@ -12559,8 +11853,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12559
11853
|
var _useLatestCallback = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12560
11854
|
var _PlatformPressable = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12561
11855
|
var _excluded = ["onPress", "onLongPress", "onLayout", "navigationState", "route"];
|
|
12562
|
-
function
|
|
12563
|
-
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; }
|
|
11856
|
+
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); }
|
|
12564
11857
|
function _extends() {
|
|
12565
11858
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
12566
11859
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12789,7 +12082,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12789
12082
|
backgroundColor: 'transparent'
|
|
12790
12083
|
}
|
|
12791
12084
|
});
|
|
12792
|
-
},"1a7cd1262be0d9407034",["
|
|
12085
|
+
},"1a7cd1262be0d9407034",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","7385c341d0b1fba98ffb"]);
|
|
12793
12086
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12794
12087
|
Object.defineProperty(exports, "__esModule", {
|
|
12795
12088
|
value: true
|
|
@@ -12801,8 +12094,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12801
12094
|
var _Pager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12802
12095
|
var _SceneView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12803
12096
|
var _TabBar = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
12804
|
-
function
|
|
12805
|
-
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; }
|
|
12097
|
+
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); }
|
|
12806
12098
|
function _extends() {
|
|
12807
12099
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
12808
12100
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12927,7 +12219,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12927
12219
|
overflow: 'hidden'
|
|
12928
12220
|
}
|
|
12929
12221
|
});
|
|
12930
|
-
},"a476deb3727c7a32fd7d",["
|
|
12222
|
+
},"a476deb3727c7a32fd7d",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","e13dfa86583eafd9c87b","337f2013a1aa5ce3c195","0711016b4d92b479586b"]);
|
|
12931
12223
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12932
12224
|
Object.defineProperty(exports, "__esModule", {
|
|
12933
12225
|
value: true
|
|
@@ -12967,7 +12259,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12967
12259
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
12968
12260
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12969
12261
|
var _TabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12970
|
-
},"0044de6ea98cee8f3a87",["
|
|
12262
|
+
},"0044de6ea98cee8f3a87",["277a84013d7e1a1ace05","677cad769bb80ce89421","0711016b4d92b479586b","02d2cf13030341c31d34","1a7cd1262be0d9407034","a476deb3727c7a32fd7d"]);
|
|
12971
12263
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12972
12264
|
Object.defineProperty(exports, "__esModule", {
|
|
12973
12265
|
value: true
|
|
@@ -12984,7 +12276,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12984
12276
|
}
|
|
12985
12277
|
});
|
|
12986
12278
|
var _PagerViewAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
12987
|
-
},"2878eba90eb9c70a9f11",["
|
|
12279
|
+
},"2878eba90eb9c70a9f11",["277a84013d7e1a1ace05","ed28b0c28d3d94cd1d69"]);
|
|
12988
12280
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12989
12281
|
Object.defineProperty(exports, "__esModule", {
|
|
12990
12282
|
value: true
|
|
@@ -12996,8 +12288,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12996
12288
|
var _reactNativePagerView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12997
12289
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12998
12290
|
var _excluded = ["keyboardDismissMode", "swipeEnabled", "navigationState", "onIndexChange", "onSwipeStart", "onSwipeEnd", "children", "style", "animationEnabled"];
|
|
12999
|
-
function
|
|
13000
|
-
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; }
|
|
12291
|
+
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); }
|
|
13001
12292
|
var AnimatedViewPager = _reactNative.Animated.createAnimatedComponent(_reactNativePagerView.default);
|
|
13002
12293
|
function PagerViewAdapter(_ref) {
|
|
13003
12294
|
var _ref$keyboardDismissM = _ref.keyboardDismissMode,
|
|
@@ -13028,10 +12319,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13028
12319
|
});
|
|
13029
12320
|
if (animationEnabled) {
|
|
13030
12321
|
var _pagerRef$current;
|
|
13031
|
-
(_pagerRef$current = pagerRef.current) == null
|
|
12322
|
+
(_pagerRef$current = pagerRef.current) == null || _pagerRef$current.setPage(index);
|
|
13032
12323
|
} else {
|
|
13033
12324
|
var _pagerRef$current2;
|
|
13034
|
-
(_pagerRef$current2 = pagerRef.current) == null
|
|
12325
|
+
(_pagerRef$current2 = pagerRef.current) == null || _pagerRef$current2.setPageWithoutAnimation(index);
|
|
13035
12326
|
position.setValue(index);
|
|
13036
12327
|
}
|
|
13037
12328
|
}, [animationEnabled, position]);
|
|
@@ -13042,10 +12333,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13042
12333
|
if (indexRef.current !== index) {
|
|
13043
12334
|
if (animationEnabled) {
|
|
13044
12335
|
var _pagerRef$current3;
|
|
13045
|
-
(_pagerRef$current3 = pagerRef.current) == null
|
|
12336
|
+
(_pagerRef$current3 = pagerRef.current) == null || _pagerRef$current3.setPage(index);
|
|
13046
12337
|
} else {
|
|
13047
12338
|
var _pagerRef$current4;
|
|
13048
|
-
(_pagerRef$current4 = pagerRef.current) == null
|
|
12339
|
+
(_pagerRef$current4 = pagerRef.current) == null || _pagerRef$current4.setPageWithoutAnimation(index);
|
|
13049
12340
|
position.setValue(index);
|
|
13050
12341
|
}
|
|
13051
12342
|
}
|
|
@@ -13054,7 +12345,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13054
12345
|
var pageScrollState = state.nativeEvent.pageScrollState;
|
|
13055
12346
|
switch (pageScrollState) {
|
|
13056
12347
|
case 'idle':
|
|
13057
|
-
onSwipeEnd == null
|
|
12348
|
+
onSwipeEnd == null || onSwipeEnd();
|
|
13058
12349
|
return;
|
|
13059
12350
|
case 'dragging':
|
|
13060
12351
|
{
|
|
@@ -13068,7 +12359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13068
12359
|
}
|
|
13069
12360
|
offset.removeListener(subscription);
|
|
13070
12361
|
});
|
|
13071
|
-
onSwipeStart == null
|
|
12362
|
+
onSwipeStart == null || onSwipeStart();
|
|
13072
12363
|
return;
|
|
13073
12364
|
}
|
|
13074
12365
|
}
|
|
@@ -13120,7 +12411,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13120
12411
|
flex: 1
|
|
13121
12412
|
}
|
|
13122
12413
|
});
|
|
13123
|
-
},"ed28b0c28d3d94cd1d69",["
|
|
12414
|
+
},"ed28b0c28d3d94cd1d69",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","511026e65104b16a3e63","16a3e404dee0d7ceb2a7","048fed5a64a04bdb7fed"]);
|
|
13124
12415
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13125
12416
|
Object.defineProperty(exports, "__esModule", {
|
|
13126
12417
|
value: true
|
|
@@ -13128,8 +12419,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13128
12419
|
exports.default = useAnimatedValue;
|
|
13129
12420
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13130
12421
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
13131
|
-
function
|
|
13132
|
-
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; }
|
|
12422
|
+
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); }
|
|
13133
12423
|
function useAnimatedValue(initialValue) {
|
|
13134
12424
|
var lazyRef = React.useRef();
|
|
13135
12425
|
if (lazyRef.current === undefined) {
|
|
@@ -13149,7 +12439,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13149
12439
|
}
|
|
13150
12440
|
});
|
|
13151
12441
|
var _PagerViewAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13152
|
-
},"1b0915a602900fbfc771",["
|
|
12442
|
+
},"1b0915a602900fbfc771",["277a84013d7e1a1ace05","ed28b0c28d3d94cd1d69"]);
|
|
13153
12443
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13154
12444
|
Object.defineProperty(exports, "__esModule", {
|
|
13155
12445
|
value: true
|
|
@@ -13161,7 +12451,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13161
12451
|
}
|
|
13162
12452
|
});
|
|
13163
12453
|
var _PanResponderAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13164
|
-
},"3bb524a1ade7b76a4923",["
|
|
12454
|
+
},"3bb524a1ade7b76a4923",["277a84013d7e1a1ace05","2b25d2faf8f04a627fe2"]);
|
|
13165
12455
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13166
12456
|
Object.defineProperty(exports, "__esModule", {
|
|
13167
12457
|
value: true
|
|
@@ -13172,8 +12462,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13172
12462
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13173
12463
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
13174
12464
|
var _excluded = ["timing"];
|
|
13175
|
-
function
|
|
13176
|
-
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; }
|
|
12465
|
+
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); }
|
|
13177
12466
|
var DEAD_ZONE = 12;
|
|
13178
12467
|
var DefaultTransitionSpec = {
|
|
13179
12468
|
timing: _reactNative.Animated.spring,
|
|
@@ -13259,7 +12548,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13259
12548
|
return isMovingHorizontally(event, gestureState) && (diffX >= DEAD_ZONE && currentIndexRef.current > 0 || diffX <= -12 && currentIndexRef.current < routes.length - 1);
|
|
13260
12549
|
};
|
|
13261
12550
|
var startGesture = function startGesture() {
|
|
13262
|
-
onSwipeStart == null
|
|
12551
|
+
onSwipeStart == null || onSwipeStart();
|
|
13263
12552
|
if (keyboardDismissMode === 'on-drag') {
|
|
13264
12553
|
_reactNative.Keyboard.dismiss();
|
|
13265
12554
|
}
|
|
@@ -13290,7 +12579,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13290
12579
|
};
|
|
13291
12580
|
var finishGesture = function finishGesture(_, gestureState) {
|
|
13292
12581
|
panX.flattenOffset();
|
|
13293
|
-
onSwipeEnd == null
|
|
12582
|
+
onSwipeEnd == null || onSwipeEnd();
|
|
13294
12583
|
var currentIndex = typeof pendingIndexRef.current === 'number' ? pendingIndexRef.current : currentIndexRef.current;
|
|
13295
12584
|
var nextIndex = currentIndex;
|
|
13296
12585
|
if (Math.abs(gestureState.dx) > Math.abs(gestureState.dy) && Math.abs(gestureState.vx) > Math.abs(gestureState.vy) && (Math.abs(gestureState.dx) > swipeDistanceThreshold || Math.abs(gestureState.vx) > swipeVelocityThreshold)) {
|
|
@@ -13373,7 +12662,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13373
12662
|
alignItems: 'stretch'
|
|
13374
12663
|
}
|
|
13375
12664
|
});
|
|
13376
|
-
},"2b25d2faf8f04a627fe2",["
|
|
12665
|
+
},"2b25d2faf8f04a627fe2",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","16a3e404dee0d7ceb2a7","048fed5a64a04bdb7fed"]);
|
|
13377
12666
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13378
12667
|
Object.defineProperty(exports, "__esModule", {
|
|
13379
12668
|
value: true
|
|
@@ -13383,8 +12672,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13383
12672
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13384
12673
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13385
12674
|
var _excluded = ["android_ripple", "pressColor", "pressOpacity", "style"];
|
|
13386
|
-
function
|
|
13387
|
-
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; }
|
|
12675
|
+
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); }
|
|
13388
12676
|
var ANDROID_VERSION_LOLLIPOP = 21;
|
|
13389
12677
|
var ANDROID_SUPPORTS_RIPPLE = _reactNative.Platform.OS === 'android' && _reactNative.Platform.Version >= ANDROID_VERSION_LOLLIPOP;
|
|
13390
12678
|
|
|
@@ -13416,7 +12704,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13416
12704
|
}
|
|
13417
12705
|
}, rest));
|
|
13418
12706
|
}
|
|
13419
|
-
},"1ca04c7233ed75682772",["
|
|
12707
|
+
},"1ca04c7233ed75682772",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
13420
12708
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13421
12709
|
Object.defineProperty(exports, "__esModule", {
|
|
13422
12710
|
value: true
|
|
@@ -13425,8 +12713,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13425
12713
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13426
12714
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13427
12715
|
var _excluded = ["component"];
|
|
13428
|
-
function
|
|
13429
|
-
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; }
|
|
12716
|
+
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); }
|
|
13430
12717
|
var SceneComponent = React.memo(function (_ref) {
|
|
13431
12718
|
var component = _ref.component,
|
|
13432
12719
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -13445,7 +12732,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13445
12732
|
}, route.key);
|
|
13446
12733
|
};
|
|
13447
12734
|
}
|
|
13448
|
-
},"9eb89d4413bbedb1f1ef",["
|
|
12735
|
+
},"9eb89d4413bbedb1f1ef",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed"]);
|
|
13449
12736
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13450
12737
|
Object.defineProperty(exports, "__esModule", {
|
|
13451
12738
|
value: true
|
|
@@ -13454,8 +12741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13454
12741
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13455
12742
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13456
12743
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13457
|
-
function
|
|
13458
|
-
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; }
|
|
12744
|
+
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); }
|
|
13459
12745
|
function SceneView(_ref) {
|
|
13460
12746
|
var children = _ref.children,
|
|
13461
12747
|
navigationState = _ref.navigationState,
|
|
@@ -13498,7 +12784,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13498
12784
|
}, 0);
|
|
13499
12785
|
}
|
|
13500
12786
|
return function () {
|
|
13501
|
-
unsubscribe == null
|
|
12787
|
+
unsubscribe == null || unsubscribe();
|
|
13502
12788
|
clearTimeout(timer);
|
|
13503
12789
|
};
|
|
13504
12790
|
}, [addEnterListener, index, isLoading, lazy]);
|
|
@@ -13527,7 +12813,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13527
12813
|
overflow: 'hidden'
|
|
13528
12814
|
}
|
|
13529
12815
|
});
|
|
13530
|
-
},"66d436e69f4fdc007b59",["
|
|
12816
|
+
},"66d436e69f4fdc007b59",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
13531
12817
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13532
12818
|
Object.defineProperty(exports, "__esModule", {
|
|
13533
12819
|
value: true
|
|
@@ -13540,8 +12826,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13540
12826
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
13541
12827
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
13542
12828
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
13543
|
-
function
|
|
13544
|
-
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; }
|
|
12829
|
+
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); }
|
|
13545
12830
|
var Separator = function Separator(_ref) {
|
|
13546
12831
|
var width = _ref.width;
|
|
13547
12832
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, {
|
|
@@ -13742,7 +13027,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13742
13027
|
}
|
|
13743
13028
|
if (scrollEnabled) {
|
|
13744
13029
|
var _flatListRef$current;
|
|
13745
|
-
(_flatListRef$current = flatListRef.current) == null
|
|
13030
|
+
(_flatListRef$current = flatListRef.current) == null || _flatListRef$current.scrollToOffset({
|
|
13746
13031
|
offset: scrollOffset,
|
|
13747
13032
|
animated: true
|
|
13748
13033
|
});
|
|
@@ -13773,9 +13058,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13773
13058
|
var translateX = React.useMemo(function () {
|
|
13774
13059
|
return getTranslateX(scrollAmount, getMaxScrollDistance(tabBarWidth, layout.width));
|
|
13775
13060
|
}, [layout.width, scrollAmount, tabBarWidth]);
|
|
13776
|
-
var renderItem = React.useCallback(function (
|
|
13777
|
-
var route =
|
|
13778
|
-
index =
|
|
13061
|
+
var renderItem = React.useCallback(function (_ref0) {
|
|
13062
|
+
var route = _ref0.item,
|
|
13063
|
+
index = _ref0.index;
|
|
13779
13064
|
var props = {
|
|
13780
13065
|
key: route.key,
|
|
13781
13066
|
position: position,
|
|
@@ -13818,7 +13103,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13818
13103
|
event.defaultPrevented = true;
|
|
13819
13104
|
}
|
|
13820
13105
|
};
|
|
13821
|
-
onTabPress == null
|
|
13106
|
+
onTabPress == null || onTabPress(event);
|
|
13822
13107
|
if (event.defaultPrevented) {
|
|
13823
13108
|
return;
|
|
13824
13109
|
}
|
|
@@ -13860,8 +13145,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13860
13145
|
useNativeDriver: true
|
|
13861
13146
|
});
|
|
13862
13147
|
}, [scrollAmount]);
|
|
13863
|
-
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (
|
|
13864
|
-
var changed =
|
|
13148
|
+
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (_ref1) {
|
|
13149
|
+
var changed = _ref1.changed;
|
|
13865
13150
|
if (routes.length <= MEASURE_PER_BATCH) {
|
|
13866
13151
|
return;
|
|
13867
13152
|
}
|
|
@@ -13962,7 +13247,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13962
13247
|
bottom: 0
|
|
13963
13248
|
}
|
|
13964
13249
|
});
|
|
13965
|
-
},"f3fef987945c403bdffc",["
|
|
13250
|
+
},"f3fef987945c403bdffc",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","736f95b72609f17c7010","cb125545eec6217eed71","16a3e404dee0d7ceb2a7","048fed5a64a04bdb7fed"]);
|
|
13966
13251
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13967
13252
|
Object.defineProperty(exports, "__esModule", {
|
|
13968
13253
|
value: true
|
|
@@ -13972,8 +13257,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13972
13257
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13973
13258
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13974
13259
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
13975
|
-
function
|
|
13976
|
-
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; }
|
|
13260
|
+
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); }
|
|
13977
13261
|
var getTranslateX = function getTranslateX(position, routes, getTabWidth, gap) {
|
|
13978
13262
|
var inputRange = routes.map(function (_, i) {
|
|
13979
13263
|
return i;
|
|
@@ -14076,7 +13360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14076
13360
|
height: 2
|
|
14077
13361
|
}
|
|
14078
13362
|
});
|
|
14079
|
-
},"736f95b72609f17c7010",["
|
|
13363
|
+
},"736f95b72609f17c7010",["277a84013d7e1a1ace05","838d7a057beeb5db50df","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","16a3e404dee0d7ceb2a7","048fed5a64a04bdb7fed"]);
|
|
14080
13364
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14081
13365
|
Object.defineProperty(exports, "__esModule", {
|
|
14082
13366
|
value: true
|
|
@@ -14088,8 +13372,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14088
13372
|
var _useLatestCallback = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
14089
13373
|
var _PlatformPressable = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14090
13374
|
var _excluded = ["onPress", "onLongPress", "onLayout", "navigationState", "route"];
|
|
14091
|
-
function
|
|
14092
|
-
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; }
|
|
13375
|
+
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); }
|
|
14093
13376
|
var DEFAULT_ACTIVE_COLOR = 'rgba(255, 255, 255, 1)';
|
|
14094
13377
|
var DEFAULT_INACTIVE_COLOR = 'rgba(255, 255, 255, 0.7)';
|
|
14095
13378
|
var getActiveOpacity = function getActiveOpacity(position, routesLength, tabIndex) {
|
|
@@ -14319,7 +13602,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14319
13602
|
backgroundColor: 'transparent'
|
|
14320
13603
|
}
|
|
14321
13604
|
});
|
|
14322
|
-
},"cb125545eec6217eed71",["
|
|
13605
|
+
},"cb125545eec6217eed71",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","1ca04c7233ed75682772","048fed5a64a04bdb7fed"]);
|
|
14323
13606
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14324
13607
|
Object.defineProperty(exports, "__esModule", {
|
|
14325
13608
|
value: true
|
|
@@ -14332,8 +13615,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14332
13615
|
var _Pager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
14333
13616
|
var _SceneView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14334
13617
|
var _TabBar = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
14335
|
-
function
|
|
14336
|
-
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; }
|
|
13618
|
+
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); }
|
|
14337
13619
|
function TabView(_ref) {
|
|
14338
13620
|
var onIndexChange = _ref.onIndexChange,
|
|
14339
13621
|
navigationState = _ref.navigationState,
|
|
@@ -14453,7 +13735,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14453
13735
|
overflow: 'hidden'
|
|
14454
13736
|
}
|
|
14455
13737
|
});
|
|
14456
|
-
},"133abd8be023c5486438",["
|
|
13738
|
+
},"133abd8be023c5486438",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","3bb524a1ade7b76a4923","66d436e69f4fdc007b59","f3fef987945c403bdffc","048fed5a64a04bdb7fed"]);
|
|
14457
13739
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14458
13740
|
Object.defineProperty(exports, "__esModule", {
|
|
14459
13741
|
value: true
|
|
@@ -14493,5 +13775,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14493
13775
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
14494
13776
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
14495
13777
|
var _TabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14496
|
-
},"cbed716db7cee6efc472",["
|
|
14497
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13778
|
+
},"cbed716db7cee6efc472",["277a84013d7e1a1ace05","9eb89d4413bbedb1f1ef","f3fef987945c403bdffc","736f95b72609f17c7010","cb125545eec6217eed71","133abd8be023c5486438"]);
|
|
13779
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13780
|
+
Object.defineProperty(exports, "__esModule", {
|
|
13781
|
+
value: true
|
|
13782
|
+
});
|
|
13783
|
+
},"8c2e375611e3e7708c7f",[]);
|