@thecb/components 5.8.2-beta.9 → 5.9.0-beta.2

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/dist/index.cjs.js CHANGED
@@ -39259,1086 +39259,6 @@ var fallbackValues$z = {
39259
39259
  modalLinkHoverFocus: modalLinkHoverFocus
39260
39260
  };
39261
39261
 
39262
- /*
39263
- object-assign
39264
- (c) Sindre Sorhus
39265
- @license MIT
39266
- */
39267
- /* eslint-disable no-unused-vars */
39268
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
39269
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
39270
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
39271
-
39272
- function toObject(val) {
39273
- if (val === null || val === undefined) {
39274
- throw new TypeError('Object.assign cannot be called with null or undefined');
39275
- }
39276
-
39277
- return Object(val);
39278
- }
39279
-
39280
- function shouldUseNative() {
39281
- try {
39282
- if (!Object.assign) {
39283
- return false;
39284
- }
39285
-
39286
- // Detect buggy property enumeration order in older V8 versions.
39287
-
39288
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
39289
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
39290
- test1[5] = 'de';
39291
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
39292
- return false;
39293
- }
39294
-
39295
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
39296
- var test2 = {};
39297
- for (var i = 0; i < 10; i++) {
39298
- test2['_' + String.fromCharCode(i)] = i;
39299
- }
39300
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
39301
- return test2[n];
39302
- });
39303
- if (order2.join('') !== '0123456789') {
39304
- return false;
39305
- }
39306
-
39307
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
39308
- var test3 = {};
39309
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
39310
- test3[letter] = letter;
39311
- });
39312
- if (Object.keys(Object.assign({}, test3)).join('') !==
39313
- 'abcdefghijklmnopqrst') {
39314
- return false;
39315
- }
39316
-
39317
- return true;
39318
- } catch (err) {
39319
- // We don't expect any of the above to throw, but better to be safe.
39320
- return false;
39321
- }
39322
- }
39323
-
39324
- var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
39325
- var from;
39326
- var to = toObject(target);
39327
- var symbols;
39328
-
39329
- for (var s = 1; s < arguments.length; s++) {
39330
- from = Object(arguments[s]);
39331
-
39332
- for (var key in from) {
39333
- if (hasOwnProperty$1.call(from, key)) {
39334
- to[key] = from[key];
39335
- }
39336
- }
39337
-
39338
- if (getOwnPropertySymbols) {
39339
- symbols = getOwnPropertySymbols(from);
39340
- for (var i = 0; i < symbols.length; i++) {
39341
- if (propIsEnumerable.call(from, symbols[i])) {
39342
- to[symbols[i]] = from[symbols[i]];
39343
- }
39344
- }
39345
- }
39346
- }
39347
-
39348
- return to;
39349
- };
39350
-
39351
- var scheduler_production_min = createCommonjsModule(function (module, exports) {
39352
- var f,g,h,k,l;
39353
- if("undefined"===typeof window||"function"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null;}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0));};g=function(a,b){q=setTimeout(a,b);};h=function(){clearTimeout(q);};k=function(){return !1};l=exports.unstable_forceFrameRate=function(){};}else {var w=window.performance,x=window.Date,
39354
- y=window.setTimeout,z=window.clearTimeout;if("undefined"!==typeof console){var A=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");"function"!==typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");}if("object"===
39355
- typeof w&&"function"===typeof w.now)exports.unstable_now=function(){return w.now()};else {var B=x.now();exports.unstable_now=function(){return x.now()-B};}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):F=0<a?Math.floor(1E3/a):5;};var H=new MessageChannel,I=H.port2;H.port1.onmessage=
39356
- function(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null);}catch(b){throw I.postMessage(null),b;}}else C=!1;};f=function(a){D=a;C||(C=!0,I.postMessage(null));};g=function(a,b){E=y(function(){a(exports.unstable_now());},b);};h=function(){z(E);E=-1;};}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}
39357
- function M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;
39358
- function V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O);}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else {var b=L(O);null!==b&&g(W,b.startTime-a);}}
39359
- function X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b);}else M(N);Q=L(N);}if(null!==Q)var m=!0;else {var n=L(O);null!==n&&g(W,n.startTime-b);m=!1;}return m}finally{Q=null,R=c,S=!1;}}
39360
- function Y(a){switch(a){case 1:return -1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null;};exports.unstable_continueExecution=function(){T||S||(T=!0,f(X));};
39361
- exports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R;}var c=R;R=b;try{return a()}finally{R=c;}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3;}var c=R;R=a;try{return b()}finally{R=c;}};
39362
- exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?c.timeout:Y(a);}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};
39363
- exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c;}}};
39364
- });
39365
- var scheduler_production_min_1 = scheduler_production_min.unstable_now;
39366
- var scheduler_production_min_2 = scheduler_production_min.unstable_forceFrameRate;
39367
- var scheduler_production_min_3 = scheduler_production_min.unstable_IdlePriority;
39368
- var scheduler_production_min_4 = scheduler_production_min.unstable_ImmediatePriority;
39369
- var scheduler_production_min_5 = scheduler_production_min.unstable_LowPriority;
39370
- var scheduler_production_min_6 = scheduler_production_min.unstable_NormalPriority;
39371
- var scheduler_production_min_7 = scheduler_production_min.unstable_Profiling;
39372
- var scheduler_production_min_8 = scheduler_production_min.unstable_UserBlockingPriority;
39373
- var scheduler_production_min_9 = scheduler_production_min.unstable_cancelCallback;
39374
- var scheduler_production_min_10 = scheduler_production_min.unstable_continueExecution;
39375
- var scheduler_production_min_11 = scheduler_production_min.unstable_getCurrentPriorityLevel;
39376
- var scheduler_production_min_12 = scheduler_production_min.unstable_getFirstCallbackNode;
39377
- var scheduler_production_min_13 = scheduler_production_min.unstable_next;
39378
- var scheduler_production_min_14 = scheduler_production_min.unstable_pauseExecution;
39379
- var scheduler_production_min_15 = scheduler_production_min.unstable_requestPaint;
39380
- var scheduler_production_min_16 = scheduler_production_min.unstable_runWithPriority;
39381
- var scheduler_production_min_17 = scheduler_production_min.unstable_scheduleCallback;
39382
- var scheduler_production_min_18 = scheduler_production_min.unstable_shouldYield;
39383
- var scheduler_production_min_19 = scheduler_production_min.unstable_wrapCallback;
39384
-
39385
- var scheduler_development = createCommonjsModule(function (module, exports) {
39386
-
39387
-
39388
-
39389
- if (process.env.NODE_ENV !== "production") {
39390
- (function() {
39391
-
39392
- var enableSchedulerDebugging = false;
39393
- var enableProfiling = true;
39394
-
39395
- var requestHostCallback;
39396
- var requestHostTimeout;
39397
- var cancelHostTimeout;
39398
- var shouldYieldToHost;
39399
- var requestPaint;
39400
-
39401
- if ( // If Scheduler runs in a non-DOM environment, it falls back to a naive
39402
- // implementation using setTimeout.
39403
- typeof window === 'undefined' || // Check if MessageChannel is supported, too.
39404
- typeof MessageChannel !== 'function') {
39405
- // If this accidentally gets imported in a non-browser environment, e.g. JavaScriptCore,
39406
- // fallback to a naive implementation.
39407
- var _callback = null;
39408
- var _timeoutID = null;
39409
-
39410
- var _flushCallback = function () {
39411
- if (_callback !== null) {
39412
- try {
39413
- var currentTime = exports.unstable_now();
39414
- var hasRemainingTime = true;
39415
-
39416
- _callback(hasRemainingTime, currentTime);
39417
-
39418
- _callback = null;
39419
- } catch (e) {
39420
- setTimeout(_flushCallback, 0);
39421
- throw e;
39422
- }
39423
- }
39424
- };
39425
-
39426
- var initialTime = Date.now();
39427
-
39428
- exports.unstable_now = function () {
39429
- return Date.now() - initialTime;
39430
- };
39431
-
39432
- requestHostCallback = function (cb) {
39433
- if (_callback !== null) {
39434
- // Protect against re-entrancy.
39435
- setTimeout(requestHostCallback, 0, cb);
39436
- } else {
39437
- _callback = cb;
39438
- setTimeout(_flushCallback, 0);
39439
- }
39440
- };
39441
-
39442
- requestHostTimeout = function (cb, ms) {
39443
- _timeoutID = setTimeout(cb, ms);
39444
- };
39445
-
39446
- cancelHostTimeout = function () {
39447
- clearTimeout(_timeoutID);
39448
- };
39449
-
39450
- shouldYieldToHost = function () {
39451
- return false;
39452
- };
39453
-
39454
- requestPaint = exports.unstable_forceFrameRate = function () {};
39455
- } else {
39456
- // Capture local references to native APIs, in case a polyfill overrides them.
39457
- var performance = window.performance;
39458
- var _Date = window.Date;
39459
- var _setTimeout = window.setTimeout;
39460
- var _clearTimeout = window.clearTimeout;
39461
-
39462
- if (typeof console !== 'undefined') {
39463
- // TODO: Scheduler no longer requires these methods to be polyfilled. But
39464
- // maybe we want to continue warning if they don't exist, to preserve the
39465
- // option to rely on it in the future?
39466
- var requestAnimationFrame = window.requestAnimationFrame;
39467
- var cancelAnimationFrame = window.cancelAnimationFrame; // TODO: Remove fb.me link
39468
-
39469
- if (typeof requestAnimationFrame !== 'function') {
39470
- // Using console['error'] to evade Babel and ESLint
39471
- console['error']("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
39472
- }
39473
-
39474
- if (typeof cancelAnimationFrame !== 'function') {
39475
- // Using console['error'] to evade Babel and ESLint
39476
- console['error']("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
39477
- }
39478
- }
39479
-
39480
- if (typeof performance === 'object' && typeof performance.now === 'function') {
39481
- exports.unstable_now = function () {
39482
- return performance.now();
39483
- };
39484
- } else {
39485
- var _initialTime = _Date.now();
39486
-
39487
- exports.unstable_now = function () {
39488
- return _Date.now() - _initialTime;
39489
- };
39490
- }
39491
-
39492
- var isMessageLoopRunning = false;
39493
- var scheduledHostCallback = null;
39494
- var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
39495
- // thread, like user events. By default, it yields multiple times per frame.
39496
- // It does not attempt to align with frame boundaries, since most tasks don't
39497
- // need to be frame aligned; for those that do, use requestAnimationFrame.
39498
-
39499
- var yieldInterval = 5;
39500
- var deadline = 0; // TODO: Make this configurable
39501
-
39502
- {
39503
- // `isInputPending` is not available. Since we have no way of knowing if
39504
- // there's pending input, always yield at the end of the frame.
39505
- shouldYieldToHost = function () {
39506
- return exports.unstable_now() >= deadline;
39507
- }; // Since we yield every frame regardless, `requestPaint` has no effect.
39508
-
39509
-
39510
- requestPaint = function () {};
39511
- }
39512
-
39513
- exports.unstable_forceFrameRate = function (fps) {
39514
- if (fps < 0 || fps > 125) {
39515
- // Using console['error'] to evade Babel and ESLint
39516
- console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
39517
- return;
39518
- }
39519
-
39520
- if (fps > 0) {
39521
- yieldInterval = Math.floor(1000 / fps);
39522
- } else {
39523
- // reset the framerate
39524
- yieldInterval = 5;
39525
- }
39526
- };
39527
-
39528
- var performWorkUntilDeadline = function () {
39529
- if (scheduledHostCallback !== null) {
39530
- var currentTime = exports.unstable_now(); // Yield after `yieldInterval` ms, regardless of where we are in the vsync
39531
- // cycle. This means there's always time remaining at the beginning of
39532
- // the message event.
39533
-
39534
- deadline = currentTime + yieldInterval;
39535
- var hasTimeRemaining = true;
39536
-
39537
- try {
39538
- var hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
39539
-
39540
- if (!hasMoreWork) {
39541
- isMessageLoopRunning = false;
39542
- scheduledHostCallback = null;
39543
- } else {
39544
- // If there's more work, schedule the next message event at the end
39545
- // of the preceding one.
39546
- port.postMessage(null);
39547
- }
39548
- } catch (error) {
39549
- // If a scheduler task throws, exit the current browser task so the
39550
- // error can be observed.
39551
- port.postMessage(null);
39552
- throw error;
39553
- }
39554
- } else {
39555
- isMessageLoopRunning = false;
39556
- } // Yielding to the browser will give it a chance to paint, so we can
39557
- };
39558
-
39559
- var channel = new MessageChannel();
39560
- var port = channel.port2;
39561
- channel.port1.onmessage = performWorkUntilDeadline;
39562
-
39563
- requestHostCallback = function (callback) {
39564
- scheduledHostCallback = callback;
39565
-
39566
- if (!isMessageLoopRunning) {
39567
- isMessageLoopRunning = true;
39568
- port.postMessage(null);
39569
- }
39570
- };
39571
-
39572
- requestHostTimeout = function (callback, ms) {
39573
- taskTimeoutID = _setTimeout(function () {
39574
- callback(exports.unstable_now());
39575
- }, ms);
39576
- };
39577
-
39578
- cancelHostTimeout = function () {
39579
- _clearTimeout(taskTimeoutID);
39580
-
39581
- taskTimeoutID = -1;
39582
- };
39583
- }
39584
-
39585
- function push(heap, node) {
39586
- var index = heap.length;
39587
- heap.push(node);
39588
- siftUp(heap, node, index);
39589
- }
39590
- function peek(heap) {
39591
- var first = heap[0];
39592
- return first === undefined ? null : first;
39593
- }
39594
- function pop(heap) {
39595
- var first = heap[0];
39596
-
39597
- if (first !== undefined) {
39598
- var last = heap.pop();
39599
-
39600
- if (last !== first) {
39601
- heap[0] = last;
39602
- siftDown(heap, last, 0);
39603
- }
39604
-
39605
- return first;
39606
- } else {
39607
- return null;
39608
- }
39609
- }
39610
-
39611
- function siftUp(heap, node, i) {
39612
- var index = i;
39613
-
39614
- while (true) {
39615
- var parentIndex = index - 1 >>> 1;
39616
- var parent = heap[parentIndex];
39617
-
39618
- if (parent !== undefined && compare(parent, node) > 0) {
39619
- // The parent is larger. Swap positions.
39620
- heap[parentIndex] = node;
39621
- heap[index] = parent;
39622
- index = parentIndex;
39623
- } else {
39624
- // The parent is smaller. Exit.
39625
- return;
39626
- }
39627
- }
39628
- }
39629
-
39630
- function siftDown(heap, node, i) {
39631
- var index = i;
39632
- var length = heap.length;
39633
-
39634
- while (index < length) {
39635
- var leftIndex = (index + 1) * 2 - 1;
39636
- var left = heap[leftIndex];
39637
- var rightIndex = leftIndex + 1;
39638
- var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
39639
-
39640
- if (left !== undefined && compare(left, node) < 0) {
39641
- if (right !== undefined && compare(right, left) < 0) {
39642
- heap[index] = right;
39643
- heap[rightIndex] = node;
39644
- index = rightIndex;
39645
- } else {
39646
- heap[index] = left;
39647
- heap[leftIndex] = node;
39648
- index = leftIndex;
39649
- }
39650
- } else if (right !== undefined && compare(right, node) < 0) {
39651
- heap[index] = right;
39652
- heap[rightIndex] = node;
39653
- index = rightIndex;
39654
- } else {
39655
- // Neither child is smaller. Exit.
39656
- return;
39657
- }
39658
- }
39659
- }
39660
-
39661
- function compare(a, b) {
39662
- // Compare sort index first, then task id.
39663
- var diff = a.sortIndex - b.sortIndex;
39664
- return diff !== 0 ? diff : a.id - b.id;
39665
- }
39666
-
39667
- // TODO: Use symbols?
39668
- var NoPriority = 0;
39669
- var ImmediatePriority = 1;
39670
- var UserBlockingPriority = 2;
39671
- var NormalPriority = 3;
39672
- var LowPriority = 4;
39673
- var IdlePriority = 5;
39674
-
39675
- var runIdCounter = 0;
39676
- var mainThreadIdCounter = 0;
39677
- var profilingStateSize = 4;
39678
- var sharedProfilingBuffer = // $FlowFixMe Flow doesn't know about SharedArrayBuffer
39679
- typeof SharedArrayBuffer === 'function' ? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : // $FlowFixMe Flow doesn't know about ArrayBuffer
39680
- typeof ArrayBuffer === 'function' ? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : null // Don't crash the init path on IE9
39681
- ;
39682
- var profilingState = sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : []; // We can't read this but it helps save bytes for null checks
39683
-
39684
- var PRIORITY = 0;
39685
- var CURRENT_TASK_ID = 1;
39686
- var CURRENT_RUN_ID = 2;
39687
- var QUEUE_SIZE = 3;
39688
-
39689
- {
39690
- profilingState[PRIORITY] = NoPriority; // This is maintained with a counter, because the size of the priority queue
39691
- // array might include canceled tasks.
39692
-
39693
- profilingState[QUEUE_SIZE] = 0;
39694
- profilingState[CURRENT_TASK_ID] = 0;
39695
- } // Bytes per element is 4
39696
-
39697
-
39698
- var INITIAL_EVENT_LOG_SIZE = 131072;
39699
- var MAX_EVENT_LOG_SIZE = 524288; // Equivalent to 2 megabytes
39700
-
39701
- var eventLogSize = 0;
39702
- var eventLogBuffer = null;
39703
- var eventLog = null;
39704
- var eventLogIndex = 0;
39705
- var TaskStartEvent = 1;
39706
- var TaskCompleteEvent = 2;
39707
- var TaskErrorEvent = 3;
39708
- var TaskCancelEvent = 4;
39709
- var TaskRunEvent = 5;
39710
- var TaskYieldEvent = 6;
39711
- var SchedulerSuspendEvent = 7;
39712
- var SchedulerResumeEvent = 8;
39713
-
39714
- function logEvent(entries) {
39715
- if (eventLog !== null) {
39716
- var offset = eventLogIndex;
39717
- eventLogIndex += entries.length;
39718
-
39719
- if (eventLogIndex + 1 > eventLogSize) {
39720
- eventLogSize *= 2;
39721
-
39722
- if (eventLogSize > MAX_EVENT_LOG_SIZE) {
39723
- // Using console['error'] to evade Babel and ESLint
39724
- console['error']("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
39725
- stopLoggingProfilingEvents();
39726
- return;
39727
- }
39728
-
39729
- var newEventLog = new Int32Array(eventLogSize * 4);
39730
- newEventLog.set(eventLog);
39731
- eventLogBuffer = newEventLog.buffer;
39732
- eventLog = newEventLog;
39733
- }
39734
-
39735
- eventLog.set(entries, offset);
39736
- }
39737
- }
39738
-
39739
- function startLoggingProfilingEvents() {
39740
- eventLogSize = INITIAL_EVENT_LOG_SIZE;
39741
- eventLogBuffer = new ArrayBuffer(eventLogSize * 4);
39742
- eventLog = new Int32Array(eventLogBuffer);
39743
- eventLogIndex = 0;
39744
- }
39745
- function stopLoggingProfilingEvents() {
39746
- var buffer = eventLogBuffer;
39747
- eventLogSize = 0;
39748
- eventLogBuffer = null;
39749
- eventLog = null;
39750
- eventLogIndex = 0;
39751
- return buffer;
39752
- }
39753
- function markTaskStart(task, ms) {
39754
- {
39755
- profilingState[QUEUE_SIZE]++;
39756
-
39757
- if (eventLog !== null) {
39758
- // performance.now returns a float, representing milliseconds. When the
39759
- // event is logged, it's coerced to an int. Convert to microseconds to
39760
- // maintain extra degrees of precision.
39761
- logEvent([TaskStartEvent, ms * 1000, task.id, task.priorityLevel]);
39762
- }
39763
- }
39764
- }
39765
- function markTaskCompleted(task, ms) {
39766
- {
39767
- profilingState[PRIORITY] = NoPriority;
39768
- profilingState[CURRENT_TASK_ID] = 0;
39769
- profilingState[QUEUE_SIZE]--;
39770
-
39771
- if (eventLog !== null) {
39772
- logEvent([TaskCompleteEvent, ms * 1000, task.id]);
39773
- }
39774
- }
39775
- }
39776
- function markTaskCanceled(task, ms) {
39777
- {
39778
- profilingState[QUEUE_SIZE]--;
39779
-
39780
- if (eventLog !== null) {
39781
- logEvent([TaskCancelEvent, ms * 1000, task.id]);
39782
- }
39783
- }
39784
- }
39785
- function markTaskErrored(task, ms) {
39786
- {
39787
- profilingState[PRIORITY] = NoPriority;
39788
- profilingState[CURRENT_TASK_ID] = 0;
39789
- profilingState[QUEUE_SIZE]--;
39790
-
39791
- if (eventLog !== null) {
39792
- logEvent([TaskErrorEvent, ms * 1000, task.id]);
39793
- }
39794
- }
39795
- }
39796
- function markTaskRun(task, ms) {
39797
- {
39798
- runIdCounter++;
39799
- profilingState[PRIORITY] = task.priorityLevel;
39800
- profilingState[CURRENT_TASK_ID] = task.id;
39801
- profilingState[CURRENT_RUN_ID] = runIdCounter;
39802
-
39803
- if (eventLog !== null) {
39804
- logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
39805
- }
39806
- }
39807
- }
39808
- function markTaskYield(task, ms) {
39809
- {
39810
- profilingState[PRIORITY] = NoPriority;
39811
- profilingState[CURRENT_TASK_ID] = 0;
39812
- profilingState[CURRENT_RUN_ID] = 0;
39813
-
39814
- if (eventLog !== null) {
39815
- logEvent([TaskYieldEvent, ms * 1000, task.id, runIdCounter]);
39816
- }
39817
- }
39818
- }
39819
- function markSchedulerSuspended(ms) {
39820
- {
39821
- mainThreadIdCounter++;
39822
-
39823
- if (eventLog !== null) {
39824
- logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
39825
- }
39826
- }
39827
- }
39828
- function markSchedulerUnsuspended(ms) {
39829
- {
39830
- if (eventLog !== null) {
39831
- logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
39832
- }
39833
- }
39834
- }
39835
-
39836
- /* eslint-disable no-var */
39837
- // Math.pow(2, 30) - 1
39838
- // 0b111111111111111111111111111111
39839
-
39840
- var maxSigned31BitInt = 1073741823; // Times out immediately
39841
-
39842
- var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
39843
-
39844
- var USER_BLOCKING_PRIORITY = 250;
39845
- var NORMAL_PRIORITY_TIMEOUT = 5000;
39846
- var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
39847
-
39848
- var IDLE_PRIORITY = maxSigned31BitInt; // Tasks are stored on a min heap
39849
-
39850
- var taskQueue = [];
39851
- var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
39852
-
39853
- var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
39854
- var currentTask = null;
39855
- var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrancy.
39856
-
39857
- var isPerformingWork = false;
39858
- var isHostCallbackScheduled = false;
39859
- var isHostTimeoutScheduled = false;
39860
-
39861
- function advanceTimers(currentTime) {
39862
- // Check for tasks that are no longer delayed and add them to the queue.
39863
- var timer = peek(timerQueue);
39864
-
39865
- while (timer !== null) {
39866
- if (timer.callback === null) {
39867
- // Timer was cancelled.
39868
- pop(timerQueue);
39869
- } else if (timer.startTime <= currentTime) {
39870
- // Timer fired. Transfer to the task queue.
39871
- pop(timerQueue);
39872
- timer.sortIndex = timer.expirationTime;
39873
- push(taskQueue, timer);
39874
-
39875
- {
39876
- markTaskStart(timer, currentTime);
39877
- timer.isQueued = true;
39878
- }
39879
- } else {
39880
- // Remaining timers are pending.
39881
- return;
39882
- }
39883
-
39884
- timer = peek(timerQueue);
39885
- }
39886
- }
39887
-
39888
- function handleTimeout(currentTime) {
39889
- isHostTimeoutScheduled = false;
39890
- advanceTimers(currentTime);
39891
-
39892
- if (!isHostCallbackScheduled) {
39893
- if (peek(taskQueue) !== null) {
39894
- isHostCallbackScheduled = true;
39895
- requestHostCallback(flushWork);
39896
- } else {
39897
- var firstTimer = peek(timerQueue);
39898
-
39899
- if (firstTimer !== null) {
39900
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
39901
- }
39902
- }
39903
- }
39904
- }
39905
-
39906
- function flushWork(hasTimeRemaining, initialTime) {
39907
- {
39908
- markSchedulerUnsuspended(initialTime);
39909
- } // We'll need a host callback the next time work is scheduled.
39910
-
39911
-
39912
- isHostCallbackScheduled = false;
39913
-
39914
- if (isHostTimeoutScheduled) {
39915
- // We scheduled a timeout but it's no longer needed. Cancel it.
39916
- isHostTimeoutScheduled = false;
39917
- cancelHostTimeout();
39918
- }
39919
-
39920
- isPerformingWork = true;
39921
- var previousPriorityLevel = currentPriorityLevel;
39922
-
39923
- try {
39924
- if (enableProfiling) {
39925
- try {
39926
- return workLoop(hasTimeRemaining, initialTime);
39927
- } catch (error) {
39928
- if (currentTask !== null) {
39929
- var currentTime = exports.unstable_now();
39930
- markTaskErrored(currentTask, currentTime);
39931
- currentTask.isQueued = false;
39932
- }
39933
-
39934
- throw error;
39935
- }
39936
- } else {
39937
- // No catch in prod codepath.
39938
- return workLoop(hasTimeRemaining, initialTime);
39939
- }
39940
- } finally {
39941
- currentTask = null;
39942
- currentPriorityLevel = previousPriorityLevel;
39943
- isPerformingWork = false;
39944
-
39945
- {
39946
- var _currentTime = exports.unstable_now();
39947
-
39948
- markSchedulerSuspended(_currentTime);
39949
- }
39950
- }
39951
- }
39952
-
39953
- function workLoop(hasTimeRemaining, initialTime) {
39954
- var currentTime = initialTime;
39955
- advanceTimers(currentTime);
39956
- currentTask = peek(taskQueue);
39957
-
39958
- while (currentTask !== null && !(enableSchedulerDebugging )) {
39959
- if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
39960
- // This currentTask hasn't expired, and we've reached the deadline.
39961
- break;
39962
- }
39963
-
39964
- var callback = currentTask.callback;
39965
-
39966
- if (callback !== null) {
39967
- currentTask.callback = null;
39968
- currentPriorityLevel = currentTask.priorityLevel;
39969
- var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
39970
- markTaskRun(currentTask, currentTime);
39971
- var continuationCallback = callback(didUserCallbackTimeout);
39972
- currentTime = exports.unstable_now();
39973
-
39974
- if (typeof continuationCallback === 'function') {
39975
- currentTask.callback = continuationCallback;
39976
- markTaskYield(currentTask, currentTime);
39977
- } else {
39978
- {
39979
- markTaskCompleted(currentTask, currentTime);
39980
- currentTask.isQueued = false;
39981
- }
39982
-
39983
- if (currentTask === peek(taskQueue)) {
39984
- pop(taskQueue);
39985
- }
39986
- }
39987
-
39988
- advanceTimers(currentTime);
39989
- } else {
39990
- pop(taskQueue);
39991
- }
39992
-
39993
- currentTask = peek(taskQueue);
39994
- } // Return whether there's additional work
39995
-
39996
-
39997
- if (currentTask !== null) {
39998
- return true;
39999
- } else {
40000
- var firstTimer = peek(timerQueue);
40001
-
40002
- if (firstTimer !== null) {
40003
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
40004
- }
40005
-
40006
- return false;
40007
- }
40008
- }
40009
-
40010
- function unstable_runWithPriority(priorityLevel, eventHandler) {
40011
- switch (priorityLevel) {
40012
- case ImmediatePriority:
40013
- case UserBlockingPriority:
40014
- case NormalPriority:
40015
- case LowPriority:
40016
- case IdlePriority:
40017
- break;
40018
-
40019
- default:
40020
- priorityLevel = NormalPriority;
40021
- }
40022
-
40023
- var previousPriorityLevel = currentPriorityLevel;
40024
- currentPriorityLevel = priorityLevel;
40025
-
40026
- try {
40027
- return eventHandler();
40028
- } finally {
40029
- currentPriorityLevel = previousPriorityLevel;
40030
- }
40031
- }
40032
-
40033
- function unstable_next(eventHandler) {
40034
- var priorityLevel;
40035
-
40036
- switch (currentPriorityLevel) {
40037
- case ImmediatePriority:
40038
- case UserBlockingPriority:
40039
- case NormalPriority:
40040
- // Shift down to normal priority
40041
- priorityLevel = NormalPriority;
40042
- break;
40043
-
40044
- default:
40045
- // Anything lower than normal priority should remain at the current level.
40046
- priorityLevel = currentPriorityLevel;
40047
- break;
40048
- }
40049
-
40050
- var previousPriorityLevel = currentPriorityLevel;
40051
- currentPriorityLevel = priorityLevel;
40052
-
40053
- try {
40054
- return eventHandler();
40055
- } finally {
40056
- currentPriorityLevel = previousPriorityLevel;
40057
- }
40058
- }
40059
-
40060
- function unstable_wrapCallback(callback) {
40061
- var parentPriorityLevel = currentPriorityLevel;
40062
- return function () {
40063
- // This is a fork of runWithPriority, inlined for performance.
40064
- var previousPriorityLevel = currentPriorityLevel;
40065
- currentPriorityLevel = parentPriorityLevel;
40066
-
40067
- try {
40068
- return callback.apply(this, arguments);
40069
- } finally {
40070
- currentPriorityLevel = previousPriorityLevel;
40071
- }
40072
- };
40073
- }
40074
-
40075
- function timeoutForPriorityLevel(priorityLevel) {
40076
- switch (priorityLevel) {
40077
- case ImmediatePriority:
40078
- return IMMEDIATE_PRIORITY_TIMEOUT;
40079
-
40080
- case UserBlockingPriority:
40081
- return USER_BLOCKING_PRIORITY;
40082
-
40083
- case IdlePriority:
40084
- return IDLE_PRIORITY;
40085
-
40086
- case LowPriority:
40087
- return LOW_PRIORITY_TIMEOUT;
40088
-
40089
- case NormalPriority:
40090
- default:
40091
- return NORMAL_PRIORITY_TIMEOUT;
40092
- }
40093
- }
40094
-
40095
- function unstable_scheduleCallback(priorityLevel, callback, options) {
40096
- var currentTime = exports.unstable_now();
40097
- var startTime;
40098
- var timeout;
40099
-
40100
- if (typeof options === 'object' && options !== null) {
40101
- var delay = options.delay;
40102
-
40103
- if (typeof delay === 'number' && delay > 0) {
40104
- startTime = currentTime + delay;
40105
- } else {
40106
- startTime = currentTime;
40107
- }
40108
-
40109
- timeout = typeof options.timeout === 'number' ? options.timeout : timeoutForPriorityLevel(priorityLevel);
40110
- } else {
40111
- timeout = timeoutForPriorityLevel(priorityLevel);
40112
- startTime = currentTime;
40113
- }
40114
-
40115
- var expirationTime = startTime + timeout;
40116
- var newTask = {
40117
- id: taskIdCounter++,
40118
- callback: callback,
40119
- priorityLevel: priorityLevel,
40120
- startTime: startTime,
40121
- expirationTime: expirationTime,
40122
- sortIndex: -1
40123
- };
40124
-
40125
- {
40126
- newTask.isQueued = false;
40127
- }
40128
-
40129
- if (startTime > currentTime) {
40130
- // This is a delayed task.
40131
- newTask.sortIndex = startTime;
40132
- push(timerQueue, newTask);
40133
-
40134
- if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
40135
- // All tasks are delayed, and this is the task with the earliest delay.
40136
- if (isHostTimeoutScheduled) {
40137
- // Cancel an existing timeout.
40138
- cancelHostTimeout();
40139
- } else {
40140
- isHostTimeoutScheduled = true;
40141
- } // Schedule a timeout.
40142
-
40143
-
40144
- requestHostTimeout(handleTimeout, startTime - currentTime);
40145
- }
40146
- } else {
40147
- newTask.sortIndex = expirationTime;
40148
- push(taskQueue, newTask);
40149
-
40150
- {
40151
- markTaskStart(newTask, currentTime);
40152
- newTask.isQueued = true;
40153
- } // Schedule a host callback, if needed. If we're already performing work,
40154
- // wait until the next time we yield.
40155
-
40156
-
40157
- if (!isHostCallbackScheduled && !isPerformingWork) {
40158
- isHostCallbackScheduled = true;
40159
- requestHostCallback(flushWork);
40160
- }
40161
- }
40162
-
40163
- return newTask;
40164
- }
40165
-
40166
- function unstable_pauseExecution() {
40167
- }
40168
-
40169
- function unstable_continueExecution() {
40170
-
40171
- if (!isHostCallbackScheduled && !isPerformingWork) {
40172
- isHostCallbackScheduled = true;
40173
- requestHostCallback(flushWork);
40174
- }
40175
- }
40176
-
40177
- function unstable_getFirstCallbackNode() {
40178
- return peek(taskQueue);
40179
- }
40180
-
40181
- function unstable_cancelCallback(task) {
40182
- {
40183
- if (task.isQueued) {
40184
- var currentTime = exports.unstable_now();
40185
- markTaskCanceled(task, currentTime);
40186
- task.isQueued = false;
40187
- }
40188
- } // Null out the callback to indicate the task has been canceled. (Can't
40189
- // remove from the queue because you can't remove arbitrary nodes from an
40190
- // array based heap, only the first one.)
40191
-
40192
-
40193
- task.callback = null;
40194
- }
40195
-
40196
- function unstable_getCurrentPriorityLevel() {
40197
- return currentPriorityLevel;
40198
- }
40199
-
40200
- function unstable_shouldYield() {
40201
- var currentTime = exports.unstable_now();
40202
- advanceTimers(currentTime);
40203
- var firstTask = peek(taskQueue);
40204
- return firstTask !== currentTask && currentTask !== null && firstTask !== null && firstTask.callback !== null && firstTask.startTime <= currentTime && firstTask.expirationTime < currentTask.expirationTime || shouldYieldToHost();
40205
- }
40206
-
40207
- var unstable_requestPaint = requestPaint;
40208
- var unstable_Profiling = {
40209
- startLoggingProfilingEvents: startLoggingProfilingEvents,
40210
- stopLoggingProfilingEvents: stopLoggingProfilingEvents,
40211
- sharedProfilingBuffer: sharedProfilingBuffer
40212
- } ;
40213
-
40214
- exports.unstable_IdlePriority = IdlePriority;
40215
- exports.unstable_ImmediatePriority = ImmediatePriority;
40216
- exports.unstable_LowPriority = LowPriority;
40217
- exports.unstable_NormalPriority = NormalPriority;
40218
- exports.unstable_Profiling = unstable_Profiling;
40219
- exports.unstable_UserBlockingPriority = UserBlockingPriority;
40220
- exports.unstable_cancelCallback = unstable_cancelCallback;
40221
- exports.unstable_continueExecution = unstable_continueExecution;
40222
- exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
40223
- exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
40224
- exports.unstable_next = unstable_next;
40225
- exports.unstable_pauseExecution = unstable_pauseExecution;
40226
- exports.unstable_requestPaint = unstable_requestPaint;
40227
- exports.unstable_runWithPriority = unstable_runWithPriority;
40228
- exports.unstable_scheduleCallback = unstable_scheduleCallback;
40229
- exports.unstable_shouldYield = unstable_shouldYield;
40230
- exports.unstable_wrapCallback = unstable_wrapCallback;
40231
- })();
40232
- }
40233
- });
40234
- var scheduler_development_1 = scheduler_development.unstable_now;
40235
- var scheduler_development_2 = scheduler_development.unstable_forceFrameRate;
40236
- var scheduler_development_3 = scheduler_development.unstable_IdlePriority;
40237
- var scheduler_development_4 = scheduler_development.unstable_ImmediatePriority;
40238
- var scheduler_development_5 = scheduler_development.unstable_LowPriority;
40239
- var scheduler_development_6 = scheduler_development.unstable_NormalPriority;
40240
- var scheduler_development_7 = scheduler_development.unstable_Profiling;
40241
- var scheduler_development_8 = scheduler_development.unstable_UserBlockingPriority;
40242
- var scheduler_development_9 = scheduler_development.unstable_cancelCallback;
40243
- var scheduler_development_10 = scheduler_development.unstable_continueExecution;
40244
- var scheduler_development_11 = scheduler_development.unstable_getCurrentPriorityLevel;
40245
- var scheduler_development_12 = scheduler_development.unstable_getFirstCallbackNode;
40246
- var scheduler_development_13 = scheduler_development.unstable_next;
40247
- var scheduler_development_14 = scheduler_development.unstable_pauseExecution;
40248
- var scheduler_development_15 = scheduler_development.unstable_requestPaint;
40249
- var scheduler_development_16 = scheduler_development.unstable_runWithPriority;
40250
- var scheduler_development_17 = scheduler_development.unstable_scheduleCallback;
40251
- var scheduler_development_18 = scheduler_development.unstable_shouldYield;
40252
- var scheduler_development_19 = scheduler_development.unstable_wrapCallback;
40253
-
40254
- var scheduler = createCommonjsModule(function (module) {
40255
-
40256
- if (process.env.NODE_ENV === 'production') {
40257
- module.exports = scheduler_production_min;
40258
- } else {
40259
- module.exports = scheduler_development;
40260
- }
40261
- });
40262
-
40263
- function u(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return "Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!React__default)throw Error(u(227));
40264
- function ba(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l);}catch(m){this.onError(m);}}var da=!1,ea=null,fa=!1,ha=null,ia={onError:function(a){da=!0;ea=a;}};function ja(a,b,c,d,e,f,g,h,k){da=!1;ea=null;ba.apply(ia,arguments);}function ka(a,b,c,d,e,f,g,h,k){ja.apply(this,arguments);if(da){if(da){var l=ea;da=!1;ea=null;}else throw Error(u(198));fa||(fa=!0,ha=l);}}var la=null,ma=null,na=null;
40265
- function oa(a,b,c){var d=a.type||"unknown-event";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null;}var pa=null,qa={};
40266
- function ra(){if(pa)for(var a in qa){var b=qa[a],c=pa.indexOf(a);if(!(-1<c))throw Error(u(96,a));if(!sa[c]){if(!b.extractEvents)throw Error(u(97,a));sa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(ta.hasOwnProperty(h))throw Error(u(99,h));ta[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ua(k[e],g,h);e=!0;}else f.registrationName?(ua(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u(98,d,a));}}}}
40267
- function ua(a,b,c){if(va[a])throw Error(u(100,a));va[a]=b;wa[a]=b.eventTypes[c].dependencies;}var sa=[],ta={},va={},wa={};function xa(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!qa.hasOwnProperty(c)||qa[c]!==d){if(qa[c])throw Error(u(102,c));qa[c]=d;b=!0;}}b&&ra();}var ya=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),za=null,Aa=null,Ba=null;
40268
- function Ca(a){if(a=ma(a)){if("function"!==typeof za)throw Error(u(280));var b=a.stateNode;b&&(b=la(b),za(a.stateNode,a.type,b));}}function Da(a){Aa?Ba?Ba.push(a):Ba=[a]:Aa=a;}function Ea(){if(Aa){var a=Aa,b=Ba;Ba=Aa=null;Ca(a);if(b)for(a=0;a<b.length;a++)Ca(b[a]);}}function Fa(a,b){return a(b)}function Ha(){}var Ja=!1;function La(){if(null!==Aa||null!==Ba)Ha(),Ea();}
40269
- var Na=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oa=Object.prototype.hasOwnProperty,Pa={},Qa={};
40270
- function Ra(a){if(Oa.call(Qa,a))return !0;if(Oa.call(Pa,a))return !1;if(Na.test(a))return Qa[a]=!0;Pa[a]=!0;return !1}function Sa(a,b,c,d){if(null!==c&&0===c.type)return !1;switch(typeof b){case "function":case "symbol":return !0;case "boolean":if(d)return !1;if(null!==c)return !c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return "data-"!==a&&"aria-"!==a;default:return !1}}
40271
- function Ta(a,b,c,d){if(null===b||"undefined"===typeof b||Sa(a,b,c,d))return !0;if(d)return !1;if(null!==c)switch(c.type){case 3:return !b;case 4:return !1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return !1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;}var C={};
40272
- "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1);});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1);});["contentEditable","draggable","spellCheck","value"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1);});
40273
- ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1);});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1);});
40274
- ["checked","multiple","muted","selected"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1);});["capture","download"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1);});["cols","rows","size","span"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1);});["rowSpan","start"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1);});var Ua=/[\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}
40275
- "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(Ua,
40276
- Va);C[b]=new v(b,1,!1,a,null,!1);});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/1999/xlink",!1);});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1);});["tabIndex","crossOrigin"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1);});
40277
- C.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0);});var Wa=React__default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty("ReactCurrentDispatcher")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty("ReactCurrentBatchConfig")||(Wa.ReactCurrentBatchConfig={suspense:null});
40278
- function Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Ta(b,c,e,d)&&(c=null),d||null===e?Ra(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))));}
40279
- function rb(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return ""}}function sb(a){var b=a.type;return (a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
40280
- function yb(a){if(!a)return !1;var b=a._valueTracker;if(!b)return !0;var c=b.getValue();var d="";a&&(d=sb(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Bb(a,b){b=b.checked;null!=b&&Xa(a,"checked",b,!1);}
40281
- function Cb(a,b){Bb(a,b);var c=rb(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c;}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Db(a,b.type,c):b.hasOwnProperty("defaultValue")&&Db(a,b.type,rb(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked);}
40282
- function Db(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c);}function Hb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0);}else {c=""+rb(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e]);}null!==b&&(b.selected=!0);}}
40283
- function Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d);}var Mb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
40284
- var Pb,Qb=function(a){return "undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)});}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||"innerHTML"in a)a.innerHTML=b;else {Pb=Pb||document.createElement("div");Pb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild);}});
40285
- function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Tb={animationend:Sb("Animation","AnimationEnd"),animationiteration:Sb("Animation","AnimationIteration"),animationstart:Sb("Animation","AnimationStart"),transitionend:Sb("Transition","TransitionEnd")},Ub={},Vb={};
40286
- ya&&(Vb=document.createElement("div").style,"AnimationEvent"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),"TransitionEvent"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}
40287
- var Xb=Wb("animationend"),Yb=Wb("animationiteration"),Zb=Wb("animationstart"),$b=Wb("transitionend"),bc=new ("function"===typeof WeakMap?WeakMap:Map);function cc$1(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}
40288
- function dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else {a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function fc(a){if(dc(a)!==a)throw Error(u(188));}
40289
- function gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling;}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else {for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling;}if(!g){for(h=f.child;h;){if(h===
40290
- c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling;}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else {if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}}return null}
40291
- function ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a);}var kc=null;
40292
- function lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)oa(a,b[d],c[d]);else b&&oa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a);}}function mc(a){null!==a&&(kc=ic(kc,a));a=kc;kc=null;if(a){jc(a,lc);if(kc)throw Error(u(95));if(fa)throw a=ha,fa=!1,ha=null,a;}}
40293
- function nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!ya)return !1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}var Wc={},Yc=new Map,Zc=new Map,$c=["abort","abort",Xb,"animationEnd",Yb,"animationIteration",Zb,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking",
40294
- "seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$b,"transitionEnd","waiting","waiting"];function ad(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f="on"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+"Capture"},dependencies:[d],eventPriority:b};Zc.set(d,b);Yc.set(d,f);Wc[e]=f;}}
40295
- ad("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);
40296
- ad("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);ad($c,2);for(var bd="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),cd=0;cd<bd.length;cd++)Zc.set(bd[cd],0);
40297
- var dd=scheduler.unstable_UserBlockingPriority,ed=scheduler.unstable_runWithPriority;var jd={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
40298
- floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kd=["Webkit","ms","Moz","O"];Object.keys(jd).forEach(function(a){kd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);jd[b]=jd[a];});});var nd=objectAssign({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
40299
- function td(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var zd="$",Ad="/$",Bd="$?",Cd="$!";function Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--;}else c===Ad&&b++;}a=a.previousSibling;}return null}var Ld=Math.random().toString(36).slice(2),Md="__reactInternalInstance$"+Ld,Nd="__reactEventHandlers$"+Ld,Od="__reactContainere$"+Ld;
40300
- function tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a);}return b}a=c;c=a.parentNode;}return null}function Nc(a){a=a[Md]||a[Od];return !a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function Qd(a){return a[Nd]||null}
40301
- function Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}
40302
- function Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1;}if(a)return null;if(c&&"function"!==typeof c)throw Error(u(231,
40303
- b,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a);}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0<b--;)Td(c[b],"captured",a);for(b=0;b<c.length;b++)Td(c[b],"bubbled",a);}}
40304
- function Vd(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Sd(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a));}function Xd(a){jc(a,Ud);}var Yd=null,Zd=null,$d=null;
40305
- function ae(){if($d)return $d;var a,b=Zd,c=b.length,d,e="value"in Yd?Yd.value:Yd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return $d=e.slice(a,1<d?1-d:void 0)}function be(){return !0}function ce(){return !1}
40306
- function G(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?be:ce;this.isPropagationStopped=ce;return this}
40307
- objectAssign(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=be);},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=be);},persist:function(){this.isPersistent=be;},isPersistent:ce,destructor:function(){var a=this.constructor.Interface,
40308
- b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ce;this._dispatchInstances=this._dispatchListeners=null;}});G.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
40309
- G.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;objectAssign(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=objectAssign({},d.Interface,a);c.extend=d.extend;de(c);return c};de(G);function ee(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
40310
- function fe(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a);}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe;}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&"CompositionEvent"in window,ke=null;ya&&"documentMode"in document&&(ke=document.documentMode);
40311
- var le=ya&&"TextEvent"in window&&!ke,me=ya&&(!je||ke&&8<ke&&11>=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
40312
- captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},pe=!1;
40313
- function qe(a,b){switch(a){case "keyup":return -1!==ie.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return !0;default:return !1}}function re(a){a=a.detail;return "object"===typeof a&&"data"in a?a.data:null}var se=!1;function te(a,b){switch(a){case "compositionend":return re(b);case "keypress":if(32!==b.which)return null;pe=!0;return ne;case "textInput":return a=b.data,a===ne&&pe?null:a;default:return null}}
40314
- function ue(a,b){if(se)return "compositionend"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return me&&"ko"!==b.locale?null:b.data;default:return null}}
40315
- var ve={eventTypes:oe,extractEvents:function(a,b,c,d){var e;if(je)b:{switch(a){case "compositionstart":var f=oe.compositionStart;break b;case "compositionend":f=oe.compositionEnd;break b;case "compositionupdate":f=oe.compositionUpdate;break b}f=void 0;}else se?qe(a,c)&&(f=oe.compositionEnd):"keydown"===a&&229===c.keyCode&&(f=oe.compositionStart);f?(me&&"ko"!==c.locale&&(se||f!==oe.compositionStart?f===oe.compositionEnd&&se&&(e=ae()):(Yd=d,Zd="value"in Yd?Yd.value:Yd.textContent,se=!0)),f=ge.getPooled(f,
40316
- b,c,d),e?f.data=e:(e=re(c),null!==e&&(f.data=e)),Xd(f),e=f):e=null;(a=le?te(a,c):ue(a,c))?(b=he.getPooled(oe.beforeInput,b,c,d),b.data=a,Xd(b)):b=null;return null===e?b:null===b?e:[e,b]}},we={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return "input"===b?!!we[a.type]:"textarea"===b?!0:!1}
40317
- var ye={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type="change";Da(c);Xd(a);return a}var Ae=null,Be=null;function Ce(a){mc(a);}function De(a){var b=Pd(a);if(yb(b))return a}function Ee(a,b){if("change"===a)return b}var Fe=!1;ya&&(Fe=oc("input")&&(!document.documentMode||9<document.documentMode));
40318
- function Ge(){Ae&&(Ae.detachEvent("onpropertychange",He),Be=Ae=null);}function He(a){if("value"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),Ja)mc(a);else {Ja=!0;try{Fa(Ce,a);}finally{Ja=!1,La();}}}function Ie(a,b,c){"focus"===a?(Ge(),Ae=b,Be=c,Ae.attachEvent("onpropertychange",He)):"blur"===a&&Ge();}function Je(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return De(Be)}function Ke(a,b){if("click"===a)return De(b)}function Le(a,b){if("input"===a||"change"===a)return De(b)}
40319
- var Me={eventTypes:ye,_isInputEventSupported:Fe,extractEvents:function(a,b,c,d){var e=b?Pd(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=Ee;else if(xe(e))if(Fe)g=Le;else {g=Je;var h=Ie;}else (f=e.nodeName)&&"input"===f.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(g=Ke);if(g&&(g=g(a,b)))return ze(g,c,d);h&&h(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Db(e,"number",e.value);}},Ne=G.extend({view:null,detail:null}),
40320
- Oe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pe(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Oe[a])?!!b[a]:!1}function Qe(){return Pe}
40321
- var Re=0,Se=0,Te=!1,Ue=!1,Ve=Ne.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=Re;Re=a.screenX;return Te?"mousemove"===a.type?a.screenX-b:0:(Te=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;
40322
- var b=Se;Se=a.screenY;return Ue?"mousemove"===a.type?a.screenY-b:0:(Ue=!0,0)}}),We=Ve.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xe={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",
40323
- dependencies:["pointerout","pointerover"]}},Ye={eventTypes:Xe,extractEvents:function(a,b,c,d,e){var f="mouseover"===a||"pointerover"===a,g="mouseout"===a||"pointerout"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?tc(b):null,null!==b){var h=dc(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null;}}else g=null;if(g===b)return null;if("mouseout"===a||"mouseover"===
40324
- a){var k=Ve;var l=Xe.mouseLeave;var m=Xe.mouseEnter;var p="mouse";}else if("pointerout"===a||"pointerover"===a)k=We,l=Xe.pointerLeave,m=Xe.pointerEnter,p="pointer";a=null==g?f:Pd(g);f=null==b?f:Pd(b);l=k.getPooled(l,g,c,d);l.type=p+"leave";l.target=a;l.relatedTarget=f;c=k.getPooled(m,b,c,d);c.type=p+"enter";c.target=f;c.relatedTarget=a;d=g;p=b;if(d&&p)a:{k=d;m=p;g=0;for(a=k;a;a=Rd(a))g++;a=0;for(b=m;b;b=Rd(b))a++;for(;0<g-a;)k=Rd(k),g--;for(;0<a-g;)m=Rd(m),a--;for(;g--;){if(k===m||k===m.alternate)break a;
40325
- k=Rd(k);m=Rd(m);}k=null;}else k=null;m=k;for(k=[];d&&d!==m;){g=d.alternate;if(null!==g&&g===m)break;k.push(d);d=Rd(d);}for(d=[];p&&p!==m;){g=p.alternate;if(null!==g&&g===m)break;d.push(p);p=Rd(p);}for(p=0;p<k.length;p++)Vd(k[p],"bubbled",l);for(p=d.length;0<p--;)Vd(d[p],"captured",c);return 0===(e&64)?[l]:[l,c]}};function Ze(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $e="function"===typeof Object.is?Object.is:Ze,af=Object.prototype.hasOwnProperty;
40326
- function bf(a,b){if($e(a,b))return !0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return !1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return !1;for(d=0;d<c.length;d++)if(!af.call(b,c[d])||!$e(a[c[d]],b[c[d]]))return !1;return !0}
40327
- var cf=ya&&"documentMode"in document&&11>=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ef=null,ff=null,gf=null,hf=!1;
40328
- function jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;"selectionStart"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type="select",a.target=ef,Xd(a),a)}
40329
- var kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc$1(e);f=wa.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0;}f=!e;}if(f)return null;e=b?Pd(b):window;switch(a){case "focus":if(xe(e)||"true"===e.contentEditable)ef=e,ff=b,gf=null;break;case "blur":gf=ff=ef=null;break;case "mousedown":hf=!0;break;case "contextmenu":case "mouseup":case "dragend":return hf=!1,jf(c,d);case "selectionchange":if(cf)break;
40330
- case "keydown":case "keyup":return jf(c,d)}return null}},lf=G.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mf=G.extend({clipboardData:function(a){return "clipboardData"in a?a.clipboardData:window.clipboardData}}),nf=Ne.extend({relatedTarget:null});function of(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}
40331
- var pf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
40332
- 116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rf=Ne.extend({key:function(a){if(a.key){var b=pf[a.key]||a.key;if("Unidentified"!==b)return b}return "keypress"===a.type?(a=of(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?qf[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(a){return "keypress"===
40333
- a.type?of(a):0},keyCode:function(a){return "keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return "keypress"===a.type?of(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),sf=Ve.extend({dataTransfer:null}),tf=Ne.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),uf=G.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vf=Ve.extend({deltaX:function(a){return "deltaX"in a?a.deltaX:"wheelDeltaX"in
40334
- a?-a.wheelDeltaX:0},deltaY:function(a){return "deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),wf={eventTypes:Wc,extractEvents:function(a,b,c,d){var e=Yc.get(a);if(!e)return null;switch(a){case "keypress":if(0===of(c))return null;case "keydown":case "keyup":a=rf;break;case "blur":case "focus":a=nf;break;case "click":if(2===c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=
40335
- Ve;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=sf;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=tf;break;case Xb:case Yb:case Zb:a=lf;break;case $b:a=uf;break;case "scroll":a=Ne;break;case "wheel":a=vf;break;case "copy":case "cut":case "paste":a=mf;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=
40336
- We;break;default:a=G;}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(pa)throw Error(u(101));pa=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));ra();var xf=Nc;la=Qd;ma=xf;na=Pd;xa({SimpleEventPlugin:wf,EnterLeaveEventPlugin:Ye,ChangeEventPlugin:Me,SelectEventPlugin:kf,BeforeInputEventPlugin:ve});var If=scheduler.unstable_runWithPriority,Jf=scheduler.unstable_scheduleCallback,Kf=scheduler.unstable_cancelCallback,Lf=scheduler.unstable_requestPaint,Mf=scheduler.unstable_now,Nf=scheduler.unstable_getCurrentPriorityLevel,Of=scheduler.unstable_ImmediatePriority,Pf=scheduler.unstable_UserBlockingPriority,Qf=scheduler.unstable_NormalPriority,Rf=scheduler.unstable_LowPriority,Sf=scheduler.unstable_IdlePriority,Uf=scheduler.unstable_shouldYield,Zf=Mf();
40337
- var Dg=Wa.ReactCurrentBatchConfig,Eg=(new React__default.Component).refs;var jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig;var Yh=Wa.ReactCurrentOwner;var cj=Wa.ReactCurrentDispatcher,dj=Wa.ReactCurrentOwner;function Mj(a,b){try{return a(b)}finally{}}var Uj=null,Li=null;function Yj(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return !1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return !0;try{var c=b.inject(a);Uj=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64));}catch(e){}};Li=function(a){try{b.onCommitFiberUnmount(c,a);}catch(e){}};}catch(d){}return !0}
40338
- za=function(a,b,c){switch(b){case "input":Cb(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qd(d);if(!e)throw Error(u(90));yb(d);Cb(d,e);}}}break;case "textarea":Kb(a,c);break;case "select":b=c.value,null!=b&&Hb(a,!!c.multiple,b,!1);}};Fa=Mj;
40339
- Ha=function(){};(function(a){var b=a.findFiberByHostInstance;return Yj(objectAssign({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wa.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=hc(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:tc,bundleType:0,version:"16.14.0",
40340
- rendererPackageName:"react-dom"});
40341
-
40342
39262
  var AutopayModal = function AutopayModal(_ref) {
40343
39263
  var autoPayActive = _ref.autoPayActive,
40344
39264
  autoPaySchedule = _ref.autoPaySchedule,
@@ -40352,11 +39272,14 @@ var AutopayModal = function AutopayModal(_ref) {
40352
39272
  isMobile = _ref.isMobile,
40353
39273
  themeValues = _ref.themeValues,
40354
39274
  isPaymentPlan = _ref.isPaymentPlan,
40355
- nextAutopayDate = _ref.nextAutopayDate;
39275
+ nextAutopayDate = _ref.nextAutopayDate,
39276
+ dueDate = _ref.dueDate,
39277
+ inactive = _ref.inactive;
40356
39278
  var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
39279
+ var nextDate = dueDate || nextAutopayDate;
40357
39280
  var modalExtraProps = {
40358
39281
  modalHeaderText: autoPayActive ? "Deactivate ".concat(planType) : "Set Up ".concat(planType),
40359
- modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "? You will need to manually make your next payment.") : "To set up ".concat(isPaymentPlan ? "a payment plan" : "autopay", " you must save a payment method and address in your profile. Do you want to save these now?"),
39282
+ modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : "To set up ".concat(isPaymentPlan ? "a payment plan" : "autopay", " you must save a payment method and address in your profile. Do you want to save these now?"),
40360
39283
  continueButtonText: autoPayActive ? "Disable ".concat(planType) : "Add to Profile",
40361
39284
  useDangerButton: autoPayActive,
40362
39285
  continueAction: autoPayActive ? function () {
@@ -40379,7 +39302,7 @@ var AutopayModal = function AutopayModal(_ref) {
40379
39302
  toggleModal(true);
40380
39303
  },
40381
39304
  dataQa: "Turn off Autopay",
40382
- extraStyles: isMobile ? "flex-grow: 1; width: 100%;" : "flex-grow: 1; min-width: 165px;"
39305
+ extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
40383
39306
  });
40384
39307
  }
40385
39308
 
@@ -40497,7 +39420,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
40497
39420
  paymentPlanSchedule = _ref.paymentPlanSchedule,
40498
39421
  isPaymentPlan = _ref.isPaymentPlan,
40499
39422
  nextAutopayDate = _ref.nextAutopayDate,
40500
- obligationAssocID = _ref.obligationAssocID;
39423
+ obligationAssocID = _ref.obligationAssocID,
39424
+ dueDate = _ref.dueDate;
40501
39425
  var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
40502
39426
 
40503
39427
  var _useState = React.useState(false),
@@ -40592,7 +39516,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
40592
39516
  isMobile: isMobile,
40593
39517
  paymentPlanSchedule: paymentPlanSchedule,
40594
39518
  isPaymentPlan: isPaymentPlan,
40595
- nextAutopayDate: nextAutopayDate
39519
+ nextAutopayDate: nextAutopayDate,
39520
+ dueDate: dueDate
40596
39521
  })), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
40597
39522
  padding: "0"
40598
39523
  }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
