@thecb/components 5.8.1-beta.0 → 5.8.1-beta.3

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.esm.js CHANGED
@@ -39247,6 +39247,1086 @@ var fallbackValues$z = {
39247
39247
  modalLinkHoverFocus: modalLinkHoverFocus
39248
39248
  };
39249
39249
 
39250
+ /*
39251
+ object-assign
39252
+ (c) Sindre Sorhus
39253
+ @license MIT
39254
+ */
39255
+ /* eslint-disable no-unused-vars */
39256
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
39257
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
39258
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
39259
+
39260
+ function toObject(val) {
39261
+ if (val === null || val === undefined) {
39262
+ throw new TypeError('Object.assign cannot be called with null or undefined');
39263
+ }
39264
+
39265
+ return Object(val);
39266
+ }
39267
+
39268
+ function shouldUseNative() {
39269
+ try {
39270
+ if (!Object.assign) {
39271
+ return false;
39272
+ }
39273
+
39274
+ // Detect buggy property enumeration order in older V8 versions.
39275
+
39276
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
39277
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
39278
+ test1[5] = 'de';
39279
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
39280
+ return false;
39281
+ }
39282
+
39283
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
39284
+ var test2 = {};
39285
+ for (var i = 0; i < 10; i++) {
39286
+ test2['_' + String.fromCharCode(i)] = i;
39287
+ }
39288
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
39289
+ return test2[n];
39290
+ });
39291
+ if (order2.join('') !== '0123456789') {
39292
+ return false;
39293
+ }
39294
+
39295
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
39296
+ var test3 = {};
39297
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
39298
+ test3[letter] = letter;
39299
+ });
39300
+ if (Object.keys(Object.assign({}, test3)).join('') !==
39301
+ 'abcdefghijklmnopqrst') {
39302
+ return false;
39303
+ }
39304
+
39305
+ return true;
39306
+ } catch (err) {
39307
+ // We don't expect any of the above to throw, but better to be safe.
39308
+ return false;
39309
+ }
39310
+ }
39311
+
39312
+ var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
39313
+ var from;
39314
+ var to = toObject(target);
39315
+ var symbols;
39316
+
39317
+ for (var s = 1; s < arguments.length; s++) {
39318
+ from = Object(arguments[s]);
39319
+
39320
+ for (var key in from) {
39321
+ if (hasOwnProperty$1.call(from, key)) {
39322
+ to[key] = from[key];
39323
+ }
39324
+ }
39325
+
39326
+ if (getOwnPropertySymbols) {
39327
+ symbols = getOwnPropertySymbols(from);
39328
+ for (var i = 0; i < symbols.length; i++) {
39329
+ if (propIsEnumerable.call(from, symbols[i])) {
39330
+ to[symbols[i]] = from[symbols[i]];
39331
+ }
39332
+ }
39333
+ }
39334
+ }
39335
+
39336
+ return to;
39337
+ };
39338
+
39339
+ var scheduler_production_min = createCommonjsModule(function (module, exports) {
39340
+ var f,g,h,k,l;
39341
+ 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,
39342
+ 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"===
39343
+ 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=
39344
+ 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}
39345
+ 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;
39346
+ 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);}}
39347
+ 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;}}
39348
+ 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));};
39349
+ 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;}};
39350
+ 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};
39351
+ 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;}}};
39352
+ });
39353
+ var scheduler_production_min_1 = scheduler_production_min.unstable_now;
39354
+ var scheduler_production_min_2 = scheduler_production_min.unstable_forceFrameRate;
39355
+ var scheduler_production_min_3 = scheduler_production_min.unstable_IdlePriority;
39356
+ var scheduler_production_min_4 = scheduler_production_min.unstable_ImmediatePriority;
39357
+ var scheduler_production_min_5 = scheduler_production_min.unstable_LowPriority;
39358
+ var scheduler_production_min_6 = scheduler_production_min.unstable_NormalPriority;
39359
+ var scheduler_production_min_7 = scheduler_production_min.unstable_Profiling;
39360
+ var scheduler_production_min_8 = scheduler_production_min.unstable_UserBlockingPriority;
39361
+ var scheduler_production_min_9 = scheduler_production_min.unstable_cancelCallback;
39362
+ var scheduler_production_min_10 = scheduler_production_min.unstable_continueExecution;
39363
+ var scheduler_production_min_11 = scheduler_production_min.unstable_getCurrentPriorityLevel;
39364
+ var scheduler_production_min_12 = scheduler_production_min.unstable_getFirstCallbackNode;
39365
+ var scheduler_production_min_13 = scheduler_production_min.unstable_next;
39366
+ var scheduler_production_min_14 = scheduler_production_min.unstable_pauseExecution;
39367
+ var scheduler_production_min_15 = scheduler_production_min.unstable_requestPaint;
39368
+ var scheduler_production_min_16 = scheduler_production_min.unstable_runWithPriority;
39369
+ var scheduler_production_min_17 = scheduler_production_min.unstable_scheduleCallback;
39370
+ var scheduler_production_min_18 = scheduler_production_min.unstable_shouldYield;
39371
+ var scheduler_production_min_19 = scheduler_production_min.unstable_wrapCallback;
39372
+
39373
+ var scheduler_development = createCommonjsModule(function (module, exports) {
39374
+
39375
+
39376
+
39377
+ if (process.env.NODE_ENV !== "production") {
39378
+ (function() {
39379
+
39380
+ var enableSchedulerDebugging = false;
39381
+ var enableProfiling = true;
39382
+
39383
+ var requestHostCallback;
39384
+ var requestHostTimeout;
39385
+ var cancelHostTimeout;
39386
+ var shouldYieldToHost;
39387
+ var requestPaint;
39388
+
39389
+ if ( // If Scheduler runs in a non-DOM environment, it falls back to a naive
39390
+ // implementation using setTimeout.
39391
+ typeof window === 'undefined' || // Check if MessageChannel is supported, too.
39392
+ typeof MessageChannel !== 'function') {
39393
+ // If this accidentally gets imported in a non-browser environment, e.g. JavaScriptCore,
39394
+ // fallback to a naive implementation.
39395
+ var _callback = null;
39396
+ var _timeoutID = null;
39397
+
39398
+ var _flushCallback = function () {
39399
+ if (_callback !== null) {
39400
+ try {
39401
+ var currentTime = exports.unstable_now();
39402
+ var hasRemainingTime = true;
39403
+
39404
+ _callback(hasRemainingTime, currentTime);
39405
+
39406
+ _callback = null;
39407
+ } catch (e) {
39408
+ setTimeout(_flushCallback, 0);
39409
+ throw e;
39410
+ }
39411
+ }
39412
+ };
39413
+
39414
+ var initialTime = Date.now();
39415
+
39416
+ exports.unstable_now = function () {
39417
+ return Date.now() - initialTime;
39418
+ };
39419
+
39420
+ requestHostCallback = function (cb) {
39421
+ if (_callback !== null) {
39422
+ // Protect against re-entrancy.
39423
+ setTimeout(requestHostCallback, 0, cb);
39424
+ } else {
39425
+ _callback = cb;
39426
+ setTimeout(_flushCallback, 0);
39427
+ }
39428
+ };
39429
+
39430
+ requestHostTimeout = function (cb, ms) {
39431
+ _timeoutID = setTimeout(cb, ms);
39432
+ };
39433
+
39434
+ cancelHostTimeout = function () {
39435
+ clearTimeout(_timeoutID);
39436
+ };
39437
+
39438
+ shouldYieldToHost = function () {
39439
+ return false;
39440
+ };
39441
+
39442
+ requestPaint = exports.unstable_forceFrameRate = function () {};
39443
+ } else {
39444
+ // Capture local references to native APIs, in case a polyfill overrides them.
39445
+ var performance = window.performance;
39446
+ var _Date = window.Date;
39447
+ var _setTimeout = window.setTimeout;
39448
+ var _clearTimeout = window.clearTimeout;
39449
+
39450
+ if (typeof console !== 'undefined') {
39451
+ // TODO: Scheduler no longer requires these methods to be polyfilled. But
39452
+ // maybe we want to continue warning if they don't exist, to preserve the
39453
+ // option to rely on it in the future?
39454
+ var requestAnimationFrame = window.requestAnimationFrame;
39455
+ var cancelAnimationFrame = window.cancelAnimationFrame; // TODO: Remove fb.me link
39456
+
39457
+ if (typeof requestAnimationFrame !== 'function') {
39458
+ // Using console['error'] to evade Babel and ESLint
39459
+ console['error']("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
39460
+ }
39461
+
39462
+ if (typeof cancelAnimationFrame !== 'function') {
39463
+ // Using console['error'] to evade Babel and ESLint
39464
+ console['error']("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
39465
+ }
39466
+ }
39467
+
39468
+ if (typeof performance === 'object' && typeof performance.now === 'function') {
39469
+ exports.unstable_now = function () {
39470
+ return performance.now();
39471
+ };
39472
+ } else {
39473
+ var _initialTime = _Date.now();
39474
+
39475
+ exports.unstable_now = function () {
39476
+ return _Date.now() - _initialTime;
39477
+ };
39478
+ }
39479
+
39480
+ var isMessageLoopRunning = false;
39481
+ var scheduledHostCallback = null;
39482
+ var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
39483
+ // thread, like user events. By default, it yields multiple times per frame.
39484
+ // It does not attempt to align with frame boundaries, since most tasks don't
39485
+ // need to be frame aligned; for those that do, use requestAnimationFrame.
39486
+
39487
+ var yieldInterval = 5;
39488
+ var deadline = 0; // TODO: Make this configurable
39489
+
39490
+ {
39491
+ // `isInputPending` is not available. Since we have no way of knowing if
39492
+ // there's pending input, always yield at the end of the frame.
39493
+ shouldYieldToHost = function () {
39494
+ return exports.unstable_now() >= deadline;
39495
+ }; // Since we yield every frame regardless, `requestPaint` has no effect.
39496
+
39497
+
39498
+ requestPaint = function () {};
39499
+ }
39500
+
39501
+ exports.unstable_forceFrameRate = function (fps) {
39502
+ if (fps < 0 || fps > 125) {
39503
+ // Using console['error'] to evade Babel and ESLint
39504
+ console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
39505
+ return;
39506
+ }
39507
+
39508
+ if (fps > 0) {
39509
+ yieldInterval = Math.floor(1000 / fps);
39510
+ } else {
39511
+ // reset the framerate
39512
+ yieldInterval = 5;
39513
+ }
39514
+ };
39515
+
39516
+ var performWorkUntilDeadline = function () {
39517
+ if (scheduledHostCallback !== null) {
39518
+ var currentTime = exports.unstable_now(); // Yield after `yieldInterval` ms, regardless of where we are in the vsync
39519
+ // cycle. This means there's always time remaining at the beginning of
39520
+ // the message event.
39521
+
39522
+ deadline = currentTime + yieldInterval;
39523
+ var hasTimeRemaining = true;
39524
+
39525
+ try {
39526
+ var hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
39527
+
39528
+ if (!hasMoreWork) {
39529
+ isMessageLoopRunning = false;
39530
+ scheduledHostCallback = null;
39531
+ } else {
39532
+ // If there's more work, schedule the next message event at the end
39533
+ // of the preceding one.
39534
+ port.postMessage(null);
39535
+ }
39536
+ } catch (error) {
39537
+ // If a scheduler task throws, exit the current browser task so the
39538
+ // error can be observed.
39539
+ port.postMessage(null);
39540
+ throw error;
39541
+ }
39542
+ } else {
39543
+ isMessageLoopRunning = false;
39544
+ } // Yielding to the browser will give it a chance to paint, so we can
39545
+ };
39546
+
39547
+ var channel = new MessageChannel();
39548
+ var port = channel.port2;
39549
+ channel.port1.onmessage = performWorkUntilDeadline;
39550
+
39551
+ requestHostCallback = function (callback) {
39552
+ scheduledHostCallback = callback;
39553
+
39554
+ if (!isMessageLoopRunning) {
39555
+ isMessageLoopRunning = true;
39556
+ port.postMessage(null);
39557
+ }
39558
+ };
39559
+
39560
+ requestHostTimeout = function (callback, ms) {
39561
+ taskTimeoutID = _setTimeout(function () {
39562
+ callback(exports.unstable_now());
39563
+ }, ms);
39564
+ };
39565
+
39566
+ cancelHostTimeout = function () {
39567
+ _clearTimeout(taskTimeoutID);
39568
+
39569
+ taskTimeoutID = -1;
39570
+ };
39571
+ }
39572
+
39573
+ function push(heap, node) {
39574
+ var index = heap.length;
39575
+ heap.push(node);
39576
+ siftUp(heap, node, index);
39577
+ }
39578
+ function peek(heap) {
39579
+ var first = heap[0];
39580
+ return first === undefined ? null : first;
39581
+ }
39582
+ function pop(heap) {
39583
+ var first = heap[0];
39584
+
39585
+ if (first !== undefined) {
39586
+ var last = heap.pop();
39587
+
39588
+ if (last !== first) {
39589
+ heap[0] = last;
39590
+ siftDown(heap, last, 0);
39591
+ }
39592
+
39593
+ return first;
39594
+ } else {
39595
+ return null;
39596
+ }
39597
+ }
39598
+
39599
+ function siftUp(heap, node, i) {
39600
+ var index = i;
39601
+
39602
+ while (true) {
39603
+ var parentIndex = index - 1 >>> 1;
39604
+ var parent = heap[parentIndex];
39605
+
39606
+ if (parent !== undefined && compare(parent, node) > 0) {
39607
+ // The parent is larger. Swap positions.
39608
+ heap[parentIndex] = node;
39609
+ heap[index] = parent;
39610
+ index = parentIndex;
39611
+ } else {
39612
+ // The parent is smaller. Exit.
39613
+ return;
39614
+ }
39615
+ }
39616
+ }
39617
+
39618
+ function siftDown(heap, node, i) {
39619
+ var index = i;
39620
+ var length = heap.length;
39621
+
39622
+ while (index < length) {
39623
+ var leftIndex = (index + 1) * 2 - 1;
39624
+ var left = heap[leftIndex];
39625
+ var rightIndex = leftIndex + 1;
39626
+ var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
39627
+
39628
+ if (left !== undefined && compare(left, node) < 0) {
39629
+ if (right !== undefined && compare(right, left) < 0) {
39630
+ heap[index] = right;
39631
+ heap[rightIndex] = node;
39632
+ index = rightIndex;
39633
+ } else {
39634
+ heap[index] = left;
39635
+ heap[leftIndex] = node;
39636
+ index = leftIndex;
39637
+ }
39638
+ } else if (right !== undefined && compare(right, node) < 0) {
39639
+ heap[index] = right;
39640
+ heap[rightIndex] = node;
39641
+ index = rightIndex;
39642
+ } else {
39643
+ // Neither child is smaller. Exit.
39644
+ return;
39645
+ }
39646
+ }
39647
+ }
39648
+
39649
+ function compare(a, b) {
39650
+ // Compare sort index first, then task id.
39651
+ var diff = a.sortIndex - b.sortIndex;
39652
+ return diff !== 0 ? diff : a.id - b.id;
39653
+ }
39654
+
39655
+ // TODO: Use symbols?
39656
+ var NoPriority = 0;
39657
+ var ImmediatePriority = 1;
39658
+ var UserBlockingPriority = 2;
39659
+ var NormalPriority = 3;
39660
+ var LowPriority = 4;
39661
+ var IdlePriority = 5;
39662
+
39663
+ var runIdCounter = 0;
39664
+ var mainThreadIdCounter = 0;
39665
+ var profilingStateSize = 4;
39666
+ var sharedProfilingBuffer = // $FlowFixMe Flow doesn't know about SharedArrayBuffer
39667
+ typeof SharedArrayBuffer === 'function' ? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : // $FlowFixMe Flow doesn't know about ArrayBuffer
39668
+ typeof ArrayBuffer === 'function' ? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : null // Don't crash the init path on IE9
39669
+ ;
39670
+ var profilingState = sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : []; // We can't read this but it helps save bytes for null checks
39671
+
39672
+ var PRIORITY = 0;
39673
+ var CURRENT_TASK_ID = 1;
39674
+ var CURRENT_RUN_ID = 2;
39675
+ var QUEUE_SIZE = 3;
39676
+
39677
+ {
39678
+ profilingState[PRIORITY] = NoPriority; // This is maintained with a counter, because the size of the priority queue
39679
+ // array might include canceled tasks.
39680
+
39681
+ profilingState[QUEUE_SIZE] = 0;
39682
+ profilingState[CURRENT_TASK_ID] = 0;
39683
+ } // Bytes per element is 4
39684
+
39685
+
39686
+ var INITIAL_EVENT_LOG_SIZE = 131072;
39687
+ var MAX_EVENT_LOG_SIZE = 524288; // Equivalent to 2 megabytes
39688
+
39689
+ var eventLogSize = 0;
39690
+ var eventLogBuffer = null;
39691
+ var eventLog = null;
39692
+ var eventLogIndex = 0;
39693
+ var TaskStartEvent = 1;
39694
+ var TaskCompleteEvent = 2;
39695
+ var TaskErrorEvent = 3;
39696
+ var TaskCancelEvent = 4;
39697
+ var TaskRunEvent = 5;
39698
+ var TaskYieldEvent = 6;
39699
+ var SchedulerSuspendEvent = 7;
39700
+ var SchedulerResumeEvent = 8;
39701
+
39702
+ function logEvent(entries) {
39703
+ if (eventLog !== null) {
39704
+ var offset = eventLogIndex;
39705
+ eventLogIndex += entries.length;
39706
+
39707
+ if (eventLogIndex + 1 > eventLogSize) {
39708
+ eventLogSize *= 2;
39709
+
39710
+ if (eventLogSize > MAX_EVENT_LOG_SIZE) {
39711
+ // Using console['error'] to evade Babel and ESLint
39712
+ console['error']("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
39713
+ stopLoggingProfilingEvents();
39714
+ return;
39715
+ }
39716
+
39717
+ var newEventLog = new Int32Array(eventLogSize * 4);
39718
+ newEventLog.set(eventLog);
39719
+ eventLogBuffer = newEventLog.buffer;
39720
+ eventLog = newEventLog;
39721
+ }
39722
+
39723
+ eventLog.set(entries, offset);
39724
+ }
39725
+ }
39726
+
39727
+ function startLoggingProfilingEvents() {
39728
+ eventLogSize = INITIAL_EVENT_LOG_SIZE;
39729
+ eventLogBuffer = new ArrayBuffer(eventLogSize * 4);
39730
+ eventLog = new Int32Array(eventLogBuffer);
39731
+ eventLogIndex = 0;
39732
+ }
39733
+ function stopLoggingProfilingEvents() {
39734
+ var buffer = eventLogBuffer;
39735
+ eventLogSize = 0;
39736
+ eventLogBuffer = null;
39737
+ eventLog = null;
39738
+ eventLogIndex = 0;
39739
+ return buffer;
39740
+ }
39741
+ function markTaskStart(task, ms) {
39742
+ {
39743
+ profilingState[QUEUE_SIZE]++;
39744
+
39745
+ if (eventLog !== null) {
39746
+ // performance.now returns a float, representing milliseconds. When the
39747
+ // event is logged, it's coerced to an int. Convert to microseconds to
39748
+ // maintain extra degrees of precision.
39749
+ logEvent([TaskStartEvent, ms * 1000, task.id, task.priorityLevel]);
39750
+ }
39751
+ }
39752
+ }
39753
+ function markTaskCompleted(task, ms) {
39754
+ {
39755
+ profilingState[PRIORITY] = NoPriority;
39756
+ profilingState[CURRENT_TASK_ID] = 0;
39757
+ profilingState[QUEUE_SIZE]--;
39758
+
39759
+ if (eventLog !== null) {
39760
+ logEvent([TaskCompleteEvent, ms * 1000, task.id]);
39761
+ }
39762
+ }
39763
+ }
39764
+ function markTaskCanceled(task, ms) {
39765
+ {
39766
+ profilingState[QUEUE_SIZE]--;
39767
+
39768
+ if (eventLog !== null) {
39769
+ logEvent([TaskCancelEvent, ms * 1000, task.id]);
39770
+ }
39771
+ }
39772
+ }
39773
+ function markTaskErrored(task, ms) {
39774
+ {
39775
+ profilingState[PRIORITY] = NoPriority;
39776
+ profilingState[CURRENT_TASK_ID] = 0;
39777
+ profilingState[QUEUE_SIZE]--;
39778
+
39779
+ if (eventLog !== null) {
39780
+ logEvent([TaskErrorEvent, ms * 1000, task.id]);
39781
+ }
39782
+ }
39783
+ }
39784
+ function markTaskRun(task, ms) {
39785
+ {
39786
+ runIdCounter++;
39787
+ profilingState[PRIORITY] = task.priorityLevel;
39788
+ profilingState[CURRENT_TASK_ID] = task.id;
39789
+ profilingState[CURRENT_RUN_ID] = runIdCounter;
39790
+
39791
+ if (eventLog !== null) {
39792
+ logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
39793
+ }
39794
+ }
39795
+ }
39796
+ function markTaskYield(task, ms) {
39797
+ {
39798
+ profilingState[PRIORITY] = NoPriority;
39799
+ profilingState[CURRENT_TASK_ID] = 0;
39800
+ profilingState[CURRENT_RUN_ID] = 0;
39801
+
39802
+ if (eventLog !== null) {
39803
+ logEvent([TaskYieldEvent, ms * 1000, task.id, runIdCounter]);
39804
+ }
39805
+ }
39806
+ }
39807
+ function markSchedulerSuspended(ms) {
39808
+ {
39809
+ mainThreadIdCounter++;
39810
+
39811
+ if (eventLog !== null) {
39812
+ logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
39813
+ }
39814
+ }
39815
+ }
39816
+ function markSchedulerUnsuspended(ms) {
39817
+ {
39818
+ if (eventLog !== null) {
39819
+ logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
39820
+ }
39821
+ }
39822
+ }
39823
+
39824
+ /* eslint-disable no-var */
39825
+ // Math.pow(2, 30) - 1
39826
+ // 0b111111111111111111111111111111
39827
+
39828
+ var maxSigned31BitInt = 1073741823; // Times out immediately
39829
+
39830
+ var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
39831
+
39832
+ var USER_BLOCKING_PRIORITY = 250;
39833
+ var NORMAL_PRIORITY_TIMEOUT = 5000;
39834
+ var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
39835
+
39836
+ var IDLE_PRIORITY = maxSigned31BitInt; // Tasks are stored on a min heap
39837
+
39838
+ var taskQueue = [];
39839
+ var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
39840
+
39841
+ var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
39842
+ var currentTask = null;
39843
+ var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrancy.
39844
+
39845
+ var isPerformingWork = false;
39846
+ var isHostCallbackScheduled = false;
39847
+ var isHostTimeoutScheduled = false;
39848
+
39849
+ function advanceTimers(currentTime) {
39850
+ // Check for tasks that are no longer delayed and add them to the queue.
39851
+ var timer = peek(timerQueue);
39852
+
39853
+ while (timer !== null) {
39854
+ if (timer.callback === null) {
39855
+ // Timer was cancelled.
39856
+ pop(timerQueue);
39857
+ } else if (timer.startTime <= currentTime) {
39858
+ // Timer fired. Transfer to the task queue.
39859
+ pop(timerQueue);
39860
+ timer.sortIndex = timer.expirationTime;
39861
+ push(taskQueue, timer);
39862
+
39863
+ {
39864
+ markTaskStart(timer, currentTime);
39865
+ timer.isQueued = true;
39866
+ }
39867
+ } else {
39868
+ // Remaining timers are pending.
39869
+ return;
39870
+ }
39871
+
39872
+ timer = peek(timerQueue);
39873
+ }
39874
+ }
39875
+
39876
+ function handleTimeout(currentTime) {
39877
+ isHostTimeoutScheduled = false;
39878
+ advanceTimers(currentTime);
39879
+
39880
+ if (!isHostCallbackScheduled) {
39881
+ if (peek(taskQueue) !== null) {
39882
+ isHostCallbackScheduled = true;
39883
+ requestHostCallback(flushWork);
39884
+ } else {
39885
+ var firstTimer = peek(timerQueue);
39886
+
39887
+ if (firstTimer !== null) {
39888
+ requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
39889
+ }
39890
+ }
39891
+ }
39892
+ }
39893
+
39894
+ function flushWork(hasTimeRemaining, initialTime) {
39895
+ {
39896
+ markSchedulerUnsuspended(initialTime);
39897
+ } // We'll need a host callback the next time work is scheduled.
39898
+
39899
+
39900
+ isHostCallbackScheduled = false;
39901
+
39902
+ if (isHostTimeoutScheduled) {
39903
+ // We scheduled a timeout but it's no longer needed. Cancel it.
39904
+ isHostTimeoutScheduled = false;
39905
+ cancelHostTimeout();
39906
+ }
39907
+
39908
+ isPerformingWork = true;
39909
+ var previousPriorityLevel = currentPriorityLevel;
39910
+
39911
+ try {
39912
+ if (enableProfiling) {
39913
+ try {
39914
+ return workLoop(hasTimeRemaining, initialTime);
39915
+ } catch (error) {
39916
+ if (currentTask !== null) {
39917
+ var currentTime = exports.unstable_now();
39918
+ markTaskErrored(currentTask, currentTime);
39919
+ currentTask.isQueued = false;
39920
+ }
39921
+
39922
+ throw error;
39923
+ }
39924
+ } else {
39925
+ // No catch in prod codepath.
39926
+ return workLoop(hasTimeRemaining, initialTime);
39927
+ }
39928
+ } finally {
39929
+ currentTask = null;
39930
+ currentPriorityLevel = previousPriorityLevel;
39931
+ isPerformingWork = false;
39932
+
39933
+ {
39934
+ var _currentTime = exports.unstable_now();
39935
+
39936
+ markSchedulerSuspended(_currentTime);
39937
+ }
39938
+ }
39939
+ }
39940
+
39941
+ function workLoop(hasTimeRemaining, initialTime) {
39942
+ var currentTime = initialTime;
39943
+ advanceTimers(currentTime);
39944
+ currentTask = peek(taskQueue);
39945
+
39946
+ while (currentTask !== null && !(enableSchedulerDebugging )) {
39947
+ if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
39948
+ // This currentTask hasn't expired, and we've reached the deadline.
39949
+ break;
39950
+ }
39951
+
39952
+ var callback = currentTask.callback;
39953
+
39954
+ if (callback !== null) {
39955
+ currentTask.callback = null;
39956
+ currentPriorityLevel = currentTask.priorityLevel;
39957
+ var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
39958
+ markTaskRun(currentTask, currentTime);
39959
+ var continuationCallback = callback(didUserCallbackTimeout);
39960
+ currentTime = exports.unstable_now();
39961
+
39962
+ if (typeof continuationCallback === 'function') {
39963
+ currentTask.callback = continuationCallback;
39964
+ markTaskYield(currentTask, currentTime);
39965
+ } else {
39966
+ {
39967
+ markTaskCompleted(currentTask, currentTime);
39968
+ currentTask.isQueued = false;
39969
+ }
39970
+
39971
+ if (currentTask === peek(taskQueue)) {
39972
+ pop(taskQueue);
39973
+ }
39974
+ }
39975
+
39976
+ advanceTimers(currentTime);
39977
+ } else {
39978
+ pop(taskQueue);
39979
+ }
39980
+
39981
+ currentTask = peek(taskQueue);
39982
+ } // Return whether there's additional work
39983
+
39984
+
39985
+ if (currentTask !== null) {
39986
+ return true;
39987
+ } else {
39988
+ var firstTimer = peek(timerQueue);
39989
+
39990
+ if (firstTimer !== null) {
39991
+ requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
39992
+ }
39993
+
39994
+ return false;
39995
+ }
39996
+ }
39997
+
39998
+ function unstable_runWithPriority(priorityLevel, eventHandler) {
39999
+ switch (priorityLevel) {
40000
+ case ImmediatePriority:
40001
+ case UserBlockingPriority:
40002
+ case NormalPriority:
40003
+ case LowPriority:
40004
+ case IdlePriority:
40005
+ break;
40006
+
40007
+ default:
40008
+ priorityLevel = NormalPriority;
40009
+ }
40010
+
40011
+ var previousPriorityLevel = currentPriorityLevel;
40012
+ currentPriorityLevel = priorityLevel;
40013
+
40014
+ try {
40015
+ return eventHandler();
40016
+ } finally {
40017
+ currentPriorityLevel = previousPriorityLevel;
40018
+ }
40019
+ }
40020
+
40021
+ function unstable_next(eventHandler) {
40022
+ var priorityLevel;
40023
+
40024
+ switch (currentPriorityLevel) {
40025
+ case ImmediatePriority:
40026
+ case UserBlockingPriority:
40027
+ case NormalPriority:
40028
+ // Shift down to normal priority
40029
+ priorityLevel = NormalPriority;
40030
+ break;
40031
+
40032
+ default:
40033
+ // Anything lower than normal priority should remain at the current level.
40034
+ priorityLevel = currentPriorityLevel;
40035
+ break;
40036
+ }
40037
+
40038
+ var previousPriorityLevel = currentPriorityLevel;
40039
+ currentPriorityLevel = priorityLevel;
40040
+
40041
+ try {
40042
+ return eventHandler();
40043
+ } finally {
40044
+ currentPriorityLevel = previousPriorityLevel;
40045
+ }
40046
+ }
40047
+
40048
+ function unstable_wrapCallback(callback) {
40049
+ var parentPriorityLevel = currentPriorityLevel;
40050
+ return function () {
40051
+ // This is a fork of runWithPriority, inlined for performance.
40052
+ var previousPriorityLevel = currentPriorityLevel;
40053
+ currentPriorityLevel = parentPriorityLevel;
40054
+
40055
+ try {
40056
+ return callback.apply(this, arguments);
40057
+ } finally {
40058
+ currentPriorityLevel = previousPriorityLevel;
40059
+ }
40060
+ };
40061
+ }
40062
+
40063
+ function timeoutForPriorityLevel(priorityLevel) {
40064
+ switch (priorityLevel) {
40065
+ case ImmediatePriority:
40066
+ return IMMEDIATE_PRIORITY_TIMEOUT;
40067
+
40068
+ case UserBlockingPriority:
40069
+ return USER_BLOCKING_PRIORITY;
40070
+
40071
+ case IdlePriority:
40072
+ return IDLE_PRIORITY;
40073
+
40074
+ case LowPriority:
40075
+ return LOW_PRIORITY_TIMEOUT;
40076
+
40077
+ case NormalPriority:
40078
+ default:
40079
+ return NORMAL_PRIORITY_TIMEOUT;
40080
+ }
40081
+ }
40082
+
40083
+ function unstable_scheduleCallback(priorityLevel, callback, options) {
40084
+ var currentTime = exports.unstable_now();
40085
+ var startTime;
40086
+ var timeout;
40087
+
40088
+ if (typeof options === 'object' && options !== null) {
40089
+ var delay = options.delay;
40090
+
40091
+ if (typeof delay === 'number' && delay > 0) {
40092
+ startTime = currentTime + delay;
40093
+ } else {
40094
+ startTime = currentTime;
40095
+ }
40096
+
40097
+ timeout = typeof options.timeout === 'number' ? options.timeout : timeoutForPriorityLevel(priorityLevel);
40098
+ } else {
40099
+ timeout = timeoutForPriorityLevel(priorityLevel);
40100
+ startTime = currentTime;
40101
+ }
40102
+
40103
+ var expirationTime = startTime + timeout;
40104
+ var newTask = {
40105
+ id: taskIdCounter++,
40106
+ callback: callback,
40107
+ priorityLevel: priorityLevel,
40108
+ startTime: startTime,
40109
+ expirationTime: expirationTime,
40110
+ sortIndex: -1
40111
+ };
40112
+
40113
+ {
40114
+ newTask.isQueued = false;
40115
+ }
40116
+
40117
+ if (startTime > currentTime) {
40118
+ // This is a delayed task.
40119
+ newTask.sortIndex = startTime;
40120
+ push(timerQueue, newTask);
40121
+
40122
+ if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
40123
+ // All tasks are delayed, and this is the task with the earliest delay.
40124
+ if (isHostTimeoutScheduled) {
40125
+ // Cancel an existing timeout.
40126
+ cancelHostTimeout();
40127
+ } else {
40128
+ isHostTimeoutScheduled = true;
40129
+ } // Schedule a timeout.
40130
+
40131
+
40132
+ requestHostTimeout(handleTimeout, startTime - currentTime);
40133
+ }
40134
+ } else {
40135
+ newTask.sortIndex = expirationTime;
40136
+ push(taskQueue, newTask);
40137
+
40138
+ {
40139
+ markTaskStart(newTask, currentTime);
40140
+ newTask.isQueued = true;
40141
+ } // Schedule a host callback, if needed. If we're already performing work,
40142
+ // wait until the next time we yield.
40143
+
40144
+
40145
+ if (!isHostCallbackScheduled && !isPerformingWork) {
40146
+ isHostCallbackScheduled = true;
40147
+ requestHostCallback(flushWork);
40148
+ }
40149
+ }
40150
+
40151
+ return newTask;
40152
+ }
40153
+
40154
+ function unstable_pauseExecution() {
40155
+ }
40156
+
40157
+ function unstable_continueExecution() {
40158
+
40159
+ if (!isHostCallbackScheduled && !isPerformingWork) {
40160
+ isHostCallbackScheduled = true;
40161
+ requestHostCallback(flushWork);
40162
+ }
40163
+ }
40164
+
40165
+ function unstable_getFirstCallbackNode() {
40166
+ return peek(taskQueue);
40167
+ }
40168
+
40169
+ function unstable_cancelCallback(task) {
40170
+ {
40171
+ if (task.isQueued) {
40172
+ var currentTime = exports.unstable_now();
40173
+ markTaskCanceled(task, currentTime);
40174
+ task.isQueued = false;
40175
+ }
40176
+ } // Null out the callback to indicate the task has been canceled. (Can't
40177
+ // remove from the queue because you can't remove arbitrary nodes from an
40178
+ // array based heap, only the first one.)
40179
+
40180
+
40181
+ task.callback = null;
40182
+ }
40183
+
40184
+ function unstable_getCurrentPriorityLevel() {
40185
+ return currentPriorityLevel;
40186
+ }
40187
+
40188
+ function unstable_shouldYield() {
40189
+ var currentTime = exports.unstable_now();
40190
+ advanceTimers(currentTime);
40191
+ var firstTask = peek(taskQueue);
40192
+ return firstTask !== currentTask && currentTask !== null && firstTask !== null && firstTask.callback !== null && firstTask.startTime <= currentTime && firstTask.expirationTime < currentTask.expirationTime || shouldYieldToHost();
40193
+ }
40194
+
40195
+ var unstable_requestPaint = requestPaint;
40196
+ var unstable_Profiling = {
40197
+ startLoggingProfilingEvents: startLoggingProfilingEvents,
40198
+ stopLoggingProfilingEvents: stopLoggingProfilingEvents,
40199
+ sharedProfilingBuffer: sharedProfilingBuffer
40200
+ } ;
40201
+
40202
+ exports.unstable_IdlePriority = IdlePriority;
40203
+ exports.unstable_ImmediatePriority = ImmediatePriority;
40204
+ exports.unstable_LowPriority = LowPriority;
40205
+ exports.unstable_NormalPriority = NormalPriority;
40206
+ exports.unstable_Profiling = unstable_Profiling;
40207
+ exports.unstable_UserBlockingPriority = UserBlockingPriority;
40208
+ exports.unstable_cancelCallback = unstable_cancelCallback;
40209
+ exports.unstable_continueExecution = unstable_continueExecution;
40210
+ exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
40211
+ exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
40212
+ exports.unstable_next = unstable_next;
40213
+ exports.unstable_pauseExecution = unstable_pauseExecution;
40214
+ exports.unstable_requestPaint = unstable_requestPaint;
40215
+ exports.unstable_runWithPriority = unstable_runWithPriority;
40216
+ exports.unstable_scheduleCallback = unstable_scheduleCallback;
40217
+ exports.unstable_shouldYield = unstable_shouldYield;
40218
+ exports.unstable_wrapCallback = unstable_wrapCallback;
40219
+ })();
40220
+ }
40221
+ });
40222
+ var scheduler_development_1 = scheduler_development.unstable_now;
40223
+ var scheduler_development_2 = scheduler_development.unstable_forceFrameRate;
40224
+ var scheduler_development_3 = scheduler_development.unstable_IdlePriority;
40225
+ var scheduler_development_4 = scheduler_development.unstable_ImmediatePriority;
40226
+ var scheduler_development_5 = scheduler_development.unstable_LowPriority;
40227
+ var scheduler_development_6 = scheduler_development.unstable_NormalPriority;
40228
+ var scheduler_development_7 = scheduler_development.unstable_Profiling;
40229
+ var scheduler_development_8 = scheduler_development.unstable_UserBlockingPriority;
40230
+ var scheduler_development_9 = scheduler_development.unstable_cancelCallback;
40231
+ var scheduler_development_10 = scheduler_development.unstable_continueExecution;
40232
+ var scheduler_development_11 = scheduler_development.unstable_getCurrentPriorityLevel;
40233
+ var scheduler_development_12 = scheduler_development.unstable_getFirstCallbackNode;
40234
+ var scheduler_development_13 = scheduler_development.unstable_next;
40235
+ var scheduler_development_14 = scheduler_development.unstable_pauseExecution;
40236
+ var scheduler_development_15 = scheduler_development.unstable_requestPaint;
40237
+ var scheduler_development_16 = scheduler_development.unstable_runWithPriority;
40238
+ var scheduler_development_17 = scheduler_development.unstable_scheduleCallback;
40239
+ var scheduler_development_18 = scheduler_development.unstable_shouldYield;
40240
+ var scheduler_development_19 = scheduler_development.unstable_wrapCallback;
40241
+
40242
+ var scheduler = createCommonjsModule(function (module) {
40243
+
40244
+ if (process.env.NODE_ENV === 'production') {
40245
+ module.exports = scheduler_production_min;
40246
+ } else {
40247
+ module.exports = scheduler_development;
40248
+ }
40249
+ });
40250
+
40251
+ 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)throw Error(u(227));
40252
+ 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;
40253
+ 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={};
40254
+ 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));}}}}
40255
+ 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;
40256
+ 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();}
40257
+ 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={};
40258
+ 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}}
40259
+ 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={};
40260
+ "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);});
40261
+ ["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);});
40262
+ ["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()}
40263
+ "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,
40264
+ 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);});
40265
+ 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.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty("ReactCurrentDispatcher")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty("ReactCurrentBatchConfig")||(Wa.ReactCurrentBatchConfig={suspense:null});
40266
+ 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))));}
40267
+ 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)}
40268
+ 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);}
40269
+ 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);}
40270
+ 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);}}
40271
+ 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"};
40272
+ 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);}});
40273
+ 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={};
40274
+ 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}
40275
+ 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}
40276
+ 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));}
40277
+ 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===
40278
+ 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}
40279
+ 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;
40280
+ 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;}}
40281
+ 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",
40282
+ "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;}}
40283
+ 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);
40284
+ 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);
40285
+ 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,
40286
+ 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});
40287
+ 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;
40288
+ 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}
40289
+ function Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}
40290
+ 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,
40291
+ 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);}}
40292
+ 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;
40293
+ 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}
40294
+ 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}
40295
+ 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,
40296
+ 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};
40297
+ 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)}
40298
+ 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);
40299
+ 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",
40300
+ 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;
40301
+ 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}}
40302
+ 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}}
40303
+ 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,
40304
+ 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}
40305
+ 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));
40306
+ 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)}
40307
+ 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}),
40308
+ 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}
40309
+ 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;
40310
+ 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",
40311
+ 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"===
40312
+ 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;
40313
+ 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;
40314
+ 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}
40315
+ 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;
40316
+ 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)}
40317
+ 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;
40318
+ 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}
40319
+ 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",
40320
+ 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"===
40321
+ 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
40322
+ 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=
40323
+ 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=
40324
+ 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();
40325
+ var Dg=Wa.ReactCurrentBatchConfig,Eg=(new React.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}
40326
+ 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;
40327
+ 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",
40328
+ rendererPackageName:"react-dom"});
40329
+
39250
40330
  var AutopayModal = function AutopayModal(_ref) {
39251
40331
  var autoPayActive = _ref.autoPayActive,
39252
40332
  autoPaySchedule = _ref.autoPaySchedule,
@@ -39255,7 +40335,8 @@ var AutopayModal = function AutopayModal(_ref) {
39255
40335
  modalOpen = _ref.modalOpen,
39256
40336
  deactivatePaymentSchedule = _ref.deactivatePaymentSchedule,
39257
40337
  navigateToSettings = _ref.navigateToSettings,
39258
- buttonLinkType = _ref.buttonLinkType,
40338
+ _ref$controlType = _ref.controlType,
40339
+ controlType = _ref$controlType === void 0 ? "tertiary" : _ref$controlType,
39259
40340
  isMobile = _ref.isMobile,
39260
40341
  themeValues = _ref.themeValues,
39261
40342
  isPaymentPlan = _ref.isPaymentPlan,
@@ -39274,6 +40355,71 @@ var AutopayModal = function AutopayModal(_ref) {
39274
40355
  var hoverStyles = "\n &:hover {\n .autopayIcon { fill: ".concat(themeValues.hoverColor, "; text-decoration: underline; cursor: pointer; }\n }");
39275
40356
  var activeStyles = "\n &:active {\n .autopayIcon { fill: ".concat(themeValues.activeColor, "; text-decoration: underline; }\n }");
39276
40357
  var defaultStyles = "\n .autopayIcon { fill: ".concat(themeValues.color, "; text-decoration: underline; }\n ");
40358
+
40359
+ var renderAutoPayControl = function renderAutoPayControl() {
40360
+ switch (controlType) {
40361
+ case "secondary":
40362
+ {
40363
+ return /*#__PURE__*/React.createElement(ButtonWithAction, {
40364
+ text: autoPayActive ? "Turn off ".concat(planType) : "Set Up ".concat(planType),
40365
+ variant: "secondary",
40366
+ action: function action() {
40367
+ toggleModal(true);
40368
+ },
40369
+ dataQa: "Turn off Autopay",
40370
+ extraStyles: isMobile && "flex-grow: 1; width: 100%;"
40371
+ });
40372
+ }
40373
+
40374
+ case "tertiary":
40375
+ {
40376
+ return /*#__PURE__*/React.createElement(ButtonWithAction, {
40377
+ text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
40378
+ variant: "tertiary",
40379
+ action: function action() {
40380
+ toggleModal(true);
40381
+ },
40382
+ dataQa: "Manage Autopay",
40383
+ extraStyles: isMobile && "flex-grow: 1; width: 100%;"
40384
+ });
40385
+ }
40386
+
40387
+ case "link":
40388
+ {
40389
+ /*#__PURE__*/
40390
+ React.createElement(Box, {
40391
+ padding: "0",
40392
+ onClick: function onClick() {
40393
+ toggleModal(true);
40394
+ },
40395
+ hoverStyles: hoverStyles,
40396
+ activeStyles: activeStyles,
40397
+ extraStyles: defaultStyles
40398
+ }, /*#__PURE__*/React.createElement(Cluster, {
40399
+ justify: isMobile ? "flex-start" : "flex-end",
40400
+ align: "center"
40401
+ }, /*#__PURE__*/React.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React.createElement(Text$1, {
40402
+ variant: "pS",
40403
+ onClick: function onClick() {
40404
+ return toggleModal(true);
40405
+ },
40406
+ onKeyPress: function onKeyPress(e) {
40407
+ console.log({
40408
+ e: e
40409
+ });
40410
+ e.key === "Enter" && toggleModal(true);
40411
+ },
40412
+ tabIndex: "0",
40413
+ dataQa: "".concat(planType, " On"),
40414
+ color: SEA_GREEN,
40415
+ weight: themeValues.fontWeight,
40416
+ hoverStyles: themeValues.modalLinkHoverFocus,
40417
+ extraStyles: "padding-left: 0.25rem;"
40418
+ }, "".concat(planType, " ").concat(nextAutopayDate))));
40419
+ }
40420
+ }
40421
+ };
40422
+
39277
40423
  return /*#__PURE__*/React.createElement(Modal$1, _extends({
39278
40424
  showModal: function showModal() {
39279
40425
  return toggleModal(true);
@@ -39282,43 +40428,7 @@ var AutopayModal = function AutopayModal(_ref) {
39282
40428
  return toggleModal(false);
39283
40429
  },
39284
40430
  modalOpen: modalOpen
39285
- }, modalExtraProps), buttonLinkType ? /*#__PURE__*/React.createElement(ButtonWithAction, {
39286
- text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
39287
- variant: "tertiary",
39288
- action: function action() {
39289
- toggleModal(true);
39290
- },
39291
- dataQa: "Manage Autopay",
39292
- extraStyles: isMobile && "flex-grow: 1; width: 100%;"
39293
- }) : /*#__PURE__*/React.createElement(Box, {
39294
- padding: "0",
39295
- onClick: function onClick() {
39296
- toggleModal(true);
39297
- },
39298
- hoverStyles: hoverStyles,
39299
- activeStyles: activeStyles,
39300
- extraStyles: defaultStyles
39301
- }, /*#__PURE__*/React.createElement(Cluster, {
39302
- justify: isMobile ? "flex-start" : "flex-end",
39303
- align: "center"
39304
- }, /*#__PURE__*/React.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React.createElement(Text$1, {
39305
- variant: "pS",
39306
- onClick: function onClick() {
39307
- return toggleModal(true);
39308
- },
39309
- onKeyPress: function onKeyPress(e) {
39310
- console.log({
39311
- e: e
39312
- });
39313
- e.key === "Enter" && toggleModal(true);
39314
- },
39315
- tabIndex: "0",
39316
- dataQa: "".concat(planType, " On"),
39317
- color: SEA_GREEN,
39318
- weight: themeValues.fontWeight,
39319
- hoverStyles: themeValues.modalLinkHoverFocus,
39320
- extraStyles: "padding-left: 0.25rem;"
39321
- }, "".concat(planType, " ").concat(nextAutopayDate)))));
40431
+ }, modalExtraProps), renderAutoPayControl());
39322
40432
  };
