@amazon-devices/react-navigation__react-native-tab-view 2.0.1758683737 → 2.0.9000000000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SystemBundles/{c5889b273a6efc2a3c30241851055c37630fbf3381df86d403967369775f0536.bundle → 887bc80f0f55841d00e1ea8f4890f1954661b87c266cf7d301cc27d33d9b3130.bundle} +667 -1431
- package/SystemBundles/887bc80f0f55841d00e1ea8f4890f1954661b87c266cf7d301cc27d33d9b3130.map +4776 -0
- package/SystemModules/amzn__react-navigation__react-native-tab-view-2.private.modules.txt +44 -46
- package/THIRD_PARTY_NOTICES.txt +1 -1
- package/kepler-compatibility.json +1 -3
- package/lib/commonjs/PagerViewAdapter.js +1 -2
- package/lib/commonjs/PagerViewAdapter.js.map +1 -1
- package/lib/commonjs/PanResponderAdapter.js +1 -2
- package/lib/commonjs/PanResponderAdapter.js.map +1 -1
- package/lib/commonjs/PlatformPressable.js +1 -2
- package/lib/commonjs/PlatformPressable.js.map +1 -1
- package/lib/commonjs/SceneMap.js +1 -2
- package/lib/commonjs/SceneMap.js.map +1 -1
- package/lib/commonjs/SceneView.js +1 -2
- package/lib/commonjs/SceneView.js.map +1 -1
- package/lib/commonjs/TabBar.js +1 -2
- package/lib/commonjs/TabBar.js.map +1 -1
- package/lib/commonjs/TabBarIndicator.js +1 -2
- package/lib/commonjs/TabBarIndicator.js.map +1 -1
- package/lib/commonjs/TabBarItem.js +1 -2
- package/lib/commonjs/TabBarItem.js.map +1 -1
- package/lib/commonjs/TabView.js +1 -2
- package/lib/commonjs/TabView.js.map +1 -1
- package/lib/commonjs/useAnimatedValue.js +1 -2
- package/lib/commonjs/useAnimatedValue.js.map +1 -1
- package/lib/typescript/src/TabBarIndicator.d.ts +0 -1
- package/lib/typescript/src/TabBarIndicator.d.ts.map +1 -1
- package/package.json +1 -1
- package/SystemBundles/c5889b273a6efc2a3c30241851055c37630fbf3381df86d403967369775f0536.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
|
|
|
@@ -682,30 +664,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
682
664
|
default: e
|
|
683
665
|
};
|
|
684
666
|
}
|
|
685
|
-
function
|
|
686
|
-
if ("function"
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
705
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
706
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
707
|
-
}
|
|
708
|
-
return n.default = e, t && t.set(e, n), n;
|
|
667
|
+
function _interopRequireWildcard(e, t) {
|
|
668
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
669
|
+
n = new WeakMap();
|
|
670
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
671
|
+
if (!t && e && e.__esModule) return e;
|
|
672
|
+
var o,
|
|
673
|
+
i,
|
|
674
|
+
f = {
|
|
675
|
+
__proto__: null,
|
|
676
|
+
default: e
|
|
677
|
+
};
|
|
678
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
679
|
+
if (o = t ? n : r) {
|
|
680
|
+
if (o.has(e)) return o.get(e);
|
|
681
|
+
o.set(e, f);
|
|
682
|
+
}
|
|
683
|
+
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]);
|
|
684
|
+
return f;
|
|
685
|
+
})(e, t);
|
|
709
686
|
}
|
|
710
687
|
function _extends() {
|
|
711
688
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -913,7 +890,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
913
890
|
alignItems: 'stretch'
|
|
914
891
|
}
|
|
915
892
|
});
|
|
916
|
-
},"89c9028ecdc8b3c04122",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","d7b447ba4a5d70364639","
|
|
893
|
+
},"89c9028ecdc8b3c04122",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","d7b447ba4a5d70364639","a2c8e692f78bae5b8b98"]);
|
|
917
894
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
918
895
|
function _interopRequireDefault(e) {
|
|
919
896
|
return e && e.__esModule ? e : {
|
|
@@ -921,19 +898,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
921
898
|
};
|
|
922
899
|
}
|
|
923
900
|
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
924
|
-
},"
|
|
901
|
+
},"277a84013d7e1a1ace05",[]);
|
|
925
902
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
926
903
|
function _toConsumableArray(r) {
|
|
927
904
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r) || _$$_REQUIRE(_dependencyMap[2])(r) || _$$_REQUIRE(_dependencyMap[3])();
|
|
928
905
|
}
|
|
929
906
|
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
930
|
-
},"
|
|
907
|
+
},"838d7a057beeb5db50df",["a425fd4fe3cf47759e99","67d028b72bb61755baea","e7044bb724c5bd68e2cc","b4810fa44dd496b7d9f5"]);
|
|
931
908
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
932
909
|
function _arrayWithoutHoles(r) {
|
|
933
910
|
if (Array.isArray(r)) return _$$_REQUIRE(_dependencyMap[0])(r);
|
|
934
911
|
}
|
|
935
912
|
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
936
|
-
},"
|
|
913
|
+
},"a425fd4fe3cf47759e99",["378be3062418cfac9327"]);
|
|
937
914
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
938
915
|
function _arrayLikeToArray(r, a) {
|
|
939
916
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -941,13 +918,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
941
918
|
return n;
|
|
942
919
|
}
|
|
943
920
|
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
944
|
-
},"
|
|
921
|
+
},"378be3062418cfac9327",[]);
|
|
945
922
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
946
923
|
function _iterableToArray(r) {
|
|
947
924
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
948
925
|
}
|
|
949
926
|
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
950
|
-
},"
|
|
927
|
+
},"67d028b72bb61755baea",[]);
|
|
951
928
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
952
929
|
function _unsupportedIterableToArray(r, a) {
|
|
953
930
|
if (r) {
|
|
@@ -957,19 +934,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
957
934
|
}
|
|
958
935
|
}
|
|
959
936
|
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
960
|
-
},"
|
|
937
|
+
},"e7044bb724c5bd68e2cc",["378be3062418cfac9327"]);
|
|
961
938
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
962
939
|
function _nonIterableSpread() {
|
|
963
940
|
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
941
|
}
|
|
965
942
|
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
966
|
-
},"
|
|
943
|
+
},"b4810fa44dd496b7d9f5",[]);
|
|
967
944
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
968
945
|
function _classCallCheck(a, n) {
|
|
969
946
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
970
947
|
}
|
|
971
948
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
972
|
-
},"
|
|
949
|
+
},"cb664999166f9660a878",[]);
|
|
973
950
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
974
951
|
function _defineProperties(e, r) {
|
|
975
952
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -983,14 +960,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
983
960
|
}), e;
|
|
984
961
|
}
|
|
985
962
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
986
|
-
},"
|
|
963
|
+
},"68819e29ebee24bb0e88",["cbba112244d360ffda7a"]);
|
|
987
964
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
988
965
|
function toPropertyKey(t) {
|
|
989
966
|
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
990
967
|
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
991
968
|
}
|
|
992
969
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
993
|
-
},"
|
|
970
|
+
},"cbba112244d360ffda7a",["ad82d340d0b5dc5f0801","e08c69ed06cf526909e3"]);
|
|
994
971
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
995
972
|
function toPrimitive(t, r) {
|
|
996
973
|
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
@@ -1003,7 +980,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1003
980
|
return ("string" === r ? String : Number)(t);
|
|
1004
981
|
}
|
|
1005
982
|
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1006
|
-
},"
|
|
983
|
+
},"ad82d340d0b5dc5f0801",["e08c69ed06cf526909e3"]);
|
|
1007
984
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1008
985
|
function _typeof(o) {
|
|
1009
986
|
"@babel/helpers - typeof";
|
|
@@ -1015,7 +992,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1015
992
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
1016
993
|
}
|
|
1017
994
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1018
|
-
},"
|
|
995
|
+
},"e08c69ed06cf526909e3",[]);
|
|
1019
996
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1020
997
|
/**
|
|
1021
998
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -1060,13 +1037,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1060
1037
|
return _$$_REQUIRE(_dependencyMap[0])(r) || _$$_REQUIRE(_dependencyMap[1])(r, e) || _$$_REQUIRE(_dependencyMap[2])(r, e) || _$$_REQUIRE(_dependencyMap[3])();
|
|
1061
1038
|
}
|
|
1062
1039
|
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1063
|
-
},"
|
|
1040
|
+
},"d73b3a84588342abd1b6",["c18fba4833d885627fc3","db861c9134e305a92464","e7044bb724c5bd68e2cc","d2c95b166a5bd41ca703"]);
|
|
1064
1041
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1065
1042
|
function _arrayWithHoles(r) {
|
|
1066
1043
|
if (Array.isArray(r)) return r;
|
|
1067
1044
|
}
|
|
1068
1045
|
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1069
|
-
},"
|
|
1046
|
+
},"c18fba4833d885627fc3",[]);
|
|
1070
1047
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1071
1048
|
function _iterableToArrayLimit(r, l) {
|
|
1072
1049
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -1096,13 +1073,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1096
1073
|
}
|
|
1097
1074
|
}
|
|
1098
1075
|
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1099
|
-
},"
|
|
1076
|
+
},"db861c9134e305a92464",[]);
|
|
1100
1077
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1101
1078
|
function _nonIterableRest() {
|
|
1102
1079
|
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
1080
|
}
|
|
1104
1081
|
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1105
|
-
},"
|
|
1082
|
+
},"d2c95b166a5bd41ca703",[]);
|
|
1106
1083
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1107
1084
|
'use strict';
|
|
1108
1085
|
|
|
@@ -1127,14 +1104,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1127
1104
|
return _$$_REQUIRE(_dependencyMap[1])(t);
|
|
1128
1105
|
}
|
|
1129
1106
|
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1130
|
-
},"
|
|
1107
|
+
},"aab42168bb4cb23540ec",["e08c69ed06cf526909e3","0716ce96f45f287fb302"]);
|
|
1131
1108
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1132
1109
|
function _assertThisInitialized(e) {
|
|
1133
1110
|
if (undefined === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1134
1111
|
return e;
|
|
1135
1112
|
}
|
|
1136
1113
|
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1137
|
-
},"
|
|
1114
|
+
},"0716ce96f45f287fb302",[]);
|
|
1138
1115
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1139
1116
|
function _getPrototypeOf(t) {
|
|
1140
1117
|
return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
@@ -1142,7 +1119,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1142
1119
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
|
|
1143
1120
|
}
|
|
1144
1121
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1145
|
-
},"
|
|
1122
|
+
},"ba9efe5c53f1d07f5c9d",[]);
|
|
1146
1123
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1147
1124
|
function _inherits(t, e) {
|
|
1148
1125
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -1157,7 +1134,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1157
1134
|
}), e && _$$_REQUIRE(_dependencyMap[0])(t, e);
|
|
1158
1135
|
}
|
|
1159
1136
|
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1160
|
-
},"
|
|
1137
|
+
},"9822a58ca7726d551fe0",["79c731bcf4b10abe8e4d"]);
|
|
1161
1138
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1162
1139
|
function _setPrototypeOf(t, e) {
|
|
1163
1140
|
return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
@@ -1165,13 +1142,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1165
1142
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
|
|
1166
1143
|
}
|
|
1167
1144
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1168
|
-
},"
|
|
1145
|
+
},"79c731bcf4b10abe8e4d",[]);
|
|
1169
1146
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1170
1147
|
function _readOnlyError(r) {
|
|
1171
1148
|
throw new TypeError('"' + r + '" is read-only');
|
|
1172
1149
|
}
|
|
1173
1150
|
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1174
|
-
},"
|
|
1151
|
+
},"9a3a31f49f0e1fee57b0",[]);
|
|
1175
1152
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1176
1153
|
function _wrapNativeSuper(t) {
|
|
1177
1154
|
var r = "function" == typeof Map ? new Map() : undefined;
|
|
@@ -1196,7 +1173,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1196
1173
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t);
|
|
1197
1174
|
}
|
|
1198
1175
|
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1199
|
-
},"
|
|
1176
|
+
},"66be7ef871ad04671969",["9cf198b81404c8b483b0","20524c8783215c6329fe","ba9efe5c53f1d07f5c9d","79c731bcf4b10abe8e4d"]);
|
|
1200
1177
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1201
1178
|
function _isNativeFunction(t) {
|
|
1202
1179
|
try {
|
|
@@ -1206,7 +1183,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1206
1183
|
}
|
|
1207
1184
|
}
|
|
1208
1185
|
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1209
|
-
},"
|
|
1186
|
+
},"9cf198b81404c8b483b0",[]);
|
|
1210
1187
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1211
1188
|
function _construct(t, e, r) {
|
|
1212
1189
|
if (_$$_REQUIRE(_dependencyMap[0])()) return Reflect.construct.apply(null, arguments);
|
|
@@ -1216,7 +1193,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1216
1193
|
return r && _$$_REQUIRE(_dependencyMap[1])(p, r.prototype), p;
|
|
1217
1194
|
}
|
|
1218
1195
|
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1219
|
-
},"
|
|
1196
|
+
},"20524c8783215c6329fe",["df21df9938c0adbd59f1","79c731bcf4b10abe8e4d"]);
|
|
1220
1197
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1221
1198
|
function _isNativeReflectConstruct() {
|
|
1222
1199
|
try {
|
|
@@ -1227,7 +1204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1227
1204
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
|
|
1228
1205
|
}
|
|
1229
1206
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1230
|
-
},"
|
|
1207
|
+
},"df21df9938c0adbd59f1",[]);
|
|
1231
1208
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1232
1209
|
'use strict';
|
|
1233
1210
|
|
|
@@ -1250,7 +1227,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1250
1227
|
return stack;
|
|
1251
1228
|
}, []);
|
|
1252
1229
|
}
|
|
1253
|
-
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1230
|
+
var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
1254
1231
|
var chromeEvalRe = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
1255
1232
|
function parseChrome(line) {
|
|
1256
1233
|
var parts = chromeRe.exec(line);
|
|
@@ -1278,7 +1255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1278
1255
|
column: parts[4] ? +parts[4] : null
|
|
1279
1256
|
};
|
|
1280
1257
|
}
|
|
1281
|
-
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1258
|
+
var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1282
1259
|
function parseWinjs(line) {
|
|
1283
1260
|
var parts = winjsRe.exec(line);
|
|
1284
1261
|
if (!parts) {
|
|
@@ -1292,7 +1269,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1292
1269
|
column: parts[4] ? +parts[4] : null
|
|
1293
1270
|
};
|
|
1294
1271
|
}
|
|
1295
|
-
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1272
|
+
var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
1296
1273
|
var geckoEvalRe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
1297
1274
|
function parseGecko(line) {
|
|
1298
1275
|
var parts = geckoRe.exec(line);
|
|
@@ -1344,7 +1321,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1344
1321
|
};
|
|
1345
1322
|
}
|
|
1346
1323
|
exports.parse = parse;
|
|
1347
|
-
},"
|
|
1324
|
+
},"aa725aa4c0b37e1add33",[]);
|
|
1348
1325
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1349
1326
|
'use strict';
|
|
1350
1327
|
|
|
@@ -2412,14 +2389,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
2412
2389
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments);
|
|
2413
2390
|
}
|
|
2414
2391
|
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2415
|
-
},"
|
|
2392
|
+
},"55062adb34159de0ea92",["d53f05ad44723a08f608"]);
|
|
2416
2393
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2417
2394
|
function _superPropBase(t, o) {
|
|
2418
2395
|
for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _$$_REQUIRE(_dependencyMap[0])(t)););
|
|
2419
2396
|
return t;
|
|
2420
2397
|
}
|
|
2421
2398
|
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2422
|
-
},"
|
|
2399
|
+
},"d53f05ad44723a08f608",["ba9efe5c53f1d07f5c9d"]);
|
|
2423
2400
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
2424
2401
|
/**
|
|
2425
2402
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -3891,25 +3868,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
3891
3868
|
r,
|
|
3892
3869
|
i = _$$_REQUIRE(_dependencyMap[0])(e, t);
|
|
3893
3870
|
if (Object.getOwnPropertySymbols) {
|
|
3894
|
-
var
|
|
3895
|
-
for (r = 0; r <
|
|
3871
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3872
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3896
3873
|
}
|
|
3897
3874
|
return i;
|
|
3898
3875
|
}
|
|
3899
3876
|
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3900
|
-
},"
|
|
3877
|
+
},"a2c8e692f78bae5b8b98",["5927789db7c756c318ed"]);
|
|
3901
3878
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3902
3879
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3903
3880
|
if (null == r) return {};
|
|
3904
3881
|
var t = {};
|
|
3905
3882
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3906
|
-
if (e.
|
|
3883
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3907
3884
|
t[n] = r[n];
|
|
3908
3885
|
}
|
|
3909
3886
|
return t;
|
|
3910
3887
|
}
|
|
3911
3888
|
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3912
|
-
},"
|
|
3889
|
+
},"5927789db7c756c318ed",[]);
|
|
3913
3890
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
3914
3891
|
/**
|
|
3915
3892
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
|
@@ -4057,7 +4034,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4057
4034
|
module.exports = AbortController;
|
|
4058
4035
|
module.exports.AbortController = module.exports["default"] = AbortController;
|
|
4059
4036
|
module.exports.AbortSignal = AbortSignal;
|
|
4060
|
-
},"ea8fcbd647aab1cfcdaa",["
|
|
4037
|
+
},"ea8fcbd647aab1cfcdaa",["ba9efe5c53f1d07f5c9d","aab42168bb4cb23540ec","cb664999166f9660a878","9822a58ca7726d551fe0","68819e29ebee24bb0e88","2bd3f165b1ed6b916de7"]);
|
|
4061
4038
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
4062
4039
|
/**
|
|
4063
4040
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -4629,24 +4606,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4629
4606
|
}) : e[r] = t, e;
|
|
4630
4607
|
}
|
|
4631
4608
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4632
|
-
},"
|
|
4609
|
+
},"4926d0dbc109dc5bb6c9",["cbba112244d360ffda7a"]);
|
|
4633
4610
|
__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
4611
|
'use strict';
|
|
4645
4612
|
|
|
4646
4613
|
var assets = [];
|
|
4647
4614
|
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
4615
|
return assets.push(asset);
|
|
4651
4616
|
}
|
|
4652
4617
|
function getAssetByID(assetId) {
|
|
@@ -4658,16 +4623,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4658
4623
|
};
|
|
4659
4624
|
},"05d58bec2a6d939f08d8",[]);
|
|
4660
4625
|
__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
4626
|
'use strict';
|
|
4672
4627
|
|
|
4673
4628
|
var androidScaleSuffix = {
|
|
@@ -4679,24 +4634,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4679
4634
|
'4': 'xxxhdpi'
|
|
4680
4635
|
};
|
|
4681
4636
|
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
4637
|
function getAndroidAssetSuffix(scale) {
|
|
4688
4638
|
if (scale.toString() in androidScaleSuffix) {
|
|
4689
4639
|
return androidScaleSuffix[scale.toString()];
|
|
4690
4640
|
}
|
|
4691
|
-
// NOTE: Android Gradle Plugin does not fully support the nnndpi format.
|
|
4692
|
-
// See https://issuetracker.google.com/issues/72884435
|
|
4693
4641
|
if (Number.isFinite(scale) && scale > 0) {
|
|
4694
4642
|
return Math.round(scale * ANDROID_BASE_DENSITY) + 'dpi';
|
|
4695
4643
|
}
|
|
4696
4644
|
throw new Error('no such scale ' + scale.toString());
|
|
4697
4645
|
}
|
|
4698
|
-
|
|
4699
|
-
// See https://developer.android.com/guide/topics/resources/drawable-resource.html
|
|
4700
4646
|
var drawableFileTypes = new Set(['gif', 'jpeg', 'jpg', 'ktx', 'png', 'svg', 'webp', 'xml']);
|
|
4701
4647
|
function getAndroidResourceFolderName(asset, scale) {
|
|
4702
4648
|
if (!drawableFileTypes.has(asset.type)) {
|
|
@@ -4709,9 +4655,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4709
4655
|
return 'drawable-' + suffix;
|
|
4710
4656
|
}
|
|
4711
4657
|
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
|
|
4658
|
+
return (getBasePath(asset) + '/' + asset.name).toLowerCase().replace(/\//g, '_').replace(/([^a-z0-9_])/g, '').replace(/^assets_/, '');
|
|
4715
4659
|
}
|
|
4716
4660
|
function getBasePath(asset) {
|
|
4717
4661
|
var basePath = asset.httpServerLocation;
|
|
@@ -4957,16 +4901,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
4957
4901
|
exports.unstable_wrapCallback = Z;
|
|
4958
4902
|
},"9daefd1335ff675770cb",[]);
|
|
4959
4903
|
__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
4904
|
'use strict';
|
|
4971
4905
|
|
|
4972
4906
|
module.exports = {
|
|
@@ -5993,16 +5927,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
5993
5927
|
module.exports = memoizeOne;
|
|
5994
5928
|
},"d381691ed29bec5a2050",[]);
|
|
5995
5929
|
__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
5930
|
'use strict';
|
|
6007
5931
|
|
|
6008
5932
|
module.exports = {
|
|
@@ -6026,16 +5950,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6026
5950
|
};
|
|
6027
5951
|
},"27b237d1799650306cb9",["a26dbe2a3afa21c3cf22","c4b46015e44050527820","d2355175ff6609a3def1","e6b1ef1f5b720d640981","8bafab90a37cab64b100","3e01a5bc929e85870fe5"]);
|
|
6028
5952
|
__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
5953
|
'use strict';
|
|
6040
5954
|
|
|
6041
5955
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6046,11 +5960,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6046
5960
|
exports.keyExtractor = keyExtractor;
|
|
6047
5961
|
exports.newRangeCount = newRangeCount;
|
|
6048
5962
|
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
5963
|
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics) {
|
|
6055
5964
|
var zoomScale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
6056
5965
|
var itemCount = props.getItemCount(props.data);
|
|
@@ -6060,14 +5969,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6060
5969
|
var left = 0;
|
|
6061
5970
|
var right = itemCount - 1;
|
|
6062
5971
|
while (left <= right) {
|
|
6063
|
-
// eslint-disable-next-line no-bitwise
|
|
6064
5972
|
var mid = left + (right - left >>> 1);
|
|
6065
5973
|
var frame = getFrameMetrics(mid, props);
|
|
6066
5974
|
var scaledOffsetStart = frame.offset * zoomScale;
|
|
6067
5975
|
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
5976
|
if (mid === 0 && currentOffset < scaledOffsetStart || mid !== 0 && currentOffset <= scaledOffsetStart) {
|
|
6072
5977
|
right = mid - 1;
|
|
6073
5978
|
} else if (currentOffset > scaledOffsetEnd) {
|
|
@@ -6080,23 +5985,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6080
5985
|
}
|
|
6081
5986
|
return result;
|
|
6082
5987
|
}
|
|
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
5988
|
function newRangeCount(prev, next) {
|
|
6091
5989
|
return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));
|
|
6092
5990
|
}
|
|
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
5991
|
function computeWindowedRenderLimits(props, maxToRenderPerBatch, windowSize, prev, getFrameMetricsApprox, scrollMetrics) {
|
|
6101
5992
|
var itemCount = props.getItemCount(props.data);
|
|
6102
5993
|
if (itemCount === 0) {
|
|
@@ -6110,30 +6001,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6110
6001
|
visibleLength = scrollMetrics.visibleLength,
|
|
6111
6002
|
_scrollMetrics$zoomSc = scrollMetrics.zoomScale,
|
|
6112
6003
|
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
6004
|
var visibleBegin = Math.max(0, offset);
|
|
6118
6005
|
var visibleEnd = visibleBegin + visibleLength;
|
|
6119
6006
|
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
|
-
|
|
6007
|
+
var leadFactor = 0.5;
|
|
6124
6008
|
var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';
|
|
6125
6009
|
var overscanBegin = Math.max(0, visibleBegin - 0.5 * overscanLength);
|
|
6126
6010
|
var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);
|
|
6127
6011
|
var lastItemOffset = getFrameMetricsApprox(itemCount - 1, props).offset * zoomScale;
|
|
6128
6012
|
if (lastItemOffset < overscanBegin) {
|
|
6129
|
-
// Entire list is before our overscan window
|
|
6130
6013
|
return {
|
|
6131
6014
|
first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),
|
|
6132
6015
|
last: itemCount - 1
|
|
6133
6016
|
};
|
|
6134
6017
|
}
|
|
6135
|
-
|
|
6136
|
-
// Find the indices that correspond to the items at the render boundaries we're targeting.
|
|
6137
6018
|
var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props, getFrameMetricsApprox, zoomScale),
|
|
6138
6019
|
_elementsThatOverlapO2 = (0, _slicedToArray2.default)(_elementsThatOverlapO, 4),
|
|
6139
6020
|
overscanFirst = _elementsThatOverlapO2[0],
|
|
@@ -6148,15 +6029,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6148
6029
|
first: first,
|
|
6149
6030
|
last: last
|
|
6150
6031
|
};
|
|
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
6032
|
var newCellCount = newRangeCount(prev, visible);
|
|
6157
6033
|
while (true) {
|
|
6158
6034
|
if (first <= overscanFirst && last >= overscanLast) {
|
|
6159
|
-
// If we fill the entire overscan range, we're done.
|
|
6160
6035
|
break;
|
|
6161
6036
|
}
|
|
6162
6037
|
var maxNewCells = newCellCount >= maxToRenderPerBatch;
|
|
@@ -6165,10 +6040,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6165
6040
|
var lastWillAddMore = last >= prev.last || last < prev.first;
|
|
6166
6041
|
var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);
|
|
6167
6042
|
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
6043
|
break;
|
|
6173
6044
|
}
|
|
6174
6045
|
if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {
|
|
@@ -6208,7 +6079,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6208
6079
|
}
|
|
6209
6080
|
return String(index);
|
|
6210
6081
|
}
|
|
6211
|
-
},"a26dbe2a3afa21c3cf22",["
|
|
6082
|
+
},"a26dbe2a3afa21c3cf22",["277a84013d7e1a1ace05","d73b3a84588342abd1b6"]);
|
|
6212
6083
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
6213
6084
|
var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
6214
6085
|
var _defineProperty2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -6229,62 +6100,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6229
6100
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17]));
|
|
6230
6101
|
var _nullthrows = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18]));
|
|
6231
6102
|
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; }
|
|
6103
|
+
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
6104
|
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
|
-
*/
|
|
6105
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
6244
6106
|
var ON_EDGE_REACHED_EPSILON = 0.001;
|
|
6245
6107
|
var _usedIndexForKey = false;
|
|
6246
6108
|
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
6109
|
function horizontalOrDefault(horizontal) {
|
|
6254
6110
|
return horizontal != null ? horizontal : false;
|
|
6255
6111
|
}
|
|
6256
|
-
|
|
6257
|
-
// initialNumToRenderOrDefault(this.props.initialNumToRender)
|
|
6258
6112
|
function initialNumToRenderOrDefault(initialNumToRender) {
|
|
6259
6113
|
return initialNumToRender != null ? initialNumToRender : 10;
|
|
6260
6114
|
}
|
|
6261
|
-
|
|
6262
|
-
// maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)
|
|
6263
6115
|
function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
|
|
6264
6116
|
return maxToRenderPerBatch != null ? maxToRenderPerBatch : 10;
|
|
6265
6117
|
}
|
|
6266
|
-
|
|
6267
|
-
// onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold)
|
|
6268
6118
|
function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
|
|
6269
6119
|
return onStartReachedThreshold != null ? onStartReachedThreshold : 2;
|
|
6270
6120
|
}
|
|
6271
|
-
|
|
6272
|
-
// onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)
|
|
6273
6121
|
function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
|
|
6274
6122
|
return onEndReachedThreshold != null ? onEndReachedThreshold : 2;
|
|
6275
6123
|
}
|
|
6276
|
-
|
|
6277
|
-
// getScrollingThreshold(visibleLength, onEndReachedThreshold)
|
|
6278
6124
|
function getScrollingThreshold(threshold, visibleLength) {
|
|
6279
6125
|
return threshold * visibleLength / 2;
|
|
6280
6126
|
}
|
|
6281
|
-
|
|
6282
|
-
// scrollEventThrottleOrDefault(this.props.scrollEventThrottle)
|
|
6283
6127
|
function scrollEventThrottleOrDefault(scrollEventThrottle) {
|
|
6284
6128
|
return scrollEventThrottle != null ? scrollEventThrottle : 50;
|
|
6285
6129
|
}
|
|
6286
|
-
|
|
6287
|
-
// windowSizeOrDefault(this.props.windowSize)
|
|
6288
6130
|
function windowSizeOrDefault(windowSize) {
|
|
6289
6131
|
return windowSize != null ? windowSize : 21;
|
|
6290
6132
|
}
|
|
@@ -6296,47 +6138,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6296
6138
|
}
|
|
6297
6139
|
return null;
|
|
6298
6140
|
}
|
|
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
6141
|
var VirtualizedList = /*#__PURE__*/function (_StateSafePureCompone) {
|
|
6330
6142
|
function VirtualizedList(_props) {
|
|
6331
6143
|
var _this$props$updateCel, _this$props$maintainV, _this$props$maintainV2;
|
|
6332
6144
|
var _this;
|
|
6333
6145
|
(0, _classCallCheck2.default)(this, VirtualizedList);
|
|
6334
6146
|
_this = _callSuper(this, VirtualizedList, [_props]);
|
|
6335
|
-
// $FlowFixMe[missing-local-annot]
|
|
6336
6147
|
_this._getScrollMetrics = function () {
|
|
6337
6148
|
return _this._scrollMetrics;
|
|
6338
6149
|
};
|
|
6339
|
-
// $FlowFixMe[missing-local-annot]
|
|
6340
6150
|
_this._getOutermostParentListRef = function () {
|
|
6341
6151
|
if (_this._isNestedWithSameOrientation()) {
|
|
6342
6152
|
return _this.context.getOutermostParentListRef();
|
|
@@ -6366,21 +6176,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6366
6176
|
_this._cellRefs = {};
|
|
6367
6177
|
_this._frames = {};
|
|
6368
6178
|
_this._footerLength = 0;
|
|
6369
|
-
// Used for preventing scrollToIndex from being called multiple times for initialScrollIndex
|
|
6370
6179
|
_this._hasTriggeredInitialScrollToIndex = false;
|
|
6371
6180
|
_this._hasInteracted = false;
|
|
6372
6181
|
_this._hasMore = false;
|
|
6373
6182
|
_this._hasWarned = {};
|
|
6374
6183
|
_this._headerLength = 0;
|
|
6375
6184
|
_this._hiPriInProgress = false;
|
|
6376
|
-
// flag to prevent infinite hiPri cell limit update
|
|
6377
6185
|
_this._highestMeasuredFrameIndex = 0;
|
|
6378
6186
|
_this._indicesToKeys = new Map();
|
|
6379
6187
|
_this._lastFocusedCellKey = null;
|
|
6380
6188
|
_this._nestedChildLists = new _ChildListCollection.default();
|
|
6381
6189
|
_this._offsetFromParentVirtualizedList = 0;
|
|
6382
6190
|
_this._prevParentOffset = 0;
|
|
6383
|
-
// $FlowFixMe[missing-local-annot]
|
|
6384
6191
|
_this._scrollMetrics = {
|
|
6385
6192
|
contentLength: 0,
|
|
6386
6193
|
dOffset: 0,
|
|
@@ -6397,38 +6204,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6397
6204
|
_this._totalCellLength = 0;
|
|
6398
6205
|
_this._totalCellsMeasured = 0;
|
|
6399
6206
|
_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
6207
|
_this._captureScrollRef = function (ref) {
|
|
6403
6208
|
_this._scrollRef = ref;
|
|
6404
6209
|
};
|
|
6405
|
-
/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
|
|
6406
|
-
* LTI update could not be added via codemod */
|
|
6407
6210
|
_this._defaultRenderScrollComponent = function (props) {
|
|
6408
6211
|
var onRefresh = props.onRefresh;
|
|
6409
6212
|
if (_this._isNestedWithSameOrientation()) {
|
|
6410
|
-
// $FlowFixMe[prop-missing] - Typing ReactNativeComponent revealed errors
|
|
6411
6213
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, Object.assign({}, props));
|
|
6412
6214
|
} else if (onRefresh) {
|
|
6413
6215
|
var _props$refreshing;
|
|
6414
6216
|
(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
|
-
);
|
|
6217
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props, {
|
|
6218
|
+
refreshControl: props.refreshControl == null ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.RefreshControl, {
|
|
6219
|
+
refreshing: props.refreshing,
|
|
6220
|
+
onRefresh: onRefresh,
|
|
6221
|
+
progressViewOffset: props.progressViewOffset
|
|
6222
|
+
}) : props.refreshControl
|
|
6223
|
+
}));
|
|
6429
6224
|
} else {
|
|
6430
|
-
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
6431
|
-
// $FlowFixMe[incompatible-use]
|
|
6432
6225
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.ScrollView, Object.assign({}, props));
|
|
6433
6226
|
}
|
|
6434
6227
|
};
|
|
@@ -6466,8 +6259,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6466
6259
|
};
|
|
6467
6260
|
_this._onLayout = function (e) {
|
|
6468
6261
|
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
6262
|
_this.measureLayoutRelativeToContainingList();
|
|
6472
6263
|
} else {
|
|
6473
6264
|
_this._scrollMetrics.visibleLength = _this._selectLength(e.nativeEvent.layout);
|
|
@@ -6512,13 +6303,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6512
6303
|
_this._scheduleCellsToRenderUpdate();
|
|
6513
6304
|
_this._maybeCallOnEdgeReached();
|
|
6514
6305
|
};
|
|
6515
|
-
/* Translates metrics from a scroll event in a parent VirtualizedList into
|
|
6516
|
-
* coordinates relative to the child list.
|
|
6517
|
-
*/
|
|
6518
6306
|
_this._convertParentScrollMetrics = function (metrics) {
|
|
6519
|
-
// Offset of the top of the nested list relative to the top of its parent's viewport
|
|
6520
6307
|
var offset = metrics.offset - _this._offsetFromParentVirtualizedList;
|
|
6521
|
-
// Child's visible length is the same as its parent's
|
|
6522
6308
|
var visibleLength = metrics.visibleLength;
|
|
6523
6309
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6524
6310
|
var contentLength = _this._scrollMetrics.contentLength;
|
|
@@ -6543,8 +6329,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6543
6329
|
var dOffset = offset - _this._scrollMetrics.offset;
|
|
6544
6330
|
if (_this._isNestedWithSameOrientation()) {
|
|
6545
6331
|
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
6332
|
return;
|
|
6549
6333
|
}
|
|
6550
6334
|
var _this$_convertParentS = _this._convertParentScrollMetrics({
|
|
@@ -6566,8 +6350,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6566
6350
|
});
|
|
6567
6351
|
_this._hasWarned.perf = true;
|
|
6568
6352
|
}
|
|
6569
|
-
|
|
6570
|
-
// For invalid negative values (w/ RTL), set this to 1.
|
|
6571
6353
|
var zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
|
|
6572
6354
|
_this._scrollMetrics = {
|
|
6573
6355
|
contentLength: contentLength,
|
|
@@ -6646,9 +6428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6646
6428
|
};
|
|
6647
6429
|
});
|
|
6648
6430
|
};
|
|
6649
|
-
_this._createViewToken = function (index, isViewable, props
|
|
6650
|
-
// $FlowFixMe[missing-local-annot]
|
|
6651
|
-
) {
|
|
6431
|
+
_this._createViewToken = function (index, isViewable, props) {
|
|
6652
6432
|
var data = props.data,
|
|
6653
6433
|
getItem = props.getItem;
|
|
6654
6434
|
var item = getItem(data, index);
|
|
@@ -6659,10 +6439,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6659
6439
|
isViewable: isViewable
|
|
6660
6440
|
};
|
|
6661
6441
|
};
|
|
6662
|
-
/**
|
|
6663
|
-
* Gets an approximate offset to an item at a given index. Supports
|
|
6664
|
-
* fractional indices.
|
|
6665
|
-
*/
|
|
6666
6442
|
_this._getOffsetApprox = function (index, props) {
|
|
6667
6443
|
if (Number.isInteger(index)) {
|
|
6668
6444
|
return _this.__getFrameMetricsApprox(index, props).offset;
|
|
@@ -6675,7 +6451,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6675
6451
|
_this.__getFrameMetricsApprox = function (index, props) {
|
|
6676
6452
|
var frame = _this._getFrameMetrics(index, props);
|
|
6677
6453
|
if (frame && frame.index === index) {
|
|
6678
|
-
// check for invalid frames due to row re-ordering
|
|
6679
6454
|
return frame;
|
|
6680
6455
|
} else {
|
|
6681
6456
|
var data = props.data,
|
|
@@ -6697,27 +6472,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6697
6472
|
var frame = _this._frames[VirtualizedList._getItemKey(props, index)];
|
|
6698
6473
|
if (!frame || frame.index !== index) {
|
|
6699
6474
|
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
6475
|
return getItemLayout(data, index);
|
|
6704
6476
|
}
|
|
6705
6477
|
}
|
|
6706
6478
|
return frame;
|
|
6707
6479
|
};
|
|
6708
6480
|
_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
6481
|
if (!(_this._lastFocusedCellKey && _this._cellRefs[_this._lastFocusedCellKey])) {
|
|
6713
6482
|
return [];
|
|
6714
6483
|
}
|
|
6715
6484
|
var lastFocusedCellRenderer = _this._cellRefs[_this._lastFocusedCellKey];
|
|
6716
6485
|
var focusedCellIndex = lastFocusedCellRenderer.props.index;
|
|
6717
6486
|
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
6487
|
if (focusedCellIndex >= itemCount || VirtualizedList._getItemKey(props, focusedCellIndex) !== _this._lastFocusedCellKey) {
|
|
6722
6488
|
return [];
|
|
6723
6489
|
}
|
|
@@ -6765,9 +6531,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6765
6531
|
cellsAroundViewport: initialRenderRegion,
|
|
6766
6532
|
renderMask: VirtualizedList._createRenderMask(_props, initialRenderRegion),
|
|
6767
6533
|
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
6534
|
pendingScrollUpdateCount: _this.props.initialScrollIndex != null && _this.props.initialScrollIndex > 0 ? 1 : 0
|
|
6772
6535
|
};
|
|
6773
6536
|
return _this;
|
|
@@ -6775,9 +6538,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6775
6538
|
(0, _inherits2.default)(VirtualizedList, _StateSafePureCompone);
|
|
6776
6539
|
return (0, _createClass2.default)(VirtualizedList, [{
|
|
6777
6540
|
key: "scrollToEnd",
|
|
6778
|
-
value:
|
|
6779
|
-
// scrollToEnd may be janky without getItemLayout prop
|
|
6780
|
-
function scrollToEnd(params) {
|
|
6541
|
+
value: function scrollToEnd(params) {
|
|
6781
6542
|
var animated = params ? params.animated : true;
|
|
6782
6543
|
var veryLast = this.props.getItemCount(this.props.data) - 1;
|
|
6783
6544
|
if (veryLast < 0) {
|
|
@@ -6800,8 +6561,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6800
6561
|
animated: animated
|
|
6801
6562
|
});
|
|
6802
6563
|
}
|
|
6803
|
-
|
|
6804
|
-
// scrollToIndex may be janky without getItemLayout prop
|
|
6805
6564
|
}, {
|
|
6806
6565
|
key: "scrollToIndex",
|
|
6807
6566
|
value: function scrollToIndex(params) {
|
|
@@ -6844,9 +6603,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6844
6603
|
animated: animated
|
|
6845
6604
|
});
|
|
6846
6605
|
}
|
|
6847
|
-
|
|
6848
|
-
// scrollToItem may be janky without getItemLayout prop. Required linear scan through items -
|
|
6849
|
-
// use scrollToIndex instead if possible.
|
|
6850
6606
|
}, {
|
|
6851
6607
|
key: "scrollToItem",
|
|
6852
6608
|
value: function scrollToItem(params) {
|
|
@@ -6865,17 +6621,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6865
6621
|
}
|
|
6866
6622
|
}
|
|
6867
6623
|
}
|
|
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
6624
|
}, {
|
|
6880
6625
|
key: "scrollToOffset",
|
|
6881
6626
|
value: function scrollToOffset(params) {
|
|
@@ -6915,12 +6660,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6915
6660
|
}
|
|
6916
6661
|
this._scrollRef.flashScrollIndicators();
|
|
6917
6662
|
}
|
|
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
6663
|
}, {
|
|
6925
6664
|
key: "getScrollResponder",
|
|
6926
6665
|
value: function getScrollResponder() {
|
|
@@ -6972,9 +6711,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6972
6711
|
getItemCount = props.getItemCount,
|
|
6973
6712
|
data = props.data,
|
|
6974
6713
|
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");
|
|
6714
|
+
(0, _invariant.default)(!onScroll || !onScroll.__isNative, "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver");
|
|
6978
6715
|
(0, _invariant.default)(windowSizeOrDefault(windowSize) > 0, 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.');
|
|
6979
6716
|
(0, _invariant.default)(getItemCount, 'VirtualizedList: The "getItemCount" prop must be provided');
|
|
6980
6717
|
var itemCount = getItemCount(data);
|
|
@@ -6994,9 +6731,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
6994
6731
|
offset = _this$_scrollMetrics.offset,
|
|
6995
6732
|
visibleLength = _this$_scrollMetrics.visibleLength;
|
|
6996
6733
|
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
6734
|
if (visibleLength <= 0 || contentLength <= 0) {
|
|
7001
6735
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
7002
6736
|
}
|
|
@@ -7008,8 +6742,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7008
6742
|
last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
|
|
7009
6743
|
};
|
|
7010
6744
|
} 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
6745
|
if (pendingScrollUpdateCount > 0) {
|
|
7014
6746
|
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
7015
6747
|
}
|
|
@@ -7017,12 +6749,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7017
6749
|
(0, _invariant.default)(newCellsAroundViewport.last < getItemCount(data), 'computeWindowedRenderLimits() should return range in-bounds');
|
|
7018
6750
|
}
|
|
7019
6751
|
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
6752
|
var childIdx = this._findFirstChildWithMore(newCellsAroundViewport.first, newCellsAroundViewport.last);
|
|
7027
6753
|
newCellsAroundViewport.last = childIdx != null ? childIdx : newCellsAroundViewport.last;
|
|
7028
6754
|
}
|
|
@@ -7145,42 +6871,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7145
6871
|
var cells = [];
|
|
7146
6872
|
var stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);
|
|
7147
6873
|
var stickyHeaderIndices = [];
|
|
7148
|
-
|
|
7149
|
-
// 1. Add cell for ListHeaderComponent
|
|
7150
6874
|
if (ListHeaderComponent) {
|
|
7151
6875
|
if (stickyIndicesFromProps.has(0)) {
|
|
7152
6876
|
stickyHeaderIndices.push(0);
|
|
7153
6877
|
}
|
|
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, {});
|
|
6878
|
+
var _element = React.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListHeaderComponent, {});
|
|
7159
6879
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7160
6880
|
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
|
-
, {
|
|
6881
|
+
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
7166
6882
|
collapsable: false,
|
|
7167
6883
|
onLayout: this._onLayoutHeader,
|
|
7168
6884
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListHeaderComponentStyle),
|
|
7169
|
-
children:
|
|
7170
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
7171
|
-
_element
|
|
6885
|
+
children: _element
|
|
7172
6886
|
})
|
|
7173
6887
|
}, "$header"));
|
|
7174
6888
|
}
|
|
7175
|
-
|
|
7176
|
-
// 2a. Add a cell for ListEmptyComponent if applicable
|
|
7177
6889
|
var itemCount = this.props.getItemCount(data);
|
|
7178
6890
|
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, {});
|
|
6891
|
+
var _element2 = React.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListEmptyComponent, {});
|
|
7184
6892
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7185
6893
|
cellKey: this._getCellKey() + '-empty',
|
|
7186
6894
|
children: React.cloneElement(_element2, {
|
|
@@ -7194,8 +6902,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7194
6902
|
})
|
|
7195
6903
|
}, "$empty"));
|
|
7196
6904
|
}
|
|
7197
|
-
|
|
7198
|
-
// 2b. Add cells and spacers for each item
|
|
7199
6905
|
if (itemCount > 0) {
|
|
7200
6906
|
_usedIndexForKey = false;
|
|
7201
6907
|
_keylessItemComponentName = '';
|
|
@@ -7206,15 +6912,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7206
6912
|
});
|
|
7207
6913
|
for (var section of renderRegions) {
|
|
7208
6914
|
if (section.isSpacer) {
|
|
7209
|
-
// Legacy behavior is to avoid spacers when virtualization is
|
|
7210
|
-
// disabled (including head spacers on initial render).
|
|
7211
6915
|
if (this.props.disableVirtualization) {
|
|
7212
6916
|
continue;
|
|
7213
6917
|
}
|
|
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
6918
|
var isLastSpacer = section === lastSpacer;
|
|
7219
6919
|
var constrainToMeasured = isLastSpacer && !this.props.getItemLayout;
|
|
7220
6920
|
var last = constrainToMeasured ? (0, _clamp.default)(section.first - 1, section.last, this._highestMeasuredFrameIndex) : section.last;
|
|
@@ -7233,27 +6933,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7233
6933
|
this._hasWarned.keys = true;
|
|
7234
6934
|
}
|
|
7235
6935
|
}
|
|
7236
|
-
|
|
7237
|
-
// 3. Add cell for ListFooterComponent
|
|
7238
6936
|
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, {});
|
|
6937
|
+
var _element3 = React.isValidElement(ListFooterComponent) ? ListFooterComponent : /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(ListFooterComponent, {});
|
|
7244
6938
|
cells.push(/*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[22]).VirtualizedListCellContextProvider, {
|
|
7245
6939
|
cellKey: this._getFooterCellKey(),
|
|
7246
6940
|
children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, {
|
|
7247
6941
|
onLayout: this._onLayoutFooter,
|
|
7248
6942
|
style: _reactNative.StyleSheet.compose(inversionStyle, this.props.ListFooterComponentStyle),
|
|
7249
|
-
children:
|
|
7250
|
-
// $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors
|
|
7251
|
-
_element3
|
|
6943
|
+
children: _element3
|
|
7252
6944
|
})
|
|
7253
6945
|
}, "$footer"));
|
|
7254
6946
|
}
|
|
7255
|
-
|
|
7256
|
-
// 4. Render the ScrollView
|
|
7257
6947
|
var scrollProps = Object.assign({}, this.props, {
|
|
7258
6948
|
onContentSizeChange: this._onContentSizeChange,
|
|
7259
6949
|
onLayout: this._onLayout,
|
|
@@ -7263,13 +6953,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7263
6953
|
onMomentumScrollBegin: this._onMomentumScrollBegin,
|
|
7264
6954
|
onMomentumScrollEnd: this._onMomentumScrollEnd,
|
|
7265
6955
|
scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
|
|
7266
|
-
// TODO: Android support
|
|
7267
6956
|
invertStickyHeaders: this.props.invertStickyHeaders !== undefined ? this.props.invertStickyHeaders : this.props.inverted,
|
|
7268
6957
|
stickyHeaderIndices: stickyHeaderIndices,
|
|
7269
6958
|
style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style,
|
|
7270
6959
|
isInvertedVirtualizedList: this.props.inverted,
|
|
7271
6960
|
maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ? Object.assign({}, this.props.maintainVisibleContentPosition, {
|
|
7272
|
-
// Adjust index to account for ListHeaderComponent.
|
|
7273
6961
|
minIndexForVisible: this.props.maintainVisibleContentPosition.minIndexForVisible + (this.props.ListHeaderComponent ? 1 : 0)
|
|
7274
6962
|
}) : undefined
|
|
7275
6963
|
});
|
|
@@ -7304,22 +6992,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7304
6992
|
data = _this$props7.data,
|
|
7305
6993
|
extraData = _this$props7.extraData;
|
|
7306
6994
|
if (data !== prevProps.data || extraData !== prevProps.extraData) {
|
|
7307
|
-
// clear the viewableIndices cache to also trigger
|
|
7308
|
-
// the onViewableItemsChanged callback with the new data
|
|
7309
6995
|
this._viewabilityTuples.forEach(function (tuple) {
|
|
7310
6996
|
tuple.viewabilityHelper.resetViewableIndices();
|
|
7311
6997
|
});
|
|
7312
6998
|
}
|
|
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
6999
|
var hiPriInProgress = this._hiPriInProgress;
|
|
7320
7000
|
this._scheduleCellsToRenderUpdate();
|
|
7321
|
-
// Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`
|
|
7322
|
-
// is triggered with `this._hiPriInProgress = true`
|
|
7323
7001
|
if (hiPriInProgress) {
|
|
7324
7002
|
this._hiPriInProgress = false;
|
|
7325
7003
|
}
|
|
@@ -7346,14 +7024,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7346
7024
|
key: "measureLayoutRelativeToContainingList",
|
|
7347
7025
|
value: function measureLayoutRelativeToContainingList() {
|
|
7348
7026
|
var _this4 = this;
|
|
7349
|
-
// TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find
|
|
7350
|
-
// node on an unmounted component" during scrolling
|
|
7351
7027
|
try {
|
|
7352
7028
|
if (!this._scrollRef) {
|
|
7353
7029
|
return;
|
|
7354
7030
|
}
|
|
7355
|
-
// We are assuming that getOutermostParentListRef().getScrollRef()
|
|
7356
|
-
// is a non-null reference to a ScrollView
|
|
7357
7031
|
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(), function (x, y, width, height) {
|
|
7358
7032
|
_this4._offsetFromParentVirtualizedList = _this4._selectOffset({
|
|
7359
7033
|
x: x,
|
|
@@ -7368,9 +7042,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7368
7042
|
if (metricsChanged) {
|
|
7369
7043
|
_this4._scrollMetrics.visibleLength = scrollMetrics.visibleLength;
|
|
7370
7044
|
_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
7045
|
_this4._nestedChildLists.forEach(function (childList) {
|
|
7375
7046
|
childList.measureLayoutRelativeToContainingList();
|
|
7376
7047
|
});
|
|
@@ -7389,17 +7060,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7389
7060
|
}
|
|
7390
7061
|
}, {
|
|
7391
7062
|
key: "_renderDebugOverlay",
|
|
7392
|
-
value:
|
|
7393
|
-
// $FlowFixMe[missing-local-annot]
|
|
7394
|
-
function _renderDebugOverlay() {
|
|
7063
|
+
value: function _renderDebugOverlay() {
|
|
7395
7064
|
var normalize = this._scrollMetrics.visibleLength / (this._scrollMetrics.contentLength || 1);
|
|
7396
7065
|
var framesInLayout = [];
|
|
7397
7066
|
var itemCount = this.props.getItemCount(this.props.data);
|
|
7398
7067
|
for (var ii = 0; ii < itemCount; ii++) {
|
|
7399
7068
|
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
7069
|
if (frame.inLayout) {
|
|
7404
7070
|
framesInLayout.push(frame);
|
|
7405
7071
|
}
|
|
@@ -7451,8 +7117,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7451
7117
|
onStartReachedThreshold = _this$props8.onStartReachedThreshold,
|
|
7452
7118
|
onEndReached = _this$props8.onEndReached,
|
|
7453
7119
|
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
7120
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7457
7121
|
return;
|
|
7458
7122
|
}
|
|
@@ -7462,48 +7126,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7462
7126
|
offset = _this$_scrollMetrics2.offset;
|
|
7463
7127
|
var distanceFromStart = offset;
|
|
7464
7128
|
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
7129
|
if (distanceFromStart < ON_EDGE_REACHED_EPSILON) {
|
|
7470
7130
|
distanceFromStart = 0;
|
|
7471
7131
|
}
|
|
7472
7132
|
if (distanceFromEnd < ON_EDGE_REACHED_EPSILON) {
|
|
7473
7133
|
distanceFromEnd = 0;
|
|
7474
7134
|
}
|
|
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
7135
|
var DEFAULT_THRESHOLD_PX = 2;
|
|
7479
7136
|
var startThreshold = onStartReachedThreshold != null ? onStartReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7480
7137
|
var endThreshold = onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX;
|
|
7481
7138
|
var isWithinStartThreshold = distanceFromStart <= startThreshold;
|
|
7482
7139
|
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
7140
|
if (onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength) {
|
|
7488
7141
|
this._sentEndForContentLength = this._scrollMetrics.contentLength;
|
|
7489
7142
|
onEndReached({
|
|
7490
7143
|
distanceFromEnd: distanceFromEnd
|
|
7491
7144
|
});
|
|
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) {
|
|
7145
|
+
} else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
|
|
7498
7146
|
this._sentStartForContentLength = this._scrollMetrics.contentLength;
|
|
7499
7147
|
onStartReached({
|
|
7500
7148
|
distanceFromStart: distanceFromStart
|
|
7501
7149
|
});
|
|
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 {
|
|
7150
|
+
} else {
|
|
7507
7151
|
this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0;
|
|
7508
7152
|
this._sentEndForContentLength = isWithinEndThreshold ? this._sentEndForContentLength : 0;
|
|
7509
7153
|
}
|
|
@@ -7522,29 +7166,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7522
7166
|
var hiPri = false;
|
|
7523
7167
|
var onStartReachedThreshold = onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold);
|
|
7524
7168
|
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
7169
|
if (first > 0) {
|
|
7528
7170
|
var distTop = offset - this.__getFrameMetricsApprox(first, this.props).offset;
|
|
7529
7171
|
hiPri = distTop < 0 || velocity < -2 && distTop < getScrollingThreshold(onStartReachedThreshold, visibleLength);
|
|
7530
7172
|
}
|
|
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
7173
|
if (!hiPri && last >= 0 && last < itemCount - 1) {
|
|
7534
7174
|
var distBottom = this.__getFrameMetricsApprox(last, this.props).offset - (offset + visibleLength);
|
|
7535
7175
|
hiPri = distBottom < 0 || velocity > 2 && distBottom < getScrollingThreshold(onEndReachedThreshold, visibleLength);
|
|
7536
7176
|
}
|
|
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
7177
|
if (hiPri && (this._averageCellLength || this.props.getItemLayout) && !this._hiPriInProgress) {
|
|
7545
7178
|
this._hiPriInProgress = true;
|
|
7546
|
-
// Don't worry about interactions when scrolling quickly; focus on filling content as fast
|
|
7547
|
-
// as possible.
|
|
7548
7179
|
this._updateCellsToRenderBatcher.dispose({
|
|
7549
7180
|
abort: true
|
|
7550
7181
|
});
|
|
@@ -7558,8 +7189,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7558
7189
|
key: "_updateViewableItems",
|
|
7559
7190
|
value: function _updateViewableItems(props, cellsAroundViewport) {
|
|
7560
7191
|
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
7192
|
if (this.state.pendingScrollUpdateCount > 0) {
|
|
7564
7193
|
return;
|
|
7565
7194
|
}
|
|
@@ -7602,17 +7231,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7602
7231
|
for (var region of allRegions) {
|
|
7603
7232
|
renderMask.addCells(region);
|
|
7604
7233
|
}
|
|
7605
|
-
|
|
7606
|
-
// The initially rendered cells are retained as part of the
|
|
7607
|
-
// "scroll-to-top" optimization
|
|
7608
7234
|
if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {
|
|
7609
7235
|
var initialRegion = VirtualizedList._initialRenderRegion(props);
|
|
7610
7236
|
renderMask.addCells(initialRegion);
|
|
7611
7237
|
}
|
|
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
7238
|
var stickyIndicesSet = new Set(props.stickyHeaderIndices);
|
|
7617
7239
|
VirtualizedList._ensureClosestStickyHeader(props, stickyIndicesSet, renderMask, cellsAroundViewport.first);
|
|
7618
7240
|
}
|
|
@@ -7648,8 +7270,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7648
7270
|
key: "getDerivedStateFromProps",
|
|
7649
7271
|
value: function getDerivedStateFromProps(newProps, prevState) {
|
|
7650
7272
|
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
7273
|
var itemCount = newProps.getItemCount(newProps.data);
|
|
7654
7274
|
if (itemCount === prevState.renderMask.numCells()) {
|
|
7655
7275
|
return prevState;
|
|
@@ -7660,7 +7280,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7660
7280
|
var newFirstVisibleItemKey = newProps.getItemCount(newProps.data) > minIndexForVisible ? VirtualizedList._getItemKey(newProps, minIndexForVisible) : null;
|
|
7661
7281
|
if (newProps.maintainVisibleContentPosition != null && prevFirstVisibleItemKey != null && newFirstVisibleItemKey != null) {
|
|
7662
7282
|
if (newFirstVisibleItemKey !== prevFirstVisibleItemKey) {
|
|
7663
|
-
// Fast path if items were added at the start of the list.
|
|
7664
7283
|
var hint = itemCount - prevState.renderMask.numCells() + minIndexForVisible;
|
|
7665
7284
|
var firstVisibleItemIndex = VirtualizedList._findItemIndexWithKey(newProps, prevFirstVisibleItemKey, hint);
|
|
7666
7285
|
maintainVisibleContentPositionAdjustment = firstVisibleItemIndex != null ? firstVisibleItemIndex - minIndexForVisible : null;
|
|
@@ -7753,57 +7372,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7753
7372
|
}
|
|
7754
7373
|
});
|
|
7755
7374
|
module.exports = VirtualizedList;
|
|
7756
|
-
},"c4b46015e44050527820",["
|
|
7375
|
+
},"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
7376
|
__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
7377
|
'use strict';
|
|
7769
7378
|
|
|
7770
7379
|
var _require = _$$_REQUIRE(_dependencyMap[0]),
|
|
7771
7380
|
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
7381
|
var Batchinator = /*#__PURE__*/function () {
|
|
7796
7382
|
function Batchinator(callback, delayMS) {
|
|
7797
7383
|
_$$_REQUIRE(_dependencyMap[1])(this, Batchinator);
|
|
7798
7384
|
this._delay = delayMS;
|
|
7799
7385
|
this._callback = callback;
|
|
7800
7386
|
}
|
|
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
7387
|
return _$$_REQUIRE(_dependencyMap[2])(Batchinator, [{
|
|
7808
7388
|
key: "dispose",
|
|
7809
7389
|
value: function dispose() {
|
|
@@ -7827,8 +7407,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7827
7407
|
}
|
|
7828
7408
|
var timeoutHandle = setTimeout(function () {
|
|
7829
7409
|
_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
7410
|
_this._taskHandle = null;
|
|
7833
7411
|
_this._callback();
|
|
7834
7412
|
});
|
|
@@ -7842,18 +7420,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7842
7420
|
}]);
|
|
7843
7421
|
}();
|
|
7844
7422
|
module.exports = Batchinator;
|
|
7845
|
-
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","
|
|
7423
|
+
},"1953ac0cbf7ac32b33d6",["26ef620f86acf7f6932a","cb664999166f9660a878","68819e29ebee24bb0e88"]);
|
|
7846
7424
|
__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
7425
|
'use strict';
|
|
7858
7426
|
|
|
7859
7427
|
function clamp(min, value, max) {
|
|
@@ -7868,21 +7436,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7868
7436
|
module.exports = clamp;
|
|
7869
7437
|
},"a30729068ebd0dea58f8",[]);
|
|
7870
7438
|
__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
7439
|
'use strict';
|
|
7882
7440
|
|
|
7883
|
-
/**
|
|
7884
|
-
* Intentional info-level logging for clear separation from ad-hoc console debug logging.
|
|
7885
|
-
*/
|
|
7886
7441
|
function infoLog() {
|
|
7887
7442
|
var _console;
|
|
7888
7443
|
return (_console = console).log.apply(_console, arguments);
|
|
@@ -7897,15 +7452,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7897
7452
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
7898
7453
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
7899
7454
|
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
7455
|
var ChildListCollection = exports.default = /*#__PURE__*/function () {
|
|
7910
7456
|
function ChildListCollection() {
|
|
7911
7457
|
(0, _classCallCheck2.default)(this, ChildListCollection);
|
|
@@ -7972,18 +7518,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
7972
7518
|
}
|
|
7973
7519
|
}]);
|
|
7974
7520
|
}();
|
|
7975
|
-
},"718d6cdfb3fb081a232d",["
|
|
7521
|
+
},"718d6cdfb3fb081a232d",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
7976
7522
|
__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
7523
|
'use strict';
|
|
7988
7524
|
|
|
7989
7525
|
var Info = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function Info() {
|
|
@@ -8003,15 +7539,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8003
7539
|
var _listeners = [];
|
|
8004
7540
|
var _minSampleCount = 10;
|
|
8005
7541
|
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
7542
|
var FillRateHelper = /*#__PURE__*/function () {
|
|
8016
7543
|
function FillRateHelper(getFrameMetrics) {
|
|
8017
7544
|
_$$_REQUIRE(_dependencyMap[1])(this, FillRateHelper);
|
|
@@ -8038,13 +7565,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8038
7565
|
if (!this._enabled) {
|
|
8039
7566
|
return;
|
|
8040
7567
|
}
|
|
8041
|
-
var start = this._samplesStartTime;
|
|
7568
|
+
var start = this._samplesStartTime;
|
|
8042
7569
|
if (start == null) {
|
|
8043
7570
|
DEBUG;
|
|
8044
7571
|
return;
|
|
8045
7572
|
}
|
|
8046
7573
|
if (this._info.sample_count < _minSampleCount) {
|
|
8047
|
-
// Don't bother with under-sampled events.
|
|
8048
7574
|
this._resetData();
|
|
8049
7575
|
return;
|
|
8050
7576
|
}
|
|
@@ -8067,15 +7593,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8067
7593
|
offset = scrollMetrics.offset,
|
|
8068
7594
|
velocity = scrollMetrics.velocity,
|
|
8069
7595
|
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
7596
|
this._info.sample_count++;
|
|
8074
7597
|
this._info.pixels_sampled += Math.round(visibleLength);
|
|
8075
7598
|
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.
|
|
7599
|
+
var scrollSpeed = Math.round(Math.abs(velocity) * 1000);
|
|
8079
7600
|
var now = global.performance.now();
|
|
8080
7601
|
if (this._anyBlankStartTime != null) {
|
|
8081
7602
|
this._info.any_blank_ms += now - this._anyBlankStartTime;
|
|
@@ -8092,8 +7613,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8092
7613
|
firstFrame = this._getFrameMetrics(first, props);
|
|
8093
7614
|
first++;
|
|
8094
7615
|
}
|
|
8095
|
-
// Only count blankTop if we aren't rendering the first item, otherwise we will count the header
|
|
8096
|
-
// as blank.
|
|
8097
7616
|
if (firstFrame && first > 0) {
|
|
8098
7617
|
blankTop = Math.min(visibleLength, Math.max(0, firstFrame.offset - offset));
|
|
8099
7618
|
}
|
|
@@ -8104,8 +7623,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8104
7623
|
lastFrame = this._getFrameMetrics(last, props);
|
|
8105
7624
|
last--;
|
|
8106
7625
|
}
|
|
8107
|
-
// Only count blankBottom if we aren't rendering the last item, otherwise we will count the
|
|
8108
|
-
// footer as blank.
|
|
8109
7626
|
if (lastFrame && last < props.getItemCount(props.data) - 1) {
|
|
8110
7627
|
var bottomEdge = lastFrame.offset + lastFrame.length;
|
|
8111
7628
|
blankBottom = Math.min(visibleLength, Math.max(0, offset + visibleLength - bottomEdge));
|
|
@@ -8167,7 +7684,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8167
7684
|
}]);
|
|
8168
7685
|
}();
|
|
8169
7686
|
module.exports = FillRateHelper;
|
|
8170
|
-
},"3e01a5bc929e85870fe5",["
|
|
7687
|
+
},"3e01a5bc929e85870fe5",["68819e29ebee24bb0e88","cb664999166f9660a878"]);
|
|
8171
7688
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8172
7689
|
Object.defineProperty(exports, "__esModule", {
|
|
8173
7690
|
value: true
|
|
@@ -8181,28 +7698,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8181
7698
|
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
8182
7699
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
8183
7700
|
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; }
|
|
7701
|
+
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
7702
|
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
7703
|
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
|
-
*/
|
|
7704
|
+
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
7705
|
var StateSafePureComponent = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
8207
7706
|
function StateSafePureComponent(props) {
|
|
8208
7707
|
var _this;
|
|
@@ -8261,32 +7760,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8261
7760
|
}
|
|
8262
7761
|
}]);
|
|
8263
7762
|
}(React.PureComponent);
|
|
8264
|
-
},"04ffc79d4da370644bce",["
|
|
7763
|
+
},"04ffc79d4da370644bce",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","55062adb34159de0ea92","9822a58ca7726d551fe0","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f"]);
|
|
8265
7764
|
__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
7765
|
'use strict';
|
|
8277
7766
|
|
|
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
7767
|
var ViewabilityHelper = /*#__PURE__*/function () {
|
|
8291
7768
|
function ViewabilityHelper() {
|
|
8292
7769
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
@@ -8299,27 +7776,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8299
7776
|
this._viewableItems = new Map();
|
|
8300
7777
|
this._config = config;
|
|
8301
7778
|
}
|
|
8302
|
-
|
|
8303
|
-
/**
|
|
8304
|
-
* Cleanup, e.g. on unmount. Clears any pending timers.
|
|
8305
|
-
*/
|
|
8306
7779
|
return _$$_REQUIRE(_dependencyMap[1])(ViewabilityHelper, [{
|
|
8307
7780
|
key: "dispose",
|
|
8308
7781
|
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
7782
|
this._timers.forEach(clearTimeout);
|
|
8313
7783
|
}
|
|
8314
|
-
|
|
8315
|
-
/**
|
|
8316
|
-
* Determines which items are viewable based on the current metrics and config.
|
|
8317
|
-
*/
|
|
8318
7784
|
}, {
|
|
8319
7785
|
key: "computeViewableItems",
|
|
8320
|
-
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics,
|
|
8321
|
-
// Optional optimization to reduce the scan size
|
|
8322
|
-
renderRange) {
|
|
7786
|
+
value: function computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {
|
|
8323
7787
|
var itemCount = props.getItemCount(props.data);
|
|
8324
7788
|
var _this$_config = this._config,
|
|
8325
7789
|
itemVisiblePercentThreshold = _this$_config.itemVisiblePercentThreshold,
|
|
@@ -8363,16 +7827,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8363
7827
|
}
|
|
8364
7828
|
return viewableIndices;
|
|
8365
7829
|
}
|
|
8366
|
-
|
|
8367
|
-
/**
|
|
8368
|
-
* Figures out which items are viewable and how that has changed from before and calls
|
|
8369
|
-
* `onViewableItemsChanged` as appropriate.
|
|
8370
|
-
*/
|
|
8371
7830
|
}, {
|
|
8372
7831
|
key: "onUpdate",
|
|
8373
|
-
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged,
|
|
8374
|
-
// Optional optimization to reduce the scan size
|
|
8375
|
-
renderRange) {
|
|
7832
|
+
value: function onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
8376
7833
|
var _this = this;
|
|
8377
7834
|
var itemCount = props.getItemCount(props.data);
|
|
8378
7835
|
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props)) {
|
|
@@ -8385,40 +7842,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8385
7842
|
if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every(function (v, ii) {
|
|
8386
7843
|
return v === viewableIndices[ii];
|
|
8387
7844
|
})) {
|
|
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
7845
|
return;
|
|
8391
7846
|
}
|
|
8392
7847
|
this._viewableIndices = viewableIndices;
|
|
8393
7848
|
if (this._config.minimumViewTime) {
|
|
8394
7849
|
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
7850
|
_this._timers.delete(handle);
|
|
8399
7851
|
_this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8400
7852
|
}, 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
7853
|
this._timers.add(handle);
|
|
8405
7854
|
} else {
|
|
8406
7855
|
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
8407
7856
|
}
|
|
8408
7857
|
}
|
|
8409
|
-
|
|
8410
|
-
/**
|
|
8411
|
-
* clean-up cached _viewableIndices to evaluate changed items on next update
|
|
8412
|
-
*/
|
|
8413
7858
|
}, {
|
|
8414
7859
|
key: "resetViewableIndices",
|
|
8415
7860
|
value: function resetViewableIndices() {
|
|
8416
7861
|
this._viewableIndices = [];
|
|
8417
7862
|
}
|
|
8418
|
-
|
|
8419
|
-
/**
|
|
8420
|
-
* Records that an interaction has happened even if there has been no scroll.
|
|
8421
|
-
*/
|
|
8422
7863
|
}, {
|
|
8423
7864
|
key: "recordInteraction",
|
|
8424
7865
|
value: function recordInteraction() {
|
|
@@ -8428,7 +7869,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8428
7869
|
key: "_onUpdateSync",
|
|
8429
7870
|
value: function _onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
8430
7871
|
var _this2 = this;
|
|
8431
|
-
// Filter out indices that have gone out of view since this call was scheduled.
|
|
8432
7872
|
viewableIndicesToCheck = viewableIndicesToCheck.filter(function (ii) {
|
|
8433
7873
|
return _this2._viewableIndices.includes(ii);
|
|
8434
7874
|
});
|
|
@@ -8484,7 +7924,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8484
7924
|
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
8485
7925
|
}
|
|
8486
7926
|
module.exports = ViewabilityHelper;
|
|
8487
|
-
},"8bafab90a37cab64b100",["
|
|
7927
|
+
},"8bafab90a37cab64b100",["cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66","d73b3a84588342abd1b6"]);
|
|
8488
7928
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8489
7929
|
Object.defineProperty(exports, "__esModule", {
|
|
8490
7930
|
value: true
|
|
@@ -8498,18 +7938,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8498
7938
|
var _reactNative = _$$_REQUIRE(_dependencyMap[6]);
|
|
8499
7939
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7]));
|
|
8500
7940
|
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; }
|
|
7941
|
+
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
7942
|
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
|
-
*/
|
|
7943
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8513
7944
|
var CellRenderer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
8514
7945
|
function CellRenderer() {
|
|
8515
7946
|
var _this;
|
|
@@ -8524,9 +7955,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8524
7955
|
leadingItem: _this.props.item
|
|
8525
7956
|
}
|
|
8526
7957
|
};
|
|
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
7958
|
_this._separators = {
|
|
8531
7959
|
highlight: function highlight() {
|
|
8532
7960
|
var _this$props = _this.props,
|
|
@@ -8578,12 +8006,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8578
8006
|
console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem.");
|
|
8579
8007
|
}
|
|
8580
8008
|
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
8009
|
return React.createElement(ListItemComponent, {
|
|
8588
8010
|
item: item,
|
|
8589
8011
|
index: index,
|
|
@@ -8615,14 +8037,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8615
8037
|
onCellLayout = _this$props4.onCellLayout,
|
|
8616
8038
|
renderItem = _this$props4.renderItem;
|
|
8617
8039
|
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));
|
|
8040
|
+
var itemSeparator = React.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(ItemSeparatorComponent, Object.assign({}, this.state.separatorProps));
|
|
8626
8041
|
var cellStyle = inversionStyle ? horizontal ? [styles.rowReverse, inversionStyle] : [styles.columnReverse, inversionStyle] : horizontal ? [styles.row, inversionStyle] : inversionStyle;
|
|
8627
8042
|
var result = !CellRendererComponent ? /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, Object.assign({
|
|
8628
8043
|
style: cellStyle,
|
|
@@ -8669,7 +8084,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8669
8084
|
flexDirection: 'column-reverse'
|
|
8670
8085
|
}
|
|
8671
8086
|
});
|
|
8672
|
-
},"ce5f423367f40f3628a8",["
|
|
8087
|
+
},"ce5f423367f40f3628a8",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed","e6b1ef1f5b720d640981"]);
|
|
8673
8088
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8674
8089
|
Object.defineProperty(exports, "__esModule", {
|
|
8675
8090
|
value: true
|
|
@@ -8680,22 +8095,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8680
8095
|
exports.VirtualizedListContextResetter = VirtualizedListContextResetter;
|
|
8681
8096
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
8682
8097
|
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
|
-
|
|
8098
|
+
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
8099
|
var VirtualizedListContext = exports.VirtualizedListContext = React.createContext(null);
|
|
8696
|
-
/**
|
|
8697
|
-
* Resets the context. Intended for use by portal-like components (e.g. Modal).
|
|
8698
|
-
*/
|
|
8699
8100
|
function VirtualizedListContextResetter(_ref) {
|
|
8700
8101
|
var children = _ref.children;
|
|
8701
8102
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[1]).jsx)(VirtualizedListContext.Provider, {
|
|
@@ -8703,14 +8104,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8703
8104
|
children: children
|
|
8704
8105
|
});
|
|
8705
8106
|
}
|
|
8706
|
-
|
|
8707
|
-
/**
|
|
8708
|
-
* Sets the context with memoization. Intended to be used by `VirtualizedList`.
|
|
8709
|
-
*/
|
|
8710
8107
|
function VirtualizedListContextProvider(_ref2) {
|
|
8711
8108
|
var children = _ref2.children,
|
|
8712
8109
|
value = _ref2.value;
|
|
8713
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8714
8110
|
var context = (0, _react.useMemo)(function () {
|
|
8715
8111
|
return {
|
|
8716
8112
|
cellKey: null,
|
|
@@ -8726,14 +8122,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8726
8122
|
children: children
|
|
8727
8123
|
});
|
|
8728
8124
|
}
|
|
8729
|
-
|
|
8730
|
-
/**
|
|
8731
|
-
* Sets the `cellKey`. Intended to be used by `VirtualizedList` for each cell.
|
|
8732
|
-
*/
|
|
8733
8125
|
function VirtualizedListCellContextProvider(_ref3) {
|
|
8734
8126
|
var cellKey = _ref3.cellKey,
|
|
8735
8127
|
children = _ref3.children;
|
|
8736
|
-
// Avoid setting a newly created context object if the values are identical.
|
|
8737
8128
|
var currContext = (0, _react.useContext)(VirtualizedListContext);
|
|
8738
8129
|
var context = (0, _react.useMemo)(function () {
|
|
8739
8130
|
return currContext == null ? null : Object.assign({}, currContext, {
|
|
@@ -8756,15 +8147,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8756
8147
|
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
8757
8148
|
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
8758
8149
|
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
8150
|
var CellRenderMask = exports.CellRenderMask = /*#__PURE__*/function () {
|
|
8769
8151
|
function CellRenderMask(numCells) {
|
|
8770
8152
|
(0, _classCallCheck2.default)(this, CellRenderMask);
|
|
@@ -8790,9 +8172,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8790
8172
|
value: function addCells(cells) {
|
|
8791
8173
|
var _this$_regions;
|
|
8792
8174
|
(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
8175
|
if (cells.last < cells.first) {
|
|
8797
8176
|
return;
|
|
8798
8177
|
}
|
|
@@ -8804,15 +8183,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8804
8183
|
_this$_findRegion4 = (0, _slicedToArray2.default)(_this$_findRegion3, 2),
|
|
8805
8184
|
lastIntersect = _this$_findRegion4[0],
|
|
8806
8185
|
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
8186
|
if (firstIntersectIdx === lastIntersectIdx && !firstIntersect.isSpacer) {
|
|
8811
8187
|
return;
|
|
8812
8188
|
}
|
|
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
8189
|
var newLeadRegion = [];
|
|
8817
8190
|
var newTailRegion = [];
|
|
8818
8191
|
var newMainRegion = Object.assign({}, cells, {
|
|
@@ -8876,7 +8249,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8876
8249
|
}
|
|
8877
8250
|
}]);
|
|
8878
8251
|
}();
|
|
8879
|
-
},"de5ab026f9499640d730",["
|
|
8252
|
+
},"de5ab026f9499640d730",["277a84013d7e1a1ace05","838d7a057beeb5db50df","d73b3a84588342abd1b6","cb664999166f9660a878","68819e29ebee24bb0e88","fd099686726b2dfb6f66"]);
|
|
8880
8253
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
8881
8254
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
8882
8255
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
@@ -8890,23 +8263,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8890
8263
|
var _invariant = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
|
|
8891
8264
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11]));
|
|
8892
8265
|
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; }
|
|
8266
|
+
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
8267
|
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
|
-
*/
|
|
8268
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8910
8269
|
var VirtualizedSectionList = /*#__PURE__*/function (_React$PureComponent) {
|
|
8911
8270
|
function VirtualizedSectionList() {
|
|
8912
8271
|
var _this;
|
|
@@ -8915,7 +8274,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8915
8274
|
args[_key] = arguments[_key];
|
|
8916
8275
|
}
|
|
8917
8276
|
_this = _callSuper(this, VirtualizedSectionList, [].concat(args));
|
|
8918
|
-
// $FlowFixMe[missing-local-annot]
|
|
8919
8277
|
_this._keyExtractor = function (item, index) {
|
|
8920
8278
|
var info = _this._subExtractor(index);
|
|
8921
8279
|
return info && info.key || String(index);
|
|
@@ -8948,59 +8306,52 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
8948
8306
|
}
|
|
8949
8307
|
};
|
|
8950
8308
|
_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
|
-
}
|
|
8309
|
+
return function (_ref2) {
|
|
8310
|
+
var item = _ref2.item,
|
|
8311
|
+
index = _ref2.index;
|
|
8312
|
+
var info = _this._subExtractor(index);
|
|
8313
|
+
if (!info) {
|
|
8314
|
+
return null;
|
|
8315
|
+
}
|
|
8316
|
+
var infoIndex = info.index;
|
|
8317
|
+
if (infoIndex == null) {
|
|
8318
|
+
var section = info.section;
|
|
8319
|
+
if (info.header === true) {
|
|
8320
|
+
var renderSectionHeader = _this.props.renderSectionHeader;
|
|
8321
|
+
return renderSectionHeader ? renderSectionHeader({
|
|
8322
|
+
section: section
|
|
8323
|
+
}) : null;
|
|
8974
8324
|
} 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
|
-
});
|
|
8325
|
+
var renderSectionFooter = _this.props.renderSectionFooter;
|
|
8326
|
+
return renderSectionFooter ? renderSectionFooter({
|
|
8327
|
+
section: section
|
|
8328
|
+
}) : null;
|
|
9001
8329
|
}
|
|
8330
|
+
} else {
|
|
8331
|
+
var renderItem = info.section.renderItem || _this.props.renderItem;
|
|
8332
|
+
var SeparatorComponent = _this._getSeparatorComponent(index, info, listItemCount);
|
|
8333
|
+
(0, _invariant.default)(renderItem, 'no renderItem!');
|
|
8334
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(ItemWithSeparator, {
|
|
8335
|
+
SeparatorComponent: SeparatorComponent,
|
|
8336
|
+
LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,
|
|
8337
|
+
cellKey: info.key,
|
|
8338
|
+
index: infoIndex,
|
|
8339
|
+
item: item,
|
|
8340
|
+
leadingItem: info.leadingItem,
|
|
8341
|
+
leadingSection: info.leadingSection,
|
|
8342
|
+
prevCellKey: (_this._subExtractor(index - 1) || {}).key,
|
|
8343
|
+
setSelfHighlightCallback: _this._setUpdateHighlightFor,
|
|
8344
|
+
setSelfUpdatePropsCallback: _this._setUpdatePropsFor,
|
|
8345
|
+
updateHighlightFor: _this._updateHighlightFor,
|
|
8346
|
+
updatePropsFor: _this._updatePropsFor,
|
|
8347
|
+
renderItem: renderItem,
|
|
8348
|
+
section: info.section,
|
|
8349
|
+
trailingItem: info.trailingItem,
|
|
8350
|
+
trailingSection: info.trailingSection,
|
|
8351
|
+
inverted: !!_this.props.inverted
|
|
8352
|
+
});
|
|
9002
8353
|
}
|
|
9003
|
-
|
|
8354
|
+
};
|
|
9004
8355
|
};
|
|
9005
8356
|
_this._updatePropsFor = function (cellKey, value) {
|
|
9006
8357
|
var updateProps = _this._updatePropsMap[cellKey];
|
|
@@ -9018,7 +8369,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9018
8369
|
if (updateHighlightFn != null) {
|
|
9019
8370
|
_this._updateHighlightMap[cellKey] = updateHighlightFn;
|
|
9020
8371
|
} else {
|
|
9021
|
-
// $FlowFixMe[prop-missing]
|
|
9022
8372
|
delete _this._updateHighlightFor[cellKey];
|
|
9023
8373
|
}
|
|
9024
8374
|
};
|
|
@@ -9056,7 +8406,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9056
8406
|
viewOffset: viewOffset,
|
|
9057
8407
|
index: index
|
|
9058
8408
|
});
|
|
9059
|
-
// $FlowFixMe[incompatible-use]
|
|
9060
8409
|
this._listRef.scrollToIndex(toIndexParams);
|
|
9061
8410
|
}
|
|
9062
8411
|
}, {
|
|
@@ -9081,12 +8430,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9081
8430
|
var stickyHeaderIndices = this.props.stickySectionHeadersEnabled ? [] : undefined;
|
|
9082
8431
|
var itemCount = 0;
|
|
9083
8432
|
for (var section of this.props.sections) {
|
|
9084
|
-
// Track the section header indices
|
|
9085
8433
|
if (stickyHeaderIndices != null) {
|
|
9086
8434
|
stickyHeaderIndices.push(itemCount + listHeaderOffset);
|
|
9087
8435
|
}
|
|
9088
|
-
|
|
9089
|
-
// Add two for the section header and footer.
|
|
9090
8436
|
itemCount += 2;
|
|
9091
8437
|
itemCount += this.props.getItemCount(section.data);
|
|
9092
8438
|
}
|
|
@@ -9118,15 +8464,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9118
8464
|
var sectionData = section.data;
|
|
9119
8465
|
var itemCount = props.getItemCount(sectionData);
|
|
9120
8466
|
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
8467
|
return section;
|
|
9125
8468
|
} else if (itemIdx < itemCount) {
|
|
9126
|
-
// If we are in the bounds of the list's data then return the item.
|
|
9127
8469
|
return props.getItem(sectionData, itemIdx);
|
|
9128
8470
|
} else {
|
|
9129
|
-
itemIdx -= itemCount + 2;
|
|
8471
|
+
itemIdx -= itemCount + 2;
|
|
9130
8472
|
}
|
|
9131
8473
|
}
|
|
9132
8474
|
return null;
|
|
@@ -9144,9 +8486,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9144
8486
|
var section = sections[i];
|
|
9145
8487
|
var sectionData = section.data;
|
|
9146
8488
|
var key = section.key || String(i);
|
|
9147
|
-
itemIndex -= 1;
|
|
8489
|
+
itemIndex -= 1;
|
|
9148
8490
|
if (itemIndex >= getItemCount(sectionData) + 1) {
|
|
9149
|
-
itemIndex -= getItemCount(sectionData) + 1;
|
|
8491
|
+
itemIndex -= getItemCount(sectionData) + 1;
|
|
9150
8492
|
} else if (itemIndex === -1) {
|
|
9151
8493
|
return {
|
|
9152
8494
|
section: section,
|
|
@@ -9241,7 +8583,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9241
8583
|
setSeparatorProps = _React$useState8[1];
|
|
9242
8584
|
React.useEffect(function () {
|
|
9243
8585
|
setSelfHighlightCallback(cellKey, setSeparatorHighlighted);
|
|
9244
|
-
// $FlowFixMe[incompatible-call]
|
|
9245
8586
|
setSelfUpdatePropsCallback(cellKey, setSeparatorProps);
|
|
9246
8587
|
return function () {
|
|
9247
8588
|
setSelfUpdatePropsCallback(cellKey, null);
|
|
@@ -9268,7 +8609,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9268
8609
|
if (LeadingSeparatorComponent != null) {
|
|
9269
8610
|
setLeadingSeparatorProps(Object.assign({}, leadingSeparatorProps, newProps));
|
|
9270
8611
|
} else if (prevCellKey != null) {
|
|
9271
|
-
// update the previous item's separator
|
|
9272
8612
|
updatePropsFor(prevCellKey, Object.assign({}, leadingSeparatorProps, newProps));
|
|
9273
8613
|
}
|
|
9274
8614
|
} else if (select === 'trailing' && SeparatorComponent != null) {
|
|
@@ -9292,12 +8632,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9292
8632
|
children: [inverted === false ? leadingSeparator : separator, element, inverted === false ? separator : leadingSeparator]
|
|
9293
8633
|
}) : element;
|
|
9294
8634
|
}
|
|
9295
|
-
|
|
9296
|
-
/* $FlowFixMe[class-object-subtyping] added when improving typing for this
|
|
9297
|
-
* parameters */
|
|
9298
|
-
// $FlowFixMe[method-unbinding]
|
|
9299
8635
|
module.exports = VirtualizedSectionList;
|
|
9300
|
-
},"d2355175ff6609a3def1",["
|
|
8636
|
+
},"d2355175ff6609a3def1",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","a2c8e692f78bae5b8b98","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","26ef620f86acf7f6932a","c4b46015e44050527820","fd099686726b2dfb6f66","6ed0e34da2b23bd3554f","a26dbe2a3afa21c3cf22","048fed5a64a04bdb7fed"]);
|
|
9301
8637
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9302
8638
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
9303
8639
|
try {
|
|
@@ -9325,91 +8661,92 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9325
8661
|
};
|
|
9326
8662
|
}
|
|
9327
8663
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9328
|
-
},"
|
|
8664
|
+
},"77f56f33f638c3751138",[]);
|
|
9329
8665
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9330
8666
|
'use strict';
|
|
9331
8667
|
|
|
9332
8668
|
{
|
|
9333
8669
|
module.exports = _$$_REQUIRE(_dependencyMap[0]);
|
|
9334
8670
|
}
|
|
9335
|
-
},"
|
|
8671
|
+
},"962cceb83a0665e556b0",["882f173eeacafe179433"]);
|
|
9336
8672
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9337
8673
|
/**
|
|
9338
8674
|
* @license React
|
|
9339
|
-
* use-sync-external-store-shim.native.production.
|
|
8675
|
+
* use-sync-external-store-shim.native.production.js
|
|
9340
8676
|
*
|
|
9341
|
-
* Copyright (c)
|
|
8677
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9342
8678
|
*
|
|
9343
8679
|
* This source code is licensed under the MIT license found in the
|
|
9344
8680
|
* LICENSE file in the root directory of this source tree.
|
|
9345
8681
|
*/
|
|
9346
|
-
'use strict';
|
|
9347
8682
|
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
8683
|
+
"use strict";
|
|
8684
|
+
|
|
8685
|
+
var React = _$$_REQUIRE(_dependencyMap[0]);
|
|
8686
|
+
function is(x, y) {
|
|
8687
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
8688
|
+
}
|
|
8689
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
8690
|
+
useState = React.useState,
|
|
8691
|
+
useEffect = React.useEffect,
|
|
8692
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
8693
|
+
useDebugValue = React.useDebugValue;
|
|
8694
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
8695
|
+
var value = getSnapshot(),
|
|
8696
|
+
_useState = useState({
|
|
9360
8697
|
inst: {
|
|
9361
|
-
value:
|
|
9362
|
-
getSnapshot:
|
|
8698
|
+
value: value,
|
|
8699
|
+
getSnapshot: getSnapshot
|
|
9363
8700
|
}
|
|
9364
8701
|
}),
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
inst:
|
|
8702
|
+
inst = _useState[0].inst,
|
|
8703
|
+
forceUpdate = _useState[1];
|
|
8704
|
+
useLayoutEffect(function () {
|
|
8705
|
+
inst.value = value;
|
|
8706
|
+
inst.getSnapshot = getSnapshot;
|
|
8707
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8708
|
+
inst: inst
|
|
9372
8709
|
});
|
|
9373
|
-
}, [
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
inst:
|
|
8710
|
+
}, [subscribe, value, getSnapshot]);
|
|
8711
|
+
useEffect(function () {
|
|
8712
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8713
|
+
inst: inst
|
|
9377
8714
|
});
|
|
9378
|
-
return
|
|
9379
|
-
|
|
9380
|
-
inst:
|
|
8715
|
+
return subscribe(function () {
|
|
8716
|
+
checkIfSnapshotChanged(inst) && forceUpdate({
|
|
8717
|
+
inst: inst
|
|
9381
8718
|
});
|
|
9382
8719
|
});
|
|
9383
|
-
}, [
|
|
9384
|
-
|
|
9385
|
-
return
|
|
8720
|
+
}, [subscribe]);
|
|
8721
|
+
useDebugValue(value);
|
|
8722
|
+
return value;
|
|
9386
8723
|
}
|
|
9387
|
-
function
|
|
9388
|
-
var
|
|
9389
|
-
|
|
8724
|
+
function checkIfSnapshotChanged(inst) {
|
|
8725
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
8726
|
+
inst = inst.value;
|
|
9390
8727
|
try {
|
|
9391
|
-
var
|
|
9392
|
-
return !
|
|
9393
|
-
} catch (
|
|
8728
|
+
var nextValue = latestGetSnapshot();
|
|
8729
|
+
return !objectIs(inst, nextValue);
|
|
8730
|
+
} catch (error) {
|
|
9394
8731
|
return true;
|
|
9395
8732
|
}
|
|
9396
8733
|
}
|
|
9397
|
-
exports.useSyncExternalStore = undefined !==
|
|
9398
|
-
},"
|
|
8734
|
+
exports.useSyncExternalStore = undefined !== React.useSyncExternalStore ? React.useSyncExternalStore : useSyncExternalStore$1;
|
|
8735
|
+
},"882f173eeacafe179433",["6ed0e34da2b23bd3554f"]);
|
|
9399
8736
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9400
8737
|
var id = 0;
|
|
9401
8738
|
function _classPrivateFieldKey(e) {
|
|
9402
8739
|
return "__private_" + id++ + "_" + e;
|
|
9403
8740
|
}
|
|
9404
8741
|
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9405
|
-
},"
|
|
8742
|
+
},"cb8ece4f72f02a959885",[]);
|
|
9406
8743
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9407
8744
|
function _classPrivateFieldBase(e, t) {
|
|
9408
8745
|
if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
|
|
9409
8746
|
return e;
|
|
9410
8747
|
}
|
|
9411
8748
|
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9412
|
-
},"
|
|
8749
|
+
},"39eb90fd8fb300b049c2",[]);
|
|
9413
8750
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9414
8751
|
"use strict";
|
|
9415
8752
|
|
|
@@ -9419,30 +8756,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9419
8756
|
exports.default = useAnimatedValue;
|
|
9420
8757
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
9421
8758
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
9422
|
-
function
|
|
9423
|
-
if ("function"
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
9442
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
9443
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
9444
|
-
}
|
|
9445
|
-
return n.default = e, t && t.set(e, n), n;
|
|
8759
|
+
function _interopRequireWildcard(e, t) {
|
|
8760
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
8761
|
+
n = new WeakMap();
|
|
8762
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
8763
|
+
if (!t && e && e.__esModule) return e;
|
|
8764
|
+
var o,
|
|
8765
|
+
i,
|
|
8766
|
+
f = {
|
|
8767
|
+
__proto__: null,
|
|
8768
|
+
default: e
|
|
8769
|
+
};
|
|
8770
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
8771
|
+
if (o = t ? n : r) {
|
|
8772
|
+
if (o.has(e)) return o.get(e);
|
|
8773
|
+
o.set(e, f);
|
|
8774
|
+
}
|
|
8775
|
+
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]);
|
|
8776
|
+
return f;
|
|
8777
|
+
})(e, t);
|
|
9446
8778
|
}
|
|
9447
8779
|
function useAnimatedValue(initialValue) {
|
|
9448
8780
|
var lazyRef = React.useRef();
|
|
@@ -9469,30 +8801,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9469
8801
|
default: e
|
|
9470
8802
|
};
|
|
9471
8803
|
}
|
|
9472
|
-
function
|
|
9473
|
-
if ("function"
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
9492
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
9493
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
9494
|
-
}
|
|
9495
|
-
return n.default = e, t && t.set(e, n), n;
|
|
8804
|
+
function _interopRequireWildcard(e, t) {
|
|
8805
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
8806
|
+
n = new WeakMap();
|
|
8807
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
8808
|
+
if (!t && e && e.__esModule) return e;
|
|
8809
|
+
var o,
|
|
8810
|
+
i,
|
|
8811
|
+
f = {
|
|
8812
|
+
__proto__: null,
|
|
8813
|
+
default: e
|
|
8814
|
+
};
|
|
8815
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
8816
|
+
if (o = t ? n : r) {
|
|
8817
|
+
if (o.has(e)) return o.get(e);
|
|
8818
|
+
o.set(e, f);
|
|
8819
|
+
}
|
|
8820
|
+
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]);
|
|
8821
|
+
return f;
|
|
8822
|
+
})(e, t);
|
|
9496
8823
|
}
|
|
9497
8824
|
function _extends() {
|
|
9498
8825
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -9624,7 +8951,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9624
8951
|
flex: 1
|
|
9625
8952
|
}
|
|
9626
8953
|
});
|
|
9627
|
-
},"b05bf126cc4837f813e3",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
8954
|
+
},"b05bf126cc4837f813e3",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","511026e65104b16a3e63","d7b447ba4a5d70364639","a2c8e692f78bae5b8b98"]);
|
|
9628
8955
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9629
8956
|
Object.defineProperty(exports, "__esModule", {
|
|
9630
8957
|
value: true
|
|
@@ -9643,7 +8970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9643
8970
|
});
|
|
9644
8971
|
});
|
|
9645
8972
|
var _default = exports.default = _$$_REQUIRE(_dependencyMap[1]).PagerView;
|
|
9646
|
-
},"
|
|
8973
|
+
},"511026e65104b16a3e63",["6840ebe2431baee847e7","a28ac6a813729a4cd5ab"]);
|
|
9647
8974
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9648
8975
|
Object.defineProperty(exports, "__esModule", {
|
|
9649
8976
|
value: true
|
|
@@ -9679,20 +9006,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9679
9006
|
overdragEnabled = _useState8[0],
|
|
9680
9007
|
setOverdragEnabled = _useState8[1];
|
|
9681
9008
|
var _useState9 = (0, _react.useState)(true),
|
|
9682
|
-
|
|
9683
|
-
scrollEnabled =
|
|
9684
|
-
setScrollEnabled =
|
|
9685
|
-
var
|
|
9686
|
-
|
|
9687
|
-
scrollState =
|
|
9688
|
-
setScrollState =
|
|
9689
|
-
var
|
|
9009
|
+
_useState0 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
9010
|
+
scrollEnabled = _useState0[0],
|
|
9011
|
+
setScrollEnabled = _useState0[1];
|
|
9012
|
+
var _useState1 = (0, _react.useState)('idle'),
|
|
9013
|
+
_useState10 = (0, _slicedToArray2.default)(_useState1, 2),
|
|
9014
|
+
scrollState = _useState10[0],
|
|
9015
|
+
setScrollState = _useState10[1];
|
|
9016
|
+
var _useState11 = (0, _react.useState)({
|
|
9690
9017
|
position: 0,
|
|
9691
9018
|
offset: 0
|
|
9692
9019
|
}),
|
|
9693
|
-
|
|
9694
|
-
progress =
|
|
9695
|
-
setProgress =
|
|
9020
|
+
_useState12 = (0, _slicedToArray2.default)(_useState11, 2),
|
|
9021
|
+
progress = _useState12[0],
|
|
9022
|
+
setProgress = _useState12[1];
|
|
9696
9023
|
var onPageScrollOffset = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
9697
9024
|
var onPageScrollPosition = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
9698
9025
|
var onPageSelectedPosition = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
@@ -9702,11 +9029,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9702
9029
|
}, [isAnimated]);
|
|
9703
9030
|
var addPage = (0, _react.useCallback)(function () {
|
|
9704
9031
|
setPages(function (prevPages) {
|
|
9705
|
-
|
|
9706
|
-
if (lastPageNumber) {
|
|
9707
|
-
return [].concat((0, _toConsumableArray2.default)(prevPages), [lastPageNumber + 1]);
|
|
9708
|
-
}
|
|
9709
|
-
return prevPages;
|
|
9032
|
+
return [].concat((0, _toConsumableArray2.default)(prevPages), [prevPages.length]);
|
|
9710
9033
|
});
|
|
9711
9034
|
}, []);
|
|
9712
9035
|
var removePage = (0, _react.useCallback)(function () {
|
|
@@ -9739,6 +9062,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9739
9062
|
position: onPageScrollPosition
|
|
9740
9063
|
}
|
|
9741
9064
|
}], {
|
|
9065
|
+
listener: function listener(_ref2) {
|
|
9066
|
+
var _ref2$nativeEvent = _ref2.nativeEvent,
|
|
9067
|
+
offset = _ref2$nativeEvent.offset,
|
|
9068
|
+
position = _ref2$nativeEvent.position;
|
|
9069
|
+
setProgress({
|
|
9070
|
+
position: position,
|
|
9071
|
+
offset: offset
|
|
9072
|
+
});
|
|
9073
|
+
},
|
|
9742
9074
|
useNativeDriver: true
|
|
9743
9075
|
});
|
|
9744
9076
|
},
|
|
@@ -9750,8 +9082,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9750
9082
|
position: onPageSelectedPosition
|
|
9751
9083
|
}
|
|
9752
9084
|
}], {
|
|
9753
|
-
listener: function listener(
|
|
9754
|
-
var position =
|
|
9085
|
+
listener: function listener(_ref3) {
|
|
9086
|
+
var position = _ref3.nativeEvent.position;
|
|
9755
9087
|
setActivePage(position);
|
|
9756
9088
|
},
|
|
9757
9089
|
useNativeDriver: true
|
|
@@ -9785,25 +9117,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9785
9117
|
PagerView: _$$_REQUIRE(_dependencyMap[5]).PagerView
|
|
9786
9118
|
};
|
|
9787
9119
|
}
|
|
9788
|
-
},"
|
|
9120
|
+
},"6840ebe2431baee847e7",["277a84013d7e1a1ace05","838d7a057beeb5db50df","d73b3a84588342abd1b6","26ef620f86acf7f6932a","6ed0e34da2b23bd3554f","a28ac6a813729a4cd5ab"]);
|
|
9789
9121
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
9790
9122
|
Object.defineProperty(exports, "__esModule", {
|
|
9791
9123
|
value: true
|
|
9792
9124
|
});
|
|
9793
9125
|
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; }
|
|
9126
|
+
var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
9127
|
+
var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
9128
|
+
var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
9129
|
+
var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
9130
|
+
var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
9131
|
+
var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
9132
|
+
var _reactNative = _$$_REQUIRE(_dependencyMap[7]);
|
|
9133
|
+
var _PagerViewNativeComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8]));
|
|
9134
|
+
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
9135
|
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
9136
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
9809
9137
|
* Container that allows to flip left and right between child views. Each
|
|
@@ -9845,16 +9173,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9845
9173
|
* }
|
|
9846
9174
|
* }
|
|
9847
9175
|
* ```
|
|
9848
|
-
*/
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
function PagerViewInternal() {
|
|
9176
|
+
*/
|
|
9177
|
+
var PagerView = exports.PagerView = /*#__PURE__*/function (_React$Component) {
|
|
9178
|
+
function PagerView() {
|
|
9852
9179
|
var _this;
|
|
9853
|
-
(0, _classCallCheck2.default)(this,
|
|
9180
|
+
(0, _classCallCheck2.default)(this, PagerView);
|
|
9854
9181
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
9855
9182
|
args[_key] = arguments[_key];
|
|
9856
9183
|
}
|
|
9857
|
-
_this = _callSuper(this,
|
|
9184
|
+
_this = _callSuper(this, PagerView, [].concat(args));
|
|
9858
9185
|
_this.isScrolling = false;
|
|
9859
9186
|
_this.pagerView = null;
|
|
9860
9187
|
_this._onPageScroll = function (e) {
|
|
@@ -9889,7 +9216,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9889
9216
|
*/
|
|
9890
9217
|
_this.setPage = function (selectedPage) {
|
|
9891
9218
|
if (_this.pagerView) {
|
|
9892
|
-
|
|
9219
|
+
_PagerViewNativeComponent.Commands.setPage(_this.pagerView, selectedPage);
|
|
9893
9220
|
}
|
|
9894
9221
|
};
|
|
9895
9222
|
/**
|
|
@@ -9898,7 +9225,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9898
9225
|
*/
|
|
9899
9226
|
_this.setPageWithoutAnimation = function (selectedPage) {
|
|
9900
9227
|
if (_this.pagerView) {
|
|
9901
|
-
|
|
9228
|
+
_PagerViewNativeComponent.Commands.setPageWithoutAnimation(_this.pagerView, selectedPage);
|
|
9902
9229
|
}
|
|
9903
9230
|
};
|
|
9904
9231
|
/**
|
|
@@ -9908,18 +9235,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9908
9235
|
*/
|
|
9909
9236
|
_this.setScrollEnabled = function (scrollEnabled) {
|
|
9910
9237
|
if (_this.pagerView) {
|
|
9911
|
-
|
|
9238
|
+
_PagerViewNativeComponent.Commands.setScrollEnabledImperatively(_this.pagerView, scrollEnabled);
|
|
9912
9239
|
}
|
|
9913
9240
|
};
|
|
9914
9241
|
return _this;
|
|
9915
9242
|
}
|
|
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
|
-
}, {
|
|
9243
|
+
(0, _inherits2.default)(PagerView, _React$Component);
|
|
9244
|
+
return (0, _createClass2.default)(PagerView, [{
|
|
9923
9245
|
key: "deducedLayoutDirection",
|
|
9924
9246
|
get: function get() {
|
|
9925
9247
|
if (!this.props.layoutDirection ||
|
|
@@ -9934,103 +9256,83 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
9934
9256
|
key: "render",
|
|
9935
9257
|
value: function render() {
|
|
9936
9258
|
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;
|
|
9259
|
+
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_PagerViewNativeComponent.default, Object.assign({}, this.props, {
|
|
9260
|
+
ref: function ref(_ref) {
|
|
9261
|
+
_this2.pagerView = _ref;
|
|
9962
9262
|
},
|
|
9963
|
-
style: style,
|
|
9263
|
+
style: this.props.style,
|
|
9964
9264
|
layoutDirection: this.deducedLayoutDirection,
|
|
9965
9265
|
onPageScroll: this._onPageScroll,
|
|
9966
9266
|
onPageScrollStateChanged: this._onPageScrollStateChanged,
|
|
9967
9267
|
onPageSelected: this._onPageSelected,
|
|
9968
9268
|
onMoveShouldSetResponderCapture: this._onMoveShouldSetResponderCapture,
|
|
9969
|
-
children: (0, _$$_REQUIRE(_dependencyMap[
|
|
9269
|
+
children: (0, _$$_REQUIRE(_dependencyMap[10]).childrenWithOverriddenStyle)(this.props.children)
|
|
9970
9270
|
}));
|
|
9971
9271
|
}
|
|
9972
9272
|
}]);
|
|
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"]);
|
|
9273
|
+
}(_react.default.Component);
|
|
9274
|
+
},"a28ac6a813729a4cd5ab",["277a84013d7e1a1ace05","cb664999166f9660a878","68819e29ebee24bb0e88","aab42168bb4cb23540ec","ba9efe5c53f1d07f5c9d","9822a58ca7726d551fe0","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","3a734a0afb95e6f595fa","048fed5a64a04bdb7fed","18c2652e5d16cbf09aa6"]);
|
|
10000
9275
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10001
9276
|
Object.defineProperty(exports, "__esModule", {
|
|
10002
9277
|
value: true
|
|
10003
9278
|
});
|
|
10004
|
-
exports.default = exports.Commands = undefined;
|
|
9279
|
+
exports.default = exports.__INTERNAL_VIEW_CONFIG = exports.Commands = undefined;
|
|
10005
9280
|
var _codegenNativeCommands = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
10006
9281
|
var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2]));
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
9282
|
+
var nativeComponentName = 'RNCViewPager';
|
|
9283
|
+
var __INTERNAL_VIEW_CONFIG = exports.__INTERNAL_VIEW_CONFIG = {
|
|
9284
|
+
uiViewClassName: "RNCViewPager",
|
|
9285
|
+
directEventTypes: {
|
|
9286
|
+
topPageScroll: {
|
|
9287
|
+
registrationName: "onPageScroll"
|
|
9288
|
+
},
|
|
9289
|
+
topPageSelected: {
|
|
9290
|
+
registrationName: "onPageSelected"
|
|
9291
|
+
},
|
|
9292
|
+
topPageScrollStateChanged: {
|
|
9293
|
+
registrationName: "onPageScrollStateChanged"
|
|
9294
|
+
}
|
|
9295
|
+
},
|
|
9296
|
+
validAttributes: Object.assign({
|
|
9297
|
+
scrollEnabled: true,
|
|
9298
|
+
layoutDirection: true,
|
|
9299
|
+
initialPage: true,
|
|
9300
|
+
orientation: true,
|
|
9301
|
+
offscreenPageLimit: true,
|
|
9302
|
+
pageMargin: true,
|
|
9303
|
+
overScrollMode: true,
|
|
9304
|
+
overdrag: true,
|
|
9305
|
+
keyboardDismissMode: true
|
|
9306
|
+
}, _$$_REQUIRE(_dependencyMap[3]).ConditionallyIgnoredEventHandlers({
|
|
9307
|
+
onPageScroll: true,
|
|
9308
|
+
onPageSelected: true,
|
|
9309
|
+
onPageScrollStateChanged: true
|
|
9310
|
+
}))
|
|
9311
|
+
};
|
|
9312
|
+
var _default = exports.default = _$$_REQUIRE(_dependencyMap[4]).get(nativeComponentName, function () {
|
|
9313
|
+
return __INTERNAL_VIEW_CONFIG;
|
|
10021
9314
|
});
|
|
10022
|
-
var
|
|
10023
|
-
|
|
9315
|
+
var Commands = exports.Commands = {
|
|
9316
|
+
setPage: function setPage(ref, selectedPage) {
|
|
9317
|
+
_$$_REQUIRE(_dependencyMap[5]).dispatchCommand(ref, "setPage", [selectedPage]);
|
|
9318
|
+
},
|
|
9319
|
+
setPageWithoutAnimation: function setPageWithoutAnimation(ref, selectedPage) {
|
|
9320
|
+
_$$_REQUIRE(_dependencyMap[5]).dispatchCommand(ref, "setPageWithoutAnimation", [selectedPage]);
|
|
9321
|
+
},
|
|
9322
|
+
setScrollEnabledImperatively: function setScrollEnabledImperatively(ref, scrollEnabled) {
|
|
9323
|
+
_$$_REQUIRE(_dependencyMap[5]).dispatchCommand(ref, "setScrollEnabledImperatively", [scrollEnabled]);
|
|
9324
|
+
}
|
|
9325
|
+
};
|
|
9326
|
+
},"3a734a0afb95e6f595fa",["277a84013d7e1a1ace05","276fdf93b5bf06f5ed62","66ac785f768f3933d852","4c64a52dc42783822808","4d5885514d344231b71f","7816c954990265e370e0"]);
|
|
10024
9327
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10025
9328
|
Object.defineProperty(exports, "__esModule", {
|
|
10026
9329
|
value: true
|
|
10027
9330
|
});
|
|
10028
|
-
exports.childrenWithOverriddenStyle =
|
|
9331
|
+
exports.childrenWithOverriddenStyle = undefined;
|
|
10029
9332
|
var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10030
9333
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
10031
|
-
function
|
|
10032
|
-
|
|
10033
|
-
var LEGACY_childrenWithOverriddenStyle = exports.LEGACY_childrenWithOverriddenStyle = function LEGACY_childrenWithOverriddenStyle(children) {
|
|
9334
|
+
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); }
|
|
9335
|
+
var childrenWithOverriddenStyle = exports.childrenWithOverriddenStyle = function childrenWithOverriddenStyle(children) {
|
|
10034
9336
|
return _react.Children.map(children, function (child) {
|
|
10035
9337
|
var element = child;
|
|
10036
9338
|
return (
|
|
@@ -10047,22 +9349,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10047
9349
|
);
|
|
10048
9350
|
});
|
|
10049
9351
|
};
|
|
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"]);
|
|
9352
|
+
},"18c2652e5d16cbf09aa6",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
10066
9353
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10067
9354
|
"use strict";
|
|
10068
9355
|
|
|
@@ -10073,30 +9360,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10073
9360
|
exports.default = PlatformPressable;
|
|
10074
9361
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10075
9362
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
10076
|
-
function
|
|
10077
|
-
if ("function"
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
10096
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
10097
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
10098
|
-
}
|
|
10099
|
-
return n.default = e, t && t.set(e, n), n;
|
|
9363
|
+
function _interopRequireWildcard(e, t) {
|
|
9364
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
9365
|
+
n = new WeakMap();
|
|
9366
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
9367
|
+
if (!t && e && e.__esModule) return e;
|
|
9368
|
+
var o,
|
|
9369
|
+
i,
|
|
9370
|
+
f = {
|
|
9371
|
+
__proto__: null,
|
|
9372
|
+
default: e
|
|
9373
|
+
};
|
|
9374
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
9375
|
+
if (o = t ? n : r) {
|
|
9376
|
+
if (o.has(e)) return o.get(e);
|
|
9377
|
+
o.set(e, f);
|
|
9378
|
+
}
|
|
9379
|
+
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]);
|
|
9380
|
+
return f;
|
|
9381
|
+
})(e, t);
|
|
10100
9382
|
}
|
|
10101
9383
|
function _extends() {
|
|
10102
9384
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -10138,7 +9420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10138
9420
|
}
|
|
10139
9421
|
}, rest));
|
|
10140
9422
|
}
|
|
10141
|
-
},"e84321a13452fc3c885f",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9423
|
+
},"e84321a13452fc3c885f",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","a2c8e692f78bae5b8b98"]);
|
|
10142
9424
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10143
9425
|
"use strict";
|
|
10144
9426
|
|
|
@@ -10148,30 +9430,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10148
9430
|
});
|
|
10149
9431
|
exports.default = SceneMap;
|
|
10150
9432
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10151
|
-
function
|
|
10152
|
-
if ("function"
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
10171
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
10172
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
10173
|
-
}
|
|
10174
|
-
return n.default = e, t && t.set(e, n), n;
|
|
9433
|
+
function _interopRequireWildcard(e, t) {
|
|
9434
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
9435
|
+
n = new WeakMap();
|
|
9436
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
9437
|
+
if (!t && e && e.__esModule) return e;
|
|
9438
|
+
var o,
|
|
9439
|
+
i,
|
|
9440
|
+
f = {
|
|
9441
|
+
__proto__: null,
|
|
9442
|
+
default: e
|
|
9443
|
+
};
|
|
9444
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
9445
|
+
if (o = t ? n : r) {
|
|
9446
|
+
if (o.has(e)) return o.get(e);
|
|
9447
|
+
o.set(e, f);
|
|
9448
|
+
}
|
|
9449
|
+
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]);
|
|
9450
|
+
return f;
|
|
9451
|
+
})(e, t);
|
|
10175
9452
|
}
|
|
10176
9453
|
var SceneComponent = /*#__PURE__*/React.memo(function (_ref) {
|
|
10177
9454
|
var component = _ref.component,
|
|
@@ -10192,7 +9469,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10192
9469
|
});
|
|
10193
9470
|
};
|
|
10194
9471
|
}
|
|
10195
|
-
},"64abd57b95fe70244a89",["6ed0e34da2b23bd3554f","
|
|
9472
|
+
},"64abd57b95fe70244a89",["6ed0e34da2b23bd3554f","a2c8e692f78bae5b8b98"]);
|
|
10196
9473
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10197
9474
|
"use strict";
|
|
10198
9475
|
|
|
@@ -10202,30 +9479,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10202
9479
|
exports.default = SceneView;
|
|
10203
9480
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
10204
9481
|
var _reactNative = _$$_REQUIRE(_dependencyMap[1]);
|
|
10205
|
-
function
|
|
10206
|
-
if ("function"
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
10225
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
10226
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
10227
|
-
}
|
|
10228
|
-
return n.default = e, t && t.set(e, n), n;
|
|
9482
|
+
function _interopRequireWildcard(e, t) {
|
|
9483
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
9484
|
+
n = new WeakMap();
|
|
9485
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
9486
|
+
if (!t && e && e.__esModule) return e;
|
|
9487
|
+
var o,
|
|
9488
|
+
i,
|
|
9489
|
+
f = {
|
|
9490
|
+
__proto__: null,
|
|
9491
|
+
default: e
|
|
9492
|
+
};
|
|
9493
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
9494
|
+
if (o = t ? n : r) {
|
|
9495
|
+
if (o.has(e)) return o.get(e);
|
|
9496
|
+
o.set(e, f);
|
|
9497
|
+
}
|
|
9498
|
+
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]);
|
|
9499
|
+
return f;
|
|
9500
|
+
})(e, t);
|
|
10229
9501
|
}
|
|
10230
9502
|
function SceneView(_ref) {
|
|
10231
9503
|
var children = _ref.children,
|
|
@@ -10298,7 +9570,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10298
9570
|
overflow: 'hidden'
|
|
10299
9571
|
}
|
|
10300
9572
|
});
|
|
10301
|
-
},"d85e7296e815a2c50a57",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","
|
|
9573
|
+
},"d85e7296e815a2c50a57",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","d73b3a84588342abd1b6"]);
|
|
10302
9574
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10303
9575
|
"use strict";
|
|
10304
9576
|
|
|
@@ -10317,30 +9589,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10317
9589
|
default: e
|
|
10318
9590
|
};
|
|
10319
9591
|
}
|
|
10320
|
-
function
|
|
10321
|
-
if ("function"
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
10340
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
10341
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
10342
|
-
}
|
|
10343
|
-
return n.default = e, t && t.set(e, n), n;
|
|
9592
|
+
function _interopRequireWildcard(e, t) {
|
|
9593
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
9594
|
+
n = new WeakMap();
|
|
9595
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
9596
|
+
if (!t && e && e.__esModule) return e;
|
|
9597
|
+
var o,
|
|
9598
|
+
i,
|
|
9599
|
+
f = {
|
|
9600
|
+
__proto__: null,
|
|
9601
|
+
default: e
|
|
9602
|
+
};
|
|
9603
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
9604
|
+
if (o = t ? n : r) {
|
|
9605
|
+
if (o.has(e)) return o.get(e);
|
|
9606
|
+
o.set(e, f);
|
|
9607
|
+
}
|
|
9608
|
+
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]);
|
|
9609
|
+
return f;
|
|
9610
|
+
})(e, t);
|
|
10344
9611
|
}
|
|
10345
9612
|
var Separator = function Separator(_ref) {
|
|
10346
9613
|
var width = _ref.width;
|
|
@@ -10573,9 +9840,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10573
9840
|
var translateX = React.useMemo(function () {
|
|
10574
9841
|
return getTranslateX(scrollAmount, getMaxScrollDistance(tabBarWidth, layout.width));
|
|
10575
9842
|
}, [layout.width, scrollAmount, tabBarWidth]);
|
|
10576
|
-
var renderItem = React.useCallback(function (
|
|
10577
|
-
var route =
|
|
10578
|
-
index =
|
|
9843
|
+
var renderItem = React.useCallback(function (_ref0) {
|
|
9844
|
+
var route = _ref0.item,
|
|
9845
|
+
index = _ref0.index;
|
|
10579
9846
|
var props = {
|
|
10580
9847
|
key: route.key,
|
|
10581
9848
|
position: position,
|
|
@@ -10658,8 +9925,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10658
9925
|
useNativeDriver: true
|
|
10659
9926
|
});
|
|
10660
9927
|
}, [scrollAmount]);
|
|
10661
|
-
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (
|
|
10662
|
-
var changed =
|
|
9928
|
+
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (_ref1) {
|
|
9929
|
+
var changed = _ref1.changed;
|
|
10663
9930
|
if (routes.length <= MEASURE_PER_BATCH) {
|
|
10664
9931
|
return;
|
|
10665
9932
|
}
|
|
@@ -10757,7 +10024,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10757
10024
|
bottom: 0
|
|
10758
10025
|
}
|
|
10759
10026
|
});
|
|
10760
|
-
},"d35b32210a921b46a216",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","2ab94c664f867372173b","c502e34ac450943c3cff","d7b447ba4a5d70364639","
|
|
10027
|
+
},"d35b32210a921b46a216",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","2ab94c664f867372173b","c502e34ac450943c3cff","d7b447ba4a5d70364639","d73b3a84588342abd1b6"]);
|
|
10761
10028
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10762
10029
|
"use strict";
|
|
10763
10030
|
|
|
@@ -10828,30 +10095,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10828
10095
|
default: e
|
|
10829
10096
|
};
|
|
10830
10097
|
}
|
|
10831
|
-
function
|
|
10832
|
-
if ("function"
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
10851
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
10852
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
10853
|
-
}
|
|
10854
|
-
return n.default = e, t && t.set(e, n), n;
|
|
10098
|
+
function _interopRequireWildcard(e, t) {
|
|
10099
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
10100
|
+
n = new WeakMap();
|
|
10101
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
10102
|
+
if (!t && e && e.__esModule) return e;
|
|
10103
|
+
var o,
|
|
10104
|
+
i,
|
|
10105
|
+
f = {
|
|
10106
|
+
__proto__: null,
|
|
10107
|
+
default: e
|
|
10108
|
+
};
|
|
10109
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
10110
|
+
if (o = t ? n : r) {
|
|
10111
|
+
if (o.has(e)) return o.get(e);
|
|
10112
|
+
o.set(e, f);
|
|
10113
|
+
}
|
|
10114
|
+
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]);
|
|
10115
|
+
return f;
|
|
10116
|
+
})(e, t);
|
|
10855
10117
|
}
|
|
10856
10118
|
var getTranslateX = function getTranslateX(position, routes, getTabWidth, gap) {
|
|
10857
10119
|
var inputRange = routes.map(function (_, i) {
|
|
@@ -10955,7 +10217,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10955
10217
|
height: 2
|
|
10956
10218
|
}
|
|
10957
10219
|
});
|
|
10958
|
-
},"2ab94c664f867372173b",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","d7b447ba4a5d70364639","
|
|
10220
|
+
},"2ab94c664f867372173b",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","d7b447ba4a5d70364639","838d7a057beeb5db50df"]);
|
|
10959
10221
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
10960
10222
|
"use strict";
|
|
10961
10223
|
|
|
@@ -10973,30 +10235,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
10973
10235
|
default: e
|
|
10974
10236
|
};
|
|
10975
10237
|
}
|
|
10976
|
-
function
|
|
10977
|
-
if ("function"
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
10996
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
10997
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
10998
|
-
}
|
|
10999
|
-
return n.default = e, t && t.set(e, n), n;
|
|
10238
|
+
function _interopRequireWildcard(e, t) {
|
|
10239
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
10240
|
+
n = new WeakMap();
|
|
10241
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
10242
|
+
if (!t && e && e.__esModule) return e;
|
|
10243
|
+
var o,
|
|
10244
|
+
i,
|
|
10245
|
+
f = {
|
|
10246
|
+
__proto__: null,
|
|
10247
|
+
default: e
|
|
10248
|
+
};
|
|
10249
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
10250
|
+
if (o = t ? n : r) {
|
|
10251
|
+
if (o.has(e)) return o.get(e);
|
|
10252
|
+
o.set(e, f);
|
|
10253
|
+
}
|
|
10254
|
+
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]);
|
|
10255
|
+
return f;
|
|
10256
|
+
})(e, t);
|
|
11000
10257
|
}
|
|
11001
10258
|
function _extends() {
|
|
11002
10259
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -11226,7 +10483,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11226
10483
|
backgroundColor: 'transparent'
|
|
11227
10484
|
}
|
|
11228
10485
|
});
|
|
11229
|
-
},"c502e34ac450943c3cff",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","e84321a13452fc3c885f","
|
|
10486
|
+
},"c502e34ac450943c3cff",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","e84321a13452fc3c885f","a2c8e692f78bae5b8b98"]);
|
|
11230
10487
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11231
10488
|
"use strict";
|
|
11232
10489
|
|
|
@@ -11244,30 +10501,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11244
10501
|
default: e
|
|
11245
10502
|
};
|
|
11246
10503
|
}
|
|
11247
|
-
function
|
|
11248
|
-
if ("function"
|
|
11249
|
-
|
|
11250
|
-
|
|
11251
|
-
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
11267
|
-
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
11268
|
-
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
11269
|
-
}
|
|
11270
|
-
return n.default = e, t && t.set(e, n), n;
|
|
10504
|
+
function _interopRequireWildcard(e, t) {
|
|
10505
|
+
if ("function" == typeof WeakMap) var r = new WeakMap(),
|
|
10506
|
+
n = new WeakMap();
|
|
10507
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
10508
|
+
if (!t && e && e.__esModule) return e;
|
|
10509
|
+
var o,
|
|
10510
|
+
i,
|
|
10511
|
+
f = {
|
|
10512
|
+
__proto__: null,
|
|
10513
|
+
default: e
|
|
10514
|
+
};
|
|
10515
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
10516
|
+
if (o = t ? n : r) {
|
|
10517
|
+
if (o.has(e)) return o.get(e);
|
|
10518
|
+
o.set(e, f);
|
|
10519
|
+
}
|
|
10520
|
+
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]);
|
|
10521
|
+
return f;
|
|
10522
|
+
})(e, t);
|
|
11271
10523
|
}
|
|
11272
10524
|
function _extends() {
|
|
11273
10525
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -11393,7 +10645,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11393
10645
|
overflow: 'hidden'
|
|
11394
10646
|
}
|
|
11395
10647
|
});
|
|
11396
|
-
},"da8983d9bc8536fcdd45",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","caa8425aaed7a16f4b37","d85e7296e815a2c50a57","d35b32210a921b46a216","
|
|
10648
|
+
},"da8983d9bc8536fcdd45",["6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","caa8425aaed7a16f4b37","d85e7296e815a2c50a57","d35b32210a921b46a216","d73b3a84588342abd1b6"]);
|
|
11397
10649
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11398
10650
|
"use strict";
|
|
11399
10651
|
|
|
@@ -11459,7 +10711,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11459
10711
|
}
|
|
11460
10712
|
});
|
|
11461
10713
|
var _PanResponderAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
11462
|
-
},"1f83157e0c499ad3e677",["
|
|
10714
|
+
},"1f83157e0c499ad3e677",["277a84013d7e1a1ace05","88b9efcc737587855c07"]);
|
|
11463
10715
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11464
10716
|
Object.defineProperty(exports, "__esModule", {
|
|
11465
10717
|
value: true
|
|
@@ -11470,8 +10722,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11470
10722
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
11471
10723
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
11472
10724
|
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; }
|
|
10725
|
+
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
10726
|
function _extends() {
|
|
11476
10727
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11477
10728
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -11678,7 +10929,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11678
10929
|
alignItems: 'stretch'
|
|
11679
10930
|
}
|
|
11680
10931
|
});
|
|
11681
|
-
},"88b9efcc737587855c07",["
|
|
10932
|
+
},"88b9efcc737587855c07",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","66d5de0141e45beb3cb1"]);
|
|
11682
10933
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11683
10934
|
Object.defineProperty(exports, "__esModule", {
|
|
11684
10935
|
value: true
|
|
@@ -11686,8 +10937,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11686
10937
|
exports.default = useAnimatedValue;
|
|
11687
10938
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
11688
10939
|
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; }
|
|
10940
|
+
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
10941
|
function useAnimatedValue(initialValue) {
|
|
11692
10942
|
var lazyRef = React.useRef();
|
|
11693
10943
|
if (lazyRef.current === undefined) {
|
|
@@ -11707,8 +10957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11707
10957
|
var _reactNativePagerView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
11708
10958
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
11709
10959
|
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; }
|
|
10960
|
+
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
10961
|
function _extends() {
|
|
11713
10962
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11714
10963
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -11839,7 +11088,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11839
11088
|
flex: 1
|
|
11840
11089
|
}
|
|
11841
11090
|
});
|
|
11842
|
-
},"9f77913cdb2ea731dbe4",["
|
|
11091
|
+
},"9f77913cdb2ea731dbe4",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","511026e65104b16a3e63","66d5de0141e45beb3cb1"]);
|
|
11843
11092
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11844
11093
|
Object.defineProperty(exports, "__esModule", {
|
|
11845
11094
|
value: true
|
|
@@ -11849,8 +11098,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11849
11098
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
11850
11099
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
11851
11100
|
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; }
|
|
11101
|
+
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
11102
|
function _extends() {
|
|
11855
11103
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11856
11104
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -11891,7 +11139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11891
11139
|
}
|
|
11892
11140
|
}, rest));
|
|
11893
11141
|
}
|
|
11894
|
-
},"f29fafea729242cc01d8",["
|
|
11142
|
+
},"f29fafea729242cc01d8",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a"]);
|
|
11895
11143
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11896
11144
|
Object.defineProperty(exports, "__esModule", {
|
|
11897
11145
|
value: true
|
|
@@ -11900,8 +11148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11900
11148
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
11901
11149
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
11902
11150
|
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; }
|
|
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); }
|
|
11905
11152
|
var SceneComponent = /*#__PURE__*/React.memo(function (_ref) {
|
|
11906
11153
|
var component = _ref.component,
|
|
11907
11154
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -11921,7 +11168,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11921
11168
|
});
|
|
11922
11169
|
};
|
|
11923
11170
|
}
|
|
11924
|
-
},"1e9eeaee1c2868b2a771",["
|
|
11171
|
+
},"1e9eeaee1c2868b2a771",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f"]);
|
|
11925
11172
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
11926
11173
|
Object.defineProperty(exports, "__esModule", {
|
|
11927
11174
|
value: true
|
|
@@ -11930,8 +11177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
11930
11177
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
11931
11178
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
11932
11179
|
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; }
|
|
11180
|
+
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
11181
|
function SceneView(_ref) {
|
|
11936
11182
|
var children = _ref.children,
|
|
11937
11183
|
navigationState = _ref.navigationState,
|
|
@@ -12003,7 +11249,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12003
11249
|
overflow: 'hidden'
|
|
12004
11250
|
}
|
|
12005
11251
|
});
|
|
12006
|
-
},"fa090edfae74ca576bca",["
|
|
11252
|
+
},"fa090edfae74ca576bca",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a"]);
|
|
12007
11253
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12008
11254
|
Object.defineProperty(exports, "__esModule", {
|
|
12009
11255
|
value: true
|
|
@@ -12016,8 +11262,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12016
11262
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12017
11263
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
12018
11264
|
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; }
|
|
11265
|
+
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
11266
|
var Separator = function Separator(_ref) {
|
|
12022
11267
|
var width = _ref.width;
|
|
12023
11268
|
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
@@ -12249,9 +11494,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12249
11494
|
var translateX = React.useMemo(function () {
|
|
12250
11495
|
return getTranslateX(scrollAmount, getMaxScrollDistance(tabBarWidth, layout.width));
|
|
12251
11496
|
}, [layout.width, scrollAmount, tabBarWidth]);
|
|
12252
|
-
var renderItem = React.useCallback(function (
|
|
12253
|
-
var route =
|
|
12254
|
-
index =
|
|
11497
|
+
var renderItem = React.useCallback(function (_ref0) {
|
|
11498
|
+
var route = _ref0.item,
|
|
11499
|
+
index = _ref0.index;
|
|
12255
11500
|
var props = {
|
|
12256
11501
|
key: route.key,
|
|
12257
11502
|
position: position,
|
|
@@ -12334,8 +11579,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12334
11579
|
useNativeDriver: true
|
|
12335
11580
|
});
|
|
12336
11581
|
}, [scrollAmount]);
|
|
12337
|
-
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (
|
|
12338
|
-
var changed =
|
|
11582
|
+
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (_ref1) {
|
|
11583
|
+
var changed = _ref1.changed;
|
|
12339
11584
|
if (routes.length <= MEASURE_PER_BATCH) {
|
|
12340
11585
|
return;
|
|
12341
11586
|
}
|
|
@@ -12433,7 +11678,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12433
11678
|
bottom: 0
|
|
12434
11679
|
}
|
|
12435
11680
|
});
|
|
12436
|
-
},"eda4cfbabec959936736",["
|
|
11681
|
+
},"eda4cfbabec959936736",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","25ee3d780b0801465a7f","a5a03585e262331aad3c","66d5de0141e45beb3cb1"]);
|
|
12437
11682
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12438
11683
|
Object.defineProperty(exports, "__esModule", {
|
|
12439
11684
|
value: true
|
|
@@ -12443,8 +11688,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12443
11688
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
12444
11689
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
12445
11690
|
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; }
|
|
11691
|
+
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
11692
|
var getTranslateX = function getTranslateX(position, routes, getTabWidth, gap) {
|
|
12449
11693
|
var inputRange = routes.map(function (_, i) {
|
|
12450
11694
|
return i;
|
|
@@ -12547,7 +11791,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12547
11791
|
height: 2
|
|
12548
11792
|
}
|
|
12549
11793
|
});
|
|
12550
|
-
},"25ee3d780b0801465a7f",["
|
|
11794
|
+
},"25ee3d780b0801465a7f",["277a84013d7e1a1ace05","838d7a057beeb5db50df","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","66d5de0141e45beb3cb1"]);
|
|
12551
11795
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12552
11796
|
Object.defineProperty(exports, "__esModule", {
|
|
12553
11797
|
value: true
|
|
@@ -12559,8 +11803,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12559
11803
|
var _useLatestCallback = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12560
11804
|
var _PlatformPressable = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12561
11805
|
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; }
|
|
11806
|
+
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
11807
|
function _extends() {
|
|
12565
11808
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
12566
11809
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12789,7 +12032,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12789
12032
|
backgroundColor: 'transparent'
|
|
12790
12033
|
}
|
|
12791
12034
|
});
|
|
12792
|
-
},"a5a03585e262331aad3c",["
|
|
12035
|
+
},"a5a03585e262331aad3c",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","f29fafea729242cc01d8"]);
|
|
12793
12036
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12794
12037
|
Object.defineProperty(exports, "__esModule", {
|
|
12795
12038
|
value: true
|
|
@@ -12801,8 +12044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12801
12044
|
var _Pager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12802
12045
|
var _SceneView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12803
12046
|
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; }
|
|
12047
|
+
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
12048
|
function _extends() {
|
|
12807
12049
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
12808
12050
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12927,7 +12169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12927
12169
|
overflow: 'hidden'
|
|
12928
12170
|
}
|
|
12929
12171
|
});
|
|
12930
|
-
},"e594ded48acd938b4767",["
|
|
12172
|
+
},"e594ded48acd938b4767",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","1f83157e0c499ad3e677","fa090edfae74ca576bca","eda4cfbabec959936736"]);
|
|
12931
12173
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12932
12174
|
Object.defineProperty(exports, "__esModule", {
|
|
12933
12175
|
value: true
|
|
@@ -12967,7 +12209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12967
12209
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
12968
12210
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12969
12211
|
var _TabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12970
|
-
},"3a1c8b2ff6a57ca09d53",["
|
|
12212
|
+
},"3a1c8b2ff6a57ca09d53",["277a84013d7e1a1ace05","1e9eeaee1c2868b2a771","eda4cfbabec959936736","25ee3d780b0801465a7f","a5a03585e262331aad3c","e594ded48acd938b4767"]);
|
|
12971
12213
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12972
12214
|
Object.defineProperty(exports, "__esModule", {
|
|
12973
12215
|
value: true
|
|
@@ -12984,7 +12226,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12984
12226
|
}
|
|
12985
12227
|
});
|
|
12986
12228
|
var _PagerViewAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
12987
|
-
},"f789783305eed0a69dff",["
|
|
12229
|
+
},"f789783305eed0a69dff",["277a84013d7e1a1ace05","d71c0b48f9e504b801fd"]);
|
|
12988
12230
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
12989
12231
|
Object.defineProperty(exports, "__esModule", {
|
|
12990
12232
|
value: true
|
|
@@ -12996,8 +12238,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
12996
12238
|
var _reactNativePagerView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
12997
12239
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
12998
12240
|
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; }
|
|
12241
|
+
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
12242
|
var AnimatedViewPager = _reactNative.Animated.createAnimatedComponent(_reactNativePagerView.default);
|
|
13002
12243
|
function PagerViewAdapter(_ref) {
|
|
13003
12244
|
var _ref$keyboardDismissM = _ref.keyboardDismissMode,
|
|
@@ -13028,10 +12269,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13028
12269
|
});
|
|
13029
12270
|
if (animationEnabled) {
|
|
13030
12271
|
var _pagerRef$current;
|
|
13031
|
-
(_pagerRef$current = pagerRef.current) == null
|
|
12272
|
+
(_pagerRef$current = pagerRef.current) == null || _pagerRef$current.setPage(index);
|
|
13032
12273
|
} else {
|
|
13033
12274
|
var _pagerRef$current2;
|
|
13034
|
-
(_pagerRef$current2 = pagerRef.current) == null
|
|
12275
|
+
(_pagerRef$current2 = pagerRef.current) == null || _pagerRef$current2.setPageWithoutAnimation(index);
|
|
13035
12276
|
position.setValue(index);
|
|
13036
12277
|
}
|
|
13037
12278
|
}, [animationEnabled, position]);
|
|
@@ -13042,10 +12283,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13042
12283
|
if (indexRef.current !== index) {
|
|
13043
12284
|
if (animationEnabled) {
|
|
13044
12285
|
var _pagerRef$current3;
|
|
13045
|
-
(_pagerRef$current3 = pagerRef.current) == null
|
|
12286
|
+
(_pagerRef$current3 = pagerRef.current) == null || _pagerRef$current3.setPage(index);
|
|
13046
12287
|
} else {
|
|
13047
12288
|
var _pagerRef$current4;
|
|
13048
|
-
(_pagerRef$current4 = pagerRef.current) == null
|
|
12289
|
+
(_pagerRef$current4 = pagerRef.current) == null || _pagerRef$current4.setPageWithoutAnimation(index);
|
|
13049
12290
|
position.setValue(index);
|
|
13050
12291
|
}
|
|
13051
12292
|
}
|
|
@@ -13054,7 +12295,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13054
12295
|
var pageScrollState = state.nativeEvent.pageScrollState;
|
|
13055
12296
|
switch (pageScrollState) {
|
|
13056
12297
|
case 'idle':
|
|
13057
|
-
onSwipeEnd == null
|
|
12298
|
+
onSwipeEnd == null || onSwipeEnd();
|
|
13058
12299
|
return;
|
|
13059
12300
|
case 'dragging':
|
|
13060
12301
|
{
|
|
@@ -13068,7 +12309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13068
12309
|
}
|
|
13069
12310
|
offset.removeListener(subscription);
|
|
13070
12311
|
});
|
|
13071
|
-
onSwipeStart == null
|
|
12312
|
+
onSwipeStart == null || onSwipeStart();
|
|
13072
12313
|
return;
|
|
13073
12314
|
}
|
|
13074
12315
|
}
|
|
@@ -13120,7 +12361,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13120
12361
|
flex: 1
|
|
13121
12362
|
}
|
|
13122
12363
|
});
|
|
13123
|
-
},"d71c0b48f9e504b801fd",["
|
|
12364
|
+
},"d71c0b48f9e504b801fd",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","511026e65104b16a3e63","354d9b3006fe8ef93b8a","048fed5a64a04bdb7fed"]);
|
|
13124
12365
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13125
12366
|
Object.defineProperty(exports, "__esModule", {
|
|
13126
12367
|
value: true
|
|
@@ -13128,8 +12369,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13128
12369
|
exports.default = useAnimatedValue;
|
|
13129
12370
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0]));
|
|
13130
12371
|
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; }
|
|
12372
|
+
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
12373
|
function useAnimatedValue(initialValue) {
|
|
13134
12374
|
var lazyRef = React.useRef();
|
|
13135
12375
|
if (lazyRef.current === undefined) {
|
|
@@ -13149,7 +12389,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13149
12389
|
}
|
|
13150
12390
|
});
|
|
13151
12391
|
var _PagerViewAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13152
|
-
},"05bef0cec1e682391f3d",["
|
|
12392
|
+
},"05bef0cec1e682391f3d",["277a84013d7e1a1ace05","d71c0b48f9e504b801fd"]);
|
|
13153
12393
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13154
12394
|
Object.defineProperty(exports, "__esModule", {
|
|
13155
12395
|
value: true
|
|
@@ -13161,7 +12401,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13161
12401
|
}
|
|
13162
12402
|
});
|
|
13163
12403
|
var _PanResponderAdapter = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13164
|
-
},"0d7c4d349308736fce14",["
|
|
12404
|
+
},"0d7c4d349308736fce14",["277a84013d7e1a1ace05","58264f92ddf91bcf257b"]);
|
|
13165
12405
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13166
12406
|
Object.defineProperty(exports, "__esModule", {
|
|
13167
12407
|
value: true
|
|
@@ -13172,8 +12412,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13172
12412
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13173
12413
|
var _useAnimatedValue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
13174
12414
|
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; }
|
|
12415
|
+
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
12416
|
var DEAD_ZONE = 12;
|
|
13178
12417
|
var DefaultTransitionSpec = {
|
|
13179
12418
|
timing: _reactNative.Animated.spring,
|
|
@@ -13259,7 +12498,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13259
12498
|
return isMovingHorizontally(event, gestureState) && (diffX >= DEAD_ZONE && currentIndexRef.current > 0 || diffX <= -12 && currentIndexRef.current < routes.length - 1);
|
|
13260
12499
|
};
|
|
13261
12500
|
var startGesture = function startGesture() {
|
|
13262
|
-
onSwipeStart == null
|
|
12501
|
+
onSwipeStart == null || onSwipeStart();
|
|
13263
12502
|
if (keyboardDismissMode === 'on-drag') {
|
|
13264
12503
|
_reactNative.Keyboard.dismiss();
|
|
13265
12504
|
}
|
|
@@ -13290,7 +12529,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13290
12529
|
};
|
|
13291
12530
|
var finishGesture = function finishGesture(_, gestureState) {
|
|
13292
12531
|
panX.flattenOffset();
|
|
13293
|
-
onSwipeEnd == null
|
|
12532
|
+
onSwipeEnd == null || onSwipeEnd();
|
|
13294
12533
|
var currentIndex = typeof pendingIndexRef.current === 'number' ? pendingIndexRef.current : currentIndexRef.current;
|
|
13295
12534
|
var nextIndex = currentIndex;
|
|
13296
12535
|
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 +12612,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13373
12612
|
alignItems: 'stretch'
|
|
13374
12613
|
}
|
|
13375
12614
|
});
|
|
13376
|
-
},"58264f92ddf91bcf257b",["
|
|
12615
|
+
},"58264f92ddf91bcf257b",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","354d9b3006fe8ef93b8a","048fed5a64a04bdb7fed"]);
|
|
13377
12616
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13378
12617
|
Object.defineProperty(exports, "__esModule", {
|
|
13379
12618
|
value: true
|
|
@@ -13383,8 +12622,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13383
12622
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13384
12623
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13385
12624
|
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; }
|
|
12625
|
+
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
12626
|
var ANDROID_VERSION_LOLLIPOP = 21;
|
|
13389
12627
|
var ANDROID_SUPPORTS_RIPPLE = _reactNative.Platform.OS === 'android' && _reactNative.Platform.Version >= ANDROID_VERSION_LOLLIPOP;
|
|
13390
12628
|
|
|
@@ -13416,7 +12654,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13416
12654
|
}
|
|
13417
12655
|
}, rest));
|
|
13418
12656
|
}
|
|
13419
|
-
},"83b9f09c0ba5b4694125",["
|
|
12657
|
+
},"83b9f09c0ba5b4694125",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
13420
12658
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13421
12659
|
Object.defineProperty(exports, "__esModule", {
|
|
13422
12660
|
value: true
|
|
@@ -13425,8 +12663,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13425
12663
|
var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13426
12664
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13427
12665
|
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; }
|
|
12666
|
+
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
12667
|
var SceneComponent = React.memo(function (_ref) {
|
|
13431
12668
|
var component = _ref.component,
|
|
13432
12669
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -13445,7 +12682,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13445
12682
|
}, route.key);
|
|
13446
12683
|
};
|
|
13447
12684
|
}
|
|
13448
|
-
},"4aaf2ac656c9d37614ed",["
|
|
12685
|
+
},"4aaf2ac656c9d37614ed",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","048fed5a64a04bdb7fed"]);
|
|
13449
12686
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13450
12687
|
Object.defineProperty(exports, "__esModule", {
|
|
13451
12688
|
value: true
|
|
@@ -13454,8 +12691,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13454
12691
|
var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]));
|
|
13455
12692
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13456
12693
|
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; }
|
|
12694
|
+
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
12695
|
function SceneView(_ref) {
|
|
13460
12696
|
var children = _ref.children,
|
|
13461
12697
|
navigationState = _ref.navigationState,
|
|
@@ -13498,7 +12734,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13498
12734
|
}, 0);
|
|
13499
12735
|
}
|
|
13500
12736
|
return function () {
|
|
13501
|
-
unsubscribe == null
|
|
12737
|
+
unsubscribe == null || unsubscribe();
|
|
13502
12738
|
clearTimeout(timer);
|
|
13503
12739
|
};
|
|
13504
12740
|
}, [addEnterListener, index, isLoading, lazy]);
|
|
@@ -13527,7 +12763,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13527
12763
|
overflow: 'hidden'
|
|
13528
12764
|
}
|
|
13529
12765
|
});
|
|
13530
|
-
},"74fe9607b0ddc496554b",["
|
|
12766
|
+
},"74fe9607b0ddc496554b",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","048fed5a64a04bdb7fed"]);
|
|
13531
12767
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13532
12768
|
Object.defineProperty(exports, "__esModule", {
|
|
13533
12769
|
value: true
|
|
@@ -13540,8 +12776,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13540
12776
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
13541
12777
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6]));
|
|
13542
12778
|
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; }
|
|
12779
|
+
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
12780
|
var Separator = function Separator(_ref) {
|
|
13546
12781
|
var width = _ref.width;
|
|
13547
12782
|
return /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, {
|
|
@@ -13742,7 +12977,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13742
12977
|
}
|
|
13743
12978
|
if (scrollEnabled) {
|
|
13744
12979
|
var _flatListRef$current;
|
|
13745
|
-
(_flatListRef$current = flatListRef.current) == null
|
|
12980
|
+
(_flatListRef$current = flatListRef.current) == null || _flatListRef$current.scrollToOffset({
|
|
13746
12981
|
offset: scrollOffset,
|
|
13747
12982
|
animated: true
|
|
13748
12983
|
});
|
|
@@ -13773,9 +13008,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13773
13008
|
var translateX = React.useMemo(function () {
|
|
13774
13009
|
return getTranslateX(scrollAmount, getMaxScrollDistance(tabBarWidth, layout.width));
|
|
13775
13010
|
}, [layout.width, scrollAmount, tabBarWidth]);
|
|
13776
|
-
var renderItem = React.useCallback(function (
|
|
13777
|
-
var route =
|
|
13778
|
-
index =
|
|
13011
|
+
var renderItem = React.useCallback(function (_ref0) {
|
|
13012
|
+
var route = _ref0.item,
|
|
13013
|
+
index = _ref0.index;
|
|
13779
13014
|
var props = {
|
|
13780
13015
|
key: route.key,
|
|
13781
13016
|
position: position,
|
|
@@ -13818,7 +13053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13818
13053
|
event.defaultPrevented = true;
|
|
13819
13054
|
}
|
|
13820
13055
|
};
|
|
13821
|
-
onTabPress == null
|
|
13056
|
+
onTabPress == null || onTabPress(event);
|
|
13822
13057
|
if (event.defaultPrevented) {
|
|
13823
13058
|
return;
|
|
13824
13059
|
}
|
|
@@ -13860,8 +13095,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13860
13095
|
useNativeDriver: true
|
|
13861
13096
|
});
|
|
13862
13097
|
}, [scrollAmount]);
|
|
13863
|
-
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (
|
|
13864
|
-
var changed =
|
|
13098
|
+
var handleViewableItemsChanged = (0, _useLatestCallback.default)(function (_ref1) {
|
|
13099
|
+
var changed = _ref1.changed;
|
|
13865
13100
|
if (routes.length <= MEASURE_PER_BATCH) {
|
|
13866
13101
|
return;
|
|
13867
13102
|
}
|
|
@@ -13962,7 +13197,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13962
13197
|
bottom: 0
|
|
13963
13198
|
}
|
|
13964
13199
|
});
|
|
13965
|
-
},"eeba5e8d874dbf4cae8f",["
|
|
13200
|
+
},"eeba5e8d874dbf4cae8f",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","da5791d0c777915156d2","5ebf7c139923c4ea17df","354d9b3006fe8ef93b8a","048fed5a64a04bdb7fed"]);
|
|
13966
13201
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13967
13202
|
Object.defineProperty(exports, "__esModule", {
|
|
13968
13203
|
value: true
|
|
@@ -13972,8 +13207,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
13972
13207
|
var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2]));
|
|
13973
13208
|
var _reactNative = _$$_REQUIRE(_dependencyMap[3]);
|
|
13974
13209
|
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; }
|
|
13210
|
+
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
13211
|
var getTranslateX = function getTranslateX(position, routes, getTabWidth, gap) {
|
|
13978
13212
|
var inputRange = routes.map(function (_, i) {
|
|
13979
13213
|
return i;
|
|
@@ -14076,7 +13310,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14076
13310
|
height: 2
|
|
14077
13311
|
}
|
|
14078
13312
|
});
|
|
14079
|
-
},"da5791d0c777915156d2",["
|
|
13313
|
+
},"da5791d0c777915156d2",["277a84013d7e1a1ace05","838d7a057beeb5db50df","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","354d9b3006fe8ef93b8a","048fed5a64a04bdb7fed"]);
|
|
14080
13314
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14081
13315
|
Object.defineProperty(exports, "__esModule", {
|
|
14082
13316
|
value: true
|
|
@@ -14088,8 +13322,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14088
13322
|
var _useLatestCallback = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
14089
13323
|
var _PlatformPressable = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14090
13324
|
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; }
|
|
13325
|
+
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
13326
|
var DEFAULT_ACTIVE_COLOR = 'rgba(255, 255, 255, 1)';
|
|
14094
13327
|
var DEFAULT_INACTIVE_COLOR = 'rgba(255, 255, 255, 0.7)';
|
|
14095
13328
|
var getActiveOpacity = function getActiveOpacity(position, routesLength, tabIndex) {
|
|
@@ -14319,7 +13552,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14319
13552
|
backgroundColor: 'transparent'
|
|
14320
13553
|
}
|
|
14321
13554
|
});
|
|
14322
|
-
},"5ebf7c139923c4ea17df",["
|
|
13555
|
+
},"5ebf7c139923c4ea17df",["277a84013d7e1a1ace05","a2c8e692f78bae5b8b98","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","6e9cf0716929115a1392","83b9f09c0ba5b4694125","048fed5a64a04bdb7fed"]);
|
|
14323
13556
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14324
13557
|
Object.defineProperty(exports, "__esModule", {
|
|
14325
13558
|
value: true
|
|
@@ -14332,8 +13565,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14332
13565
|
var _Pager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
14333
13566
|
var _SceneView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14334
13567
|
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; }
|
|
13568
|
+
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
13569
|
function TabView(_ref) {
|
|
14338
13570
|
var onIndexChange = _ref.onIndexChange,
|
|
14339
13571
|
navigationState = _ref.navigationState,
|
|
@@ -14453,7 +13685,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14453
13685
|
overflow: 'hidden'
|
|
14454
13686
|
}
|
|
14455
13687
|
});
|
|
14456
|
-
},"a70a22ed8277b130d4a4",["
|
|
13688
|
+
},"a70a22ed8277b130d4a4",["277a84013d7e1a1ace05","d73b3a84588342abd1b6","6ed0e34da2b23bd3554f","26ef620f86acf7f6932a","0d7c4d349308736fce14","74fe9607b0ddc496554b","eeba5e8d874dbf4cae8f","048fed5a64a04bdb7fed"]);
|
|
14457
13689
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
14458
13690
|
Object.defineProperty(exports, "__esModule", {
|
|
14459
13691
|
value: true
|
|
@@ -14493,5 +13725,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
14493
13725
|
var _TabBarIndicator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3]));
|
|
14494
13726
|
var _TabBarItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4]));
|
|
14495
13727
|
var _TabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5]));
|
|
14496
|
-
},"d844605ddb1a60db1342",["
|
|
14497
|
-
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13728
|
+
},"d844605ddb1a60db1342",["277a84013d7e1a1ace05","4aaf2ac656c9d37614ed","eeba5e8d874dbf4cae8f","da5791d0c777915156d2","5ebf7c139923c4ea17df","a70a22ed8277b130d4a4"]);
|
|
13729
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
13730
|
+
Object.defineProperty(exports, "__esModule", {
|
|
13731
|
+
value: true
|
|
13732
|
+
});
|
|
13733
|
+
},"ba5c661fd70c0365af06",[]);
|