@@ -40618,6 +39543,57 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
40618
39543
  }))));
40619
39544
  };
40620
39545
 
39546
+ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
39547
+ var agencyName = _ref.agencyName,
39548
+ _ref$obligations = _ref.obligations,
39549
+ obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
39550
+ removeAccount = _ref.removeAccount,
39551
+ accountType = _ref.accountType,
39552
+ isMobile = _ref.isMobile;
39553
+
39554
+ var _useState = React.useState(false),
39555
+ _useState2 = _slicedToArray(_useState, 2),
39556
+ modalIsOpen = _useState2[0],
39557
+ setModalIsOpen = _useState2[1];
39558
+
39559
+ var lastItem = _toConsumableArray(obligations).pop();
39560
+
39561
+ var accounts = obligations.length ? obligations.reduce(function (acc, curr) {
39562
+ var account = curr.details.description;
39563
+ var formattedAccount = curr !== lastItem ? "".concat(account, " and ") : "".concat(account);
39564
+ return formattedAccount === agencyName ? agencyName : acc + formattedAccount;
39565
+ }, "".concat(agencyName, " - ")) : "";
39566
+ var identifier = accountType === "Account" && obligations.length > 1 ? "accounts" : accountType === "Property" && obligations.length > 1 ? "properties" : accountType.toLowerCase();
39567
+ return /*#__PURE__*/React__default.createElement(Modal$1, {
39568
+ showModal: function showModal() {
39569
+ return setModalIsOpen(true);
39570
+ },
39571
+ hideModal: function hideModal() {
39572
+ return setModalIsOpen(false);
39573
+ },
39574
+ modalOpen: modalIsOpen,
39575
+ modalHeaderText: "Remove ".concat(accountType),
39576
+ modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, " from your profile? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
39577
+ continueButtonText: "Remove",
39578
+ continueAction: function continueAction() {
39579
+ removeAccount();
39580
+ setModalIsOpen(false);
39581
+ },
39582
+ useDangerButton: true
39583
+ }, /*#__PURE__*/React__default.createElement(Box, {
39584
+ padding: "0",
39585
+ extraStyles: "flex-grow: 1;"
39586
+ }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
39587
+ text: "Remove",
39588
+ variant: "secondary",
39589
+ action: function action() {
39590
+ return setModalIsOpen(true);
39591
+ },
39592
+ dataQa: "Remove Account",
39593
+ extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
39594
+ })));
39595
+ };
39596
+
40621
39597
  var InactiveControlsModule = function InactiveControlsModule(_ref) {
40622
39598
  var autoPayEnabled = _ref.autoPayEnabled,
40623
39599
  autoPaySchedule = _ref.autoPaySchedule,
@@ -40628,17 +39604,21 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
40628
39604
  isPaymentPlan = _ref.isPaymentPlan,
40629
39605
  nextAutopayDate = _ref.nextAutopayDate,
40630
39606
  obligationAssocID = _ref.obligationAssocID,
39607
+ dueDate = _ref.dueDate,
39608
+ agencyName = _ref.agencyName,
39609
+ configType = _ref.configType,
40631
39610
  actions = _ref.actions;
39611
+ console.log("actions are", actions);
40632
39612
 
40633
39613
  var _useState = React.useState(false),
40634
39614
  _useState2 = _slicedToArray(_useState, 2),
40635
39615
  modalOpen = _useState2[0],
40636
39616
  toggleModal = _useState2[1];
40637
39617
 
40638
- var removeAccount = actions.removeAccount;
39618
+ var deleteObligationAssoc = actions.deleteObligationAssoc;
40639
39619
 
40640
39620
  var handleRemoveAccount = function handleRemoveAccount() {
40641
- return removeAccount(obligationAssocID);
39621
+ return deleteObligationAssoc(obligationAssocID);
40642
39622
  };
40643
39623
 
40644
39624
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -40647,7 +39627,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
40647
39627
  borderWidthOverride: isMobile ? "1px 0 0 0" : "0px"
40648
39628
  }, /*#__PURE__*/React__default.createElement(Cluster, {
40649
39629
  childGap: autoPayEnabled ? "8px" : "0",
40650
- nowrap: true
39630
+ nowrap: true,
39631
+ justify: isMobile && autoPayEnabled && "center",
39632
+ align: isMobile && autoPayEnabled && "center"
40651
39633
  }, autoPayEnabled && /*#__PURE__*/React__default.createElement(Box, {
40652
39634
  padding: "0",
40653
39635
  extraStyles: "flex-grow: 1;"
@@ -40663,16 +39645,17 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
40663
39645
  isPaymentPlan: isPaymentPlan,
40664
39646
  nextAutopayDate: nextAutopayDate,
40665
39647
  obligationAssocID: obligationAssocID,
40666
- controlType: "secondary"
39648
+ dueDate: dueDate,
39649
+ controlType: "secondary",
39650
+ inactive: true
40667
39651
  })), /*#__PURE__*/React__default.createElement(Box, {
40668
39652
  padding: "0",
40669
39653
  extraStyles: "flex-grow: 1;"
40670
- }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
40671
- variant: "secondary",
40672
- text: "Remove",
40673
- action: handleRemoveAccount,
40674
- dataQa: "Remove Account",
40675
- extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
39654
+ }, /*#__PURE__*/React__default.createElement(RemoveAccountModalModule, {
39655
+ agencyName: agencyName,
39656
+ removeAccount: handleRemoveAccount,
39657
+ accountType: configType === "ACCOUNT" ? "Account" : "Property",
39658
+ isMobile: isMobile
40676
39659
  }))));