39323
40433
 
39324
40434
  var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$z);
@@ -39360,7 +40470,8 @@ var AmountModule = function AmountModule(_ref) {
39360
40470
  isMobile: isMobile,
39361
40471
  paymentPlanSchedule: paymentPlanSchedule,
39362
40472
  isPaymentPlan: isPaymentPlan,
39363
- nextAutopayDate: nextAutopayDate
40473
+ nextAutopayDate: nextAutopayDate,
40474
+ controlType: "link"
39364
40475
  })));
39365
40476
  };
39366
40477
 
@@ -39468,7 +40579,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
39468
40579
  modalOpen: modalOpen,
39469
40580
  navigateToSettings: navigateToSettings,
39470
40581
  deactivatePaymentSchedule: deactivatePaymentSchedule,
39471
- buttonLinkType: true,
40582
+ controlType: "tertiary",
39472
40583
  isMobile: isMobile,
39473
40584
  paymentPlanSchedule: paymentPlanSchedule,
39474
40585
  isPaymentPlan: isPaymentPlan,
@@ -39543,12 +40654,13 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
39543
40654
  paymentPlanSchedule: paymentPlanSchedule,
39544
40655
  isPaymentPlan: isPaymentPlan,
39545
40656
  nextAutopayDate: nextAutopayDate,