40677
39660
  };
40678
39661
 
@@ -40702,7 +39685,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
40702
39685
  variant: "extraSmall",
40703
39686
  as: "p",
40704
39687
  color: BLACK
40705
- }, "This may mean that the account has been paid off or there was an error loading it. If you have questions about this account, please contact us.".concat(autoPayEnabled ? " You may disable Autopay for this account by pressing the Turn off Autopay button." : ""))));
39688
+ }, "This may mean that the balance has been paid, or there was an error loading it.".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
40706
39689
  };
40707
39690
 
40708
39691
  var Obligation = function Obligation(_ref) {
@@ -40722,6 +39705,8 @@ var Obligation = function Obligation(_ref) {
40722
39705
  isPaymentPlan = _ref.isPaymentPlan,
40723
39706
  nextAutopayDate = _ref.nextAutopayDate,
40724
39707
  obligationAssocID = _ref.obligationAssocID,
39708
+ dueDate = _ref.dueDate,
39709
+ agencyName = _ref.agencyName,
40725
39710
  _ref$inactive = _ref.inactive,
40726
39711
  inactive = _ref$inactive === void 0 ? false : _ref$inactive,
40727
39712
  _ref$inactiveLookupTi = _ref.inactiveLookupTitle,
@@ -40752,7 +39737,7 @@ var Obligation = function Obligation(_ref) {
40752
39737
  borderWidthOverride: "1px 0 0 0"
40753
39738
  }, /*#__PURE__*/React__default.createElement(Box, {
40754
39739
  background: WHITE,
40755
- padding: "24px 16px"
39740
+ padding: isMobile ? "16px" : "24px 16px"
40756
39741
  }, /*#__PURE__*/React__default.createElement(Stack, {
40757
39742
  childGap: "14px"
40758
39743
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -40831,7 +39816,7 @@ var Obligation = function Obligation(_ref) {
40831
39816
  "aria-label": "".concat(inactiveLookupTitle, " ").concat(inactiveLookupInput, ": ").concat(inactiveLookupValue)
40832
39817
  }, /*#__PURE__*/React__default.createElement(Box, {
40833
39818
  background: ATHENS_GREY,
40834
- padding: "24px"
39819
+ padding: isMobile ? "16px" : "24px"
40835
39820
  }, /*#__PURE__*/React__default.createElement(Stack, {
40836
39821
  childGap: "14px"
40837
39822
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -40871,7 +39856,10 @@ var Obligation = function Obligation(_ref) {
40871
39856
  actions: actions,
40872
39857
  isMobile: isMobile,
40873
39858
  nextAutopayDate: nextAutopayDate,
40874
- obligationAssocID: obligationAssocID
39859
+ obligationAssocID: obligationAssocID,
39860
+ dueDate: dueDate,
39861
+ agencyName: agencyName,
39862
+ configType: config.type
40875
39863
  }))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
40876
39864
  obligations: obligations,
40877
39865
  autoPayEnabled: autoPayEnabled,
@@ -40882,7 +39870,10 @@ var Obligation = function Obligation(_ref) {
40882
39870
  actions: actions,
40883
39871
  isMobile: isMobile,
40884
39872
  nextAutopayDate: nextAutopayDate,
40885
- obligationAssocID: obligationAssocID
39873
+ obligationAssocID: obligationAssocID,
39874
+ dueDate: dueDate,
39875
+ agencyName: agencyName,
39876
+ configType: config.type
40886
39877
  }))));
40887
39878
  return inactive ? inactiveObligation : activeObligation;
40888
39879
  };
@@ -42478,7 +41469,7 @@ var TabSidebar = function TabSidebar(_ref) {
42478
41469
  themeValues = _ref.themeValues;
42479
41470
  return /*#__PURE__*/React__default.createElement(Box, {
42480
41471
  padding: "0",
42481
- background: ATHENS_GREY,
41472
+ background: COOL_GREY_05,
42482
41473
  minHeight: "100%",
42483
41474
  role: "region",
42484
41475
  "aria-label": "Profile tabs",