39546
- obligationAssocID: obligationAssocID
40657
+ obligationAssocID: obligationAssocID,
40658
+ controlType: "secondary"
39547
40659
  })), /*#__PURE__*/React.createElement(Box, {
39548
40660
  padding: "0",
39549
40661
  extraStyles: "flex-grow: 1;"
39550
40662
  }, /*#__PURE__*/React.createElement(ButtonWithAction, {
39551
- variant: "tertiary",
40663
+ variant: "secondary",
39552
40664
  text: "Remove",
39553
40665
  action: handleRemoveAccount,
39554
40666
  dataQa: "Remove Account",
@@ -39586,6 +40698,8 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
39586
40698
  };
39587
40699
 
39588
40700
  var Obligation = function Obligation(_ref) {
40701
+ var _obligation$customAtt;
40702
+
39589
40703
  var config = _ref.config,
39590
40704
  obligations = _ref.obligations,
39591
40705
  actions = _ref.actions,
@@ -39609,7 +40723,7 @@ var Obligation = function Obligation(_ref) {
39609
40723
  _ref$inactiveLookupVa = _ref.inactiveLookupValue,
39610
40724
  inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
39611
40725
  var obligation = obligations[0];
39612
- var customAttributes = obligation.customAttributes;
40726
+ var customAttributes = (_obligation$customAtt = obligation === null || obligation === void 0 ? void 0 : obligation.customAttributes) !== null && _obligation$customAtt !== void 0 ? _obligation$customAtt : {};
39613
40727
  var boxShadowValue = "0px 4px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
39614
40728
  var activeObligation = /*#__PURE__*/React.createElement(Box, {
39615
40729
  padding: "0",